[2025-03-10 00:00:02] Production.INFO: ==21779== Lock acquired, processing the job...
[2025-03-10 00:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:00:02] Production.INFO: neon service started
[2025-03-10 00:00:02] Production.INFO: neon service started
[2025-03-10 00:00:02] Production.INFO: ==21779== Releasing lock...
[2025-03-10 00:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:00:02] Production.INFO: ==21782== Lock acquired, processing the job...
[2025-03-09 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:00:03] Production.INFO: ==21784== Lock acquired, processing the job...
[2025-03-10 00:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 20:00:03] Production.INFO: ==21782== Releasing lock...
[2025-03-09 20:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:00:03] Production.INFO: ==21784== Releasing lock...
[2025-03-10 00:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:00:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:00:04] Production.INFO: ==21792== Lock acquired, processing the job...
[2025-03-09 20:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:00:04] Production.INFO: ==21794== Lock acquired, processing the job...
[2025-03-09 20:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:00:04] Production.INFO: ==21798== Lock acquired, processing the job...
[2025-03-09 20:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 20:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:00:04] Production.INFO: ==21786== Lock acquired, processing the job...
[2025-03-09 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 20:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:00:04] Production.INFO: ==21788== Lock acquired, processing the job...
[2025-03-09 20:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 20:00:04] Production.ERROR: CronJob PID - 21792
[2025-03-09 20:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-09 20:00:04] Production.ERROR: CronJob ID - 10
[2025-03-09 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 20:00:00
[2025-03-09 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 20:00:04] Production.ERROR: CronJob PID - 21794
[2025-03-09 20:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-09 20:00:04] Production.ERROR: CronJob ID - 12
[2025-03-09 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 20:00:00
[2025-03-09 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 20:00:04] Production.ERROR: CronJob PID - 21798
[2025-03-09 20:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-09 20:00:04] Production.ERROR: CronJob ID - 17
[2025-03-09 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 20:00:00
[2025-03-09 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 20:00:04] Production.INFO: Account Balance Start.
[2025-03-09 20:00:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:00:04] Production.INFO: 117
[2025-03-09 20:00:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:00:04] Production.INFO: ==21790== Lock acquired, processing the job...
[2025-03-09 20:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:00:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:00:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:00:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 20:00:04] Production.INFO: ==21786== Releasing lock...
[2025-03-09 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 20:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 20:00:04] Production.INFO: Total Charge 0
[2025-03-09 20:00:04] Production.INFO: ==21796== Lock acquired, processing the job...
[2025-03-09 20:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:00:04] Production.INFO: CreateAllLog End
[2025-03-09 20:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:00:04] Production.INFO: ==21800== Lock acquired, processing the job...
[2025-03-09 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:00:04] Production.ERROR: done
[2025-03-09 20:00:04] Production.INFO: Account Balance End.
[2025-03-09 20:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 20:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644475', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 20: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-03-09 20:00:04] Production.INFO: count ==13
[2025-03-09 20:00:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:00:04] Production.INFO: ==21794== Releasing lock...
[2025-03-09 20:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20: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-03-09 20:00:05] Production.INFO: ==21790== Releasing lock...
[2025-03-09 20:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:00:05] Production.INFO: count ==21
[2025-03-09 20:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644476') start
[2025-03-09 20:00:05] Production.ERROR: done
[2025-03-09 20:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644476') end
[2025-03-09 20:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:00:05] Production.INFO: 1
[2025-03-09 20:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:00:05] Production.INFO: ==21800== Releasing lock...
[2025-03-09 20:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:00:05] Production.ERROR: done
[2025-03-09 20:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:00:06
[end_date_ymd] => 2025-03-09 20:00:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:00:06' and `end` < '2025-03-09 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-03-09 20:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644475', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 20:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 20:00:08] Production.INFO: ProcessCDR(1,14644475,1,1,2)
[2025-03-09 20:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644475,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644475,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:00:09] Production.INFO: ==21798== Releasing lock...
[2025-03-09 20:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 20:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 20:00:14] Production.ERROR: CronJobId end10
[2025-03-09 20:00:14] Production.INFO: ==21792== Releasing lock...
[2025-03-09 20:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:00:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:00:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:00:16] Production.INFO: call_cost start
[2025-03-09 20:00:16] Production.INFO: call_cost end
[2025-03-09 20:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:00:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:00:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:00:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:00:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:00:17] Production.INFO: ==21788== Releasing lock...
[2025-03-09 20:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:00:18] Production.INFO: count ==1405
[2025-03-09 20:00:19] Production.ERROR: pbx CDR StartTime 2025-03-09 17:00:06 - End Time 2025-03-09 20:00:06
[2025-03-09 20:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644477', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644477', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644477', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644477', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:00:19] Production.INFO: ProcessCDR(1,14644477,1,1,2)
[2025-03-09 20:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644477', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644477', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:00:24] Production.INFO: ==21796== Releasing lock...
[2025-03-09 20:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:00:24] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:01:01] Production.INFO: ==21909== Lock acquired, processing the job...
[2025-03-10 00:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:01:01] Production.INFO: neon service started
[2025-03-10 00:01:01] Production.INFO: neon service started
[2025-03-10 00:01:01] Production.INFO: ==21909== Releasing lock...
[2025-03-10 00:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:01:02] Production.INFO: ==21921== Lock acquired, processing the job...
[2025-03-09 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:01:02] Production.INFO: ==21921== Releasing lock...
[2025-03-09 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:01:02] Production.INFO: ==21923== Lock acquired, processing the job...
[2025-03-10 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:01:02] Production.INFO: ==21923== Releasing lock...
[2025-03-10 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:01:03] Production.INFO: ==21926== Lock acquired, processing the job...
[2025-03-09 20:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:01:03] Production.INFO: ==21930== Lock acquired, processing the job...
[2025-03-09 20:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:01:03] Production.INFO: ==21934== Lock acquired, processing the job...
[2025-03-09 20:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:01:03] Production.INFO: ==21936== Lock acquired, processing the job...
[2025-03-09 20:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:01:03] Production.INFO: ==21928== Lock acquired, processing the job...
[2025-03-09 20:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:01:03] Production.INFO: ==21932== Lock acquired, processing the job...
[2025-03-09 20:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:01:03] Production.ERROR: done
[2025-03-09 20:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 20:01:04] Production.INFO: count ==13
[2025-03-09 20:01:04] Production.INFO: Account Balance Start.
[2025-03-09 20:01:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:01:04] Production.INFO: 117
[2025-03-09 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-03-09 20:01:04] Production.INFO: count ==21
[2025-03-09 20:01:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644479') start
[2025-03-09 20:01:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:01:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:01:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:01:04] Production.ERROR: done
[2025-03-09 20:01:04] Production.INFO: Total Charge 0
[2025-03-09 20:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644479') end
[2025-03-09 20:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:01:04] Production.INFO: 1
[2025-03-09 20:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:01:04] Production.INFO: CreateAllLog End
[2025-03-09 20:01:04] Production.INFO: ==21936== Releasing lock...
[2025-03-09 20:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:01:04] Production.INFO: ==21928== Releasing lock...
[2025-03-09 20:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:01:04] Production.INFO: Account Balance End.
[2025-03-09 20:01:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:01:04] Production.INFO: ==21932== Releasing lock...
[2025-03-09 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:01:05
[end_date_ymd] => 2025-03-09 20:01:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:01:05' and `end` < '2025-03-09 20: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-03-09 20:01:14] Production.ERROR: CronJobId end10
[2025-03-09 20:01:14] Production.INFO: ==21930== Releasing lock...
[2025-03-09 20:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:01:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:01:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:01:15] Production.INFO: call_cost start
[2025-03-09 20:01:15] Production.INFO: call_cost end
[2025-03-09 20:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:01:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:01:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:01:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:01:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:01:16] Production.INFO: ==21926== Releasing lock...
[2025-03-09 20:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:01:17] Production.INFO: count ==1388
[2025-03-09 20:01:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:01:05 - End Time 2025-03-09 20:01:05
[2025-03-09 20:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644482', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644482', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644482', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644482', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:01:17] Production.INFO: ProcessCDR(1,14644482,1,1,2)
[2025-03-09 20:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644482', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644482', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:01:22] Production.INFO: ==21934== Releasing lock...
[2025-03-09 20:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:01:22] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:02:02] Production.INFO: ==21996== Lock acquired, processing the job...
[2025-03-10 00:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:02:02] Production.INFO: neon service started
[2025-03-10 00:02:02] Production.INFO: neon service started
[2025-03-10 00:02:02] Production.INFO: ==21996== Releasing lock...
[2025-03-10 00:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:02:02] Production.INFO: ==22000== Lock acquired, processing the job...
[2025-03-10 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:02:02] Production.INFO: ==22000== Releasing lock...
[2025-03-10 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:02:02] Production.INFO: ==21998== Lock acquired, processing the job...
[2025-03-09 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:02:03] Production.INFO: ==21998== Releasing lock...
[2025-03-09 20:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:02:03] Production.INFO: ==22005== Lock acquired, processing the job...
[2025-03-09 20:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:02:04] Production.INFO: ==22011== Lock acquired, processing the job...
[2025-03-09 20:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:02:04] Production.INFO: ==22013== Lock acquired, processing the job...
[2025-03-09 20:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:02:04] Production.INFO: ==22003== Lock acquired, processing the job...
[2025-03-09 20:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:02:04] Production.INFO: ==22005== Releasing lock...
[2025-03-09 20:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:02:04] Production.INFO: ==22007== Lock acquired, processing the job...
[2025-03-09 20:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:02:04] Production.INFO: ==22009== Lock acquired, processing the job...
[2025-03-09 20:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 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-03-09 20:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:02:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:02:04] Production.INFO: Account Balance Start.
[2025-03-09 20:02:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:02:04] Production.INFO: 117
[2025-03-09 20:02:04] Production.INFO: count ==21
[2025-03-09 20:02:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644484') start
[2025-03-09 20:02:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:02:04] Production.ERROR: done
[2025-03-09 20:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644484') end
[2025-03-09 20:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:02:04] Production.INFO: 1
[2025-03-09 20:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:02:04] Production.ERROR: done
[2025-03-09 20:02:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:02:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:02:04] Production.INFO: ==22013== Releasing lock...
[2025-03-09 20:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:02:04] Production.INFO: Total Charge 0
[2025-03-09 20:02:04] Production.INFO: CreateAllLog End
[2025-03-09 20:02:04] Production.INFO: Account Balance End.
[2025-03-09 20:02:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:02:04] Production.INFO: ==22009== Releasing lock...
[2025-03-09 20:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:02:05
[end_date_ymd] => 2025-03-09 20:02:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:02:05' and `end` < '2025-03-09 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-03-09 20:02:12] Production.ERROR: CronJobId end10
[2025-03-09 20:02:12] Production.INFO: ==22007== Releasing lock...
[2025-03-09 20:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:02:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:02:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:02:15] Production.INFO: call_cost start
[2025-03-09 20:02:15] Production.INFO: call_cost end
[2025-03-09 20:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:02:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:02:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:02:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:02:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:02:16] Production.INFO: ==22003== Releasing lock...
[2025-03-09 20:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:02:17] Production.INFO: count ==1387
[2025-03-09 20:02:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:02:05 - End Time 2025-03-09 20:02:05
[2025-03-09 20:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644487', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644487', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644487', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644487', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:02:18] Production.INFO: ProcessCDR(1,14644487,1,1,2)
[2025-03-09 20:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644487', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644487', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:02:22] Production.INFO: ==22011== Releasing lock...
[2025-03-09 20:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:02:22] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:03:01] Production.INFO: ==22075== Lock acquired, processing the job...
[2025-03-10 00:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:03:01] Production.INFO: neon service started
[2025-03-10 00:03:01] Production.INFO: neon service started
[2025-03-10 00:03:01] Production.INFO: ==22075== Releasing lock...
[2025-03-10 00:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:03:02] Production.INFO: ==22079== Lock acquired, processing the job...
[2025-03-10 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 20:03:02] Production.INFO: ==22077== Lock acquired, processing the job...
[2025-03-09 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:03:02] Production.INFO: ==22079== Releasing lock...
[2025-03-10 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:03:02] Production.INFO: ==22077== Releasing lock...
[2025-03-09 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:03:03] Production.INFO: ==22082== Lock acquired, processing the job...
[2025-03-09 20:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:03:03] Production.INFO: ==22088== Lock acquired, processing the job...
[2025-03-09 20:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:03:03] Production.INFO: ==22090== Lock acquired, processing the job...
[2025-03-09 20:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:03:03] Production.INFO: Account Balance Start.
[2025-03-09 20:03:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:03:03] Production.INFO: 117
[2025-03-09 20:03:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:03:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:03:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:03:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:03:03] Production.INFO: Total Charge 0
[2025-03-09 20:03:03] Production.INFO: CreateAllLog End
[2025-03-09 20:03:03] Production.INFO: ==22084== Lock acquired, processing the job...
[2025-03-09 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:03:04] Production.INFO: ==22086== Lock acquired, processing the job...
[2025-03-09 20:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:03:04] Production.INFO: ==22092== Lock acquired, processing the job...
[2025-03-09 20:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:03:04] Production.ERROR: done
[2025-03-09 20:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:03:04] Production.INFO: Account Balance End.
[2025-03-09 20:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 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-03-09 20:03:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:03:04] Production.INFO: ==22088== Releasing lock...
[2025-03-09 20:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:03:04] Production.INFO: count ==13
[2025-03-09 20:03:04] Production.ERROR: done
[2025-03-09 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-03-09 20:03:04] Production.INFO: count ==21
[2025-03-09 20:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644490') start
[2025-03-09 20:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644490') end
[2025-03-09 20:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:03:04] Production.INFO: 1
[2025-03-09 20:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:03:04] Production.INFO: ==22092== Releasing lock...
[2025-03-09 20:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:03:04] Production.INFO: ==22084== Releasing lock...
[2025-03-09 20:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:03:05
[end_date_ymd] => 2025-03-09 20:03:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:03:05' and `end` < '2025-03-09 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-03-09 20:03:12] Production.ERROR: CronJobId end10
[2025-03-09 20:03:12] Production.INFO: ==22086== Releasing lock...
[2025-03-09 20:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:03:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:03:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:03:14] Production.INFO: call_cost start
[2025-03-09 20:03:14] Production.INFO: call_cost end
[2025-03-09 20:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:03:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:03:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:03:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:03:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:03:15] Production.INFO: ==22082== Releasing lock...
[2025-03-09 20:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:03:17] Production.INFO: count ==1386
[2025-03-09 20:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:03:05 - End Time 2025-03-09 20:03:05
[2025-03-09 20:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644492', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644492', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644492', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644492', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:03:18] Production.INFO: ProcessCDR(1,14644492,1,1,2)
[2025-03-09 20:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644492', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644492', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:03:22] Production.INFO: ==22090== Releasing lock...
[2025-03-09 20:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:03:22] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:04:02] Production.INFO: ==22156== Lock acquired, processing the job...
[2025-03-10 00:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:04:02] Production.INFO: neon service started
[2025-03-10 00:04:02] Production.INFO: neon service started
[2025-03-10 00:04:02] Production.INFO: ==22156== Releasing lock...
[2025-03-10 00:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:04:02] Production.INFO: ==22160== Lock acquired, processing the job...
[2025-03-10 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:04:02] Production.INFO: ==22160== Releasing lock...
[2025-03-10 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:04:02] Production.INFO: ==22158== Lock acquired, processing the job...
[2025-03-09 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:04:03] Production.INFO: ==22158== Releasing lock...
[2025-03-09 20:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:04:03] Production.INFO: ==22163== Lock acquired, processing the job...
[2025-03-09 20:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:04:04] Production.INFO: ==22171== Lock acquired, processing the job...
[2025-03-09 20:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:04:04] Production.INFO: ==22169== Lock acquired, processing the job...
[2025-03-09 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:04:04] Production.INFO: Account Balance Start.
[2025-03-09 20:04:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:04:04] Production.INFO: 117
[2025-03-09 20:04:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:04:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:04:04] Production.INFO: ==22165== Lock acquired, processing the job...
[2025-03-09 20:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:04:04] Production.INFO: ==22167== Lock acquired, processing the job...
[2025-03-09 20:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:04:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:04:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:04:04] Production.INFO: Total Charge 0
[2025-03-09 20:04:04] Production.INFO: CreateAllLog End
[2025-03-09 20:04:04] Production.INFO: ==22173== Lock acquired, processing the job...
[2025-03-09 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:04:04] Production.INFO: Account Balance End.
[2025-03-09 20:04:04] Production.ERROR: done
[2025-03-09 20: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-03-09 20:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:04:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:04:04] Production.INFO: ==22169== Releasing lock...
[2025-03-09 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:04:04] Production.INFO: count ==13
[2025-03-09 20:04:04] Production.INFO: ==22165== Releasing lock...
[2025-03-09 20:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20: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-03-09 20:04:04] Production.INFO: count ==21
[2025-03-09 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644496') start
[2025-03-09 20:04:04] Production.ERROR: done
[2025-03-09 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644496') end
[2025-03-09 20:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:04:04] Production.INFO: 1
[2025-03-09 20:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:04:04] Production.INFO: ==22173== Releasing lock...
[2025-03-09 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:04:05
[end_date_ymd] => 2025-03-09 20:04:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:04:05' and `end` < '2025-03-09 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-03-09 20:04:12] Production.ERROR: CronJobId end10
[2025-03-09 20:04:12] Production.INFO: ==22167== Releasing lock...
[2025-03-09 20:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:04:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:04:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:04:14] Production.INFO: call_cost start
[2025-03-09 20:04:14] Production.INFO: call_cost end
[2025-03-09 20:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:04:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:04:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:04:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:04:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:04:15] Production.INFO: ==22163== Releasing lock...
[2025-03-09 20:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:04:18] Production.INFO: count ==1390
[2025-03-09 20:04:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:04:05 - End Time 2025-03-09 20:04:05
[2025-03-09 20:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644497', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644497', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644497', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644497', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:04:18] Production.INFO: ProcessCDR(1,14644497,1,1,2)
[2025-03-09 20:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644497', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644497', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:04:21] Production.INFO: ==22171== Releasing lock...
[2025-03-09 20:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:04:21] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:05:01] Production.INFO: ==22240== Lock acquired, processing the job...
[2025-03-10 00:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:05:01] Production.INFO: neon service started
[2025-03-10 00:05:01] Production.INFO: neon service started
[2025-03-10 00:05:01] Production.INFO: ==22240== Releasing lock...
[2025-03-10 00:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:05:02] Production.INFO: ==22244== Lock acquired, processing the job...
[2025-03-10 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 20:05:02] Production.INFO: ==22242== Lock acquired, processing the job...
[2025-03-09 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:05:02] Production.INFO: ==22244== Releasing lock...
[2025-03-10 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:05:02] Production.INFO: 26 MB #Memory Used#
[2025-03-09 20:05:02] Production.INFO: ==22242== Releasing lock...
[2025-03-09 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:05:03] Production.INFO: ==22249== Lock acquired, processing the job...
[2025-03-09 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:05:03] Production.INFO: ==22253== Lock acquired, processing the job...
[2025-03-09 20:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:05:03] Production.INFO: ==22247== Lock acquired, processing the job...
[2025-03-09 20:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:05:03] Production.INFO: Account Balance Start.
[2025-03-09 20:05:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:05:03] Production.INFO: 117
[2025-03-09 20:05:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:05:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:05:03] Production.INFO: ==22251== Lock acquired, processing the job...
[2025-03-09 20:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:05:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:05:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:05:03] Production.INFO: Total Charge 0
[2025-03-09 20:05:04] Production.INFO: CreateAllLog End
[2025-03-09 20:05:04] Production.INFO: ==22249== Releasing lock...
[2025-03-09 20:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:05:04] Production.INFO: ==22255== Lock acquired, processing the job...
[2025-03-09 20:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:05:04] Production.INFO: Account Balance End.
[2025-03-09 20:05:04] Production.INFO: ==22257== Lock acquired, processing the job...
[2025-03-09 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:05:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:05:04] Production.INFO: ==22253== Releasing lock...
[2025-03-09 20:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 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-03-09 20:05:04] Production.INFO: count ==13
[2025-03-09 20:05:04] Production.ERROR: done
[2025-03-09 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-03-09 20:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:05:04] Production.INFO: count ==21
[2025-03-09 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644501') start
[2025-03-09 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644501') end
[2025-03-09 20:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:05:04] Production.INFO: 1
[2025-03-09 20:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:05:04] Production.ERROR: done
[2025-03-09 20:05:04] Production.INFO: ==22257== Releasing lock...
[2025-03-09 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:05:05
[end_date_ymd] => 2025-03-09 20:05:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:05:05' and `end` < '2025-03-09 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-03-09 20:05:12] Production.ERROR: CronJobId end10
[2025-03-09 20:05:12] Production.INFO: ==22251== Releasing lock...
[2025-03-09 20:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:05:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:05:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:05:14] Production.INFO: call_cost start
[2025-03-09 20:05:14] Production.INFO: call_cost end
[2025-03-09 20:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:05:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:05:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:05:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:05:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:05:15] Production.INFO: ==22247== Releasing lock...
[2025-03-09 20:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:05:17] Production.INFO: count ==1390
[2025-03-09 20:05:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:05:05 - End Time 2025-03-09 20:05:05
[2025-03-09 20:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644502', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644502', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644502', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644502', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:05:18] Production.INFO: ProcessCDR(1,14644502,1,1,2)
[2025-03-09 20:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644502', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644502', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:05:21] Production.INFO: ==22255== Releasing lock...
[2025-03-09 20:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:05:21] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:06:02] Production.INFO: ==22317== Lock acquired, processing the job...
[2025-03-10 00:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:06:02] Production.INFO: neon service started
[2025-03-10 00:06:02] Production.INFO: neon service started
[2025-03-10 00:06:02] Production.INFO: ==22317== Releasing lock...
[2025-03-10 00:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:06:02] Production.INFO: ==22321== Lock acquired, processing the job...
[2025-03-10 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:06:02] Production.INFO: ==22321== Releasing lock...
[2025-03-10 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:06:02] Production.INFO: ==22319== Lock acquired, processing the job...
[2025-03-09 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:06:03] Production.INFO: ==22319== Releasing lock...
[2025-03-09 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:06:03] Production.INFO: ==22326== Lock acquired, processing the job...
[2025-03-09 20:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:06:03] Production.INFO: ==22324== Lock acquired, processing the job...
[2025-03-09 20:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:06:03] Production.INFO: ==22328== Lock acquired, processing the job...
[2025-03-09 20:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:06:04] Production.INFO: ==22330== Lock acquired, processing the job...
[2025-03-09 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:06:04] Production.INFO: ==22332== Lock acquired, processing the job...
[2025-03-09 20:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:06:04] Production.INFO: ==22334== Lock acquired, processing the job...
[2025-03-09 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:06:04] Production.INFO: Account Balance Start.
[2025-03-09 20:06:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:06:04] Production.INFO: 117
[2025-03-09 20:06:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:06:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:06:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:06:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:06:04] Production.INFO: Total Charge 0
[2025-03-09 20:06:04] Production.INFO: CreateAllLog End
[2025-03-09 20:06:04] Production.INFO: ==22326== Releasing lock...
[2025-03-09 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20: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-03-09 20:06:04] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:06:04] Production.INFO: count ==21
[2025-03-09 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644506') start
[2025-03-09 20:06:04] Production.ERROR: done
[2025-03-09 20:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644506') end
[2025-03-09 20:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:06:04] Production.INFO: 1
[2025-03-09 20:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:06:04] Production.INFO: Account Balance End.
[2025-03-09 20:06:04] Production.ERROR: done
[2025-03-09 20:06:04] Production.INFO: ==22334== Releasing lock...
[2025-03-09 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:06:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:06:04] Production.INFO: ==22330== Releasing lock...
[2025-03-09 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:06:05
[end_date_ymd] => 2025-03-09 20:06:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:06:05' and `end` < '2025-03-09 20: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-03-09 20:06:12] Production.ERROR: CronJobId end10
[2025-03-09 20:06:12] Production.INFO: ==22328== Releasing lock...
[2025-03-09 20:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:06:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:06:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:06:14] Production.INFO: call_cost start
[2025-03-09 20:06:14] Production.INFO: call_cost end
[2025-03-09 20:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:06:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:06:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:06:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:06:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:06:15] Production.INFO: ==22324== Releasing lock...
[2025-03-09 20:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:06:17] Production.INFO: count ==1390
[2025-03-09 20:06:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:06:05 - End Time 2025-03-09 20:06:05
[2025-03-09 20:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644507', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644507', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644507', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644507', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:06:18] Production.INFO: ProcessCDR(1,14644507,1,1,2)
[2025-03-09 20:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644507', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644507', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:06:23] Production.INFO: ==22332== Releasing lock...
[2025-03-09 20:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:06:23] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:07:01] Production.INFO: ==22396== Lock acquired, processing the job...
[2025-03-10 00:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:07:01] Production.INFO: neon service started
[2025-03-10 00:07:01] Production.INFO: neon service started
[2025-03-10 00:07:01] Production.INFO: ==22396== Releasing lock...
[2025-03-10 00:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:07:02] Production.INFO: ==22400== Lock acquired, processing the job...
[2025-03-10 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:07:02] Production.INFO: ==22400== Releasing lock...
[2025-03-10 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:07:02] Production.INFO: ==22398== Lock acquired, processing the job...
[2025-03-09 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:07:02] Production.INFO: ==22398== Releasing lock...
[2025-03-09 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:07:03] Production.INFO: ==22402== Lock acquired, processing the job...
[2025-03-09 20:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:07:03] Production.INFO: ==22404== Lock acquired, processing the job...
[2025-03-09 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:07:03] Production.INFO: ==22410== Lock acquired, processing the job...
[2025-03-09 20:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:07:03] Production.INFO: ==22408== Lock acquired, processing the job...
[2025-03-09 20:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:07:03] Production.INFO: ==22406== Lock acquired, processing the job...
[2025-03-09 20:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:07:03] Production.INFO: ==22412== Lock acquired, processing the job...
[2025-03-09 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:07:03] Production.INFO: ==22404== Releasing lock...
[2025-03-09 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:07:03] Production.INFO: Account Balance Start.
[2025-03-09 20:07:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:07:03] Production.INFO: 117
[2025-03-09 20:07:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:07:03] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 20:07:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:07:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:07:03] Production.INFO: Total Charge 0
[2025-03-09 20:07:03] Production.INFO: count ==13
[2025-03-09 20:07:03] Production.INFO: CreateAllLog End
[2025-03-09 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-03-09 20:07:03] Production.INFO: count ==21
[2025-03-09 20:07:03] Production.ERROR: done
[2025-03-09 20:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644511') start
[2025-03-09 20:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644511') end
[2025-03-09 20:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:07:04] Production.INFO: 1
[2025-03-09 20:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:07:04] Production.ERROR: done
[2025-03-09 20:07:04] Production.INFO: ==22412== Releasing lock...
[2025-03-09 20:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:07:04] Production.INFO: Account Balance End.
[2025-03-09 20:07:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:07:04] Production.INFO: ==22408== Releasing lock...
[2025-03-09 20:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:07:05
[end_date_ymd] => 2025-03-09 20:07:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:07:05' and `end` < '2025-03-09 20: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-03-09 20:07:12] Production.ERROR: CronJobId end10
[2025-03-09 20:07:12] Production.INFO: ==22406== Releasing lock...
[2025-03-09 20:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:07:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:07:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:07:14] Production.INFO: call_cost start
[2025-03-09 20:07:14] Production.INFO: call_cost end
[2025-03-09 20:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:07:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:07:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:07:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:07:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:07:14] Production.INFO: ==22402== Releasing lock...
[2025-03-09 20:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:07:17] Production.INFO: count ==1396
[2025-03-09 20:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:07:05 - End Time 2025-03-09 20:07:05
[2025-03-09 20:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644512', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644512', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644512', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644512', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:07:17] Production.INFO: ProcessCDR(1,14644512,1,1,2)
[2025-03-09 20:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644512', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644512', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:07:22] Production.INFO: ==22410== Releasing lock...
[2025-03-09 20:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:07:22] Production.INFO: 38.75 MB #Memory Used#
[2025-03-10 00:08:02] Production.INFO: ==22475== Lock acquired, processing the job...
[2025-03-10 00:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:08:02] Production.INFO: neon service started
[2025-03-10 00:08:02] Production.INFO: neon service started
[2025-03-10 00:08:02] Production.INFO: ==22475== Releasing lock...
[2025-03-10 00:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:08:02] Production.INFO: ==22477== Lock acquired, processing the job...
[2025-03-09 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:08:02] Production.INFO: ==22479== Lock acquired, processing the job...
[2025-03-10 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:08:02] Production.INFO: ==22479== Releasing lock...
[2025-03-10 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:08:02] Production.INFO: ==22477== Releasing lock...
[2025-03-09 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:08:03] Production.INFO: ==22482== Lock acquired, processing the job...
[2025-03-09 20:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:08:03] Production.INFO: ==22484== Lock acquired, processing the job...
[2025-03-09 20:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:08:03] Production.INFO: ==22488== Lock acquired, processing the job...
[2025-03-09 20:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:08:03] Production.INFO: ==22490== Lock acquired, processing the job...
[2025-03-09 20:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:08:03] Production.INFO: ==22486== Lock acquired, processing the job...
[2025-03-09 20:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:08:04] Production.INFO: Account Balance Start.
[2025-03-09 20:08:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:08:04] Production.INFO: 117
[2025-03-09 20:08:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:08:04] Production.INFO: ==22492== Lock acquired, processing the job...
[2025-03-09 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:08:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:08:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:08:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:08:04] Production.INFO: Total Charge 0
[2025-03-09 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-03-09 20:08:04] Production.INFO: CreateAllLog End
[2025-03-09 20:08:04] Production.INFO: ==22484== Releasing lock...
[2025-03-09 20:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:08:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:08:04] Production.INFO: count ==21
[2025-03-09 20:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644516') start
[2025-03-09 20:08:04] Production.INFO: Account Balance End.
[2025-03-09 20:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644516') end
[2025-03-09 20:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:08:04] Production.ERROR: done
[2025-03-09 20:08:04] Production.INFO: 1
[2025-03-09 20:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:08:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:08:04] Production.INFO: ==22488== Releasing lock...
[2025-03-09 20:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:08:04] Production.INFO: ==22492== Releasing lock...
[2025-03-09 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:08:04] Production.ERROR: done
[2025-03-09 20:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:08:05
[end_date_ymd] => 2025-03-09 20:08:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:08:05' and `end` < '2025-03-09 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-03-09 20:08:13] Production.ERROR: CronJobId end10
[2025-03-09 20:08:13] Production.INFO: ==22486== Releasing lock...
[2025-03-09 20:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:08:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:08:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:08:14] Production.INFO: call_cost start
[2025-03-09 20:08:14] Production.INFO: call_cost end
[2025-03-09 20:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:08:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:08:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:08:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:08:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:08:15] Production.INFO: ==22482== Releasing lock...
[2025-03-09 20:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:08:17] Production.INFO: count ==1396
[2025-03-09 20:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:08:05 - End Time 2025-03-09 20:08:05
[2025-03-09 20:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644517', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644517', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644517', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644517', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:08:18] Production.INFO: ProcessCDR(1,14644517,1,1,2)
[2025-03-09 20:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644517', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644517', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:08:21] Production.INFO: ==22490== Releasing lock...
[2025-03-09 20:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:08:21] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:09:01] Production.INFO: ==22552== Lock acquired, processing the job...
[2025-03-10 00:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:09:01] Production.INFO: neon service started
[2025-03-10 00:09:01] Production.INFO: neon service started
[2025-03-10 00:09:01] Production.INFO: ==22552== Releasing lock...
[2025-03-10 00:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:09:02] Production.INFO: ==22554== Lock acquired, processing the job...
[2025-03-09 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:09:02] Production.INFO: ==22556== Lock acquired, processing the job...
[2025-03-10 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:09:02] Production.INFO: ==22556== Releasing lock...
[2025-03-10 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:09:02] Production.INFO: ==22554== Releasing lock...
[2025-03-09 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:09:03] Production.INFO: ==22563== Lock acquired, processing the job...
[2025-03-09 20:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:09:03] Production.INFO: ==22569== Lock acquired, processing the job...
[2025-03-09 20:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:09:03] Production.INFO: ==22561== Lock acquired, processing the job...
[2025-03-09 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:09:03] Production.INFO: ==22559== Lock acquired, processing the job...
[2025-03-09 20:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20: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-03-09 20:09:03] Production.INFO: ==22565== Lock acquired, processing the job...
[2025-03-09 20:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:09:03] Production.INFO: count ==13
[2025-03-09 20:09:03] Production.INFO: ==22567== Lock acquired, processing the job...
[2025-03-09 20:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20: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-03-09 20:09:03] Production.INFO: count ==21
[2025-03-09 20:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644518') start
[2025-03-09 20:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:09:03] Production.INFO: Account Balance Start.
[2025-03-09 20:09:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:09:03] Production.INFO: 117
[2025-03-09 20:09:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644518') end
[2025-03-09 20:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:09:03] Production.INFO: 1
[2025-03-09 20:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:09:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:09:04] Production.INFO: ==22569== Releasing lock...
[2025-03-09 20:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:09:04] Production.INFO: ==22561== Releasing lock...
[2025-03-09 20:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:09:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:09:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:09:04] Production.INFO: Total Charge 0
[2025-03-09 20:09:04] Production.INFO: CreateAllLog End
[2025-03-09 20:09:04] Production.ERROR: done
[2025-03-09 20:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:09:04] Production.INFO: Account Balance End.
[2025-03-09 20:09:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:09:04] Production.INFO: ==22565== Releasing lock...
[2025-03-09 20:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:09:04] Production.ERROR: done
[2025-03-09 20:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:09:05
[end_date_ymd] => 2025-03-09 20:09:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:09:05' and `end` < '2025-03-09 20: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-03-09 20:09:12] Production.ERROR: CronJobId end10
[2025-03-09 20:09:12] Production.INFO: ==22563== Releasing lock...
[2025-03-09 20:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:09:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:09:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:09:14] Production.INFO: call_cost start
[2025-03-09 20:09:14] Production.INFO: call_cost end
[2025-03-09 20:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:09:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:09:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:09:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:09:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:09:15] Production.INFO: ==22559== Releasing lock...
[2025-03-09 20:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:09:18] Production.INFO: count ==1389
[2025-03-09 20:09:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:09:05 - End Time 2025-03-09 20:09:05
[2025-03-09 20:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644522', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644522', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644522', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644522', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:09:18] Production.INFO: ProcessCDR(1,14644522,1,1,2)
[2025-03-09 20:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644522', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644522', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:09:21] Production.INFO: ==22567== Releasing lock...
[2025-03-09 20:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:09:21] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:10:02] Production.INFO: ==22626== Lock acquired, processing the job...
[2025-03-10 00:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:10:02] Production.INFO: neon service started
[2025-03-10 00:10:02] Production.INFO: neon service started
[2025-03-10 00:10:02] Production.INFO: ==22626== Releasing lock...
[2025-03-10 00:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:10:02] Production.INFO: ==22628== Lock acquired, processing the job...
[2025-03-09 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:10:02] Production.INFO: ==22628== Releasing lock...
[2025-03-09 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:10:02] Production.INFO: ==22630== Lock acquired, processing the job...
[2025-03-10 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:10:03] Production.INFO: ==22630== Releasing lock...
[2025-03-10 00:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:10:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:10:03] Production.INFO: ==22634== Lock acquired, processing the job...
[2025-03-09 20:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:10:03] Production.INFO: ==22632== Lock acquired, processing the job...
[2025-03-09 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 20:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:10:04] Production.INFO: ==22640== Lock acquired, processing the job...
[2025-03-09 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 20:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 20:10:04] Production.ERROR: CronJob PID - 22634
[2025-03-09 20:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-09 20:10:04] Production.ERROR: CronJob ID - 5
[2025-03-09 20:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 20:10:00
[2025-03-09 20:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 20:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 20:10:04] Production.INFO: ==22638== Lock acquired, processing the job...
[2025-03-09 20:10:04] Production.INFO: ==22636== Lock acquired, processing the job...
[2025-03-09 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:10:04] Production.INFO: ==22644== Lock acquired, processing the job...
[2025-03-09 20:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 20:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 20:10:04] Production.INFO: ==22632== Releasing lock...
[2025-03-09 20:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 20:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 20:10:04] Production.INFO: ==22642== Lock acquired, processing the job...
[2025-03-09 20:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:10:04] Production.INFO: ==22646== Lock acquired, processing the job...
[2025-03-09 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:10:04] Production.INFO: Account Balance Start.
[2025-03-09 20:10:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:10:04] Production.INFO: 117
[2025-03-09 20:10:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:10:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 20:10:04] Production.INFO: count ==13
[2025-03-09 20:10:04] Production.INFO: Date 2025-03-09
[2025-03-09 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-03-09 20:10:04] Production.INFO: count ==21
[2025-03-09 20:10:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644526') start
[2025-03-09 20:10:04] Production.INFO: Total Charge 0
[2025-03-09 20:10:04] Production.INFO: CreateAllLog End
[2025-03-09 20:10:04] Production.ERROR: done
[2025-03-09 20:10:04] Production.ERROR: done
[2025-03-09 20:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:10:04] Production.INFO: ==22636== Releasing lock...
[2025-03-09 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644526') end
[2025-03-09 20:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:10:04] Production.INFO: 1
[2025-03-09 20:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 20:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644527', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 20:10:04] Production.INFO: ==22646== Releasing lock...
[2025-03-09 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:10:04] Production.ERROR: done
[2025-03-09 20:10:04] Production.INFO: Account Balance End.
[2025-03-09 20:10:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:10:04] Production.INFO: ==22640== Releasing lock...
[2025-03-09 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:10:06
[end_date_ymd] => 2025-03-09 20:10:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:10:06' and `end` < '2025-03-09 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-03-09 20:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644527', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 20:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 20:10:09] Production.INFO: ProcessCDR(1,14644527,1,1,2)
[2025-03-09 20:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644527,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644527,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:10:09] Production.INFO: ==22644== Releasing lock...
[2025-03-09 20:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 20:10:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 20:10:13] Production.ERROR: CronJobId end10
[2025-03-09 20:10:13] Production.INFO: ==22638== Releasing lock...
[2025-03-09 20:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:10:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:10:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:10:16] Production.INFO: call_cost start
[2025-03-09 20:10:16] Production.INFO: call_cost end
[2025-03-09 20:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:10:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:10:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:10:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:10:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:10:17] Production.INFO: ==22634== Releasing lock...
[2025-03-09 20:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:10:18] Production.INFO: count ==1382
[2025-03-09 20:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:10:06 - End Time 2025-03-09 20:10:06
[2025-03-09 20:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644528', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644528', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644528', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644528', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:10:18] Production.INFO: ProcessCDR(1,14644528,1,1,2)
[2025-03-09 20:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644528', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644528', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:10:22] Production.INFO: ==22642== Releasing lock...
[2025-03-09 20:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:10:22] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:11:01] Production.INFO: ==22708== Lock acquired, processing the job...
[2025-03-10 00:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:11:01] Production.INFO: neon service started
[2025-03-10 00:11:01] Production.INFO: neon service started
[2025-03-10 00:11:01] Production.INFO: ==22708== Releasing lock...
[2025-03-10 00:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:11:01] Production.INFO: ==22710== Lock acquired, processing the job...
[2025-03-09 20:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:11:02] Production.INFO: ==22710== Releasing lock...
[2025-03-09 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:11:02] Production.INFO: ==22712== Lock acquired, processing the job...
[2025-03-10 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:11:02] Production.INFO: ==22712== Releasing lock...
[2025-03-10 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:11:03] Production.INFO: ==22718== Lock acquired, processing the job...
[2025-03-09 20:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:11:03] Production.INFO: ==22724== Lock acquired, processing the job...
[2025-03-09 20:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:11:03] Production.INFO: ==22714== Lock acquired, processing the job...
[2025-03-09 20:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20: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-03-09 20:11:03] Production.INFO: ==22716== Lock acquired, processing the job...
[2025-03-09 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:11:03] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:11:03] Production.INFO: count ==21
[2025-03-09 20:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644529') start
[2025-03-09 20:11:03] Production.INFO: ==22720== Lock acquired, processing the job...
[2025-03-09 20:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:11:03] Production.INFO: ==22722== Lock acquired, processing the job...
[2025-03-09 20:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644529') end
[2025-03-09 20:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:11:03] Production.INFO: 1
[2025-03-09 20:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:11:03] Production.INFO: ==22724== Releasing lock...
[2025-03-09 20:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:11:03] Production.INFO: Account Balance Start.
[2025-03-09 20:11:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:11:03] Production.INFO: 117
[2025-03-09 20:11:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:11:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:11:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:11:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:11:03] Production.INFO: Total Charge 0
[2025-03-09 20:11:03] Production.INFO: ==22716== Releasing lock...
[2025-03-09 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:11:03] Production.INFO: CreateAllLog End
[2025-03-09 20:11:03] Production.ERROR: done
[2025-03-09 20:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:11:03] Production.INFO: Account Balance End.
[2025-03-09 20:11:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:11:04] Production.INFO: ==22720== Releasing lock...
[2025-03-09 20:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:11:04] Production.ERROR: done
[2025-03-09 20:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:11:04
[end_date_ymd] => 2025-03-09 20:11:04
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:11:04' and `end` < '2025-03-09 20: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-03-09 20:11:11] Production.ERROR: CronJobId end10
[2025-03-09 20:11:11] Production.INFO: ==22718== Releasing lock...
[2025-03-09 20:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:11:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:11:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:11:14] Production.INFO: call_cost start
[2025-03-09 20:11:14] Production.INFO: call_cost end
[2025-03-09 20:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:11:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:11:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:11:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:11:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:11:15] Production.INFO: ==22714== Releasing lock...
[2025-03-09 20:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:11:17] Production.INFO: count ==1380
[2025-03-09 20:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:11:04 - End Time 2025-03-09 20:11:04
[2025-03-09 20:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644533', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644533', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644533', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644533', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:11:17] Production.INFO: ProcessCDR(1,14644533,1,1,2)
[2025-03-09 20:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644533', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644533', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:11:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:11:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:11:20] Production.INFO: ==22722== Releasing lock...
[2025-03-09 20:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:11:20] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:12:01] Production.INFO: ==22782== Lock acquired, processing the job...
[2025-03-10 00:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:12:01] Production.INFO: neon service started
[2025-03-10 00:12:01] Production.INFO: neon service started
[2025-03-10 00:12:01] Production.INFO: ==22782== Releasing lock...
[2025-03-10 00:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:12:02] Production.INFO: ==22786== Lock acquired, processing the job...
[2025-03-10 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:12:02] Production.INFO: ==22786== Releasing lock...
[2025-03-10 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:12:02] Production.INFO: ==22784== Lock acquired, processing the job...
[2025-03-09 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:12:02] Production.INFO: ==22784== Releasing lock...
[2025-03-09 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:12:03] Production.INFO: ==22791== Lock acquired, processing the job...
[2025-03-09 20:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:12:03] Production.INFO: ==22799== Lock acquired, processing the job...
[2025-03-09 20:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:12:03] Production.INFO: ==22789== Lock acquired, processing the job...
[2025-03-09 20:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:12:04] Production.INFO: ==22793== Lock acquired, processing the job...
[2025-03-09 20:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 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-03-09 20:12:04] Production.INFO: count ==13
[2025-03-09 20:12:04] Production.INFO: ==22791== Releasing lock...
[2025-03-09 20:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 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-03-09 20:12:04] Production.INFO: count ==21
[2025-03-09 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644536') start
[2025-03-09 20:12:04] Production.INFO: ==22797== Lock acquired, processing the job...
[2025-03-09 20:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:12:04] Production.INFO: ==22795== Lock acquired, processing the job...
[2025-03-09 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644536') end
[2025-03-09 20:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:12:04] Production.INFO: 1
[2025-03-09 20:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:12:04] Production.INFO: Account Balance Start.
[2025-03-09 20:12:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:12:04] Production.INFO: 117
[2025-03-09 20:12:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:12:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:12:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:12:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:12:04] Production.INFO: Total Charge 0
[2025-03-09 20:12:04] Production.INFO: CreateAllLog End
[2025-03-09 20:12:04] Production.INFO: ==22799== Releasing lock...
[2025-03-09 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:12:04] Production.ERROR: done
[2025-03-09 20:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:12:04] Production.ERROR: done
[2025-03-09 20:12:04] Production.INFO: Account Balance End.
[2025-03-09 20:12:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:12:04] Production.INFO: ==22795== Releasing lock...
[2025-03-09 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:12:05
[end_date_ymd] => 2025-03-09 20:12:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:12:05' and `end` < '2025-03-09 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-03-09 20:12:12] Production.ERROR: CronJobId end10
[2025-03-09 20:12:12] Production.INFO: ==22793== Releasing lock...
[2025-03-09 20:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:12:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:12:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:12:15] Production.INFO: call_cost start
[2025-03-09 20:12:15] Production.INFO: call_cost end
[2025-03-09 20:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:12:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:12:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:12:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:12:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:12:16] Production.INFO: ==22789== Releasing lock...
[2025-03-09 20:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:12:17] Production.INFO: count ==1381
[2025-03-09 20:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:12:05 - End Time 2025-03-09 20:12:05
[2025-03-09 20:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644538', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644538', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644538', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644538', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:12:18] Production.INFO: ProcessCDR(1,14644538,1,1,2)
[2025-03-09 20:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644538', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644538', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:12:23] Production.INFO: ==22797== Releasing lock...
[2025-03-09 20:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:12:23] Production.INFO: 39 MB #Memory Used#
[2025-03-10 00:13:01] Production.INFO: ==22854== Lock acquired, processing the job...
[2025-03-10 00:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:13:01] Production.INFO: neon service started
[2025-03-10 00:13:01] Production.INFO: neon service started
[2025-03-10 00:13:01] Production.INFO: ==22854== Releasing lock...
[2025-03-10 00:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:13:01] Production.INFO: ==22858== Lock acquired, processing the job...
[2025-03-10 00:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:13:01] Production.INFO: ==22858== Releasing lock...
[2025-03-10 00:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:13:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:13:01] Production.INFO: ==22856== Lock acquired, processing the job...
[2025-03-09 20:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:13:02] Production.INFO: ==22856== Releasing lock...
[2025-03-09 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:13:03] Production.INFO: ==22861== Lock acquired, processing the job...
[2025-03-09 20:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:13:03] Production.INFO: ==22863== Lock acquired, processing the job...
[2025-03-09 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:13:03] Production.INFO: ==22867== Lock acquired, processing the job...
[2025-03-09 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:13:03] Production.INFO: Account Balance Start.
[2025-03-09 20:13:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:13:03] Production.INFO: 117
[2025-03-09 20:13:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:13:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:13:03] Production.INFO: ==22865== Lock acquired, processing the job...
[2025-03-09 20:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:13:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:13:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:13:03] Production.INFO: ==22863== Releasing lock...
[2025-03-09 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:13:03] Production.INFO: Total Charge 0
[2025-03-09 20:13:03] Production.INFO: CreateAllLog End
[2025-03-09 20:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:13:03] Production.INFO: ==22869== Lock acquired, processing the job...
[2025-03-09 20:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:13:03] Production.INFO: Account Balance End.
[2025-03-09 20:13:03] Production.INFO: ==22871== Lock acquired, processing the job...
[2025-03-09 20:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:13:03] Production.ERROR: CronJobId end 12
[2025-03-09 20:13:03] Production.INFO: ==22867== Releasing lock...
[2025-03-09 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20: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-03-09 20:13:04] Production.ERROR: done
[2025-03-09 20:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:13:04] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:13:04] Production.INFO: count ==21
[2025-03-09 20:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644542') start
[2025-03-09 20:13:04] Production.ERROR: done
[2025-03-09 20:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644542') end
[2025-03-09 20:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:13:04] Production.INFO: 1
[2025-03-09 20:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:13:04] Production.INFO: ==22871== Releasing lock...
[2025-03-09 20:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:13:05
[end_date_ymd] => 2025-03-09 20:13:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:13:05' and `end` < '2025-03-09 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-03-09 20:13:12] Production.ERROR: CronJobId end10
[2025-03-09 20:13:12] Production.INFO: ==22865== Releasing lock...
[2025-03-09 20:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:13:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:13:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:13:14] Production.INFO: call_cost start
[2025-03-09 20:13:14] Production.INFO: call_cost end
[2025-03-09 20:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:13:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:13:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:13:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:13:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:13:15] Production.INFO: ==22861== Releasing lock...
[2025-03-09 20:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:13:17] Production.INFO: count ==1387
[2025-03-09 20:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:13:05 - End Time 2025-03-09 20:13:05
[2025-03-09 20:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644543', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644543', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644543', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644543', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:13:17] Production.INFO: ProcessCDR(1,14644543,1,1,2)
[2025-03-09 20:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644543', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644543', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:13:22] Production.INFO: ==22869== Releasing lock...
[2025-03-09 20:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:13:22] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:14:01] Production.INFO: ==22930== Lock acquired, processing the job...
[2025-03-10 00:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:14:01] Production.INFO: neon service started
[2025-03-10 00:14:01] Production.INFO: neon service started
[2025-03-10 00:14:01] Production.INFO: ==22930== Releasing lock...
[2025-03-10 00:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:14:02] Production.INFO: ==22932== Lock acquired, processing the job...
[2025-03-09 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:14:02] Production.INFO: ==22934== Lock acquired, processing the job...
[2025-03-10 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:14:02] Production.INFO: ==22934== Releasing lock...
[2025-03-10 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:14:02] Production.INFO: ==22932== Releasing lock...
[2025-03-09 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:14:03] Production.INFO: ==22939== Lock acquired, processing the job...
[2025-03-09 20:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:14:03] Production.INFO: ==22947== Lock acquired, processing the job...
[2025-03-09 20:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:14:04] Production.INFO: ==22939== Releasing lock...
[2025-03-09 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:14:04] Production.INFO: ==22937== Lock acquired, processing the job...
[2025-03-09 20:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:14:04] Production.INFO: ==22941== Lock acquired, processing the job...
[2025-03-09 20:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:14:04] Production.INFO: ==22943== Lock acquired, processing the job...
[2025-03-09 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 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-03-09 20:14:04] Production.INFO: ==22945== Lock acquired, processing the job...
[2025-03-09 20:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:14:04] Production.INFO: count ==13
[2025-03-09 20:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:14:04] Production.INFO: Account Balance Start.
[2025-03-09 20:14:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:14:04] Production.INFO: 117
[2025-03-09 20:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 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-03-09 20:14:04] Production.INFO: count ==21
[2025-03-09 20:14:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644545') start
[2025-03-09 20:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:14:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644545') end
[2025-03-09 20:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:14:04] Production.INFO: 1
[2025-03-09 20:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:14:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:14:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:14:04] Production.INFO: ==22947== Releasing lock...
[2025-03-09 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:14:04] Production.INFO: Total Charge 0
[2025-03-09 20:14:04] Production.ERROR: done
[2025-03-09 20:14:04] Production.INFO: CreateAllLog End
[2025-03-09 20:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:14:04] Production.ERROR: done
[2025-03-09 20:14:04] Production.INFO: Account Balance End.
[2025-03-09 20:14:05] Production.ERROR: CronJobId end 12
[2025-03-09 20:14:05] Production.INFO: ==22943== Releasing lock...
[2025-03-09 20:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:14:05
[end_date_ymd] => 2025-03-09 20:14:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:14:05' and `end` < '2025-03-09 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-03-09 20:14:12] Production.ERROR: CronJobId end10
[2025-03-09 20:14:12] Production.INFO: ==22941== Releasing lock...
[2025-03-09 20:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:14:14] Production.INFO: call_cost start
[2025-03-09 20:14:14] Production.INFO: call_cost end
[2025-03-09 20:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:14:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:14:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:14:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:14:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:14:15] Production.INFO: ==22937== Releasing lock...
[2025-03-09 20:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:14:18] Production.INFO: count ==1382
[2025-03-09 20:14:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:14:05 - End Time 2025-03-09 20:14:05
[2025-03-09 20:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644548', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644548', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644548', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644548', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:14:18] Production.INFO: ProcessCDR(1,14644548,1,1,2)
[2025-03-09 20:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644548', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644548', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:14:21] Production.INFO: ==22945== Releasing lock...
[2025-03-09 20:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:14:21] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:15:02] Production.INFO: ==23045== Lock acquired, processing the job...
[2025-03-10 00:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:15:02] Production.INFO: neon service started
[2025-03-10 00:15:02] Production.INFO: neon service started
[2025-03-10 00:15:02] Production.INFO: ==23045== Releasing lock...
[2025-03-10 00:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:15:02] Production.INFO: ==23049== Lock acquired, processing the job...
[2025-03-10 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:15:02] Production.INFO: ==23049== Releasing lock...
[2025-03-10 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:15:02] Production.INFO: ==23047== Lock acquired, processing the job...
[2025-03-09 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:15:03] Production.INFO: ==23047== Releasing lock...
[2025-03-09 20:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:15:04] Production.INFO: ==23060== Lock acquired, processing the job...
[2025-03-09 20:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:15:04] Production.INFO: ==23052== Lock acquired, processing the job...
[2025-03-09 20:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:15:04] Production.INFO: ==23062== Lock acquired, processing the job...
[2025-03-09 20:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:15:04] Production.INFO: ==23054== Lock acquired, processing the job...
[2025-03-09 20:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:15:04] Production.INFO: ==23056== Lock acquired, processing the job...
[2025-03-09 20:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:15:04] Production.INFO: ==23058== Lock acquired, processing the job...
[2025-03-09 20:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20: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-03-09 20:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:15:04] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:15:04] Production.INFO: count ==21
[2025-03-09 20:15:04] Production.INFO: Account Balance Start.
[2025-03-09 20:15:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644549') start
[2025-03-09 20:15:04] Production.INFO: 117
[2025-03-09 20:15:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:15:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:15:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:15:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:15:04] Production.ERROR: done
[2025-03-09 20:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644549') end
[2025-03-09 20:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:15:04] Production.INFO: 1
[2025-03-09 20:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:15:04] Production.INFO: ==23054== Releasing lock...
[2025-03-09 20:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:15:04] Production.INFO: Total Charge 0
[2025-03-09 20:15:04] Production.INFO: CreateAllLog End
[2025-03-09 20:15:04] Production.INFO: ==23062== Releasing lock...
[2025-03-09 20:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:15:04] Production.ERROR: done
[2025-03-09 20:15:05] Production.INFO: Account Balance End.
[2025-03-09 20:15:05] Production.ERROR: CronJobId end 12
[2025-03-09 20:15:05] Production.INFO: ==23058== Releasing lock...
[2025-03-09 20:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:15:06
[end_date_ymd] => 2025-03-09 20:15:06
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:15:06' and `end` < '2025-03-09 20: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-03-09 20:15:12] Production.ERROR: CronJobId end10
[2025-03-09 20:15:12] Production.INFO: ==23056== Releasing lock...
[2025-03-09 20:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:15:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:15:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:15:14] Production.INFO: call_cost start
[2025-03-09 20:15:14] Production.INFO: call_cost end
[2025-03-09 20:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:15:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:15:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:15:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:15:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:15:15] Production.INFO: ==23052== Releasing lock...
[2025-03-09 20:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:15:18] Production.INFO: count ==1384
[2025-03-09 20:15:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:15:06 - End Time 2025-03-09 20:15:06
[2025-03-09 20:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644553', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644553', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644553', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644553', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:15:18] Production.INFO: ProcessCDR(1,14644553,1,1,2)
[2025-03-09 20:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644553', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644553', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:15:21] Production.INFO: ==23060== Releasing lock...
[2025-03-09 20:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:15:21] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:16:01] Production.INFO: ==23116== Lock acquired, processing the job...
[2025-03-10 00:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:16:01] Production.INFO: neon service started
[2025-03-10 00:16:01] Production.INFO: neon service started
[2025-03-10 00:16:01] Production.INFO: ==23116== Releasing lock...
[2025-03-10 00:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:16:02] Production.INFO: ==23120== Lock acquired, processing the job...
[2025-03-10 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:16:02] Production.INFO: ==23120== Releasing lock...
[2025-03-10 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:16:02] Production.INFO: ==23118== Lock acquired, processing the job...
[2025-03-09 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:16:02] Production.INFO: ==23118== Releasing lock...
[2025-03-09 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:16:03] Production.INFO: ==23123== Lock acquired, processing the job...
[2025-03-09 20:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:16:03] Production.INFO: ==23133== Lock acquired, processing the job...
[2025-03-09 20:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:16:03] Production.INFO: ==23125== Lock acquired, processing the job...
[2025-03-09 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 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-03-09 20:16:04] Production.INFO: count ==13
[2025-03-09 20:16:04] Production.INFO: ==23127== Lock acquired, processing the job...
[2025-03-09 20:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 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-03-09 20:16:04] Production.INFO: count ==21
[2025-03-09 20:16:04] Production.INFO: ==23131== Lock acquired, processing the job...
[2025-03-09 20:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644555') start
[2025-03-09 20:16:04] Production.INFO: ==23129== Lock acquired, processing the job...
[2025-03-09 20:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644555') end
[2025-03-09 20:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:16:04] Production.INFO: 1
[2025-03-09 20:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:16:04] Production.INFO: Account Balance Start.
[2025-03-09 20:16:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:16:04] Production.INFO: 117
[2025-03-09 20:16:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:16:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:16:04] Production.INFO: ==23133== Releasing lock...
[2025-03-09 20:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:16:04] Production.INFO: ==23125== Releasing lock...
[2025-03-09 20:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:16:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:16:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:16:04] Production.INFO: Total Charge 0
[2025-03-09 20:16:04] Production.INFO: CreateAllLog End
[2025-03-09 20:16:04] Production.ERROR: done
[2025-03-09 20:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:16:04] Production.INFO: Account Balance End.
[2025-03-09 20:16:04] Production.ERROR: done
[2025-03-09 20:16:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:16:04] Production.INFO: ==23129== Releasing lock...
[2025-03-09 20:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:16:05
[end_date_ymd] => 2025-03-09 20:16:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:16:05' and `end` < '2025-03-09 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-03-09 20:16:11] Production.ERROR: CronJobId end10
[2025-03-09 20:16:11] Production.INFO: ==23127== Releasing lock...
[2025-03-09 20:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:16:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:16:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:16:14] Production.INFO: call_cost start
[2025-03-09 20:16:14] Production.INFO: call_cost end
[2025-03-09 20:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:16:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:16:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:16:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:16:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:16:15] Production.INFO: ==23123== Releasing lock...
[2025-03-09 20:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:16:18] Production.INFO: count ==1384
[2025-03-09 20:16:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:16:05 - End Time 2025-03-09 20:16:05
[2025-03-09 20:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644558', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644558', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644558', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644558', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:16:18] Production.INFO: ProcessCDR(1,14644558,1,1,2)
[2025-03-09 20:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644558', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644558', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:16:23] Production.INFO: ==23131== Releasing lock...
[2025-03-09 20:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:16:23] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:17:02] Production.INFO: ==23186== Lock acquired, processing the job...
[2025-03-10 00:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:17:02] Production.INFO: neon service started
[2025-03-10 00:17:02] Production.INFO: neon service started
[2025-03-10 00:17:02] Production.INFO: ==23186== Releasing lock...
[2025-03-10 00:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:17:02] Production.INFO: ==23189== Lock acquired, processing the job...
[2025-03-09 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:17:02] Production.INFO: ==23189== Releasing lock...
[2025-03-09 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:17:03] Production.INFO: ==23191== Lock acquired, processing the job...
[2025-03-10 00:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:17:03] Production.INFO: ==23191== Releasing lock...
[2025-03-10 00:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:17:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:17:03] Production.INFO: ==23193== Lock acquired, processing the job...
[2025-03-09 20:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:17:03] Production.INFO: ==23195== Lock acquired, processing the job...
[2025-03-09 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:17:03] Production.INFO: ==23203== Lock acquired, processing the job...
[2025-03-09 20:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:17:04] Production.INFO: ==23197== Lock acquired, processing the job...
[2025-03-09 20:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:17:04] Production.INFO: ==23199== Lock acquired, processing the job...
[2025-03-09 20:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20: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-03-09 20:17:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:17:04] Production.INFO: count ==21
[2025-03-09 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644561') start
[2025-03-09 20:17:04] Production.INFO: ==23201== Lock acquired, processing the job...
[2025-03-09 20:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:17:04] Production.INFO: Account Balance Start.
[2025-03-09 20:17:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:17:04] Production.INFO: 117
[2025-03-09 20:17:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:17:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:17:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:17:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644561') end
[2025-03-09 20:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:17:04] Production.INFO: 1
[2025-03-09 20:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:17:04] Production.INFO: Total Charge 0
[2025-03-09 20:17:04] Production.INFO: CreateAllLog End
[2025-03-09 20:17:04] Production.INFO: ==23203== Releasing lock...
[2025-03-09 20:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:17:04] Production.INFO: ==23195== Releasing lock...
[2025-03-09 20:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:17:04] Production.ERROR: done
[2025-03-09 20:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:17:05] Production.ERROR: done
[2025-03-09 20:17:05] Production.INFO: Account Balance End.
[2025-03-09 20:17:05] Production.ERROR: CronJobId end 12
[2025-03-09 20:17:05] Production.INFO: ==23199== Releasing lock...
[2025-03-09 20:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:17:06
[end_date_ymd] => 2025-03-09 20:17:06
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:17:06' and `end` < '2025-03-09 20: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-03-09 20:17:13] Production.ERROR: CronJobId end10
[2025-03-09 20:17:13] Production.INFO: ==23197== Releasing lock...
[2025-03-09 20:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:17:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:17:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:17:14] Production.INFO: call_cost start
[2025-03-09 20:17:14] Production.INFO: call_cost end
[2025-03-09 20:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:17:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:17:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:17:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:17:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:17:15] Production.INFO: ==23193== Releasing lock...
[2025-03-09 20:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:17:18] Production.INFO: count ==1378
[2025-03-09 20:17:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:17:06 - End Time 2025-03-09 20:17:06
[2025-03-09 20:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644563', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644563', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644563', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644563', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:17:18] Production.INFO: ProcessCDR(1,14644563,1,1,2)
[2025-03-09 20:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644563', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644563', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:17:22] Production.INFO: ==23201== Releasing lock...
[2025-03-09 20:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:17:22] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:18:01] Production.INFO: ==23261== Lock acquired, processing the job...
[2025-03-10 00:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:18:01] Production.INFO: neon service started
[2025-03-10 00:18:01] Production.INFO: neon service started
[2025-03-10 00:18:01] Production.INFO: ==23261== Releasing lock...
[2025-03-10 00:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:18:02] Production.INFO: ==23263== Lock acquired, processing the job...
[2025-03-09 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:18:02] Production.INFO: ==23265== Lock acquired, processing the job...
[2025-03-10 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:18:02] Production.INFO: ==23265== Releasing lock...
[2025-03-10 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:18:02] Production.INFO: ==23263== Releasing lock...
[2025-03-09 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:18:02] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:18:03] Production.INFO: ==23274== Lock acquired, processing the job...
[2025-03-09 20:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:18:03] Production.INFO: ==23276== Lock acquired, processing the job...
[2025-03-09 20:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:18:03] Production.INFO: Account Balance Start.
[2025-03-09 20:18:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:18:03] Production.INFO: 117
[2025-03-09 20:18:03] Production.INFO: ==23268== Lock acquired, processing the job...
[2025-03-09 20:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:18:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:18:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:18:03] Production.INFO: ==23270== Lock acquired, processing the job...
[2025-03-09 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:18:03] Production.INFO: ==23272== Lock acquired, processing the job...
[2025-03-09 20:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:18:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:18:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:18:04] Production.INFO: ==23278== Lock acquired, processing the job...
[2025-03-09 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:18:04] Production.INFO: Total Charge 0
[2025-03-09 20:18:04] Production.INFO: CreateAllLog End
[2025-03-09 20:18:04] Production.ERROR: done
[2025-03-09 20:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 20:18:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:18:04] Production.INFO: count ==21
[2025-03-09 20:18:04] Production.ERROR: done
[2025-03-09 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644567') start
[2025-03-09 20:18:04] Production.INFO: ==23270== Releasing lock...
[2025-03-09 20:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:18:04] Production.INFO: Account Balance End.
[2025-03-09 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644567') end
[2025-03-09 20:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:18:04] Production.INFO: 1
[2025-03-09 20:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:18:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:18:04] Production.INFO: ==23274== Releasing lock...
[2025-03-09 20:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:18:04] Production.INFO: ==23278== Releasing lock...
[2025-03-09 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:18:05
[end_date_ymd] => 2025-03-09 20:18:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:18:05' and `end` < '2025-03-09 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-03-09 20:18:11] Production.ERROR: CronJobId end10
[2025-03-09 20:18:11] Production.INFO: ==23272== Releasing lock...
[2025-03-09 20:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:18:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:18:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:18:14] Production.INFO: call_cost start
[2025-03-09 20:18:14] Production.INFO: call_cost end
[2025-03-09 20:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:18:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:18:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:18:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:18:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:18:15] Production.INFO: ==23268== Releasing lock...
[2025-03-09 20:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:18:17] Production.INFO: count ==1381
[2025-03-09 20:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:18:05 - End Time 2025-03-09 20:18:05
[2025-03-09 20:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644568', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644568', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644568', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644568', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:18:18] Production.INFO: ProcessCDR(1,14644568,1,1,2)
[2025-03-09 20:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644568', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644568', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:18:21] Production.INFO: ==23276== Releasing lock...
[2025-03-09 20:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:18:21] Production.INFO: 39 MB #Memory Used#
[2025-03-10 00:19:02] Production.INFO: ==23336== Lock acquired, processing the job...
[2025-03-10 00:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:19:02] Production.INFO: neon service started
[2025-03-10 00:19:02] Production.INFO: neon service started
[2025-03-10 00:19:02] Production.INFO: ==23336== Releasing lock...
[2025-03-10 00:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:19:02] Production.INFO: ==23340== Lock acquired, processing the job...
[2025-03-10 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:19:02] Production.INFO: ==23340== Releasing lock...
[2025-03-10 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:19:02] Production.INFO: ==23338== Lock acquired, processing the job...
[2025-03-09 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:19:03] Production.INFO: ==23338== Releasing lock...
[2025-03-09 20:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:19:03] Production.INFO: ==23343== Lock acquired, processing the job...
[2025-03-09 20:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:19:03] Production.INFO: ==23345== Lock acquired, processing the job...
[2025-03-09 20:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:19:03] Production.INFO: ==23347== Lock acquired, processing the job...
[2025-03-09 20:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:19:04] Production.INFO: ==23349== Lock acquired, processing the job...
[2025-03-09 20:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:19:04] Production.INFO: ==23345== Releasing lock...
[2025-03-09 20:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:19:04] Production.INFO: ==23353== Lock acquired, processing the job...
[2025-03-09 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:19:04] Production.INFO: ==23351== Lock acquired, processing the job...
[2025-03-09 20:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:19:04] Production.INFO: Account Balance Start.
[2025-03-09 20:19:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:19:04] Production.INFO: 117
[2025-03-09 20:19:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:19:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:19:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:19:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:19:04] Production.INFO: Total Charge 0
[2025-03-09 20: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-03-09 20:19:04] Production.INFO: CreateAllLog End
[2025-03-09 20:19:04] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:19:04] Production.INFO: count ==21
[2025-03-09 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644572') start
[2025-03-09 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644572') end
[2025-03-09 20:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:19:04] Production.INFO: 1
[2025-03-09 20:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:19:04] Production.INFO: Account Balance End.
[2025-03-09 20:19:04] Production.ERROR: done
[2025-03-09 20:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:19:04] Production.INFO: ==23353== Releasing lock...
[2025-03-09 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:19:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:19:04] Production.INFO: ==23349== Releasing lock...
[2025-03-09 20:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:19:05] Production.ERROR: done
[2025-03-09 20:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:19:06
[end_date_ymd] => 2025-03-09 20:19:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:19:06' and `end` < '2025-03-09 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-03-09 20:19:12] Production.ERROR: CronJobId end10
[2025-03-09 20:19:12] Production.INFO: ==23347== Releasing lock...
[2025-03-09 20:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:19:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:19:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:19:14] Production.INFO: call_cost start
[2025-03-09 20:19:14] Production.INFO: call_cost end
[2025-03-09 20:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:19:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:19:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:19:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:19:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:19:15] Production.INFO: ==23343== Releasing lock...
[2025-03-09 20:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:19:18] Production.INFO: count ==1377
[2025-03-09 20:19:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:19:06 - End Time 2025-03-09 20:19:06
[2025-03-09 20:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644573', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644573', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644573', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644573', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:19:18] Production.INFO: ProcessCDR(1,14644573,1,1,2)
[2025-03-09 20:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644573', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644573', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:19:23] Production.INFO: ==23351== Releasing lock...
[2025-03-09 20:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:19:23] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:20:01] Production.INFO: ==23408== Lock acquired, processing the job...
[2025-03-10 00:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:20:01] Production.INFO: neon service started
[2025-03-10 00:20:01] Production.INFO: neon service started
[2025-03-10 00:20:01] Production.INFO: ==23408== Releasing lock...
[2025-03-10 00:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:20:02] Production.INFO: ==23410== Lock acquired, processing the job...
[2025-03-09 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:20:02] Production.INFO: ==23412== Lock acquired, processing the job...
[2025-03-10 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:20:02] Production.INFO: ==23412== Releasing lock...
[2025-03-10 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:20:02] Production.INFO: ==23410== Releasing lock...
[2025-03-09 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:20:03] Production.INFO: ==23415== Lock acquired, processing the job...
[2025-03-09 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 20:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 20:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 20:20:03] Production.INFO: ==23415== Releasing lock...
[2025-03-09 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 20:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 20:20:03] Production.INFO: ==23417== Lock acquired, processing the job...
[2025-03-09 20:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:20:03] Production.INFO: ==23419== Lock acquired, processing the job...
[2025-03-09 20:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:20:03] Production.INFO: ==23423== Lock acquired, processing the job...
[2025-03-09 20:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:20:03] Production.INFO: ==23421== Lock acquired, processing the job...
[2025-03-09 20:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:20:03] Production.INFO: Account Balance Start.
[2025-03-09 20:20:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:20:03] Production.INFO: 117
[2025-03-09 20:20:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:20:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:20:04] Production.INFO: ==23425== Lock acquired, processing the job...
[2025-03-09 20:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:20:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:20:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:20:04] Production.INFO: Total Charge 0
[2025-03-09 20:20:04] Production.INFO: CreateAllLog End
[2025-03-09 20:20:04] Production.INFO: ==23427== Lock acquired, processing the job...
[2025-03-09 20:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 20:20:04] Production.INFO: ==23419== Releasing lock...
[2025-03-09 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:20:04] Production.INFO: ==23429== Lock acquired, processing the job...
[2025-03-09 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 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-03-09 20:20:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:20:04] Production.INFO: count ==21
[2025-03-09 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644577') start
[2025-03-09 20:20:04] Production.ERROR: done
[2025-03-09 20:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:20:04] Production.ERROR: done
[2025-03-09 20:20:04] Production.INFO: Account Balance End.
[2025-03-09 20:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 20:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644578', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644577') end
[2025-03-09 20:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:20:04] Production.INFO: 1
[2025-03-09 20:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:20:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:20:04] Production.INFO: ==23423== Releasing lock...
[2025-03-09 20:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:20:04] Production.INFO: ==23429== Releasing lock...
[2025-03-09 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:20:04] Production.ERROR: done
[2025-03-09 20:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:20:06
[end_date_ymd] => 2025-03-09 20:20:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:20:06' and `end` < '2025-03-09 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-03-09 20:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644578', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 20:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 20:20:08] Production.INFO: ProcessCDR(1,14644578,1,1,2)
[2025-03-09 20:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644578,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644578,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:20:09] Production.INFO: ==23427== Releasing lock...
[2025-03-09 20:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 20:20:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 20:20:14] Production.ERROR: CronJobId end10
[2025-03-09 20:20:14] Production.INFO: ==23421== Releasing lock...
[2025-03-09 20:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:20:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:20:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:20:15] Production.INFO: call_cost start
[2025-03-09 20:20:15] Production.INFO: call_cost end
[2025-03-09 20:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:20:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:20:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:20:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:20:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:20:16] Production.INFO: ==23417== Releasing lock...
[2025-03-09 20:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:20:18] Production.INFO: count ==1378
[2025-03-09 20:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:20:06 - End Time 2025-03-09 20:20:06
[2025-03-09 20:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644579', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644579', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644579', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644579', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:20:18] Production.INFO: ProcessCDR(1,14644579,1,1,2)
[2025-03-09 20:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644579', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644579', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:20:22] Production.INFO: ==23425== Releasing lock...
[2025-03-09 20:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:20:22] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:21:02] Production.INFO: ==23484== Lock acquired, processing the job...
[2025-03-10 00:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:21:02] Production.INFO: neon service started
[2025-03-10 00:21:02] Production.INFO: neon service started
[2025-03-10 00:21:02] Production.INFO: ==23484== Releasing lock...
[2025-03-10 00:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:21:02] Production.INFO: ==23486== Lock acquired, processing the job...
[2025-03-09 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:21:02] Production.INFO: ==23488== Lock acquired, processing the job...
[2025-03-10 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:21:02] Production.INFO: ==23488== Releasing lock...
[2025-03-10 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:21:03] Production.INFO: ==23486== Releasing lock...
[2025-03-09 20:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:21:04] Production.INFO: ==23495== Lock acquired, processing the job...
[2025-03-09 20:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:21:04] Production.INFO: ==23501== Lock acquired, processing the job...
[2025-03-09 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:21:04] Production.INFO: ==23491== Lock acquired, processing the job...
[2025-03-09 20:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 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-03-09 20:21:04] Production.INFO: ==23493== Lock acquired, processing the job...
[2025-03-09 20:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:21:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:21:04] Production.INFO: count ==21
[2025-03-09 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644580') start
[2025-03-09 20:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:21:04] Production.INFO: ==23499== Lock acquired, processing the job...
[2025-03-09 20:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:21:04] Production.INFO: ==23497== Lock acquired, processing the job...
[2025-03-09 20:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644580') end
[2025-03-09 20:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:21:04] Production.INFO: 1
[2025-03-09 20:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:21:04] Production.INFO: ==23501== Releasing lock...
[2025-03-09 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:21:04] Production.INFO: Account Balance Start.
[2025-03-09 20:21:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:21:04] Production.INFO: 117
[2025-03-09 20:21:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:21:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:21:04] Production.ERROR: done
[2025-03-09 20:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:21:04] Production.INFO: ==23493== Releasing lock...
[2025-03-09 20:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:21:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:21:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:21:05] Production.ERROR: done
[2025-03-09 20:21:05] Production.INFO: Total Charge 0
[2025-03-09 20:21:05] Production.INFO: CreateAllLog End
[2025-03-09 20:21:05] Production.INFO: Account Balance End.
[2025-03-09 20:21:05] Production.ERROR: CronJobId end 12
[2025-03-09 20:21:05] Production.INFO: ==23497== Releasing lock...
[2025-03-09 20:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:21:05
[end_date_ymd] => 2025-03-09 20:21:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:21:05' and `end` < '2025-03-09 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-03-09 20:21:12] Production.ERROR: CronJobId end10
[2025-03-09 20:21:12] Production.INFO: ==23495== Releasing lock...
[2025-03-09 20:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:21:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:21:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:21:14] Production.INFO: call_cost start
[2025-03-09 20:21:14] Production.INFO: call_cost end
[2025-03-09 20:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:21:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:21:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:21:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:21:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:21:15] Production.INFO: ==23491== Releasing lock...
[2025-03-09 20:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:21:18] Production.INFO: count ==1390
[2025-03-09 20:21:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:21:05 - End Time 2025-03-09 20:21:05
[2025-03-09 20:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644584', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644584', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644584', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644584', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:21:18] Production.INFO: ProcessCDR(1,14644584,1,1,2)
[2025-03-09 20:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644584', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644584', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:21:21] Production.INFO: ==23499== Releasing lock...
[2025-03-09 20:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:21:21] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:22:01] Production.INFO: ==23554== Lock acquired, processing the job...
[2025-03-10 00:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:22:01] Production.INFO: neon service started
[2025-03-10 00:22:01] Production.INFO: neon service started
[2025-03-10 00:22:01] Production.INFO: ==23554== Releasing lock...
[2025-03-10 00:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:22:02] Production.INFO: ==23556== Lock acquired, processing the job...
[2025-03-09 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:22:02] Production.INFO: ==23558== Lock acquired, processing the job...
[2025-03-10 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:22:02] Production.INFO: ==23558== Releasing lock...
[2025-03-10 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:22:02] Production.INFO: ==23556== Releasing lock...
[2025-03-09 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:22:03] Production.INFO: ==23563== Lock acquired, processing the job...
[2025-03-09 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:22:03] Production.INFO: ==23571== Lock acquired, processing the job...
[2025-03-09 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 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-03-09 20:22:03] Production.INFO: ==23569== Lock acquired, processing the job...
[2025-03-09 20:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:22:03] Production.INFO: count ==13
[2025-03-09 20:22:03] Production.INFO: ==23563== Releasing lock...
[2025-03-09 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 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-03-09 20:22:03] Production.INFO: count ==21
[2025-03-09 20:22:03] Production.INFO: ==23561== Lock acquired, processing the job...
[2025-03-09 20:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644586') start
[2025-03-09 20:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:22:03] Production.INFO: ==23565== Lock acquired, processing the job...
[2025-03-09 20:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644586') end
[2025-03-09 20:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:22:03] Production.INFO: 1
[2025-03-09 20:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:22:03] Production.INFO: ==23567== Lock acquired, processing the job...
[2025-03-09 20:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:22:03] Production.INFO: ==23571== Releasing lock...
[2025-03-09 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:22:03] Production.INFO: Account Balance Start.
[2025-03-09 20:22:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:22:03] Production.INFO: 117
[2025-03-09 20:22:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:22:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:22:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:22:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:22:04] Production.INFO: Total Charge 0
[2025-03-09 20:22:04] Production.INFO: CreateAllLog End
[2025-03-09 20:22:04] Production.ERROR: done
[2025-03-09 20:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:22:04] Production.ERROR: done
[2025-03-09 20:22:04] Production.INFO: Account Balance End.
[2025-03-09 20:22:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:22:04] Production.INFO: ==23567== Releasing lock...
[2025-03-09 20:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:22:05
[end_date_ymd] => 2025-03-09 20:22:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:22:05' and `end` < '2025-03-09 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-03-09 20:22:12] Production.ERROR: CronJobId end10
[2025-03-09 20:22:12] Production.INFO: ==23565== Releasing lock...
[2025-03-09 20:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:22:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:22:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:22:14] Production.INFO: call_cost start
[2025-03-09 20:22:14] Production.INFO: call_cost end
[2025-03-09 20:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:22:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:22:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:22:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:22:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:22:15] Production.INFO: ==23561== Releasing lock...
[2025-03-09 20:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:22:18] Production.INFO: count ==1393
[2025-03-09 20:22:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:22:05 - End Time 2025-03-09 20:22:05
[2025-03-09 20:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644589', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644589', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644589', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644589', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:22:18] Production.INFO: ProcessCDR(1,14644589,1,1,2)
[2025-03-09 20:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644589', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644589', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:22:21] Production.INFO: ==23569== Releasing lock...
[2025-03-09 20:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:22:21] Production.INFO: 38.75 MB #Memory Used#
[2025-03-10 00:23:02] Production.INFO: ==23628== Lock acquired, processing the job...
[2025-03-10 00:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:23:02] Production.INFO: neon service started
[2025-03-10 00:23:02] Production.INFO: neon service started
[2025-03-10 00:23:02] Production.INFO: ==23628== Releasing lock...
[2025-03-10 00:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:23:02] Production.INFO: ==23630== Lock acquired, processing the job...
[2025-03-09 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:23:02] Production.INFO: ==23630== Releasing lock...
[2025-03-09 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:23:02] Production.INFO: ==23632== Lock acquired, processing the job...
[2025-03-10 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:23:03] Production.INFO: ==23632== Releasing lock...
[2025-03-10 00:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:23:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:23:03] Production.INFO: ==23639== Lock acquired, processing the job...
[2025-03-09 20:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:23:03] Production.INFO: ==23643== Lock acquired, processing the job...
[2025-03-09 20:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:23:04] Production.INFO: ==23637== Lock acquired, processing the job...
[2025-03-09 20:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:23:04] Production.INFO: ==23635== Lock acquired, processing the job...
[2025-03-09 20:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:23:04] Production.INFO: ==23641== Lock acquired, processing the job...
[2025-03-09 20:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:23:04] Production.INFO: ==23645== Lock acquired, processing the job...
[2025-03-09 20:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:23:04] Production.INFO: Account Balance Start.
[2025-03-09 20:23:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:23:04] Production.INFO: 117
[2025-03-09 20:23:04] Production.INFO: Date 2025-03-08
[2025-03-09 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-03-09 20:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:23:04] Production.ERROR: done
[2025-03-09 20:23:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:23:04] Production.INFO: count ==13
[2025-03-09 20:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 20:23:04] Production.INFO: count ==21
[2025-03-09 20:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644592') start
[2025-03-09 20:23:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:23:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:23:04] Production.ERROR: done
[2025-03-09 20:23:04] Production.INFO: ==23637== Releasing lock...
[2025-03-09 20:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:23:04] Production.INFO: Total Charge 0
[2025-03-09 20:23:04] Production.INFO: CreateAllLog End
[2025-03-09 20:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644592') end
[2025-03-09 20:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:23:04] Production.INFO: 1
[2025-03-09 20:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:23:04] Production.INFO: Account Balance End.
[2025-03-09 20:23:04] Production.INFO: ==23645== Releasing lock...
[2025-03-09 20:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:23:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:23:04] Production.INFO: ==23641== Releasing lock...
[2025-03-09 20:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:23:05
[end_date_ymd] => 2025-03-09 20:23:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:23:05' and `end` < '2025-03-09 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-03-09 20:23: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-03-09 20:23:12] Production.ERROR: CronJobId end10
[2025-03-09 20:23:12] Production.INFO: ==23639== Releasing lock...
[2025-03-09 20:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:23:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:23:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:23:14] Production.INFO: call_cost start
[2025-03-09 20:23:14] Production.INFO: call_cost end
[2025-03-09 20:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:23:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:23:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:23:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:23:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:23:15] Production.INFO: ==23635== Releasing lock...
[2025-03-09 20:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:23:17] Production.INFO: count ==1386
[2025-03-09 20:23:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:23:05 - End Time 2025-03-09 20:23:05
[2025-03-09 20:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644594', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644594', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644594', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644594', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:23:18] Production.INFO: ProcessCDR(1,14644594,1,1,2)
[2025-03-09 20:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644594', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644594', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:23:23] Production.INFO: ==23643== Releasing lock...
[2025-03-09 20:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:23:23] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:24:01] Production.INFO: ==23704== Lock acquired, processing the job...
[2025-03-10 00:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:24:01] Production.INFO: neon service started
[2025-03-10 00:24:01] Production.INFO: neon service started
[2025-03-10 00:24:01] Production.INFO: ==23704== Releasing lock...
[2025-03-10 00:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:24:01] Production.INFO: ==23706== Lock acquired, processing the job...
[2025-03-09 20:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:24:02] Production.INFO: ==23706== Releasing lock...
[2025-03-09 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:24:02] Production.INFO: ==23708== Lock acquired, processing the job...
[2025-03-10 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:24:02] Production.INFO: ==23708== Releasing lock...
[2025-03-10 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:24:03] Production.INFO: ==23719== Lock acquired, processing the job...
[2025-03-09 20:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:24:03] Production.INFO: ==23711== Lock acquired, processing the job...
[2025-03-09 20:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:24:03] Production.INFO: ==23713== Lock acquired, processing the job...
[2025-03-09 20:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:24:03] Production.INFO: ==23721== Lock acquired, processing the job...
[2025-03-09 20:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:24:03] Production.INFO: ==23715== Lock acquired, processing the job...
[2025-03-09 20:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:24:03] Production.INFO: ==23717== Lock acquired, processing the job...
[2025-03-09 20:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20: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-03-09 20:24:03] Production.INFO: Account Balance Start.
[2025-03-09 20:24:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:24:03] Production.INFO: count ==13
[2025-03-09 20:24:03] Production.INFO: 117
[2025-03-09 20: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-03-09 20:24:03] Production.INFO: count ==21
[2025-03-09 20:24:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644595') start
[2025-03-09 20:24:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:24:03] Production.ERROR: done
[2025-03-09 20:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:24:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:24:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:24:03] Production.INFO: Total Charge 0
[2025-03-09 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644595') end
[2025-03-09 20:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:24:04] Production.INFO: 1
[2025-03-09 20:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:24:04] Production.INFO: CreateAllLog End
[2025-03-09 20:24:04] Production.ERROR: done
[2025-03-09 20:24:04] Production.INFO: ==23713== Releasing lock...
[2025-03-09 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:24:04] Production.INFO: ==23721== Releasing lock...
[2025-03-09 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:24:04] Production.INFO: Account Balance End.
[2025-03-09 20:24:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:24:04] Production.INFO: ==23717== Releasing lock...
[2025-03-09 20:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:24:05
[end_date_ymd] => 2025-03-09 20:24:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:24:05' and `end` < '2025-03-09 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-03-09 20:24:11] Production.ERROR: CronJobId end10
[2025-03-09 20:24:11] Production.INFO: ==23715== Releasing lock...
[2025-03-09 20:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:24:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:24:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:24:14] Production.INFO: call_cost start
[2025-03-09 20:24:14] Production.INFO: call_cost end
[2025-03-09 20:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:24:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:24:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:24:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:24:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:24:15] Production.INFO: ==23711== Releasing lock...
[2025-03-09 20:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:24:17] Production.INFO: count ==1391
[2025-03-09 20:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:24:05 - End Time 2025-03-09 20:24:05
[2025-03-09 20:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644599', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644599', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644599', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644599', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:24:17] Production.INFO: ProcessCDR(1,14644599,1,1,2)
[2025-03-09 20:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644599', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644599', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:24:21] Production.INFO: ==23719== Releasing lock...
[2025-03-09 20:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:24:21] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:25:02] Production.INFO: ==23777== Lock acquired, processing the job...
[2025-03-10 00:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:25:02] Production.INFO: neon service started
[2025-03-10 00:25:02] Production.INFO: neon service started
[2025-03-10 00:25:02] Production.INFO: ==23777== Releasing lock...
[2025-03-10 00:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:25:02] Production.INFO: ==23779== Lock acquired, processing the job...
[2025-03-09 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:25:02] Production.INFO: ==23779== Releasing lock...
[2025-03-09 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:25:02] Production.INFO: ==23781== Lock acquired, processing the job...
[2025-03-10 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:25:03] Production.INFO: ==23781== Releasing lock...
[2025-03-10 00:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:25:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:25:03] Production.INFO: ==23790== Lock acquired, processing the job...
[2025-03-09 20:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:25:03] Production.INFO: ==23788== Lock acquired, processing the job...
[2025-03-09 20:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:25:03] Production.INFO: Account Balance Start.
[2025-03-09 20:25:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:25:03] Production.INFO: 117
[2025-03-09 20:25:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:25:03] Production.INFO: ==23784== Lock acquired, processing the job...
[2025-03-09 20:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:25:03] Production.INFO: ==23786== Lock acquired, processing the job...
[2025-03-09 20:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:25:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:25:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:25:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:25:03] Production.INFO: ==23792== Lock acquired, processing the job...
[2025-03-09 20:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:25:03] Production.INFO: Total Charge 0
[2025-03-09 20:25:03] Production.INFO: ==23794== Lock acquired, processing the job...
[2025-03-09 20:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:25:04] Production.INFO: CreateAllLog End
[2025-03-09 20:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 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-03-09 20:25:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:25:04] Production.INFO: count ==21
[2025-03-09 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644603') start
[2025-03-09 20:25:04] Production.INFO: Account Balance End.
[2025-03-09 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644603') end
[2025-03-09 20:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:25:04] Production.INFO: 1
[2025-03-09 20:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:25:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:25:04] Production.INFO: ==23790== Releasing lock...
[2025-03-09 20:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:25:04] Production.INFO: ==23794== Releasing lock...
[2025-03-09 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:25:04] Production.ERROR: done
[2025-03-09 20:25:04] Production.INFO: ==23786== Releasing lock...
[2025-03-09 20:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:25:04] Production.ERROR: done
[2025-03-09 20:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:25:05
[end_date_ymd] => 2025-03-09 20:25:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:25:05' and `end` < '2025-03-09 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-03-09 20:25:12] Production.ERROR: CronJobId end10
[2025-03-09 20:25:12] Production.INFO: ==23788== Releasing lock...
[2025-03-09 20:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:25:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:25:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:25:14] Production.INFO: call_cost start
[2025-03-09 20:25:14] Production.INFO: call_cost end
[2025-03-09 20:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:25:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:25:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:25:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:25:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:25:15] Production.INFO: ==23784== Releasing lock...
[2025-03-09 20:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:25:17] Production.INFO: count ==1386
[2025-03-09 20:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:25:05 - End Time 2025-03-09 20:25:05
[2025-03-09 20:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644604', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644604', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644604', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644604', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:25:17] Production.INFO: ProcessCDR(1,14644604,1,1,2)
[2025-03-09 20:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644604', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644604', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:25:21] Production.INFO: ==23792== Releasing lock...
[2025-03-09 20:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:25:21] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:26:01] Production.INFO: ==23850== Lock acquired, processing the job...
[2025-03-10 00:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:26:01] Production.INFO: neon service started
[2025-03-10 00:26:01] Production.INFO: neon service started
[2025-03-10 00:26:01] Production.INFO: ==23850== Releasing lock...
[2025-03-10 00:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:26:01] Production.INFO: ==23852== Lock acquired, processing the job...
[2025-03-09 20:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:26:02] Production.INFO: ==23852== Releasing lock...
[2025-03-09 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:26:02] Production.INFO: ==23854== Lock acquired, processing the job...
[2025-03-10 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:26:02] Production.INFO: ==23854== Releasing lock...
[2025-03-10 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:26:03] Production.INFO: ==23864== Lock acquired, processing the job...
[2025-03-09 20:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:26:03] Production.INFO: ==23866== Lock acquired, processing the job...
[2025-03-09 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:26:03] Production.INFO: ==23858== Lock acquired, processing the job...
[2025-03-09 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:26:03] Production.INFO: ==23862== Lock acquired, processing the job...
[2025-03-09 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:26:03] Production.INFO: ==23856== Lock acquired, processing the job...
[2025-03-09 20:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20: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-03-09 20:26:03] Production.INFO: ==23860== Lock acquired, processing the job...
[2025-03-09 20:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:26:03] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:26:03] Production.INFO: count ==21
[2025-03-09 20:26:03] Production.ERROR: done
[2025-03-09 20:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644605') start
[2025-03-09 20:26:03] Production.INFO: Account Balance Start.
[2025-03-09 20:26:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:26:03] Production.INFO: 117
[2025-03-09 20:26:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:26:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:26:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:26:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:26:03] Production.INFO: Total Charge 0
[2025-03-09 20:26:03] Production.INFO: CreateAllLog End
[2025-03-09 20:26:03] Production.ERROR: done
[2025-03-09 20:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644605') end
[2025-03-09 20:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:26:03] Production.INFO: 1
[2025-03-09 20:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:26:03] Production.INFO: ==23866== Releasing lock...
[2025-03-09 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:26:03] Production.INFO: Account Balance End.
[2025-03-09 20:26:03] Production.INFO: ==23858== Releasing lock...
[2025-03-09 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:26:03] Production.ERROR: CronJobId end 12
[2025-03-09 20:26:03] Production.INFO: ==23862== Releasing lock...
[2025-03-09 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:26:04
[end_date_ymd] => 2025-03-09 20:26:04
[RateCDR] => 1
)
[2025-03-09 20:26: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-03-09 17:26:04' and `end` < '2025-03-09 20:26: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-03-09 20:26:12] Production.ERROR: CronJobId end10
[2025-03-09 20:26:12] Production.INFO: ==23860== Releasing lock...
[2025-03-09 20:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:26:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:26:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:26:14] Production.INFO: call_cost start
[2025-03-09 20:26:14] Production.INFO: call_cost end
[2025-03-09 20:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:26:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:26:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:26:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:26:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:26:15] Production.INFO: ==23856== Releasing lock...
[2025-03-09 20:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:26:17] Production.INFO: count ==1379
[2025-03-09 20:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:26:04 - End Time 2025-03-09 20:26:04
[2025-03-09 20:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644609', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644609', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644609', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644609', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:26:17] Production.INFO: ProcessCDR(1,14644609,1,1,2)
[2025-03-09 20:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644609', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644609', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:26:22] Production.INFO: ==23864== Releasing lock...
[2025-03-09 20:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:26:22] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:27:02] Production.INFO: ==23920== Lock acquired, processing the job...
[2025-03-10 00:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:27:02] Production.INFO: neon service started
[2025-03-10 00:27:02] Production.INFO: neon service started
[2025-03-10 00:27:02] Production.INFO: ==23920== Releasing lock...
[2025-03-10 00:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:27:02] Production.INFO: ==23923== Lock acquired, processing the job...
[2025-03-09 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:27:02] Production.INFO: ==23925== Lock acquired, processing the job...
[2025-03-10 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:27:02] Production.INFO: ==23925== Releasing lock...
[2025-03-10 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:27:03] Production.INFO: ==23923== Releasing lock...
[2025-03-09 20:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:27:03] Production.INFO: ==23929== Lock acquired, processing the job...
[2025-03-09 20:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:27:03] Production.INFO: ==23931== Lock acquired, processing the job...
[2025-03-09 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:27:04] Production.INFO: ==23937== Lock acquired, processing the job...
[2025-03-09 20:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:27:04] Production.INFO: ==23933== Lock acquired, processing the job...
[2025-03-09 20:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:27:04] Production.INFO: ==23935== Lock acquired, processing the job...
[2025-03-09 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:27:04] Production.INFO: ==23939== Lock acquired, processing the job...
[2025-03-09 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:27:04] Production.INFO: ==23931== Releasing lock...
[2025-03-09 20:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:27:04] Production.ERROR: done
[2025-03-09 20:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 20:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:27:04] Production.INFO: Account Balance Start.
[2025-03-09 20:27:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:27:04] Production.INFO: 117
[2025-03-09 20:27:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:27:04] Production.INFO: count ==21
[2025-03-09 20:27:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:27:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644613') start
[2025-03-09 20:27:04] Production.ERROR: done
[2025-03-09 20:27:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:27:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:27:04] Production.INFO: Total Charge 0
[2025-03-09 20:27:04] Production.INFO: CreateAllLog End
[2025-03-09 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644613') end
[2025-03-09 20:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:27:04] Production.INFO: 1
[2025-03-09 20:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:27:05] Production.INFO: Account Balance End.
[2025-03-09 20:27:05] Production.ERROR: CronJobId end 12
[2025-03-09 20:27:05] Production.INFO: ==23935== Releasing lock...
[2025-03-09 20:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:27:05] Production.INFO: ==23939== Releasing lock...
[2025-03-09 20:27:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:27:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:27:06
[end_date_ymd] => 2025-03-09 20:27:06
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:27:06' and `end` < '2025-03-09 20: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-03-09 20:27:13] Production.ERROR: CronJobId end10
[2025-03-09 20:27:13] Production.INFO: ==23933== Releasing lock...
[2025-03-09 20:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:27:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:27:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:27:15] Production.INFO: call_cost start
[2025-03-09 20:27:15] Production.INFO: call_cost end
[2025-03-09 20:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:27:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:27:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:27:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:27:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:27:16] Production.INFO: ==23929== Releasing lock...
[2025-03-09 20:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:27:18] Production.INFO: count ==1378
[2025-03-09 20:27:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:27:06 - End Time 2025-03-09 20:27:06
[2025-03-09 20:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644614', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644614', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644614', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644614', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:27:18] Production.INFO: ProcessCDR(1,14644614,1,1,2)
[2025-03-09 20:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644614', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644614', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:27:21] Production.INFO: ==23937== Releasing lock...
[2025-03-09 20:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:27:21] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:28:01] Production.INFO: ==24000== Lock acquired, processing the job...
[2025-03-10 00:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:28:01] Production.INFO: neon service started
[2025-03-10 00:28:01] Production.INFO: neon service started
[2025-03-10 00:28:01] Production.INFO: ==24000== Releasing lock...
[2025-03-10 00:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:28:01] Production.INFO: ==24002== Lock acquired, processing the job...
[2025-03-09 20:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:28:02] Production.INFO: ==24002== Releasing lock...
[2025-03-09 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:28:02] Production.INFO: ==24004== Lock acquired, processing the job...
[2025-03-10 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:28:02] Production.INFO: ==24004== Releasing lock...
[2025-03-10 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:28:03] Production.INFO: ==24014== Lock acquired, processing the job...
[2025-03-09 20:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:28:03] Production.INFO: ==24016== Lock acquired, processing the job...
[2025-03-09 20:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:28:03] Production.INFO: ==24006== Lock acquired, processing the job...
[2025-03-09 20:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:28:03] Production.INFO: ==24008== Lock acquired, processing the job...
[2025-03-09 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20: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-03-09 20:28:03] Production.INFO: count ==13
[2025-03-09 20:28:03] Production.INFO: ==24010== Lock acquired, processing the job...
[2025-03-09 20:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:28:03] Production.INFO: ==24012== Lock acquired, processing the job...
[2025-03-09 20:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20: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-03-09 20:28:03] Production.INFO: count ==21
[2025-03-09 20:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644615') start
[2025-03-09 20:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:28:03] Production.INFO: Account Balance Start.
[2025-03-09 20:28:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:28:03] Production.INFO: 117
[2025-03-09 20:28:03] Production.ERROR: done
[2025-03-09 20:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:28:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:28:03] Production.INFO: ==24008== Releasing lock...
[2025-03-09 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644615') end
[2025-03-09 20:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:28:03] Production.INFO: 1
[2025-03-09 20:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:28:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:28:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:28:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:28:03] Production.INFO: Total Charge 0
[2025-03-09 20:28:03] Production.INFO: CreateAllLog End
[2025-03-09 20:28:03] Production.INFO: ==24016== Releasing lock...
[2025-03-09 20:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:28:04] Production.ERROR: done
[2025-03-09 20:28:04] Production.INFO: Account Balance End.
[2025-03-09 20:28:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:28:04] Production.INFO: ==24012== Releasing lock...
[2025-03-09 20:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:28:04
[end_date_ymd] => 2025-03-09 20:28:04
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:28:04' and `end` < '2025-03-09 20: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-03-09 20:28:11] Production.ERROR: CronJobId end10
[2025-03-09 20:28:11] Production.INFO: ==24010== Releasing lock...
[2025-03-09 20:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:28:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:28:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:28:13] Production.INFO: call_cost start
[2025-03-09 20:28:13] Production.INFO: call_cost end
[2025-03-09 20:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:28:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:28:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:28:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:28:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:28:14] Production.INFO: ==24006== Releasing lock...
[2025-03-09 20:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:28:17] Production.INFO: count ==1376
[2025-03-09 20:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:28:04 - End Time 2025-03-09 20:28:04
[2025-03-09 20:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644619', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644619', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644619', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644619', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:28:17] Production.INFO: ProcessCDR(1,14644619,1,1,2)
[2025-03-09 20:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644619', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644619', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:28:20] Production.INFO: ==24014== Releasing lock...
[2025-03-09 20:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:28:20] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:29:02] Production.INFO: ==24071== Lock acquired, processing the job...
[2025-03-10 00:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:29:02] Production.INFO: neon service started
[2025-03-10 00:29:02] Production.INFO: neon service started
[2025-03-10 00:29:02] Production.INFO: ==24071== Releasing lock...
[2025-03-10 00:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:29:02] Production.INFO: ==24073== Lock acquired, processing the job...
[2025-03-09 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:29:02] Production.INFO: ==24073== Releasing lock...
[2025-03-09 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:29:03] Production.INFO: ==24075== Lock acquired, processing the job...
[2025-03-10 00:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:29:03] Production.INFO: ==24075== Releasing lock...
[2025-03-10 00:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:29:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:29:03] Production.INFO: ==24079== Lock acquired, processing the job...
[2025-03-09 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:29:03] Production.INFO: ==24085== Lock acquired, processing the job...
[2025-03-09 20:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:29:03] Production.INFO: ==24081== Lock acquired, processing the job...
[2025-03-09 20:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:29:03] Production.INFO: ==24079== Releasing lock...
[2025-03-09 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:29:03] Production.INFO: ==24083== Lock acquired, processing the job...
[2025-03-09 20:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:29:03] Production.INFO: ==24077== Lock acquired, processing the job...
[2025-03-09 20:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:29:04] Production.INFO: ==24087== Lock acquired, processing the job...
[2025-03-09 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:29:04] Production.INFO: Account Balance Start.
[2025-03-09 20:29:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:29:04] Production.INFO: 117
[2025-03-09 20:29:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:29:04] Production.ERROR: done
[2025-03-09 20:29:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 20:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:29:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:29:04] Production.INFO: count ==21
[2025-03-09 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644623') start
[2025-03-09 20:29:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:29:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:29:04] Production.ERROR: done
[2025-03-09 20:29:04] Production.INFO: Total Charge 0
[2025-03-09 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644623') end
[2025-03-09 20:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:29:04] Production.INFO: 1
[2025-03-09 20:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:29:04] Production.INFO: CreateAllLog End
[2025-03-09 20:29:04] Production.INFO: ==24087== Releasing lock...
[2025-03-09 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:29:04] Production.INFO: Account Balance End.
[2025-03-09 20:29:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:29:04] Production.INFO: ==24083== Releasing lock...
[2025-03-09 20:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:29:05
[end_date_ymd] => 2025-03-09 20:29:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:29:05' and `end` < '2025-03-09 20: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-03-09 20:29:12] Production.ERROR: CronJobId end10
[2025-03-09 20:29:12] Production.INFO: ==24081== Releasing lock...
[2025-03-09 20:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:29:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:29:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:29:14] Production.INFO: call_cost start
[2025-03-09 20:29:14] Production.INFO: call_cost end
[2025-03-09 20:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:29:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:29:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:29:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:29:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:29:15] Production.INFO: ==24077== Releasing lock...
[2025-03-09 20:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:29:17] Production.INFO: count ==1374
[2025-03-09 20:29:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:29:05 - End Time 2025-03-09 20:29:05
[2025-03-09 20:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644624', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644624', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644624', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644624', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:29:18] Production.INFO: ProcessCDR(1,14644624,1,1,2)
[2025-03-09 20:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644624', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644624', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:29:21] Production.INFO: ==24085== Releasing lock...
[2025-03-09 20:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:29:21] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:30:01] Production.INFO: ==24143== Lock acquired, processing the job...
[2025-03-10 00:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:30:01] Production.INFO: neon service started
[2025-03-10 00:30:01] Production.INFO: neon service started
[2025-03-10 00:30:01] Production.INFO: ==24143== Releasing lock...
[2025-03-10 00:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:30:01] Production.INFO: ==24145== Lock acquired, processing the job...
[2025-03-09 20:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:30:02] Production.INFO: ==24147== Lock acquired, processing the job...
[2025-03-10 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 20:30:02] Production.INFO: ==24145== Releasing lock...
[2025-03-09 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:30:02] Production.INFO: ==24147== Releasing lock...
[2025-03-10 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:30:03] Production.INFO: ==24151== Lock acquired, processing the job...
[2025-03-09 20:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:30:03] Production.INFO: ==24149== Lock acquired, processing the job...
[2025-03-09 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 20:30:03] Production.INFO: ==24155== Lock acquired, processing the job...
[2025-03-09 20:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 20:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 20:30:03] Production.ERROR: CronJob PID - 24151
[2025-03-09 20:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-09 20:30:03] Production.ERROR: CronJob ID - 5
[2025-03-09 20:30:03] Production.ERROR: CronJob Last Run Time 2025-03-09 20:30:00
[2025-03-09 20:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 20:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 20:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 20:30:03] Production.INFO: ==24149== Releasing lock...
[2025-03-09 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 20:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 20:30:03] Production.INFO: ==24159== Lock acquired, processing the job...
[2025-03-09 20:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:30:03] Production.INFO: ==24153== Lock acquired, processing the job...
[2025-03-09 20:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:30:03] Production.INFO: ==24157== Lock acquired, processing the job...
[2025-03-09 20:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:30:03] Production.INFO: ==24162== Lock acquired, processing the job...
[2025-03-09 20:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 20:30:04] Production.INFO: ==24164== Lock acquired, processing the job...
[2025-03-09 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:30:04] Production.INFO: Account Balance Start.
[2025-03-09 20:30:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:30:04] Production.INFO: 117
[2025-03-09 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-03-09 20:30:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:30:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:30:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:30:04] Production.INFO: count ==21
[2025-03-09 20:30:04] Production.ERROR: done
[2025-03-09 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644628') start
[2025-03-09 20:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:30:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:30:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:30:04] Production.INFO: Total Charge 0
[2025-03-09 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644628') end
[2025-03-09 20:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:30:04] Production.INFO: 1
[2025-03-09 20:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:30:04] Production.INFO: CreateAllLog End
[2025-03-09 20:30:04] Production.INFO: ==24164== Releasing lock...
[2025-03-09 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:30:04] Production.INFO: ==24153== Releasing lock...
[2025-03-09 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:30:04] Production.ERROR: done
[2025-03-09 20:30:04] Production.ERROR: done
[2025-03-09 20:30:04] Production.INFO: Account Balance End.
[2025-03-09 20:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 20:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644630', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 20:30:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:30:04] Production.INFO: ==24157== Releasing lock...
[2025-03-09 20:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:30:05
[end_date_ymd] => 2025-03-09 20:30:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:30:05' and `end` < '2025-03-09 20: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-03-09 20:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644630', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 20:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 20:30:09] Production.INFO: ProcessCDR(1,14644630,1,1,2)
[2025-03-09 20:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644630,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644630,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:30:09] Production.INFO: ==24162== Releasing lock...
[2025-03-09 20:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 20:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 20:30:13] Production.ERROR: CronJobId end10
[2025-03-09 20:30:13] Production.INFO: ==24155== Releasing lock...
[2025-03-09 20:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:30:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:30:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:30:16] Production.INFO: call_cost start
[2025-03-09 20:30:16] Production.INFO: call_cost end
[2025-03-09 20:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:30:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:30:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:30:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:30:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:30:17] Production.INFO: ==24151== Releasing lock...
[2025-03-09 20:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:30:17] Production.INFO: count ==1372
[2025-03-09 20:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:30:05 - End Time 2025-03-09 20:30:05
[2025-03-09 20:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644629', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644629', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644629', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644629', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:30:18] Production.INFO: ProcessCDR(1,14644629,1,1,2)
[2025-03-09 20:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644629', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644629', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:30:21] Production.INFO: ==24159== Releasing lock...
[2025-03-09 20:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:30:21] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:31:01] Production.INFO: ==24259== Lock acquired, processing the job...
[2025-03-10 00:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:31:02] Production.INFO: neon service started
[2025-03-10 00:31:02] Production.INFO: neon service started
[2025-03-10 00:31:02] Production.INFO: ==24259== Releasing lock...
[2025-03-10 00:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:31:02] Production.INFO: ==24263== Lock acquired, processing the job...
[2025-03-10 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:31:02] Production.INFO: ==24263== Releasing lock...
[2025-03-10 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:31:02] Production.INFO: ==24261== Lock acquired, processing the job...
[2025-03-09 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:31:02] Production.INFO: ==24261== Releasing lock...
[2025-03-09 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:31:03] Production.INFO: ==24267== Lock acquired, processing the job...
[2025-03-09 20:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:31:03] Production.INFO: ==24272== Lock acquired, processing the job...
[2025-03-09 20:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:31:03] Production.INFO: ==24265== Lock acquired, processing the job...
[2025-03-09 20:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:31:03] Production.INFO: Account Balance Start.
[2025-03-09 20:31:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:31:03] Production.INFO: 117
[2025-03-09 20:31:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:31:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:31:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:31:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:31:03] Production.INFO: Total Charge 0
[2025-03-09 20:31:03] Production.INFO: CreateAllLog End
[2025-03-09 20:31:03] Production.INFO: ==24269== Lock acquired, processing the job...
[2025-03-09 20:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:31:04] Production.INFO: ==24267== Releasing lock...
[2025-03-09 20:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:31:04] Production.INFO: ==24274== Lock acquired, processing the job...
[2025-03-09 20:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:31:04] Production.INFO: Account Balance End.
[2025-03-09 20:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:31:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:31:04] Production.INFO: ==24272== Releasing lock...
[2025-03-09 20:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:31:04] Production.INFO: ==24276== Lock acquired, processing the job...
[2025-03-09 20:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 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-03-09 20:31:04] Production.ERROR: done
[2025-03-09 20:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:31:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:31:04] Production.INFO: count ==21
[2025-03-09 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644634') start
[2025-03-09 20:31:04] Production.ERROR: done
[2025-03-09 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644634') end
[2025-03-09 20:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:31:04] Production.INFO: 1
[2025-03-09 20:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:31:04] Production.INFO: ==24276== Releasing lock...
[2025-03-09 20:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:31:05
[end_date_ymd] => 2025-03-09 20:31:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:31:05' and `end` < '2025-03-09 20: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-03-09 20:31:11] Production.ERROR: CronJobId end10
[2025-03-09 20:31:11] Production.INFO: ==24269== Releasing lock...
[2025-03-09 20:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:31:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:31:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:31:14] Production.INFO: call_cost start
[2025-03-09 20:31:14] Production.INFO: call_cost end
[2025-03-09 20:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:31:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:31:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:31:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:31:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:31:15] Production.INFO: ==24265== Releasing lock...
[2025-03-09 20:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:31:17] Production.INFO: count ==1378
[2025-03-09 20:31:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:31:05 - End Time 2025-03-09 20:31:05
[2025-03-09 20:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644635', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644635', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644635', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644635', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:31:18] Production.INFO: ProcessCDR(1,14644635,1,1,2)
[2025-03-09 20:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644635', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644635', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:31:21] Production.INFO: ==24274== Releasing lock...
[2025-03-09 20:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:31:21] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:32:01] Production.INFO: ==24333== Lock acquired, processing the job...
[2025-03-10 00:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:32:01] Production.INFO: neon service started
[2025-03-10 00:32:01] Production.INFO: neon service started
[2025-03-10 00:32:01] Production.INFO: ==24333== Releasing lock...
[2025-03-10 00:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:32:01] Production.INFO: ==24337== Lock acquired, processing the job...
[2025-03-10 00:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:32:01] Production.INFO: ==24337== Releasing lock...
[2025-03-10 00:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:32:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:32:02] Production.INFO: ==24335== Lock acquired, processing the job...
[2025-03-09 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:32:02] Production.INFO: ==24335== Releasing lock...
[2025-03-09 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:32:03] Production.INFO: ==24342== Lock acquired, processing the job...
[2025-03-09 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:32:03] Production.INFO: ==24340== Lock acquired, processing the job...
[2025-03-09 20:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:32:03] Production.INFO: ==24344== Lock acquired, processing the job...
[2025-03-09 20:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:32:03] Production.INFO: ==24350== Lock acquired, processing the job...
[2025-03-09 20:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:32:03] Production.INFO: ==24346== Lock acquired, processing the job...
[2025-03-09 20:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:32:03] Production.INFO: ==24348== Lock acquired, processing the job...
[2025-03-09 20:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:32:03] Production.INFO: ==24342== Releasing lock...
[2025-03-09 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20: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-03-09 20:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:32:03] Production.INFO: count ==13
[2025-03-09 20:32:03] Production.INFO: Account Balance Start.
[2025-03-09 20:32:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:32:03] Production.INFO: 117
[2025-03-09 20: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-03-09 20:32:03] Production.INFO: count ==21
[2025-03-09 20:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644638') start
[2025-03-09 20:32:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:32:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644638') end
[2025-03-09 20:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:32:03] Production.INFO: 1
[2025-03-09 20:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:32:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:32:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:32:03] Production.INFO: Total Charge 0
[2025-03-09 20:32:03] Production.INFO: CreateAllLog End
[2025-03-09 20:32:03] Production.INFO: ==24350== Releasing lock...
[2025-03-09 20:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:32:04] Production.ERROR: done
[2025-03-09 20:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:32:04] Production.ERROR: done
[2025-03-09 20:32:04] Production.INFO: Account Balance End.
[2025-03-09 20:32:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:32:04] Production.INFO: ==24346== Releasing lock...
[2025-03-09 20:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:32:05
[end_date_ymd] => 2025-03-09 20:32:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:32:05' and `end` < '2025-03-09 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-03-09 20:32:12] Production.ERROR: CronJobId end10
[2025-03-09 20:32:12] Production.INFO: ==24344== Releasing lock...
[2025-03-09 20:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:32:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:32:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:32:14] Production.INFO: call_cost start
[2025-03-09 20:32:14] Production.INFO: call_cost end
[2025-03-09 20:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:32:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:32:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:32:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:32:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:32:15] Production.INFO: ==24340== Releasing lock...
[2025-03-09 20:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:32:17] Production.INFO: count ==1375
[2025-03-09 20:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:32:05 - End Time 2025-03-09 20:32:05
[2025-03-09 20:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644640', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644640', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644640', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644640', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:32:17] Production.INFO: ProcessCDR(1,14644640,1,1,2)
[2025-03-09 20:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644640', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644640', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:32:21] Production.INFO: ==24348== Releasing lock...
[2025-03-09 20:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:32:21] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:33:01] Production.INFO: ==24411== Lock acquired, processing the job...
[2025-03-10 00:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:33:01] Production.INFO: neon service started
[2025-03-10 00:33:01] Production.INFO: neon service started
[2025-03-10 00:33:01] Production.INFO: ==24411== Releasing lock...
[2025-03-10 00:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:33:02] Production.INFO: ==24415== Lock acquired, processing the job...
[2025-03-10 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:33:02] Production.INFO: ==24415== Releasing lock...
[2025-03-10 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:33:02] Production.INFO: ==24413== Lock acquired, processing the job...
[2025-03-09 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:33:02] Production.INFO: ==24413== Releasing lock...
[2025-03-09 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:33:03] Production.INFO: ==24418== Lock acquired, processing the job...
[2025-03-09 20:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:33:03] Production.INFO: ==24426== Lock acquired, processing the job...
[2025-03-09 20:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:33:03] Production.INFO: ==24424== Lock acquired, processing the job...
[2025-03-09 20:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:33:03] Production.INFO: Account Balance Start.
[2025-03-09 20:33:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:33:03] Production.INFO: 117
[2025-03-09 20:33:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:33:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:33:03] Production.INFO: ==24422== Lock acquired, processing the job...
[2025-03-09 20:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:33:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:33:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:33:03] Production.INFO: Total Charge 0
[2025-03-09 20:33:03] Production.INFO: CreateAllLog End
[2025-03-09 20:33:04] Production.INFO: ==24420== Lock acquired, processing the job...
[2025-03-09 20:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:33:04] Production.INFO: ==24428== Lock acquired, processing the job...
[2025-03-09 20:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:33:04] Production.ERROR: done
[2025-03-09 20:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 20:33:04] Production.INFO: count ==13
[2025-03-09 20:33:04] Production.ERROR: done
[2025-03-09 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-03-09 20:33:04] Production.INFO: count ==21
[2025-03-09 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644643') start
[2025-03-09 20:33:04] Production.INFO: Account Balance End.
[2025-03-09 20:33:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:33:04] Production.INFO: ==24424== Releasing lock...
[2025-03-09 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644643') end
[2025-03-09 20:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:33:04] Production.INFO: 1
[2025-03-09 20:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:33:04] Production.INFO: ==24420== Releasing lock...
[2025-03-09 20:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:33:04] Production.INFO: ==24428== Releasing lock...
[2025-03-09 20:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:33:05
[end_date_ymd] => 2025-03-09 20:33:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:33:05' and `end` < '2025-03-09 20: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-03-09 20:33:12] Production.ERROR: CronJobId end10
[2025-03-09 20:33:12] Production.INFO: ==24422== Releasing lock...
[2025-03-09 20:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:33:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:33:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:33:15] Production.INFO: call_cost start
[2025-03-09 20:33:15] Production.INFO: call_cost end
[2025-03-09 20:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:33:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:33:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:33:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:33:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:33:16] Production.INFO: ==24418== Releasing lock...
[2025-03-09 20:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:33:17] Production.INFO: count ==1376
[2025-03-09 20:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:33:05 - End Time 2025-03-09 20:33:05
[2025-03-09 20:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644645', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644645', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644645', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644645', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:33:18] Production.INFO: ProcessCDR(1,14644645,1,1,2)
[2025-03-09 20:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644645', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644645', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:33:21] Production.INFO: ==24426== Releasing lock...
[2025-03-09 20:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:33:21] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:34:01] Production.INFO: ==24483== Lock acquired, processing the job...
[2025-03-10 00:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:34:01] Production.INFO: neon service started
[2025-03-10 00:34:01] Production.INFO: neon service started
[2025-03-10 00:34:01] Production.INFO: ==24483== Releasing lock...
[2025-03-10 00:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:34:01] Production.INFO: ==24486== Lock acquired, processing the job...
[2025-03-09 20:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:34:02] Production.INFO: ==24486== Releasing lock...
[2025-03-09 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:34:02] Production.INFO: ==24488== Lock acquired, processing the job...
[2025-03-10 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:34:02] Production.INFO: ==24488== Releasing lock...
[2025-03-10 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:34:02] Production.INFO: ==24504== Lock acquired, processing the job...
[2025-03-09 20:34:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 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-03-09 20:34:03] Production.INFO: count ==13
[2025-03-09 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-03-09 20:34:03] Production.INFO: count ==21
[2025-03-09 20:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644646') start
[2025-03-09 20:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644646') end
[2025-03-09 20:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:34:03] Production.INFO: 1
[2025-03-09 20:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:34:03] Production.INFO: ==24502== Lock acquired, processing the job...
[2025-03-09 20:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:34:03] Production.INFO: ==24504== Releasing lock...
[2025-03-09 20:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:34:03] Production.INFO: ==24491== Lock acquired, processing the job...
[2025-03-09 20:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:34:03] Production.INFO: ==24493== Lock acquired, processing the job...
[2025-03-09 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:34:03] Production.INFO: ==24495== Lock acquired, processing the job...
[2025-03-09 20:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:34:03] Production.INFO: ==24499== Lock acquired, processing the job...
[2025-03-09 20:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:34:03] Production.INFO: Account Balance Start.
[2025-03-09 20:34:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:34:03] Production.INFO: 117
[2025-03-09 20:34:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:34:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:34:03] Production.ERROR: done
[2025-03-09 20:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:34:03] Production.INFO: ==24493== Releasing lock...
[2025-03-09 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:34:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:34:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:34:03] Production.INFO: Total Charge 0
[2025-03-09 20:34:03] Production.INFO: CreateAllLog End
[2025-03-09 20:34:04] Production.ERROR: done
[2025-03-09 20:34:04] Production.INFO: Account Balance End.
[2025-03-09 20:34:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:34:04] Production.INFO: ==24499== Releasing lock...
[2025-03-09 20:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:34:04
[end_date_ymd] => 2025-03-09 20:34:04
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:34:04' and `end` < '2025-03-09 20: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-03-09 20:34:12] Production.ERROR: CronJobId end10
[2025-03-09 20:34:12] Production.INFO: ==24495== Releasing lock...
[2025-03-09 20:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:34:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:34:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:34:14] Production.INFO: call_cost start
[2025-03-09 20:34:14] Production.INFO: call_cost end
[2025-03-09 20:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:34:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:34:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:34:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:34:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:34:15] Production.INFO: ==24491== Releasing lock...
[2025-03-09 20:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:34:16] Production.INFO: count ==1376
[2025-03-09 20:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:34:04 - End Time 2025-03-09 20:34:04
[2025-03-09 20:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644650', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644650', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644650', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644650', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:34:17] Production.INFO: ProcessCDR(1,14644650,1,1,2)
[2025-03-09 20:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644650', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644650', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:34:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:34:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:34:20] Production.INFO: ==24502== Releasing lock...
[2025-03-09 20:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:34:20] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:35:01] Production.INFO: ==24560== Lock acquired, processing the job...
[2025-03-10 00:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:35:01] Production.INFO: neon service started
[2025-03-10 00:35:02] Production.INFO: neon service started
[2025-03-10 00:35:02] Production.INFO: ==24560== Releasing lock...
[2025-03-10 00:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:35:02] Production.INFO: ==24562== Lock acquired, processing the job...
[2025-03-09 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:35:02] Production.INFO: ==24562== Releasing lock...
[2025-03-09 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:35:02] Production.INFO: ==24564== Lock acquired, processing the job...
[2025-03-10 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:35:03] Production.INFO: ==24564== Releasing lock...
[2025-03-10 00:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:35:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:35:03] Production.INFO: ==24568== Lock acquired, processing the job...
[2025-03-09 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:35:03] Production.INFO: ==24570== Lock acquired, processing the job...
[2025-03-09 20:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:35:03] Production.INFO: ==24572== Lock acquired, processing the job...
[2025-03-09 20:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:35:03] Production.INFO: Account Balance Start.
[2025-03-09 20:35:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:35:03] Production.INFO: 117
[2025-03-09 20:35:03] Production.INFO: ==24568== Releasing lock...
[2025-03-09 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:35:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:35:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:35:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:35:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:35:03] Production.INFO: Total Charge 0
[2025-03-09 20:35:03] Production.INFO: CreateAllLog End
[2025-03-09 20:35:03] Production.INFO: ==24566== Lock acquired, processing the job...
[2025-03-09 20:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:35:04] Production.INFO: ==24574== Lock acquired, processing the job...
[2025-03-09 20:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:35:04] Production.INFO: Account Balance End.
[2025-03-09 20:35:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:35:04] Production.INFO: ==24572== Releasing lock...
[2025-03-09 20:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:35:04] Production.INFO: ==24576== Lock acquired, processing the job...
[2025-03-09 20:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 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-03-09 20:35:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:35:04] Production.INFO: count ==21
[2025-03-09 20:35:04] Production.ERROR: done
[2025-03-09 20:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644654') start
[2025-03-09 20:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644654') end
[2025-03-09 20:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:35:04] Production.INFO: 1
[2025-03-09 20:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:35:04] Production.ERROR: done
[2025-03-09 20:35:04] Production.INFO: ==24576== Releasing lock...
[2025-03-09 20:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:35:05
[end_date_ymd] => 2025-03-09 20:35:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:35:05' and `end` < '2025-03-09 20: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-03-09 20:35:11] Production.ERROR: CronJobId end10
[2025-03-09 20:35:11] Production.INFO: ==24570== Releasing lock...
[2025-03-09 20:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:35:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:35:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:35:14] Production.INFO: call_cost start
[2025-03-09 20:35:14] Production.INFO: call_cost end
[2025-03-09 20:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:35:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:35:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:35:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:35:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:35:15] Production.INFO: ==24566== Releasing lock...
[2025-03-09 20:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:35:17] Production.INFO: count ==1376
[2025-03-09 20:35:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:35:05 - End Time 2025-03-09 20:35:05
[2025-03-09 20:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644655', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644655', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644655', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644655', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:35:18] Production.INFO: ProcessCDR(1,14644655,1,1,2)
[2025-03-09 20:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644655', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644655', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:35:21] Production.INFO: ==24574== Releasing lock...
[2025-03-09 20:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:35:21] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:36:01] Production.INFO: ==24632== Lock acquired, processing the job...
[2025-03-10 00:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:36:01] Production.INFO: neon service started
[2025-03-10 00:36:01] Production.INFO: neon service started
[2025-03-10 00:36:01] Production.INFO: ==24632== Releasing lock...
[2025-03-10 00:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:36:01] Production.INFO: ==24634== Lock acquired, processing the job...
[2025-03-09 20:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:36:02] Production.INFO: ==24634== Releasing lock...
[2025-03-09 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:36:02] Production.INFO: ==24636== Lock acquired, processing the job...
[2025-03-10 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:36:02] Production.INFO: ==24636== Releasing lock...
[2025-03-10 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:36:03] Production.INFO: ==24640== Lock acquired, processing the job...
[2025-03-09 20:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:36:03] Production.INFO: ==24648== Lock acquired, processing the job...
[2025-03-09 20:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:36:03] Production.INFO: ==24638== Lock acquired, processing the job...
[2025-03-09 20:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:36:03] Production.INFO: ==24642== Lock acquired, processing the job...
[2025-03-09 20:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:36:03] Production.INFO: ==24640== Releasing lock...
[2025-03-09 20:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20: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-03-09 20:36:03] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:36:03] Production.INFO: ==24644== Lock acquired, processing the job...
[2025-03-09 20:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:36:03] Production.INFO: count ==21
[2025-03-09 20:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644657') start
[2025-03-09 20:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:36:03] Production.INFO: ==24646== Lock acquired, processing the job...
[2025-03-09 20:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644657') end
[2025-03-09 20:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:36:03] Production.INFO: 1
[2025-03-09 20:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:36:03] Production.INFO: Account Balance Start.
[2025-03-09 20:36:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:36:03] Production.INFO: 117
[2025-03-09 20:36:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:36:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:36:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:36:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:36:03] Production.INFO: Total Charge 0
[2025-03-09 20:36:03] Production.INFO: CreateAllLog End
[2025-03-09 20:36:03] Production.INFO: ==24648== Releasing lock...
[2025-03-09 20:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:36:04] Production.INFO: Account Balance End.
[2025-03-09 20:36:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:36:04] Production.INFO: ==24644== Releasing lock...
[2025-03-09 20:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:36:04] Production.ERROR: done
[2025-03-09 20:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:36:04] Production.ERROR: done
[2025-03-09 20:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:36:05
[end_date_ymd] => 2025-03-09 20:36:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:36:05' and `end` < '2025-03-09 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-03-09 20:36:12] Production.ERROR: CronJobId end10
[2025-03-09 20:36:12] Production.INFO: ==24642== Releasing lock...
[2025-03-09 20:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:36:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:36:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:36:14] Production.INFO: call_cost start
[2025-03-09 20:36:14] Production.INFO: call_cost end
[2025-03-09 20:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:36:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:36:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:36:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:36:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:36:15] Production.INFO: ==24638== Releasing lock...
[2025-03-09 20:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:36:17] Production.INFO: count ==1375
[2025-03-09 20:36:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:36:05 - End Time 2025-03-09 20:36:05
[2025-03-09 20:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644660', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644660', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644660', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644660', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:36:18] Production.INFO: ProcessCDR(1,14644660,1,1,2)
[2025-03-09 20:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644660', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644660', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:36:21] Production.INFO: ==24646== Releasing lock...
[2025-03-09 20:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:36:21] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:37:01] Production.INFO: ==24707== Lock acquired, processing the job...
[2025-03-10 00:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:37:01] Production.INFO: neon service started
[2025-03-10 00:37:01] Production.INFO: neon service started
[2025-03-10 00:37:01] Production.INFO: ==24707== Releasing lock...
[2025-03-10 00:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:37:02] Production.INFO: ==24711== Lock acquired, processing the job...
[2025-03-10 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 20:37:02] Production.INFO: ==24709== Lock acquired, processing the job...
[2025-03-09 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:37:02] Production.INFO: ==24711== Releasing lock...
[2025-03-10 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:37:03] Production.INFO: ==24709== Releasing lock...
[2025-03-09 20:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:37:03] Production.INFO: ==24714== Lock acquired, processing the job...
[2025-03-09 20:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:37:03] Production.INFO: ==24716== Lock acquired, processing the job...
[2025-03-09 20:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:37:04] Production.INFO: ==24720== Lock acquired, processing the job...
[2025-03-09 20:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:37:04] Production.INFO: Account Balance Start.
[2025-03-09 20:37:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:37:04] Production.INFO: ==24718== Lock acquired, processing the job...
[2025-03-09 20:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:37:04] Production.INFO: 117
[2025-03-09 20:37:04] Production.INFO: ==24716== Releasing lock...
[2025-03-09 20:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:37:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:37:04] Production.INFO: ==24722== Lock acquired, processing the job...
[2025-03-09 20:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:37:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:37:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:37:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:37:04] Production.INFO: ==24724== Lock acquired, processing the job...
[2025-03-09 20:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:37:04] Production.INFO: Total Charge 0
[2025-03-09 20:37:04] Production.INFO: CreateAllLog End
[2025-03-09 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-03-09 20:37:04] Production.INFO: Account Balance End.
[2025-03-09 20:37:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:37:04] Production.INFO: count ==21
[2025-03-09 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644664') start
[2025-03-09 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644664') end
[2025-03-09 20:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:37:04] Production.INFO: 1
[2025-03-09 20:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:37:04] Production.INFO: ==24724== Releasing lock...
[2025-03-09 20:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:37:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:37:04] Production.INFO: ==24720== Releasing lock...
[2025-03-09 20:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:37:04] Production.ERROR: done
[2025-03-09 20:37:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:37:05] Production.ERROR: done
[2025-03-09 20:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:37:06
[end_date_ymd] => 2025-03-09 20:37:06
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:37:06' and `end` < '2025-03-09 20: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-03-09 20:37:12] Production.ERROR: CronJobId end10
[2025-03-09 20:37:12] Production.INFO: ==24718== Releasing lock...
[2025-03-09 20:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:37:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:37:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:37:15] Production.INFO: call_cost start
[2025-03-09 20:37:15] Production.INFO: call_cost end
[2025-03-09 20:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:37:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:37:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:37:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:37:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:37:16] Production.INFO: ==24714== Releasing lock...
[2025-03-09 20:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:37:18] Production.INFO: count ==1376
[2025-03-09 20:37:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:37:06 - End Time 2025-03-09 20:37:06
[2025-03-09 20:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644665', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644665', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644665', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644665', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:37:18] Production.INFO: ProcessCDR(1,14644665,1,1,2)
[2025-03-09 20:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644665', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644665', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:37:23] Production.INFO: ==24722== Releasing lock...
[2025-03-09 20:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:37:23] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:38:01] Production.INFO: ==24777== Lock acquired, processing the job...
[2025-03-10 00:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:38:01] Production.INFO: neon service started
[2025-03-10 00:38:01] Production.INFO: neon service started
[2025-03-10 00:38:01] Production.INFO: ==24777== Releasing lock...
[2025-03-10 00:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:38:02] Production.INFO: ==24779== Lock acquired, processing the job...
[2025-03-09 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:38:02] Production.INFO: ==24781== Lock acquired, processing the job...
[2025-03-10 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:38:02] Production.INFO: ==24781== Releasing lock...
[2025-03-10 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:38:02] Production.INFO: ==24779== Releasing lock...
[2025-03-09 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:38:03] Production.INFO: ==24784== Lock acquired, processing the job...
[2025-03-09 20:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:38:03] Production.INFO: ==24788== Lock acquired, processing the job...
[2025-03-09 20:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:38:03] Production.INFO: ==24790== Lock acquired, processing the job...
[2025-03-09 20:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:38:03] Production.INFO: ==24786== Lock acquired, processing the job...
[2025-03-09 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:38:03] Production.INFO: Account Balance Start.
[2025-03-09 20:38:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:38:03] Production.INFO: 117
[2025-03-09 20:38:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:38:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:38:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:38:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:38:03] Production.INFO: ==24786== Releasing lock...
[2025-03-09 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:38:03] Production.INFO: Total Charge 0
[2025-03-09 20:38:03] Production.INFO: CreateAllLog End
[2025-03-09 20:38:04] Production.INFO: ==24792== Lock acquired, processing the job...
[2025-03-09 20:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:38:04] Production.INFO: ==24794== Lock acquired, processing the job...
[2025-03-09 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:38:04] Production.INFO: Account Balance End.
[2025-03-09 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-03-09 20:38:04] Production.INFO: count ==13
[2025-03-09 20:38:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:38:04] Production.INFO: ==24790== Releasing lock...
[2025-03-09 20:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:38:04] Production.ERROR: done
[2025-03-09 20:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 20:38:04] Production.INFO: count ==21
[2025-03-09 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644669') start
[2025-03-09 20:38:04] Production.ERROR: done
[2025-03-09 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644669') end
[2025-03-09 20:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:38:04] Production.INFO: 1
[2025-03-09 20:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:38:04] Production.INFO: ==24794== Releasing lock...
[2025-03-09 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:38:05
[end_date_ymd] => 2025-03-09 20:38:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:38:05' and `end` < '2025-03-09 20: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-03-09 20:38:11] Production.ERROR: CronJobId end10
[2025-03-09 20:38:11] Production.INFO: ==24788== Releasing lock...
[2025-03-09 20:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:38:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:38:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:38:14] Production.INFO: call_cost start
[2025-03-09 20:38:14] Production.INFO: call_cost end
[2025-03-09 20:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:38:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:38:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:38:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:38:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:38:15] Production.INFO: ==24784== Releasing lock...
[2025-03-09 20:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:38:18] Production.INFO: count ==1374
[2025-03-09 20:38:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:38:05 - End Time 2025-03-09 20:38:05
[2025-03-09 20:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644670', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644670', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644670', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644670', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:38:18] Production.INFO: ProcessCDR(1,14644670,1,1,2)
[2025-03-09 20:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644670', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644670', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:38:23] Production.INFO: ==24792== Releasing lock...
[2025-03-09 20:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:38:23] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:39:01] Production.INFO: ==24849== Lock acquired, processing the job...
[2025-03-10 00:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:39:02] Production.INFO: neon service started
[2025-03-10 00:39:02] Production.INFO: neon service started
[2025-03-10 00:39:02] Production.INFO: ==24849== Releasing lock...
[2025-03-10 00:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:39:02] Production.INFO: ==24851== Lock acquired, processing the job...
[2025-03-09 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:39:02] Production.INFO: ==24851== Releasing lock...
[2025-03-09 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:39:02] Production.INFO: ==24853== Lock acquired, processing the job...
[2025-03-10 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:39:02] Production.INFO: ==24853== Releasing lock...
[2025-03-10 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:39:03] Production.INFO: ==24856== Lock acquired, processing the job...
[2025-03-09 20:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:39:03] Production.INFO: ==24866== Lock acquired, processing the job...
[2025-03-09 20:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:39:03] Production.INFO: ==24858== Lock acquired, processing the job...
[2025-03-09 20:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20: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-03-09 20:39:03] Production.INFO: ==24860== Lock acquired, processing the job...
[2025-03-09 20:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:39:03] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:39:03] Production.INFO: count ==21
[2025-03-09 20:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:39:03] Production.INFO: ==24862== Lock acquired, processing the job...
[2025-03-09 20:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644671') start
[2025-03-09 20:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:39:04] Production.INFO: ==24864== Lock acquired, processing the job...
[2025-03-09 20:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644671') end
[2025-03-09 20:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:39:04] Production.INFO: 1
[2025-03-09 20:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:39:04] Production.INFO: Account Balance Start.
[2025-03-09 20:39:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:39:04] Production.INFO: 117
[2025-03-09 20:39:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:39:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:39:04] Production.INFO: ==24866== Releasing lock...
[2025-03-09 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:39:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:39:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:39:04] Production.INFO: Total Charge 0
[2025-03-09 20:39:04] Production.INFO: CreateAllLog End
[2025-03-09 20:39:04] Production.INFO: ==24858== Releasing lock...
[2025-03-09 20:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:39:04] Production.ERROR: done
[2025-03-09 20:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:39:04] Production.INFO: Account Balance End.
[2025-03-09 20:39:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:39:04] Production.INFO: ==24862== Releasing lock...
[2025-03-09 20:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:39:04] Production.ERROR: done
[2025-03-09 20:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:39:05
[end_date_ymd] => 2025-03-09 20:39:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:39:05' and `end` < '2025-03-09 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-03-09 20:39:12] Production.ERROR: CronJobId end10
[2025-03-09 20:39:12] Production.INFO: ==24860== Releasing lock...
[2025-03-09 20:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:39:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:39:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:39:14] Production.INFO: call_cost start
[2025-03-09 20:39:14] Production.INFO: call_cost end
[2025-03-09 20:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:39:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:39:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:39:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:39:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:39:15] Production.INFO: ==24856== Releasing lock...
[2025-03-09 20:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:39:18] Production.INFO: count ==1377
[2025-03-09 20:39:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:39:05 - End Time 2025-03-09 20:39:05
[2025-03-09 20:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644675', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644675', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644675', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644675', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:39:18] Production.INFO: ProcessCDR(1,14644675,1,1,2)
[2025-03-09 20:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644675', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644675', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:39:21] Production.INFO: ==24864== Releasing lock...
[2025-03-09 20:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:39:21] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:40:01] Production.INFO: ==24920== Lock acquired, processing the job...
[2025-03-10 00:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:40:01] Production.INFO: neon service started
[2025-03-10 00:40:01] Production.INFO: neon service started
[2025-03-10 00:40:01] Production.INFO: ==24920== Releasing lock...
[2025-03-10 00:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:40:02] Production.INFO: ==24922== Lock acquired, processing the job...
[2025-03-09 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:40:02] Production.INFO: ==24924== Lock acquired, processing the job...
[2025-03-10 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:40:02] Production.INFO: ==24924== Releasing lock...
[2025-03-10 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:40:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:40:02] Production.INFO: ==24922== Releasing lock...
[2025-03-09 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:40:03] Production.INFO: ==24927== Lock acquired, processing the job...
[2025-03-09 20:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 20:40:03] Production.INFO: ==24929== Lock acquired, processing the job...
[2025-03-09 20:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 20:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 20:40:03] Production.ERROR: CronJob PID - 24929
[2025-03-09 20:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-09 20:40:03] Production.ERROR: CronJob ID - 5
[2025-03-09 20:40:03] Production.ERROR: CronJob Last Run Time 2025-03-09 20:40:00
[2025-03-09 20:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 20:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 20:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:40:03] Production.INFO: ==24931== Lock acquired, processing the job...
[2025-03-09 20:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:40:03] Production.INFO: ==24935== Lock acquired, processing the job...
[2025-03-09 20:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 20:40:03] Production.INFO: ==24927== Releasing lock...
[2025-03-09 20:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 20:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 20:40:03] Production.INFO: Account Balance Start.
[2025-03-09 20:40:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:40:03] Production.INFO: 117
[2025-03-09 20:40:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:40:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:40:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:40:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:40:03] Production.INFO: ==24933== Lock acquired, processing the job...
[2025-03-09 20:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:40:03] Production.INFO: Total Charge 0
[2025-03-09 20:40:03] Production.INFO: CreateAllLog End
[2025-03-09 20:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:40:04] Production.INFO: ==24937== Lock acquired, processing the job...
[2025-03-09 20:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:40:04] Production.INFO: Account Balance End.
[2025-03-09 20:40:04] Production.INFO: ==24931== Releasing lock...
[2025-03-09 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:40:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:40:04] Production.INFO: ==24935== Releasing lock...
[2025-03-09 20:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:40:04] Production.INFO: ==24939== Lock acquired, processing the job...
[2025-03-09 20:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:40:04] Production.INFO: ==24941== Lock acquired, processing the job...
[2025-03-09 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 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-03-09 20:40:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:40:04] Production.INFO: count ==21
[2025-03-09 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644679') start
[2025-03-09 20:40:04] Production.ERROR: done
[2025-03-09 20:40:04] Production.ERROR: done
[2025-03-09 20:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 20:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644680', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644679') end
[2025-03-09 20:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:40:04] Production.INFO: 1
[2025-03-09 20:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:40:04] Production.INFO: ==24941== Releasing lock...
[2025-03-09 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:40:04] Production.ERROR: done
[2025-03-09 20:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:40:06
[end_date_ymd] => 2025-03-09 20:40:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:40:06' and `end` < '2025-03-09 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-03-09 20:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644680', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 20:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 20:40:09] Production.INFO: ProcessCDR(1,14644680,1,1,2)
[2025-03-09 20:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644680,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644680,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:40:09] Production.INFO: ==24939== Releasing lock...
[2025-03-09 20:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 20:40:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 20:40:14] Production.ERROR: CronJobId end10
[2025-03-09 20:40:14] Production.INFO: ==24933== Releasing lock...
[2025-03-09 20:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:40:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:40:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:40:16] Production.INFO: call_cost start
[2025-03-09 20:40:16] Production.INFO: call_cost end
[2025-03-09 20:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:40:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:40:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:40:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:40:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:40:17] Production.INFO: ==24929== Releasing lock...
[2025-03-09 20:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:40:18] Production.INFO: count ==1378
[2025-03-09 20:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:40:06 - End Time 2025-03-09 20:40:06
[2025-03-09 20:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644681', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644681', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644681', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644681', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:40:18] Production.INFO: ProcessCDR(1,14644681,1,1,2)
[2025-03-09 20:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644681', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644681', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:40:22] Production.INFO: ==24937== Releasing lock...
[2025-03-09 20:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:40:22] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:41:01] Production.INFO: ==25002== Lock acquired, processing the job...
[2025-03-10 00:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:41:01] Production.INFO: neon service started
[2025-03-10 00:41:01] Production.INFO: neon service started
[2025-03-10 00:41:01] Production.INFO: ==25002== Releasing lock...
[2025-03-10 00:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:41:02] Production.INFO: ==25004== Lock acquired, processing the job...
[2025-03-09 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:41:02] Production.INFO: ==25006== Lock acquired, processing the job...
[2025-03-10 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:41:02] Production.INFO: ==25006== Releasing lock...
[2025-03-10 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:41:03] Production.INFO: ==25004== Releasing lock...
[2025-03-09 20:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:41:03] Production.INFO: ==25013== Lock acquired, processing the job...
[2025-03-09 20:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:41:04] Production.INFO: ==25017== Lock acquired, processing the job...
[2025-03-09 20:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:41:04] Production.INFO: ==25009== Lock acquired, processing the job...
[2025-03-09 20:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:41:04] Production.INFO: ==25011== Lock acquired, processing the job...
[2025-03-09 20:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:41:04] Production.INFO: ==25015== Lock acquired, processing the job...
[2025-03-09 20:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:41:04] Production.INFO: ==25019== Lock acquired, processing the job...
[2025-03-09 20:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:41:04] Production.ERROR: done
[2025-03-09 20:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:41:04] Production.INFO: Account Balance Start.
[2025-03-09 20:41:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:41:04] Production.INFO: 117
[2025-03-09 20:41:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:41:04] Production.INFO: Reseller ==> 0
[2025-03-09 20: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-03-09 20:41:04] Production.INFO: count ==13
[2025-03-09 20:41:04] Production.ERROR: done
[2025-03-09 20: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-03-09 20:41:04] Production.INFO: count ==21
[2025-03-09 20:41:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:41:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644685') start
[2025-03-09 20:41:04] Production.INFO: Total Charge 0
[2025-03-09 20:41:04] Production.INFO: CreateAllLog End
[2025-03-09 20:41:04] Production.INFO: ==25011== Releasing lock...
[2025-03-09 20:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644685') end
[2025-03-09 20:41:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:41:05] Production.INFO: 1
[2025-03-09 20:41:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:41:05] Production.INFO: Account Balance End.
[2025-03-09 20:41:05] Production.INFO: ==25019== Releasing lock...
[2025-03-09 20:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:41:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:41:05] Production.ERROR: CronJobId end 12
[2025-03-09 20:41:05] Production.INFO: ==25015== Releasing lock...
[2025-03-09 20:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:41:05
[end_date_ymd] => 2025-03-09 20:41:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:41:05' and `end` < '2025-03-09 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-03-09 20:41:12] Production.ERROR: CronJobId end10
[2025-03-09 20:41:12] Production.INFO: ==25013== Releasing lock...
[2025-03-09 20:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:41:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:41:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:41:15] Production.INFO: call_cost start
[2025-03-09 20:41:15] Production.INFO: call_cost end
[2025-03-09 20:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:41:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:41:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:41:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:41:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:41:16] Production.INFO: ==25009== Releasing lock...
[2025-03-09 20:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:41:18] Production.INFO: count ==1355
[2025-03-09 20:41:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:41:05 - End Time 2025-03-09 20:41:05
[2025-03-09 20:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644686', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644686', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644686', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644686', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:41:18] Production.INFO: ProcessCDR(1,14644686,1,1,2)
[2025-03-09 20:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644686', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644686', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:41:22] Production.INFO: ==25017== Releasing lock...
[2025-03-09 20:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:41:22] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:42:01] Production.INFO: ==25074== Lock acquired, processing the job...
[2025-03-10 00:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:42:01] Production.INFO: neon service started
[2025-03-10 00:42:01] Production.INFO: neon service started
[2025-03-10 00:42:01] Production.INFO: ==25074== Releasing lock...
[2025-03-10 00:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:42:01] Production.INFO: ==25076== Lock acquired, processing the job...
[2025-03-09 20:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:42:02] Production.INFO: ==25076== Releasing lock...
[2025-03-09 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:42:02] Production.INFO: ==25078== Lock acquired, processing the job...
[2025-03-10 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:42:02] Production.INFO: ==25078== Releasing lock...
[2025-03-10 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:42:03] Production.INFO: ==25085== Lock acquired, processing the job...
[2025-03-09 20:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:42:03] Production.INFO: ==25080== Lock acquired, processing the job...
[2025-03-09 20:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:42:03] Production.INFO: ==25091== Lock acquired, processing the job...
[2025-03-09 20:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20: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-03-09 20:42:03] Production.INFO: count ==13
[2025-03-09 20:42:03] Production.INFO: ==25083== Lock acquired, processing the job...
[2025-03-09 20:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20: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-03-09 20:42:03] Production.INFO: count ==21
[2025-03-09 20:42:03] Production.INFO: ==25087== Lock acquired, processing the job...
[2025-03-09 20:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644687') start
[2025-03-09 20:42:03] Production.INFO: ==25089== Lock acquired, processing the job...
[2025-03-09 20:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:42:03] Production.INFO: Account Balance Start.
[2025-03-09 20:42:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:42:03] Production.INFO: 117
[2025-03-09 20:42:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644687') end
[2025-03-09 20:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:42:03] Production.INFO: 1
[2025-03-09 20:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:42:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:42:03] Production.INFO: ==25091== Releasing lock...
[2025-03-09 20:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:42:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:42:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:42:03] Production.INFO: Total Charge 0
[2025-03-09 20:42:04] Production.INFO: CreateAllLog End
[2025-03-09 20:42:04] Production.INFO: ==25083== Releasing lock...
[2025-03-09 20:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:42:04] Production.INFO: Account Balance End.
[2025-03-09 20:42:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:42:04] Production.INFO: ==25087== Releasing lock...
[2025-03-09 20:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:42:04] Production.ERROR: done
[2025-03-09 20:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:42:04] Production.ERROR: done
[2025-03-09 20:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:42:05
[end_date_ymd] => 2025-03-09 20:42:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:42:05' and `end` < '2025-03-09 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-03-09 20:42:12] Production.ERROR: CronJobId end10
[2025-03-09 20:42:12] Production.INFO: ==25085== Releasing lock...
[2025-03-09 20:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:42:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:42:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:42:14] Production.INFO: call_cost start
[2025-03-09 20:42:14] Production.INFO: call_cost end
[2025-03-09 20:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:42:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:42:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:42:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:42:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:42:15] Production.INFO: ==25080== Releasing lock...
[2025-03-09 20:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:42:18] Production.INFO: count ==1354
[2025-03-09 20:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:42:05 - End Time 2025-03-09 20:42:05
[2025-03-09 20:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644691', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644691', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644691', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644691', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:42:18] Production.INFO: ProcessCDR(1,14644691,1,1,2)
[2025-03-09 20:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644691', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644691', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:42:23] Production.INFO: ==25089== Releasing lock...
[2025-03-09 20:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:42:23] Production.INFO: 38.5 MB #Memory Used#
[2025-03-10 00:43:01] Production.INFO: ==25146== Lock acquired, processing the job...
[2025-03-10 00:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:43:02] Production.INFO: neon service started
[2025-03-10 00:43:02] Production.INFO: neon service started
[2025-03-10 00:43:02] Production.INFO: ==25146== Releasing lock...
[2025-03-10 00:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:43:02] Production.INFO: ==25148== Lock acquired, processing the job...
[2025-03-09 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:43:02] Production.INFO: ==25148== Releasing lock...
[2025-03-09 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:43:02] Production.INFO: ==25150== Lock acquired, processing the job...
[2025-03-10 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:43:02] Production.INFO: ==25150== Releasing lock...
[2025-03-10 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:43:03] Production.INFO: ==25152== Lock acquired, processing the job...
[2025-03-09 20:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:43:03] Production.INFO: ==25158== Lock acquired, processing the job...
[2025-03-09 20:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:43:03] Production.INFO: ==25154== Lock acquired, processing the job...
[2025-03-09 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:43:03] Production.INFO: ==25156== Lock acquired, processing the job...
[2025-03-09 20:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:43:03] Production.INFO: ==25160== Lock acquired, processing the job...
[2025-03-09 20:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:43:04] Production.INFO: Account Balance Start.
[2025-03-09 20:43:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:43:04] Production.INFO: 117
[2025-03-09 20:43:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:43:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:43:04] Production.INFO: ==25162== Lock acquired, processing the job...
[2025-03-09 20:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:43:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:43:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:43:04] Production.INFO: Total Charge 0
[2025-03-09 20:43:04] Production.INFO: CreateAllLog End
[2025-03-09 20:43:04] Production.INFO: ==25154== Releasing lock...
[2025-03-09 20:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20: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-03-09 20:43:04] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:43:04] Production.INFO: count ==21
[2025-03-09 20:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644695') start
[2025-03-09 20:43:04] Production.ERROR: done
[2025-03-09 20:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644695') end
[2025-03-09 20:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:43:04] Production.INFO: 1
[2025-03-09 20:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:43:04] Production.INFO: ==25162== Releasing lock...
[2025-03-09 20:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:43:04] Production.ERROR: done
[2025-03-09 20:43:04] Production.INFO: Account Balance End.
[2025-03-09 20:43:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:43:04] Production.INFO: ==25158== Releasing lock...
[2025-03-09 20:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:43:05
[end_date_ymd] => 2025-03-09 20:43:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:43:05' and `end` < '2025-03-09 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-03-09 20:43:13] Production.ERROR: CronJobId end10
[2025-03-09 20:43:13] Production.INFO: ==25156== Releasing lock...
[2025-03-09 20:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:43:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:43:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:43:15] Production.INFO: call_cost start
[2025-03-09 20:43:15] Production.INFO: call_cost end
[2025-03-09 20:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:43:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:43:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:43:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:43:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:43:16] Production.INFO: ==25152== Releasing lock...
[2025-03-09 20:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:43:18] Production.INFO: count ==1353
[2025-03-09 20:43:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:43:05 - End Time 2025-03-09 20:43:05
[2025-03-09 20:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644696', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644696', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644696', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644696', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:43:18] Production.INFO: ProcessCDR(1,14644696,1,1,2)
[2025-03-09 20:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644696', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644696', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:43:21] Production.INFO: ==25160== Releasing lock...
[2025-03-09 20:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:43:21] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:44:01] Production.INFO: ==25225== Lock acquired, processing the job...
[2025-03-10 00:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:44:01] Production.INFO: neon service started
[2025-03-10 00:44:01] Production.INFO: neon service started
[2025-03-10 00:44:01] Production.INFO: ==25225== Releasing lock...
[2025-03-10 00:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:44:02] Production.INFO: ==25227== Lock acquired, processing the job...
[2025-03-09 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:44:02] Production.INFO: ==25229== Lock acquired, processing the job...
[2025-03-10 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:44:02] Production.INFO: ==25229== Releasing lock...
[2025-03-10 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:44:02] Production.INFO: ==25227== Releasing lock...
[2025-03-09 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:44:03] Production.INFO: ==25240== Lock acquired, processing the job...
[2025-03-09 20:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:44:03] Production.INFO: ==25242== Lock acquired, processing the job...
[2025-03-09 20:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:44:03] Production.INFO: ==25232== Lock acquired, processing the job...
[2025-03-09 20:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:44:03] Production.INFO: ==25234== Lock acquired, processing the job...
[2025-03-09 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:44:03] Production.INFO: ==25236== Lock acquired, processing the job...
[2025-03-09 20:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:44:03] Production.INFO: ==25238== Lock acquired, processing the job...
[2025-03-09 20:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 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-03-09 20:44:03] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:44:03] Production.ERROR: done
[2025-03-09 20:44:03] Production.INFO: count ==21
[2025-03-09 20:44:03] Production.INFO: Account Balance Start.
[2025-03-09 20:44:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:44:03] Production.INFO: 117
[2025-03-09 20:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644697') start
[2025-03-09 20:44:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:44:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:44:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:44:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644697') end
[2025-03-09 20:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:44:04] Production.INFO: 1
[2025-03-09 20:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:44:04] Production.INFO: Total Charge 0
[2025-03-09 20:44:04] Production.INFO: CreateAllLog End
[2025-03-09 20:44:04] Production.ERROR: done
[2025-03-09 20:44:04] Production.INFO: ==25242== Releasing lock...
[2025-03-09 20:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:44:04] Production.INFO: ==25234== Releasing lock...
[2025-03-09 20:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:44:04] Production.INFO: Account Balance End.
[2025-03-09 20:44:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:44:04] Production.INFO: ==25238== Releasing lock...
[2025-03-09 20:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:44:05
[end_date_ymd] => 2025-03-09 20:44:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:44:05' and `end` < '2025-03-09 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-03-09 20:44:11] Production.ERROR: CronJobId end10
[2025-03-09 20:44:11] Production.INFO: ==25236== Releasing lock...
[2025-03-09 20:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:44:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:44:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:44:14] Production.INFO: call_cost start
[2025-03-09 20:44:14] Production.INFO: call_cost end
[2025-03-09 20:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:44:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:44:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:44:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:44:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:44:15] Production.INFO: ==25232== Releasing lock...
[2025-03-09 20:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:44:17] Production.INFO: count ==1349
[2025-03-09 20:44:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:44:05 - End Time 2025-03-09 20:44:05
[2025-03-09 20:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644701', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644701', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644701', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644701', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:44:17] Production.INFO: ProcessCDR(1,14644701,1,1,2)
[2025-03-09 20:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644701', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644701', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:44:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:44:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:44:20] Production.INFO: ==25240== Releasing lock...
[2025-03-09 20:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:44:20] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:45:01] Production.INFO: ==25299== Lock acquired, processing the job...
[2025-03-10 00:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:45:02] Production.INFO: neon service started
[2025-03-10 00:45:02] Production.INFO: neon service started
[2025-03-10 00:45:02] Production.INFO: ==25299== Releasing lock...
[2025-03-10 00:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:45:02] Production.INFO: ==25301== Lock acquired, processing the job...
[2025-03-09 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:45:02] Production.INFO: ==25301== Releasing lock...
[2025-03-09 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:45:02] Production.INFO: ==25303== Lock acquired, processing the job...
[2025-03-10 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:45:03] Production.INFO: ==25303== Releasing lock...
[2025-03-10 00:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:45:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:45:03] Production.INFO: ==25307== Lock acquired, processing the job...
[2025-03-09 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:45:03] Production.INFO: ==25305== Lock acquired, processing the job...
[2025-03-09 20:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:45:03] Production.INFO: ==25309== Lock acquired, processing the job...
[2025-03-09 20:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:45:03] Production.INFO: ==25311== Lock acquired, processing the job...
[2025-03-09 20:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:45:03] Production.INFO: Account Balance Start.
[2025-03-09 20:45:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:45:03] Production.INFO: 117
[2025-03-09 20:45:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:45:03] Production.INFO: ==25315== Lock acquired, processing the job...
[2025-03-09 20:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:45:03] Production.INFO: ==25313== Lock acquired, processing the job...
[2025-03-09 20:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:45:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:45:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:45:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20: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-03-09 20:45:04] Production.INFO: Total Charge 0
[2025-03-09 20:45:04] Production.INFO: ==25307== Releasing lock...
[2025-03-09 20:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:45:04] Production.INFO: CreateAllLog End
[2025-03-09 20:45:04] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:45:04] Production.INFO: count ==21
[2025-03-09 20:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644705') start
[2025-03-09 20:45:04] Production.ERROR: done
[2025-03-09 20:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644705') end
[2025-03-09 20:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:45:04] Production.INFO: 1
[2025-03-09 20:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:45:04] Production.INFO: ==25315== Releasing lock...
[2025-03-09 20:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:45:04] Production.ERROR: done
[2025-03-09 20:45:04] Production.INFO: Account Balance End.
[2025-03-09 20:45:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:45:04] Production.INFO: ==25311== Releasing lock...
[2025-03-09 20:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:45:05
[end_date_ymd] => 2025-03-09 20:45:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:45:05' and `end` < '2025-03-09 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-03-09 20:45:12] Production.ERROR: CronJobId end10
[2025-03-09 20:45:12] Production.INFO: ==25309== Releasing lock...
[2025-03-09 20:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:45:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:45:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:45:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:45:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:45:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:45:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:45:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:45:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:45:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:45:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:45:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:45:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:45:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:45:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:45:15] Production.INFO: call_cost start
[2025-03-09 20:45:15] Production.INFO: call_cost end
[2025-03-09 20:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:45:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:45:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:45:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:45:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:45:16] Production.INFO: ==25305== Releasing lock...
[2025-03-09 20:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:45:18] Production.INFO: count ==1349
[2025-03-09 20:45:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:45:05 - End Time 2025-03-09 20:45:05
[2025-03-09 20:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644706', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644706', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644706', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644706', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:45:18] Production.INFO: ProcessCDR(1,14644706,1,1,2)
[2025-03-09 20:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644706', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644706', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:45:21] Production.INFO: ==25313== Releasing lock...
[2025-03-09 20:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:45:21] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:46:01] Production.INFO: ==25409== Lock acquired, processing the job...
[2025-03-10 00:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:46:01] Production.INFO: neon service started
[2025-03-10 00:46:01] Production.INFO: neon service started
[2025-03-10 00:46:01] Production.INFO: ==25409== Releasing lock...
[2025-03-10 00:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:46:02] Production.INFO: ==25411== Lock acquired, processing the job...
[2025-03-09 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:46:02] Production.INFO: ==25413== Lock acquired, processing the job...
[2025-03-10 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:46:02] Production.INFO: ==25413== Releasing lock...
[2025-03-10 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:46:02] Production.INFO: ==25411== Releasing lock...
[2025-03-09 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:46:03] Production.INFO: ==25416== Lock acquired, processing the job...
[2025-03-09 20:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:46:03] Production.INFO: ==25418== Lock acquired, processing the job...
[2025-03-09 20:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:46:03] Production.INFO: ==25420== Lock acquired, processing the job...
[2025-03-09 20:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:46:03] Production.INFO: ==25426== Lock acquired, processing the job...
[2025-03-09 20:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:46:03] Production.INFO: ==25424== Lock acquired, processing the job...
[2025-03-09 20:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:46:03] Production.INFO: ==25422== Lock acquired, processing the job...
[2025-03-09 20:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:46:04] Production.INFO: ==25418== Releasing lock...
[2025-03-09 20:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 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-03-09 20:46:04] Production.INFO: Account Balance Start.
[2025-03-09 20:46:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:46:04] Production.INFO: count ==13
[2025-03-09 20:46:04] Production.INFO: 117
[2025-03-09 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-03-09 20:46:04] Production.INFO: count ==21
[2025-03-09 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644709') start
[2025-03-09 20:46:04] Production.ERROR: done
[2025-03-09 20:46:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:46:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:46:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:46:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644709') end
[2025-03-09 20:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:46:04] Production.INFO: 1
[2025-03-09 20:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:46:04] Production.INFO: Total Charge 0
[2025-03-09 20:46:04] Production.INFO: CreateAllLog End
[2025-03-09 20:46:04] Production.INFO: ==25426== Releasing lock...
[2025-03-09 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:46:04] Production.ERROR: done
[2025-03-09 20:46:04] Production.INFO: Account Balance End.
[2025-03-09 20:46:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:46:04] Production.INFO: ==25422== Releasing lock...
[2025-03-09 20:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:46:05
[end_date_ymd] => 2025-03-09 20:46:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:46:05' and `end` < '2025-03-09 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-03-09 20:46:12] Production.ERROR: CronJobId end10
[2025-03-09 20:46:12] Production.INFO: ==25420== Releasing lock...
[2025-03-09 20:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:46:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:46:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:46:15] Production.INFO: call_cost start
[2025-03-09 20:46:15] Production.INFO: call_cost end
[2025-03-09 20:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:46:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:46:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:46:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:46:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:46:16] Production.INFO: ==25416== Releasing lock...
[2025-03-09 20:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:46:17] Production.INFO: count ==1349
[2025-03-09 20:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:46:05 - End Time 2025-03-09 20:46:05
[2025-03-09 20:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644711', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644711', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644711', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644711', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:46:17] Production.INFO: ProcessCDR(1,14644711,1,1,2)
[2025-03-09 20:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644711', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644711', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:46:21] Production.INFO: ==25424== Releasing lock...
[2025-03-09 20:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:46:21] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:47:02] Production.INFO: ==25481== Lock acquired, processing the job...
[2025-03-10 00:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:47:02] Production.INFO: neon service started
[2025-03-10 00:47:02] Production.INFO: neon service started
[2025-03-10 00:47:02] Production.INFO: ==25481== Releasing lock...
[2025-03-10 00:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:47:02] Production.INFO: ==25483== Lock acquired, processing the job...
[2025-03-09 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:47:02] Production.INFO: ==25485== Lock acquired, processing the job...
[2025-03-10 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:47:02] Production.INFO: ==25485== Releasing lock...
[2025-03-10 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:47:03] Production.INFO: ==25483== Releasing lock...
[2025-03-09 20:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:47:03] Production.INFO: ==25490== Lock acquired, processing the job...
[2025-03-09 20:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:47:04] Production.INFO: ==25494== Lock acquired, processing the job...
[2025-03-09 20:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:47:04] Production.INFO: ==25492== Lock acquired, processing the job...
[2025-03-09 20:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:47:04] Production.INFO: Account Balance Start.
[2025-03-09 20:47:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:47:04] Production.INFO: 117
[2025-03-09 20:47:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:47:04] Production.INFO: ==25488== Lock acquired, processing the job...
[2025-03-09 20:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:47:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:47:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:47:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:47:04] Production.INFO: ==25498== Lock acquired, processing the job...
[2025-03-09 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:47:04] Production.INFO: ==25496== Lock acquired, processing the job...
[2025-03-09 20:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:47:04] Production.INFO: Total Charge 0
[2025-03-09 20:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:47:04] Production.INFO: CreateAllLog End
[2025-03-09 20:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:47:04] Production.INFO: ==25490== Releasing lock...
[2025-03-09 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-03-09 20:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:47:04] Production.INFO: Account Balance End.
[2025-03-09 20:47:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:47:04] Production.INFO: count ==21
[2025-03-09 20:47:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:47:04] Production.INFO: ==25494== Releasing lock...
[2025-03-09 20:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644715') start
[2025-03-09 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644715') end
[2025-03-09 20:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:47:04] Production.INFO: 1
[2025-03-09 20:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:47:04] Production.INFO: ==25498== Releasing lock...
[2025-03-09 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:47:04] Production.ERROR: done
[2025-03-09 20:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:47:04] Production.ERROR: done
[2025-03-09 20:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:47:06
[end_date_ymd] => 2025-03-09 20:47:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:47:06' and `end` < '2025-03-09 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-03-09 20:47:13] Production.ERROR: CronJobId end10
[2025-03-09 20:47:13] Production.INFO: ==25492== Releasing lock...
[2025-03-09 20:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:47:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:47:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:47:15] Production.INFO: call_cost start
[2025-03-09 20:47:15] Production.INFO: call_cost end
[2025-03-09 20:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:47:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:47:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:47:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:47:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:47:16] Production.INFO: ==25488== Releasing lock...
[2025-03-09 20:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:47:18] Production.INFO: count ==1353
[2025-03-09 20:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:47:06 - End Time 2025-03-09 20:47:06
[2025-03-09 20:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644716', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644716', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644716', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644716', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:47:18] Production.INFO: ProcessCDR(1,14644716,1,1,2)
[2025-03-09 20:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644716', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644716', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:47:23] Production.INFO: ==25496== Releasing lock...
[2025-03-09 20:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:47:23] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:48:01] Production.INFO: ==25551== Lock acquired, processing the job...
[2025-03-10 00:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:48:01] Production.INFO: neon service started
[2025-03-10 00:48:01] Production.INFO: neon service started
[2025-03-10 00:48:01] Production.INFO: ==25551== Releasing lock...
[2025-03-10 00:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:48:02] Production.INFO: ==25553== Lock acquired, processing the job...
[2025-03-09 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:48:02] Production.INFO: ==25555== Lock acquired, processing the job...
[2025-03-10 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 20:48:02] Production.INFO: ==25553== Releasing lock...
[2025-03-09 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:48:02] Production.INFO: ==25555== Releasing lock...
[2025-03-10 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:48:03] Production.INFO: ==25566== Lock acquired, processing the job...
[2025-03-09 20:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:48:03] Production.INFO: ==25558== Lock acquired, processing the job...
[2025-03-09 20:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:48:03] Production.INFO: ==25568== Lock acquired, processing the job...
[2025-03-09 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:48:03] Production.INFO: ==25560== Lock acquired, processing the job...
[2025-03-09 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:48:03] Production.INFO: ==25562== Lock acquired, processing the job...
[2025-03-09 20:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:48:03] Production.ERROR: done
[2025-03-09 20:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:48:03] Production.INFO: ==25564== Lock acquired, processing the job...
[2025-03-09 20:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20: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-03-09 20:48:03] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:48:03] Production.INFO: count ==21
[2025-03-09 20:48:03] Production.ERROR: done
[2025-03-09 20:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644717') start
[2025-03-09 20:48:03] Production.INFO: Account Balance Start.
[2025-03-09 20:48:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:48:03] Production.INFO: 117
[2025-03-09 20:48:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:48:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:48:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:48:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:48:04] Production.INFO: ==25560== Releasing lock...
[2025-03-09 20:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644717') end
[2025-03-09 20:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:48:04] Production.INFO: 1
[2025-03-09 20:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:48:04] Production.INFO: Total Charge 0
[2025-03-09 20:48:04] Production.INFO: ==25568== Releasing lock...
[2025-03-09 20:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:48:04] Production.INFO: CreateAllLog End
[2025-03-09 20:48:04] Production.INFO: Account Balance End.
[2025-03-09 20:48:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:48:04] Production.INFO: ==25564== Releasing lock...
[2025-03-09 20:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:48:05
[end_date_ymd] => 2025-03-09 20:48:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:48:05' and `end` < '2025-03-09 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-03-09 20:48:12] Production.ERROR: CronJobId end10
[2025-03-09 20:48:12] Production.INFO: ==25562== Releasing lock...
[2025-03-09 20:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:48:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:48:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:48:14] Production.INFO: call_cost start
[2025-03-09 20:48:14] Production.INFO: call_cost end
[2025-03-09 20:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:48:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:48:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:48:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:48:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:48:15] Production.INFO: ==25558== Releasing lock...
[2025-03-09 20:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:48:17] Production.INFO: count ==1352
[2025-03-09 20:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:48:05 - End Time 2025-03-09 20:48:05
[2025-03-09 20:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644721', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644721', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644721', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644721', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:48:17] Production.INFO: ProcessCDR(1,14644721,1,1,2)
[2025-03-09 20:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644721', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644721', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:48:22] Production.INFO: ==25566== Releasing lock...
[2025-03-09 20:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:48:22] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:49:02] Production.INFO: ==25623== Lock acquired, processing the job...
[2025-03-10 00:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:49:02] Production.INFO: neon service started
[2025-03-10 00:49:02] Production.INFO: neon service started
[2025-03-10 00:49:02] Production.INFO: ==25623== Releasing lock...
[2025-03-10 00:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:49:02] Production.INFO: ==25625== Lock acquired, processing the job...
[2025-03-09 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:49:03] Production.INFO: ==25627== Lock acquired, processing the job...
[2025-03-10 00:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:49:03] Production.INFO: ==25627== Releasing lock...
[2025-03-10 00:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:49:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:49:03] Production.INFO: ==25625== Releasing lock...
[2025-03-09 20:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:49:04] Production.INFO: ==25634== Lock acquired, processing the job...
[2025-03-09 20:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:49:04] Production.INFO: ==25638== Lock acquired, processing the job...
[2025-03-09 20:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:49:04] Production.INFO: ==25630== Lock acquired, processing the job...
[2025-03-09 20:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:49:04] Production.ERROR: done
[2025-03-09 20:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:49:04] Production.INFO: ==25632== Lock acquired, processing the job...
[2025-03-09 20:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:49:04] Production.INFO: ==25636== Lock acquired, processing the job...
[2025-03-09 20:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:49:04] Production.INFO: ==25640== Lock acquired, processing the job...
[2025-03-09 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:49:04] Production.ERROR: done
[2025-03-09 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-03-09 20:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:49:04] Production.INFO: Account Balance Start.
[2025-03-09 20:49:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:49:05] Production.INFO: count ==13
[2025-03-09 20:49:05] Production.INFO: 117
[2025-03-09 20:49: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-03-09 20:49:05] Production.INFO: count ==21
[2025-03-09 20:49:05] Production.INFO: Date 2025-03-08
[2025-03-09 20:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644722') start
[2025-03-09 20:49:05] Production.INFO: Reseller ==> 0
[2025-03-09 20:49:05] Production.INFO: Date 2025-03-09
[2025-03-09 20:49:05] Production.INFO: Reseller ==> 0
[2025-03-09 20:49:05] Production.INFO: Total Charge 0
[2025-03-09 20:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644722') end
[2025-03-09 20:49:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:49:05] Production.INFO: 1
[2025-03-09 20:49:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:49:05] Production.INFO: CreateAllLog End
[2025-03-09 20:49:05] Production.INFO: ==25640== Releasing lock...
[2025-03-09 20:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:49:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:49:05] Production.INFO: ==25632== Releasing lock...
[2025-03-09 20:49:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:49:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:49:05] Production.INFO: Account Balance End.
[2025-03-09 20:49:05] Production.ERROR: CronJobId end 12
[2025-03-09 20:49:05] Production.INFO: ==25636== Releasing lock...
[2025-03-09 20:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:49:06
[end_date_ymd] => 2025-03-09 20:49:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:49:06' and `end` < '2025-03-09 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-03-09 20:49:12] Production.ERROR: CronJobId end10
[2025-03-09 20:49:12] Production.INFO: ==25634== Releasing lock...
[2025-03-09 20:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:49:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:49:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:49:15] Production.INFO: call_cost start
[2025-03-09 20:49:15] Production.INFO: call_cost end
[2025-03-09 20:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:49:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:49:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:49:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:49:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:49:16] Production.INFO: ==25630== Releasing lock...
[2025-03-09 20:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:49:18] Production.INFO: count ==1348
[2025-03-09 20:49:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:49:06 - End Time 2025-03-09 20:49:06
[2025-03-09 20:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644724', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644724', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644724', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644724', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:49:18] Production.INFO: ProcessCDR(1,14644724,1,1,2)
[2025-03-09 20:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644724', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644724', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:49:21] Production.INFO: ==25638== Releasing lock...
[2025-03-09 20:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:49:21] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:50:01] Production.INFO: ==25694== Lock acquired, processing the job...
[2025-03-10 00:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:50:01] Production.INFO: neon service started
[2025-03-10 00:50:01] Production.INFO: neon service started
[2025-03-10 00:50:01] Production.INFO: ==25694== Releasing lock...
[2025-03-10 00:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:50:02] Production.INFO: ==25696== Lock acquired, processing the job...
[2025-03-09 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:50:02] Production.INFO: ==25698== Lock acquired, processing the job...
[2025-03-10 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 20:50:02] Production.INFO: ==25696== Releasing lock...
[2025-03-09 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:50:02] Production.INFO: ==25698== Releasing lock...
[2025-03-10 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:50:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:50:03] Production.INFO: ==25706== Lock acquired, processing the job...
[2025-03-09 20:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:50:03] Production.INFO: ==25710== Lock acquired, processing the job...
[2025-03-09 20:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:50:03] Production.INFO: ==25700== Lock acquired, processing the job...
[2025-03-09 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 20:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:50:03] Production.INFO: ==25715== Lock acquired, processing the job...
[2025-03-09 20:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 20:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 20:50:04] Production.ERROR: CronJob PID - 25706
[2025-03-09 20:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-09 20:50:04] Production.ERROR: CronJob ID - 10
[2025-03-09 20:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 20:50:00
[2025-03-09 20:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 20:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 20:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 20:50:04] Production.ERROR: CronJob PID - 25710
[2025-03-09 20:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-09 20:50:04] Production.ERROR: CronJob ID - 16
[2025-03-09 20:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 20:50:00
[2025-03-09 20:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 20:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 20:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 20:50:04] Production.ERROR: CronJob PID - 25715
[2025-03-09 20:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-09 20:50:04] Production.ERROR: CronJob ID - 19
[2025-03-09 20:50:04] Production.ERROR: CronJob Last Run Time 2025-03-09 20:50:00
[2025-03-09 20:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 20:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 20:50:04] Production.INFO: ==25702== Lock acquired, processing the job...
[2025-03-09 20:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:50:04] Production.INFO: ==25704== Lock acquired, processing the job...
[2025-03-09 20:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 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-03-09 20:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 20:50:04] Production.INFO: ==25700== Releasing lock...
[2025-03-09 20:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 20:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 20:50:04] Production.INFO: count ==13
[2025-03-09 20:50:04] Production.INFO: ==25713== Lock acquired, processing the job...
[2025-03-09 20:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 20:50:04] Production.INFO: ==25708== Lock acquired, processing the job...
[2025-03-09 20:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 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-03-09 20:50:04] Production.INFO: count ==21
[2025-03-09 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644727') start
[2025-03-09 20:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:50:04] Production.INFO: Account Balance Start.
[2025-03-09 20:50:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:50:04] Production.INFO: 117
[2025-03-09 20:50:04] Production.ERROR: done
[2025-03-09 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644727') end
[2025-03-09 20:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:50:04] Production.INFO: 1
[2025-03-09 20:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:50:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:50:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:50:04] Production.ERROR: done
[2025-03-09 20:50:04] Production.INFO: ==25715== Releasing lock...
[2025-03-09 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:50:04] Production.ERROR: done
[2025-03-09 20:50:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:50:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:50:04] Production.INFO: Total Charge 0
[2025-03-09 20:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 20:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644732', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 20:50:04] Production.INFO: CreateAllLog End
[2025-03-09 20:50:04] Production.INFO: ==25704== Releasing lock...
[2025-03-09 20:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:50:04] Production.INFO: Account Balance End.
[2025-03-09 20:50:05] Production.ERROR: CronJobId end 12
[2025-03-09 20:50:05] Production.INFO: ==25708== Releasing lock...
[2025-03-09 20:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:50:05
[end_date_ymd] => 2025-03-09 20:50:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:50:05' and `end` < '2025-03-09 20: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-03-09 20:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644732', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 20:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 20:50:09] Production.INFO: ProcessCDR(1,14644732,1,1,2)
[2025-03-09 20:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644732,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644732,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:50:09] Production.INFO: ==25713== Releasing lock...
[2025-03-09 20:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 20:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 20:50:13] Production.ERROR: CronJobId end10
[2025-03-09 20:50:13] Production.INFO: ==25706== Releasing lock...
[2025-03-09 20:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:50:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:50:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:50:16] Production.INFO: call_cost start
[2025-03-09 20:50:16] Production.INFO: call_cost end
[2025-03-09 20:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:50:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:50:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:50:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:50:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:50:17] Production.INFO: ==25702== Releasing lock...
[2025-03-09 20:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:50:18] Production.INFO: count ==1346
[2025-03-09 20:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:50:05 - End Time 2025-03-09 20:50:05
[2025-03-09 20:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644731', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644731', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644731', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644731', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:50:18] Production.INFO: ProcessCDR(1,14644731,1,1,2)
[2025-03-09 20:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644731', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644731', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:50:21] Production.INFO: ==25710== Releasing lock...
[2025-03-09 20:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:50:21] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:51:02] Production.INFO: ==25769== Lock acquired, processing the job...
[2025-03-10 00:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:51:02] Production.INFO: neon service started
[2025-03-10 00:51:02] Production.INFO: neon service started
[2025-03-10 00:51:02] Production.INFO: ==25769== Releasing lock...
[2025-03-10 00:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:51:02] Production.INFO: ==25771== Lock acquired, processing the job...
[2025-03-09 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:51:02] Production.INFO: ==25773== Lock acquired, processing the job...
[2025-03-10 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:51:02] Production.INFO: ==25773== Releasing lock...
[2025-03-10 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:51:03] Production.INFO: ==25771== Releasing lock...
[2025-03-09 20:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:51:03] Production.INFO: ==25778== Lock acquired, processing the job...
[2025-03-09 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:51:04] Production.INFO: ==25776== Lock acquired, processing the job...
[2025-03-09 20:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:51:04] Production.INFO: ==25786== Lock acquired, processing the job...
[2025-03-09 20:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:51:04] Production.INFO: ==25780== Lock acquired, processing the job...
[2025-03-09 20:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 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-03-09 20:51:04] Production.INFO: ==25782== Lock acquired, processing the job...
[2025-03-09 20:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:51:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:51:04] Production.INFO: count ==21
[2025-03-09 20:51:04] Production.INFO: ==25784== Lock acquired, processing the job...
[2025-03-09 20:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644734') start
[2025-03-09 20:51:04] Production.INFO: Account Balance Start.
[2025-03-09 20:51:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:51:04] Production.INFO: 117
[2025-03-09 20:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644734') end
[2025-03-09 20:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:51:04] Production.INFO: 1
[2025-03-09 20:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:51:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:51:04] Production.INFO: ==25778== Releasing lock...
[2025-03-09 20:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:51:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:51:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:51:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:51:04] Production.INFO: ==25786== Releasing lock...
[2025-03-09 20:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:51:04] Production.INFO: Total Charge 0
[2025-03-09 20:51:04] Production.INFO: CreateAllLog End
[2025-03-09 20:51:04] Production.ERROR: done
[2025-03-09 20:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:51:04] Production.ERROR: done
[2025-03-09 20:51:05] Production.INFO: Account Balance End.
[2025-03-09 20:51:05] Production.ERROR: CronJobId end 12
[2025-03-09 20:51:05] Production.INFO: ==25782== Releasing lock...
[2025-03-09 20:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:51:05
[end_date_ymd] => 2025-03-09 20:51:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:51:05' and `end` < '2025-03-09 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-03-09 20:51:12] Production.ERROR: CronJobId end10
[2025-03-09 20:51:12] Production.INFO: ==25780== Releasing lock...
[2025-03-09 20:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:51:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:51:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:51:15] Production.INFO: call_cost start
[2025-03-09 20:51:15] Production.INFO: call_cost end
[2025-03-09 20:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:51:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:51:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:51:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:51:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:51:16] Production.INFO: ==25776== Releasing lock...
[2025-03-09 20:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:51:18] Production.INFO: count ==1348
[2025-03-09 20:51:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:51:05 - End Time 2025-03-09 20:51:05
[2025-03-09 20:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644737', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644737', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644737', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644737', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:51:18] Production.INFO: ProcessCDR(1,14644737,1,1,2)
[2025-03-09 20:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644737', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644737', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:51:23] Production.INFO: ==25784== Releasing lock...
[2025-03-09 20:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:51:23] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:52:01] Production.INFO: ==25843== Lock acquired, processing the job...
[2025-03-10 00:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:52:01] Production.INFO: neon service started
[2025-03-10 00:52:01] Production.INFO: neon service started
[2025-03-10 00:52:01] Production.INFO: ==25843== Releasing lock...
[2025-03-10 00:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:52:02] Production.INFO: ==25847== Lock acquired, processing the job...
[2025-03-10 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:52:02] Production.INFO: ==25847== Releasing lock...
[2025-03-10 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:52:02] Production.INFO: ==25845== Lock acquired, processing the job...
[2025-03-09 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:52:02] Production.INFO: ==25845== Releasing lock...
[2025-03-09 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:52:03] Production.INFO: ==25850== Lock acquired, processing the job...
[2025-03-09 20:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:52:03] Production.INFO: ==25854== Lock acquired, processing the job...
[2025-03-09 20:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:52:03] Production.INFO: ==25858== Lock acquired, processing the job...
[2025-03-09 20:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:52:03] Production.INFO: ==25852== Lock acquired, processing the job...
[2025-03-09 20:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:52:03] Production.INFO: ==25856== Lock acquired, processing the job...
[2025-03-09 20:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:52:03] Production.INFO: ==25860== Lock acquired, processing the job...
[2025-03-09 20:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:52:03] Production.INFO: Account Balance Start.
[2025-03-09 20:52:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:52:03] Production.INFO: 117
[2025-03-09 20:52:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:52:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:52:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:52:03] Production.INFO: Reseller ==> 0
[2025-03-09 20: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-03-09 20:52:03] Production.INFO: Total Charge 0
[2025-03-09 20:52:03] Production.INFO: CreateAllLog End
[2025-03-09 20:52:03] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:52:03] Production.INFO: count ==21
[2025-03-09 20:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644741') start
[2025-03-09 20:52:04] Production.ERROR: done
[2025-03-09 20:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644741') end
[2025-03-09 20:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:52:04] Production.INFO: 1
[2025-03-09 20:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:52:04] Production.INFO: ==25852== Releasing lock...
[2025-03-09 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:52:04] Production.ERROR: done
[2025-03-09 20:52:04] Production.INFO: ==25860== Releasing lock...
[2025-03-09 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:52:04] Production.INFO: Account Balance End.
[2025-03-09 20:52:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:52:04] Production.INFO: ==25856== Releasing lock...
[2025-03-09 20:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:52:05
[end_date_ymd] => 2025-03-09 20:52:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:52:05' and `end` < '2025-03-09 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-03-09 20:52:12] Production.ERROR: CronJobId end10
[2025-03-09 20:52:12] Production.INFO: ==25854== Releasing lock...
[2025-03-09 20:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:52:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:52:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:52:14] Production.INFO: call_cost start
[2025-03-09 20:52:14] Production.INFO: call_cost end
[2025-03-09 20:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:52:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:52:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:52:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:52:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:52:15] Production.INFO: ==25850== Releasing lock...
[2025-03-09 20:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:52:17] Production.INFO: count ==1345
[2025-03-09 20:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:52:05 - End Time 2025-03-09 20:52:05
[2025-03-09 20:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644742', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644742', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644742', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644742', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:52:17] Production.INFO: ProcessCDR(1,14644742,1,1,2)
[2025-03-09 20:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644742', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644742', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:52:21] Production.INFO: ==25858== Releasing lock...
[2025-03-09 20:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:52:21] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 00:53:02] Production.INFO: ==25917== Lock acquired, processing the job...
[2025-03-10 00:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:53:02] Production.INFO: neon service started
[2025-03-10 00:53:02] Production.INFO: neon service started
[2025-03-10 00:53:02] Production.INFO: ==25917== Releasing lock...
[2025-03-10 00:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:53:02] Production.INFO: ==25919== Lock acquired, processing the job...
[2025-03-09 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:53:02] Production.INFO: ==25919== Releasing lock...
[2025-03-09 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:53:03] Production.INFO: ==25921== Lock acquired, processing the job...
[2025-03-10 00:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:53:03] Production.INFO: ==25921== Releasing lock...
[2025-03-10 00:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:53:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:53:03] Production.INFO: ==25925== Lock acquired, processing the job...
[2025-03-09 20:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:53:03] Production.INFO: ==25929== Lock acquired, processing the job...
[2025-03-09 20:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:53:03] Production.INFO: ==25923== Lock acquired, processing the job...
[2025-03-09 20:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:53:03] Production.INFO: ==25927== Lock acquired, processing the job...
[2025-03-09 20:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:53:03] Production.INFO: ==25931== Lock acquired, processing the job...
[2025-03-09 20:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:53:03] Production.INFO: ==25933== Lock acquired, processing the job...
[2025-03-09 20:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:53:03] Production.INFO: Account Balance Start.
[2025-03-09 20:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:53:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:53:03] Production.INFO: 117
[2025-03-09 20:53:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:53:03] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 20:53:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:53:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:53:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:53:04] Production.INFO: count ==21
[2025-03-09 20:53:04] Production.INFO: Total Charge 0
[2025-03-09 20:53:04] Production.INFO: ==25925== Releasing lock...
[2025-03-09 20:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:53:04] Production.INFO: CreateAllLog End
[2025-03-09 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644746') start
[2025-03-09 20:53:04] Production.ERROR: done
[2025-03-09 20:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:53:04] Production.INFO: Account Balance End.
[2025-03-09 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644746') end
[2025-03-09 20:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:53:04] Production.INFO: 1
[2025-03-09 20:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:53:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:53:04] Production.INFO: ==25929== Releasing lock...
[2025-03-09 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:53:04] Production.INFO: ==25933== Releasing lock...
[2025-03-09 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:53:04] Production.ERROR: done
[2025-03-09 20:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:53:05
[end_date_ymd] => 2025-03-09 20:53:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:53:05' and `end` < '2025-03-09 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-03-09 20:53:12] Production.ERROR: CronJobId end10
[2025-03-09 20:53:12] Production.INFO: ==25927== Releasing lock...
[2025-03-09 20:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:53:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:53:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:53:14] Production.INFO: call_cost start
[2025-03-09 20:53:14] Production.INFO: call_cost end
[2025-03-09 20:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:53:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:53:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:53:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:53:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:53:15] Production.INFO: ==25923== Releasing lock...
[2025-03-09 20:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:53:17] Production.INFO: count ==1341
[2025-03-09 20:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:53:05 - End Time 2025-03-09 20:53:05
[2025-03-09 20:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644747', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644747', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644747', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644747', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:53:17] Production.INFO: ProcessCDR(1,14644747,1,1,2)
[2025-03-09 20:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644747', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644747', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:53:22] Production.INFO: ==25931== Releasing lock...
[2025-03-09 20:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:53:22] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:54:01] Production.INFO: ==25990== Lock acquired, processing the job...
[2025-03-10 00:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:54:01] Production.INFO: neon service started
[2025-03-10 00:54:01] Production.INFO: neon service started
[2025-03-10 00:54:01] Production.INFO: ==25990== Releasing lock...
[2025-03-10 00:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:54:02] Production.INFO: ==25992== Lock acquired, processing the job...
[2025-03-09 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:54:02] Production.INFO: ==25992== Releasing lock...
[2025-03-09 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:54:02] Production.INFO: ==25994== Lock acquired, processing the job...
[2025-03-10 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:54:02] Production.INFO: ==25994== Releasing lock...
[2025-03-10 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:54:03] Production.INFO: ==26007== Lock acquired, processing the job...
[2025-03-09 20:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:54:03] Production.INFO: ==26005== Lock acquired, processing the job...
[2025-03-09 20:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 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-03-09 20:54:03] Production.INFO: ==25997== Lock acquired, processing the job...
[2025-03-09 20:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:54:03] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:54:03] Production.INFO: count ==21
[2025-03-09 20:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644748') start
[2025-03-09 20:54:03] Production.INFO: ==26001== Lock acquired, processing the job...
[2025-03-09 20:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:54:03] Production.INFO: ==25999== Lock acquired, processing the job...
[2025-03-09 20:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:54:03] Production.INFO: ==26003== Lock acquired, processing the job...
[2025-03-09 20:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644748') end
[2025-03-09 20:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:54:03] Production.INFO: 1
[2025-03-09 20:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:54:03] Production.ERROR: done
[2025-03-09 20:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:54:03] Production.INFO: ==26007== Releasing lock...
[2025-03-09 20:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:54:03] Production.INFO: Account Balance Start.
[2025-03-09 20:54:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:54:03] Production.INFO: 117
[2025-03-09 20:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:54:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:54:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:54:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:54:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:54:03] Production.ERROR: done
[2025-03-09 20:54:03] Production.INFO: Total Charge 0
[2025-03-09 20:54:03] Production.INFO: CreateAllLog End
[2025-03-09 20:54:04] Production.INFO: ==25999== Releasing lock...
[2025-03-09 20:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:54:04] Production.INFO: Account Balance End.
[2025-03-09 20:54:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:54:04] Production.INFO: ==26003== Releasing lock...
[2025-03-09 20:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:54:04
[end_date_ymd] => 2025-03-09 20:54:04
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:54:04' and `end` < '2025-03-09 20: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-03-09 20:54:12] Production.ERROR: CronJobId end10
[2025-03-09 20:54:12] Production.INFO: ==26001== Releasing lock...
[2025-03-09 20:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:54:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:54:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:54:14] Production.INFO: call_cost start
[2025-03-09 20:54:14] Production.INFO: call_cost end
[2025-03-09 20:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:54:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:54:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:54:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:54:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:54:15] Production.INFO: ==25997== Releasing lock...
[2025-03-09 20:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:54:17] Production.INFO: count ==1341
[2025-03-09 20:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:54:04 - End Time 2025-03-09 20:54:04
[2025-03-09 20:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644752', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644752', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644752', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644752', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:54:17] Production.INFO: ProcessCDR(1,14644752,1,1,2)
[2025-03-09 20:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644752', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644752', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:54:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:54:20] Production.INFO: ==26005== Releasing lock...
[2025-03-09 20:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:54:20] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:55:02] Production.INFO: ==26066== Lock acquired, processing the job...
[2025-03-10 00:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:55:02] Production.INFO: neon service started
[2025-03-10 00:55:02] Production.INFO: neon service started
[2025-03-10 00:55:02] Production.INFO: ==26066== Releasing lock...
[2025-03-10 00:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:55:02] Production.INFO: ==26068== Lock acquired, processing the job...
[2025-03-09 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:55:02] Production.INFO: ==26070== Lock acquired, processing the job...
[2025-03-10 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:55:02] Production.INFO: ==26070== Releasing lock...
[2025-03-10 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:55:02] Production.INFO: ==26068== Releasing lock...
[2025-03-09 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:55:03] Production.INFO: ==26075== Lock acquired, processing the job...
[2025-03-09 20:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:55:03] Production.INFO: ==26083== Lock acquired, processing the job...
[2025-03-09 20:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:55:03] Production.INFO: ==26073== Lock acquired, processing the job...
[2025-03-09 20:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:55:03] Production.INFO: ==26075== Releasing lock...
[2025-03-09 20:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:55:03] Production.INFO: ==26081== Lock acquired, processing the job...
[2025-03-09 20:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:55:03] Production.INFO: ==26077== Lock acquired, processing the job...
[2025-03-09 20:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20: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-03-09 20:55:03] Production.INFO: ==26079== Lock acquired, processing the job...
[2025-03-09 20:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:55:03] Production.INFO: count ==13
[2025-03-09 20: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-03-09 20:55:03] Production.INFO: count ==21
[2025-03-09 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644754') start
[2025-03-09 20:55:04] Production.INFO: Account Balance Start.
[2025-03-09 20:55:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:55:04] Production.INFO: 117
[2025-03-09 20:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:55:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:55:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644754') end
[2025-03-09 20:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:55:04] Production.INFO: 1
[2025-03-09 20:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:55:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:55:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:55:04] Production.INFO: Total Charge 0
[2025-03-09 20:55:04] Production.INFO: CreateAllLog End
[2025-03-09 20:55:04] Production.INFO: ==26083== Releasing lock...
[2025-03-09 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:55:04] Production.ERROR: done
[2025-03-09 20:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:55:04] Production.INFO: Account Balance End.
[2025-03-09 20:55:04] Production.ERROR: done
[2025-03-09 20:55:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:55:04] Production.INFO: ==26079== Releasing lock...
[2025-03-09 20:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:55:05
[end_date_ymd] => 2025-03-09 20:55:05
[RateCDR] => 1
)
[2025-03-09 20: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-03-09 17:55:05' and `end` < '2025-03-09 20: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-03-09 20:55:11] Production.ERROR: CronJobId end10
[2025-03-09 20:55:11] Production.INFO: ==26077== Releasing lock...
[2025-03-09 20:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:55:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:55:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:55:15] Production.INFO: call_cost start
[2025-03-09 20:55:15] Production.INFO: call_cost end
[2025-03-09 20:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:55:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:55:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:55:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:55:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:55:16] Production.INFO: ==26073== Releasing lock...
[2025-03-09 20:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:55:17] Production.INFO: count ==1341
[2025-03-09 20:55:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:55:05 - End Time 2025-03-09 20:55:05
[2025-03-09 20:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644757', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644757', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644757', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644757', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:55:17] Production.INFO: ProcessCDR(1,14644757,1,1,2)
[2025-03-09 20:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644757', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644757', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:55:21] Production.INFO: ==26081== Releasing lock...
[2025-03-09 20:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:55:21] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:56:01] Production.INFO: ==26155== Lock acquired, processing the job...
[2025-03-10 00:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:56:01] Production.INFO: neon service started
[2025-03-10 00:56:01] Production.INFO: neon service started
[2025-03-10 00:56:01] Production.INFO: ==26155== Releasing lock...
[2025-03-10 00:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:56:01] Production.INFO: ==26157== Lock acquired, processing the job...
[2025-03-09 20:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:56:02] Production.INFO: ==26159== Lock acquired, processing the job...
[2025-03-10 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 20:56:02] Production.INFO: ==26157== Releasing lock...
[2025-03-09 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:56:02] Production.INFO: ==26159== Releasing lock...
[2025-03-10 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:56:03] Production.INFO: ==26168== Lock acquired, processing the job...
[2025-03-09 20:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:56:03] Production.INFO: ==26172== Lock acquired, processing the job...
[2025-03-09 20:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:56:03] Production.INFO: ==26162== Lock acquired, processing the job...
[2025-03-09 20:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:56:03] Production.INFO: ==26164== Lock acquired, processing the job...
[2025-03-09 20:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:56:03] Production.INFO: Account Balance Start.
[2025-03-09 20:56:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:56:03] Production.INFO: 117
[2025-03-09 20: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-03-09 20:56:03] Production.INFO: count ==13
[2025-03-09 20:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20: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-03-09 20:56:03] Production.INFO: count ==21
[2025-03-09 20:56:03] Production.INFO: ==26166== Lock acquired, processing the job...
[2025-03-09 20:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644759') start
[2025-03-09 20:56:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:56:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:56:03] Production.INFO: ==26170== Lock acquired, processing the job...
[2025-03-09 20:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:56:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:56:03] Production.INFO: Reseller ==> 0
[2025-03-09 20:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644759') end
[2025-03-09 20:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:56:03] Production.INFO: 1
[2025-03-09 20:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:56:03] Production.INFO: ==26172== Releasing lock...
[2025-03-09 20:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:56:03] Production.INFO: Total Charge 0
[2025-03-09 20:56:03] Production.INFO: CreateAllLog End
[2025-03-09 20:56:03] Production.INFO: ==26164== Releasing lock...
[2025-03-09 20:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:56:03] Production.ERROR: done
[2025-03-09 20:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:56:04] Production.INFO: Account Balance End.
[2025-03-09 20:56:04] Production.ERROR: done
[2025-03-09 20:56:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:56:04] Production.INFO: ==26168== Releasing lock...
[2025-03-09 20:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:56:05
[end_date_ymd] => 2025-03-09 20:56:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:56:05' and `end` < '2025-03-09 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-03-09 20:56:12] Production.ERROR: CronJobId end10
[2025-03-09 20:56:12] Production.INFO: ==26166== Releasing lock...
[2025-03-09 20:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:56:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:56:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:56:14] Production.INFO: call_cost start
[2025-03-09 20:56:14] Production.INFO: call_cost end
[2025-03-09 20:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:56:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:56:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:56:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:56:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:56:15] Production.INFO: ==26162== Releasing lock...
[2025-03-09 20:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:56:17] Production.INFO: count ==1340
[2025-03-09 20:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:56:05 - End Time 2025-03-09 20:56:05
[2025-03-09 20:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644762', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644762', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644762', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644762', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:56:17] Production.INFO: ProcessCDR(1,14644762,1,1,2)
[2025-03-09 20:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644762', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644762', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:56:22] Production.INFO: ==26170== Releasing lock...
[2025-03-09 20:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:56:22] Production.INFO: 37.75 MB #Memory Used#
[2025-03-10 00:57:01] Production.INFO: ==26233== Lock acquired, processing the job...
[2025-03-10 00:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:57:01] Production.INFO: neon service started
[2025-03-10 00:57:01] Production.INFO: neon service started
[2025-03-10 00:57:01] Production.INFO: ==26233== Releasing lock...
[2025-03-10 00:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:57:02] Production.INFO: ==26237== Lock acquired, processing the job...
[2025-03-10 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:57:02] Production.INFO: ==26237== Releasing lock...
[2025-03-10 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:57:02] Production.INFO: ==26235== Lock acquired, processing the job...
[2025-03-09 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:57:02] Production.INFO: ==26235== Releasing lock...
[2025-03-09 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:57:03] Production.INFO: ==26240== Lock acquired, processing the job...
[2025-03-09 20:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:57:03] Production.INFO: ==26248== Lock acquired, processing the job...
[2025-03-09 20:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:57:03] Production.INFO: ==26244== Lock acquired, processing the job...
[2025-03-09 20:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:57:03] Production.INFO: ==26242== Lock acquired, processing the job...
[2025-03-09 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:57:03] Production.INFO: ==26246== Lock acquired, processing the job...
[2025-03-09 20:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:57:03] Production.INFO: ==26250== Lock acquired, processing the job...
[2025-03-09 20:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:57:03] Production.INFO: Account Balance Start.
[2025-03-09 20:57:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:57:03] Production.INFO: 117
[2025-03-09 20:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:57:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:57:03] Production.INFO: Reseller ==> 0
[2025-03-09 20: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-03-09 20:57:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:57:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:57:04] Production.INFO: count ==21
[2025-03-09 20:57:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:57:04] Production.ERROR: done
[2025-03-09 20:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644766') start
[2025-03-09 20:57:04] Production.INFO: Total Charge 0
[2025-03-09 20:57:04] Production.INFO: CreateAllLog End
[2025-03-09 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644766') end
[2025-03-09 20:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:57:04] Production.INFO: 1
[2025-03-09 20:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:57:04] Production.INFO: ==26250== Releasing lock...
[2025-03-09 20:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:57:04] Production.INFO: ==26242== Releasing lock...
[2025-03-09 20:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:57:04] Production.ERROR: done
[2025-03-09 20:57:04] Production.INFO: Account Balance End.
[2025-03-09 20:57:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:57:04] Production.INFO: ==26246== Releasing lock...
[2025-03-09 20:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:57:05
[end_date_ymd] => 2025-03-09 20:57:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:57:05' and `end` < '2025-03-09 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-03-09 20:57:12] Production.ERROR: CronJobId end10
[2025-03-09 20:57:12] Production.INFO: ==26244== Releasing lock...
[2025-03-09 20:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:57:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:57:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:57:14] Production.INFO: call_cost start
[2025-03-09 20:57:14] Production.INFO: call_cost end
[2025-03-09 20:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:57:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:57:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:57:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:57:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:57:15] Production.INFO: ==26240== Releasing lock...
[2025-03-09 20:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:57:17] Production.INFO: count ==1331
[2025-03-09 20:57:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:57:05 - End Time 2025-03-09 20:57:05
[2025-03-09 20:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644767', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644767', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644767', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644767', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:57:18] Production.INFO: ProcessCDR(1,14644767,1,1,2)
[2025-03-09 20:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644767', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644767', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:57:22] Production.INFO: ==26248== Releasing lock...
[2025-03-09 20:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:57:22] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:58:02] Production.INFO: ==26306== Lock acquired, processing the job...
[2025-03-10 00:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:58:02] Production.INFO: neon service started
[2025-03-10 00:58:02] Production.INFO: neon service started
[2025-03-10 00:58:02] Production.INFO: ==26306== Releasing lock...
[2025-03-10 00:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:58:02] Production.INFO: ==26310== Lock acquired, processing the job...
[2025-03-10 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:58:02] Production.INFO: ==26310== Releasing lock...
[2025-03-10 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:58:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:58:02] Production.INFO: ==26308== Lock acquired, processing the job...
[2025-03-09 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:58:03] Production.INFO: ==26308== Releasing lock...
[2025-03-09 20:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 20:58:03] Production.INFO: ==26312== Lock acquired, processing the job...
[2025-03-09 20:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:58:03] Production.INFO: ==26314== Lock acquired, processing the job...
[2025-03-09 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:58:04] Production.INFO: ==26319== Lock acquired, processing the job...
[2025-03-09 20:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:58:04] Production.INFO: ==26316== Lock acquired, processing the job...
[2025-03-09 20:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:58:04] Production.INFO: Account Balance Start.
[2025-03-09 20:58:04] Production.INFO: CreateAllLog Start
[2025-03-09 20:58:04] Production.INFO: 117
[2025-03-09 20:58:04] Production.INFO: Date 2025-03-08
[2025-03-09 20:58:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:58:04] Production.INFO: Date 2025-03-09
[2025-03-09 20:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:58:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:58:04] Production.INFO: Total Charge 0
[2025-03-09 20:58:04] Production.INFO: ==26314== Releasing lock...
[2025-03-09 20:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20:58:04] Production.INFO: CreateAllLog End
[2025-03-09 20:58:04] Production.INFO: ==26321== Lock acquired, processing the job...
[2025-03-09 20:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:58:04] Production.INFO: ==26323== Lock acquired, processing the job...
[2025-03-09 20:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:58:04] Production.INFO: Account Balance End.
[2025-03-09 20:58:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:58:04] Production.INFO: ==26319== Releasing lock...
[2025-03-09 20:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20: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-03-09 20:58:04] Production.INFO: count ==13
[2025-03-09 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-03-09 20:58:04] Production.INFO: count ==21
[2025-03-09 20:58:04] Production.ERROR: done
[2025-03-09 20:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644771') start
[2025-03-09 20:58:05] Production.ERROR: done
[2025-03-09 20:58:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644771') end
[2025-03-09 20:58:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:58:05] Production.INFO: 1
[2025-03-09 20:58:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:58:05] Production.INFO: ==26323== Releasing lock...
[2025-03-09 20:58:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:58:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:58:05
[end_date_ymd] => 2025-03-09 20:58:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:58:05' and `end` < '2025-03-09 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-03-09 20:58:12] Production.ERROR: CronJobId end10
[2025-03-09 20:58:12] Production.INFO: ==26316== Releasing lock...
[2025-03-09 20:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:58:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:58:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:58:14] Production.INFO: call_cost start
[2025-03-09 20:58:14] Production.INFO: call_cost end
[2025-03-09 20:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:58:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:58:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:58:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:58:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:58:15] Production.INFO: ==26312== Releasing lock...
[2025-03-09 20:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:58:17] Production.INFO: count ==1331
[2025-03-09 20:58:18] Production.ERROR: pbx CDR StartTime 2025-03-09 17:58:05 - End Time 2025-03-09 20:58:05
[2025-03-09 20:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644772', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644772', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644772', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644772', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:58:18] Production.INFO: ProcessCDR(1,14644772,1,1,2)
[2025-03-09 20:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644772', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644772', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:58:21] Production.INFO: ==26321== Releasing lock...
[2025-03-09 20:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:58:21] Production.INFO: 38 MB #Memory Used#
[2025-03-10 00:59:01] Production.INFO: ==26376== Lock acquired, processing the job...
[2025-03-10 00:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 00:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 00:59:01] Production.INFO: neon service started
[2025-03-10 00:59:01] Production.INFO: neon service started
[2025-03-10 00:59:01] Production.INFO: ==26376== Releasing lock...
[2025-03-10 00:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 00:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 20:59:02] Production.INFO: ==26378== Lock acquired, processing the job...
[2025-03-09 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 20:59:02] Production.INFO: ==26378== Releasing lock...
[2025-03-09 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 20:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:59:02] Production.INFO: ==26380== Lock acquired, processing the job...
[2025-03-10 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:59:02] Production.INFO: ==26380== Releasing lock...
[2025-03-10 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 00:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 20:59:03] Production.INFO: ==26384== Lock acquired, processing the job...
[2025-03-09 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 20:59:03] Production.INFO: ==26382== Lock acquired, processing the job...
[2025-03-09 20:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 20:59:03] Production.INFO: ==26386== Lock acquired, processing the job...
[2025-03-09 20:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 20:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 20:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 20:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 20:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 20:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 20:59:03] Production.INFO: ==26388== Lock acquired, processing the job...
[2025-03-09 20:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 20:59:03] Production.INFO: ==26393== Lock acquired, processing the job...
[2025-03-09 20:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 20:59:03] Production.INFO: ==26390== Lock acquired, processing the job...
[2025-03-09 20:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 20:59:03] Production.INFO: Account Balance Start.
[2025-03-09 20:59:03] Production.INFO: CreateAllLog Start
[2025-03-09 20:59:03] Production.INFO: 117
[2025-03-09 20:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 20:59:03] Production.INFO: Date 2025-03-08
[2025-03-09 20:59:03] Production.INFO: Reseller ==> 0
[2025-03-09 20: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-03-09 20:59:03] Production.INFO: count ==13
[2025-03-09 20:59:03] Production.INFO: ==26384== Releasing lock...
[2025-03-09 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 20:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 20: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-03-09 20:59:03] Production.INFO: count ==21
[2025-03-09 20:59:03] Production.INFO: Date 2025-03-09
[2025-03-09 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644776') start
[2025-03-09 20:59:04] Production.INFO: Reseller ==> 0
[2025-03-09 20:59:04] Production.INFO: Total Charge 0
[2025-03-09 20:59:04] Production.INFO: CreateAllLog End
[2025-03-09 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644776') end
[2025-03-09 20:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 20:59:04] Production.INFO: 1
[2025-03-09 20:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 20:59:04] Production.ERROR: done
[2025-03-09 20:59:04] Production.INFO: ==26393== Releasing lock...
[2025-03-09 20:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 20:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 20:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 20:59:04] Production.INFO: Account Balance End.
[2025-03-09 20:59:04] Production.ERROR: CronJobId end 12
[2025-03-09 20:59:04] Production.INFO: ==26388== Releasing lock...
[2025-03-09 20:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 20:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 20:59:04] Production.ERROR: done
[2025-03-09 20:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 17:59:05
[end_date_ymd] => 2025-03-09 20:59:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 17:59:05' and `end` < '2025-03-09 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-03-09 20:59: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,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-03-09 20:59:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 20:59:11] Production.INFO: ============== Balance Warning START===========
[2025-03-09 20:59:11] Production.INFO: ============== Balance Warning END===========
[2025-03-09 20:59:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 20:59:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 20:59:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 20:59:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 20:59:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 20:59:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 20:59:11] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 20:59:11] Production.ERROR: CronJobId end10
[2025-03-09 20:59:11] Production.INFO: ==26386== Releasing lock...
[2025-03-09 20:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 20:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 20:59:11] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 20:59:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 20:59:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 20:59:11] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 20:59:11] Production.INFO: call_cost start
[2025-03-09 20:59:11] Production.INFO: call_cost end
[2025-03-09 20:59:12] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 20:59:12] Production.INFO: ============== Report Schedule START===========
[2025-03-09 20:59:12] Production.INFO: ============== Report Schedule END===========
[2025-03-09 20:59:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 20:59:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 20:59:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 20:59:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 20:59:12] Production.INFO: ============== Deal alert START===========
[2025-03-09 20:59:12] Production.INFO: ============== Deal alert END===========
[2025-03-09 20:59:12] Production.INFO: ==26382== Releasing lock...
[2025-03-09 20:59:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 20:59:12] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 20:59:17] Production.INFO: count ==1328
[2025-03-09 20:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 17:59:05 - End Time 2025-03-09 20:59:05
[2025-03-09 20:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 20:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644777', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644777', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644777', 'tblTempVendorCDR_20' ) start
[2025-03-09 20:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644777', 'tblTempVendorCDR_20' ) end
[2025-03-09 20:59:17] Production.INFO: ProcessCDR(1,14644777,1,1,2)
[2025-03-09 20:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 20:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 20:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644777', 'tblTempUsageDetail_20' ) start
[2025-03-09 20:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644777', 'tblTempUsageDetail_20' ) end
[2025-03-09 20:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 20:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 20:59:21] Production.INFO: ==26390== Releasing lock...
[2025-03-09 20:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 20:59:21] Production.INFO: 38 MB #Memory Used#
[2025-03-10 01:00:02] Production.INFO: ==26448== Lock acquired, processing the job...
[2025-03-10 01:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:00:02] Production.INFO: neon service started
[2025-03-10 01:00:02] Production.INFO: neon service started
[2025-03-10 01:00:02] Production.INFO: ==26448== Releasing lock...
[2025-03-10 01:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:00:02] Production.INFO: ==26452== Lock acquired, processing the job...
[2025-03-10 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:00:02] Production.INFO: ==26452== Releasing lock...
[2025-03-10 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:00:02] Production.INFO: ==26450== Lock acquired, processing the job...
[2025-03-09 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:00:03] Production.INFO: ==26450== Releasing lock...
[2025-03-09 21:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:00:04] Production.INFO: ==26455== Lock acquired, processing the job...
[2025-03-09 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 21:00:04] Production.INFO: ==26457== Lock acquired, processing the job...
[2025-03-09 21:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 21:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 21:00:04] Production.ERROR: CronJob PID - 26457
[2025-03-09 21:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-09 21:00:04] Production.ERROR: CronJob ID - 5
[2025-03-09 21:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 21:00:00
[2025-03-09 21:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 21:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 21:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 21:00:04] Production.INFO: ==26455== Releasing lock...
[2025-03-09 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 21:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 21:00:04] Production.INFO: ==26459== Lock acquired, processing the job...
[2025-03-09 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:00:04] Production.INFO: ==26465== Lock acquired, processing the job...
[2025-03-09 21:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:00:04] Production.INFO: ==26461== Lock acquired, processing the job...
[2025-03-09 21:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:00:04] Production.INFO: ==26463== Lock acquired, processing the job...
[2025-03-09 21:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:00:04] Production.INFO: ==26467== Lock acquired, processing the job...
[2025-03-09 21:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 21:00:04] Production.INFO: Account Balance Start.
[2025-03-09 21:00:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:00:04] Production.INFO: 117
[2025-03-09 21:00:04] Production.INFO: ==26469== Lock acquired, processing the job...
[2025-03-09 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:00:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:00:05] Production.INFO: Reseller ==> 0
[2025-03-09 21:00:05] Production.INFO: Date 2025-03-09
[2025-03-09 21:00:05] Production.INFO: Reseller ==> 0
[2025-03-09 21:00:05] Production.INFO: Total Charge 0
[2025-03-09 21:00:05] Production.INFO: CreateAllLog End
[2025-03-09 21:00:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:00:05] Production.INFO: ==26459== Releasing lock...
[2025-03-09 21:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:00:05] Production.ERROR: done
[2025-03-09 21:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21: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-03-09 21:00:05] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:00:05] Production.INFO: count ==21
[2025-03-09 21:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644781') start
[2025-03-09 21:00:05] Production.ERROR: done
[2025-03-09 21:00:05] Production.INFO: Account Balance End.
[2025-03-09 21:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644781') end
[2025-03-09 21:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:00:05] Production.INFO: 1
[2025-03-09 21:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:00:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:00:05] Production.INFO: ==26463== Releasing lock...
[2025-03-09 21:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:00:05] Production.INFO: ==26469== Releasing lock...
[2025-03-09 21:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:00:05] Production.ERROR: done
[2025-03-09 21:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 21:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644783', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 21:00:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:00:07
[end_date_ymd] => 2025-03-09 21:00:07
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:00:07' and `end` < '2025-03-09 21: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-03-09 21:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644783', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 21:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 21:00:09] Production.INFO: ProcessCDR(1,14644783,1,1,2)
[2025-03-09 21:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644783,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644783,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:00:09] Production.INFO: ==26467== Releasing lock...
[2025-03-09 21:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 21:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 21:00:14] Production.ERROR: CronJobId end10
[2025-03-09 21:00:14] Production.INFO: ==26461== Releasing lock...
[2025-03-09 21:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:00:17] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:00:17] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:00:17] Production.INFO: call_cost start
[2025-03-09 21:00:17] Production.INFO: call_cost end
[2025-03-09 21:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:00:18] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:00:18] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:00:18] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:00:18] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:00:18] Production.INFO: ==26457== Releasing lock...
[2025-03-09 21:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:00:19] Production.INFO: count ==1331
[2025-03-09 21:00:19] Production.ERROR: pbx CDR StartTime 2025-03-09 18:00:07 - End Time 2025-03-09 21:00:07
[2025-03-09 21:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644782', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644782', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644782', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644782', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:00:19] Production.INFO: ProcessCDR(1,14644782,1,1,2)
[2025-03-09 21:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644782', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644782', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:00:24] Production.INFO: ==26465== Releasing lock...
[2025-03-09 21:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:00:24] Production.INFO: 38 MB #Memory Used#
[2025-03-10 01:01:01] Production.INFO: ==26525== Lock acquired, processing the job...
[2025-03-10 01:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:01:01] Production.INFO: neon service started
[2025-03-10 01:01:01] Production.INFO: neon service started
[2025-03-10 01:01:01] Production.INFO: ==26525== Releasing lock...
[2025-03-10 01:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:01:02] Production.INFO: ==26541== Lock acquired, processing the job...
[2025-03-10 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:01:02] Production.INFO: ==26541== Releasing lock...
[2025-03-10 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:01:02] Production.INFO: ==26539== Lock acquired, processing the job...
[2025-03-09 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:01:02] Production.INFO: ==26539== Releasing lock...
[2025-03-09 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:01:03] Production.INFO: ==26545== Lock acquired, processing the job...
[2025-03-09 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:01:03] Production.INFO: ==26549== Lock acquired, processing the job...
[2025-03-09 21:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:01:03] Production.INFO: ==26547== Lock acquired, processing the job...
[2025-03-09 21:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:01:03] Production.INFO: ==26543== Lock acquired, processing the job...
[2025-03-09 21:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:01:03] Production.INFO: Account Balance Start.
[2025-03-09 21:01:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:01:03] Production.INFO: 117
[2025-03-09 21:01:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:01:03] Production.INFO: ==26551== Lock acquired, processing the job...
[2025-03-09 21:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:01:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:01:03] Production.INFO: ==26553== Lock acquired, processing the job...
[2025-03-09 21:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:01:03] Production.INFO: ==26545== Releasing lock...
[2025-03-09 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:01:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:01:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:01:03] Production.INFO: Total Charge 0
[2025-03-09 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-03-09 21:01:04] Production.INFO: CreateAllLog End
[2025-03-09 21:01:04] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:01:04] Production.INFO: count ==21
[2025-03-09 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644787') start
[2025-03-09 21:01:04] Production.ERROR: done
[2025-03-09 21:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644787') end
[2025-03-09 21:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:01:04] Production.INFO: 1
[2025-03-09 21:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:01:04] Production.INFO: Account Balance End.
[2025-03-09 21:01:04] Production.INFO: ==26553== Releasing lock...
[2025-03-09 21:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:01:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:01:04] Production.INFO: ==26549== Releasing lock...
[2025-03-09 21:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:01:04] Production.ERROR: done
[2025-03-09 21:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:01:05
[end_date_ymd] => 2025-03-09 21:01:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:01:05' and `end` < '2025-03-09 21: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-03-09 21:01:12] Production.ERROR: CronJobId end10
[2025-03-09 21:01:12] Production.INFO: ==26547== Releasing lock...
[2025-03-09 21:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:01:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:01:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:01:15] Production.INFO: call_cost start
[2025-03-09 21:01:15] Production.INFO: call_cost end
[2025-03-09 21:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:01:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:01:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:01:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:01:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:01:16] Production.INFO: ==26543== Releasing lock...
[2025-03-09 21:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:01:17] Production.INFO: count ==1326
[2025-03-09 21:01:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:01:05 - End Time 2025-03-09 21:01:05
[2025-03-09 21:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644788', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644788', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644788', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644788', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:01:18] Production.INFO: ProcessCDR(1,14644788,1,1,2)
[2025-03-09 21:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644788', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644788', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:01:23] Production.INFO: ==26551== Releasing lock...
[2025-03-09 21:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:01:23] Production.INFO: 37.75 MB #Memory Used#
[2025-03-10 01:02:02] Production.INFO: ==26646== Lock acquired, processing the job...
[2025-03-10 01:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:02:02] Production.INFO: neon service started
[2025-03-10 01:02:02] Production.INFO: neon service started
[2025-03-10 01:02:02] Production.INFO: ==26646== Releasing lock...
[2025-03-10 01:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:02:02] Production.INFO: ==26650== Lock acquired, processing the job...
[2025-03-10 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:02:02] Production.INFO: ==26650== Releasing lock...
[2025-03-10 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:02:02] Production.INFO: ==26648== Lock acquired, processing the job...
[2025-03-09 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:02:03] Production.INFO: ==26648== Releasing lock...
[2025-03-09 21:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:02:03] Production.INFO: ==26655== Lock acquired, processing the job...
[2025-03-09 21:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:02:04] Production.INFO: ==26653== Lock acquired, processing the job...
[2025-03-09 21:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:02:04] Production.INFO: ==26663== Lock acquired, processing the job...
[2025-03-09 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:02:04] Production.INFO: ==26657== Lock acquired, processing the job...
[2025-03-09 21:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:02:04] Production.INFO: ==26659== Lock acquired, processing the job...
[2025-03-09 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:02:04] Production.INFO: ==26661== Lock acquired, processing the job...
[2025-03-09 21:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21: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-03-09 21:02:04] Production.INFO: ==26655== Releasing lock...
[2025-03-09 21:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:02:04] Production.INFO: count ==13
[2025-03-09 21:02:04] Production.INFO: Account Balance Start.
[2025-03-09 21:02:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:02:04] Production.INFO: 117
[2025-03-09 21:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:02:04] Production.INFO: Date 2025-03-08
[2025-03-09 21: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-03-09 21:02:04] Production.INFO: count ==21
[2025-03-09 21:02:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644791') start
[2025-03-09 21:02:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:02:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:02:04] Production.INFO: Total Charge 0
[2025-03-09 21:02:04] Production.INFO: CreateAllLog End
[2025-03-09 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644791') end
[2025-03-09 21:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:02:04] Production.INFO: 1
[2025-03-09 21:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:02:04] Production.INFO: ==26663== Releasing lock...
[2025-03-09 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:02:04] Production.ERROR: done
[2025-03-09 21:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:02:04] Production.ERROR: done
[2025-03-09 21:02:04] Production.INFO: Account Balance End.
[2025-03-09 21:02:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:02:04] Production.INFO: ==26659== Releasing lock...
[2025-03-09 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:02:05
[end_date_ymd] => 2025-03-09 21:02:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:02:05' and `end` < '2025-03-09 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-03-09 21:02:12] Production.ERROR: CronJobId end10
[2025-03-09 21:02:12] Production.INFO: ==26657== Releasing lock...
[2025-03-09 21:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:02:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:02:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:02:15] Production.INFO: call_cost start
[2025-03-09 21:02:15] Production.INFO: call_cost end
[2025-03-09 21:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:02:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:02:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:02:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:02:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:02:16] Production.INFO: ==26653== Releasing lock...
[2025-03-09 21:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:02:17] Production.INFO: count ==1328
[2025-03-09 21:02:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:02:05 - End Time 2025-03-09 21:02:05
[2025-03-09 21:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644793', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644793', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644793', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644793', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:02:18] Production.INFO: ProcessCDR(1,14644793,1,1,2)
[2025-03-09 21:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644793', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644793', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:02:23] Production.INFO: ==26661== Releasing lock...
[2025-03-09 21:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:02:23] Production.INFO: 38 MB #Memory Used#
[2025-03-10 01:03:01] Production.INFO: ==26720== Lock acquired, processing the job...
[2025-03-10 01:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:03:01] Production.INFO: neon service started
[2025-03-10 01:03:01] Production.INFO: neon service started
[2025-03-10 01:03:01] Production.INFO: ==26720== Releasing lock...
[2025-03-10 01:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:03:02] Production.INFO: ==26724== Lock acquired, processing the job...
[2025-03-10 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:03:02] Production.INFO: ==26724== Releasing lock...
[2025-03-10 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:03:02] Production.INFO: ==26722== Lock acquired, processing the job...
[2025-03-09 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:03:02] Production.INFO: ==26722== Releasing lock...
[2025-03-09 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:03:03] Production.INFO: ==26733== Lock acquired, processing the job...
[2025-03-09 21:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:03:03] Production.INFO: ==26737== Lock acquired, processing the job...
[2025-03-09 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:03:03] Production.INFO: Account Balance Start.
[2025-03-09 21:03:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:03:03] Production.INFO: 117
[2025-03-09 21:03:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:03:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:03:03] Production.INFO: ==26727== Lock acquired, processing the job...
[2025-03-09 21:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21: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-03-09 21:03:03] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:03:03] Production.INFO: count ==21
[2025-03-09 21:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644795') start
[2025-03-09 21:03:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:03:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:03:03] Production.INFO: Total Charge 0
[2025-03-09 21:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644795') end
[2025-03-09 21:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:03:03] Production.INFO: 1
[2025-03-09 21:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:03:03] Production.INFO: ==26731== Lock acquired, processing the job...
[2025-03-09 21:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:03:03] Production.INFO: ==26729== Lock acquired, processing the job...
[2025-03-09 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:03:03] Production.INFO: CreateAllLog End
[2025-03-09 21:03:03] Production.INFO: ==26737== Releasing lock...
[2025-03-09 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:03:03] Production.INFO: ==26735== Lock acquired, processing the job...
[2025-03-09 21:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:03:03] Production.INFO: Account Balance End.
[2025-03-09 21:03:03] Production.ERROR: CronJobId end 12
[2025-03-09 21:03:03] Production.INFO: ==26733== Releasing lock...
[2025-03-09 21:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:03:04] Production.INFO: ==26729== Releasing lock...
[2025-03-09 21:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:03:04] Production.ERROR: done
[2025-03-09 21:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:03:04] Production.ERROR: done
[2025-03-09 21:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:03:05
[end_date_ymd] => 2025-03-09 21:03:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:03:05' and `end` < '2025-03-09 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-03-09 21:03:11] Production.ERROR: CronJobId end10
[2025-03-09 21:03:11] Production.INFO: ==26731== Releasing lock...
[2025-03-09 21:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:03:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:03:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:03:13] Production.INFO: call_cost start
[2025-03-09 21:03:13] Production.INFO: call_cost end
[2025-03-09 21:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:03:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:03:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:03:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:03:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:03:14] Production.INFO: ==26727== Releasing lock...
[2025-03-09 21:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:03:17] Production.INFO: count ==1324
[2025-03-09 21:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:03:05 - End Time 2025-03-09 21:03:05
[2025-03-09 21:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644798', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644798', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644798', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644798', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:03:17] Production.INFO: ProcessCDR(1,14644798,1,1,2)
[2025-03-09 21:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644798', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644798', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:03:22] Production.INFO: ==26735== Releasing lock...
[2025-03-09 21:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:03:22] Production.INFO: 37.75 MB #Memory Used#
[2025-03-10 01:04:02] Production.INFO: ==26794== Lock acquired, processing the job...
[2025-03-10 01:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:04:02] Production.INFO: neon service started
[2025-03-10 01:04:02] Production.INFO: neon service started
[2025-03-10 01:04:02] Production.INFO: ==26794== Releasing lock...
[2025-03-10 01:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:04:02] Production.INFO: ==26796== Lock acquired, processing the job...
[2025-03-09 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:04:02] Production.INFO: ==26798== Lock acquired, processing the job...
[2025-03-10 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 21:04:02] Production.INFO: ==26796== Releasing lock...
[2025-03-09 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:04:02] Production.INFO: ==26798== Releasing lock...
[2025-03-10 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:04:03] Production.INFO: ==26800== Lock acquired, processing the job...
[2025-03-09 21:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:04:03] Production.INFO: ==26802== Lock acquired, processing the job...
[2025-03-09 21:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:04:03] Production.INFO: ==26810== Lock acquired, processing the job...
[2025-03-09 21:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:04:03] Production.INFO: ==26804== Lock acquired, processing the job...
[2025-03-09 21:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21: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-03-09 21:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:04:04] Production.INFO: ==26806== Lock acquired, processing the job...
[2025-03-09 21:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:04:04] Production.INFO: ==26808== Lock acquired, processing the job...
[2025-03-09 21:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:04:04] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:04:04] Production.INFO: count ==21
[2025-03-09 21:04:04] Production.INFO: ==26802== Releasing lock...
[2025-03-09 21:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644801') start
[2025-03-09 21:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644801') end
[2025-03-09 21:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:04:04] Production.INFO: 1
[2025-03-09 21:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:04:04] Production.INFO: Account Balance Start.
[2025-03-09 21:04:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:04:04] Production.INFO: 117
[2025-03-09 21:04:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:04:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:04:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:04:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:04:04] Production.INFO: Total Charge 0
[2025-03-09 21:04:04] Production.INFO: CreateAllLog End
[2025-03-09 21:04:04] Production.INFO: ==26810== Releasing lock...
[2025-03-09 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:04:04] Production.ERROR: done
[2025-03-09 21:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:04:04] Production.INFO: Account Balance End.
[2025-03-09 21:04:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:04:04] Production.INFO: ==26806== Releasing lock...
[2025-03-09 21:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:04:04] Production.ERROR: done
[2025-03-09 21:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:04:05
[end_date_ymd] => 2025-03-09 21:04:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:04:05' and `end` < '2025-03-09 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-03-09 21:04: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-03-09 21:04:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:04:11] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:04:11] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:04:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:04:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:04:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:04:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:04:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:04:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:04:11] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:04:11] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:04:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:04:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:04:11] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:04:11] Production.INFO: call_cost start
[2025-03-09 21:04:11] Production.INFO: call_cost end
[2025-03-09 21:04:12] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:04:12] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:04:12] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:04:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:04:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:04:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:04:12] Production.ERROR: CronJobId end10
[2025-03-09 21:04:12] Production.INFO: ==26804== Releasing lock...
[2025-03-09 21:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:04:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:04:12] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:04:12] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:04:12] Production.INFO: ==26800== Releasing lock...
[2025-03-09 21:04:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:04:12] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:04:17] Production.INFO: count ==1319
[2025-03-09 21:04:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:04:05 - End Time 2025-03-09 21:04:05
[2025-03-09 21:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644803', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644803', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644803', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644803', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:04:18] Production.INFO: ProcessCDR(1,14644803,1,1,2)
[2025-03-09 21:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644803', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644803', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:04:22] Production.INFO: ==26808== Releasing lock...
[2025-03-09 21:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:04:22] Production.INFO: 38 MB #Memory Used#
[2025-03-10 01:05:01] Production.INFO: ==26867== Lock acquired, processing the job...
[2025-03-10 01:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:05:01] Production.INFO: neon service started
[2025-03-10 01:05:01] Production.INFO: neon service started
[2025-03-10 01:05:01] Production.INFO: ==26867== Releasing lock...
[2025-03-10 01:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:05:02] Production.INFO: ==26871== Lock acquired, processing the job...
[2025-03-10 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:05:02] Production.INFO: ==26871== Releasing lock...
[2025-03-10 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:05:02] Production.INFO: 26 MB #Memory Used#
[2025-03-09 21:05:02] Production.INFO: ==26869== Lock acquired, processing the job...
[2025-03-09 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:05:02] Production.INFO: ==26869== Releasing lock...
[2025-03-09 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:05:03] Production.INFO: ==26874== Lock acquired, processing the job...
[2025-03-09 21:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:05:03] Production.INFO: ==26876== Lock acquired, processing the job...
[2025-03-09 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:05:03] Production.INFO: ==26882== Lock acquired, processing the job...
[2025-03-09 21:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:05:03] Production.INFO: ==26876== Releasing lock...
[2025-03-09 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:05:03] Production.INFO: ==26878== Lock acquired, processing the job...
[2025-03-09 21:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:05:03] Production.INFO: ==26880== Lock acquired, processing the job...
[2025-03-09 21:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:05:03] Production.INFO: ==26884== Lock acquired, processing the job...
[2025-03-09 21:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:05:03] Production.INFO: Account Balance Start.
[2025-03-09 21:05:03] Production.INFO: CreateAllLog Start
[2025-03-09 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-03-09 21:05:03] Production.INFO: 117
[2025-03-09 21:05:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:05:03] Production.ERROR: done
[2025-03-09 21:05:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:05:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:05:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:05:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:05:04] Production.INFO: count ==21
[2025-03-09 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644807') start
[2025-03-09 21:05:04] Production.INFO: Total Charge 0
[2025-03-09 21:05:04] Production.INFO: CreateAllLog End
[2025-03-09 21:05:04] Production.ERROR: done
[2025-03-09 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644807') end
[2025-03-09 21:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:05:04] Production.INFO: 1
[2025-03-09 21:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:05:04] Production.INFO: Account Balance End.
[2025-03-09 21:05:04] Production.INFO: ==26884== Releasing lock...
[2025-03-09 21:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:05:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:05:04] Production.INFO: ==26880== Releasing lock...
[2025-03-09 21:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:05:05
[end_date_ymd] => 2025-03-09 21:05:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:05:05' and `end` < '2025-03-09 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-03-09 21:05:12] Production.ERROR: CronJobId end10
[2025-03-09 21:05:12] Production.INFO: ==26878== Releasing lock...
[2025-03-09 21:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:05:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:05:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:05:14] Production.INFO: call_cost start
[2025-03-09 21:05:14] Production.INFO: call_cost end
[2025-03-09 21:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:05:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:05:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:05:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:05:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:05:15] Production.INFO: ==26874== Releasing lock...
[2025-03-09 21:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:05:17] Production.INFO: count ==1316
[2025-03-09 21:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:05:05 - End Time 2025-03-09 21:05:05
[2025-03-09 21:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644808', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644808', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644808', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644808', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:05:17] Production.INFO: ProcessCDR(1,14644808,1,1,2)
[2025-03-09 21:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644808', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644808', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:05:20] Production.INFO: ==26882== Releasing lock...
[2025-03-09 21:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:05:20] Production.INFO: 38 MB #Memory Used#
[2025-03-10 01:06:02] Production.INFO: ==26937== Lock acquired, processing the job...
[2025-03-10 01:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:06:02] Production.INFO: neon service started
[2025-03-10 01:06:02] Production.INFO: neon service started
[2025-03-10 01:06:02] Production.INFO: ==26937== Releasing lock...
[2025-03-10 01:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:06:02] Production.INFO: ==26942== Lock acquired, processing the job...
[2025-03-10 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:06:02] Production.INFO: ==26942== Releasing lock...
[2025-03-10 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:06:02] Production.INFO: ==26940== Lock acquired, processing the job...
[2025-03-09 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:06:02] Production.INFO: ==26940== Releasing lock...
[2025-03-09 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:06:03] Production.INFO: ==26946== Lock acquired, processing the job...
[2025-03-09 21:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:06:03] Production.INFO: ==26954== Lock acquired, processing the job...
[2025-03-09 21:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:06:04] Production.INFO: ==26944== Lock acquired, processing the job...
[2025-03-09 21:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 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-03-09 21:06:04] Production.INFO: count ==13
[2025-03-09 21:06:04] Production.INFO: ==26946== Releasing lock...
[2025-03-09 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 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-03-09 21:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:06:04] Production.INFO: count ==21
[2025-03-09 21:06:04] Production.INFO: ==26948== Lock acquired, processing the job...
[2025-03-09 21:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644810') start
[2025-03-09 21:06:04] Production.INFO: ==26950== Lock acquired, processing the job...
[2025-03-09 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:06:04] Production.INFO: ==26952== Lock acquired, processing the job...
[2025-03-09 21:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644810') end
[2025-03-09 21:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:06:04] Production.INFO: 1
[2025-03-09 21:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:06:04] Production.INFO: Account Balance Start.
[2025-03-09 21:06:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:06:04] Production.INFO: 117
[2025-03-09 21:06:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:06:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:06:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:06:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:06:04] Production.INFO: Total Charge 0
[2025-03-09 21:06:04] Production.INFO: CreateAllLog End
[2025-03-09 21:06:04] Production.INFO: ==26954== Releasing lock...
[2025-03-09 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:06:04] Production.ERROR: done
[2025-03-09 21:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:06:04] Production.ERROR: done
[2025-03-09 21:06:04] Production.INFO: Account Balance End.
[2025-03-09 21:06:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:06:05] Production.INFO: ==26950== Releasing lock...
[2025-03-09 21:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:06:05
[end_date_ymd] => 2025-03-09 21:06:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:06:05' and `end` < '2025-03-09 21: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-03-09 21:06:12] Production.ERROR: CronJobId end10
[2025-03-09 21:06:12] Production.INFO: ==26948== Releasing lock...
[2025-03-09 21:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:06:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:06:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:06:15] Production.INFO: call_cost start
[2025-03-09 21:06:15] Production.INFO: call_cost end
[2025-03-09 21:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:06:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:06:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:06:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:06:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:06:16] Production.INFO: ==26944== Releasing lock...
[2025-03-09 21:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:06:18] Production.INFO: count ==1314
[2025-03-09 21:06:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:06:05 - End Time 2025-03-09 21:06:05
[2025-03-09 21:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644813', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644813', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644813', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644813', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:06:18] Production.INFO: ProcessCDR(1,14644813,1,1,2)
[2025-03-09 21:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644813', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644813', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:06:21] Production.INFO: ==26952== Releasing lock...
[2025-03-09 21:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:06:21] Production.INFO: 37.75 MB #Memory Used#
[2025-03-10 01:07:01] Production.INFO: ==27010== Lock acquired, processing the job...
[2025-03-10 01:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:07:01] Production.INFO: neon service started
[2025-03-10 01:07:01] Production.INFO: neon service started
[2025-03-10 01:07:01] Production.INFO: ==27010== Releasing lock...
[2025-03-10 01:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:07:01] Production.INFO: ==27012== Lock acquired, processing the job...
[2025-03-09 21:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:07:02] Production.INFO: ==27012== Releasing lock...
[2025-03-09 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:07:02] Production.INFO: ==27014== Lock acquired, processing the job...
[2025-03-10 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:07:02] Production.INFO: ==27014== Releasing lock...
[2025-03-10 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:07:03] Production.INFO: ==27018== Lock acquired, processing the job...
[2025-03-09 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:07:03] Production.INFO: ==27024== Lock acquired, processing the job...
[2025-03-09 21:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:07:03] Production.INFO: ==27016== Lock acquired, processing the job...
[2025-03-09 21:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:07:03] Production.INFO: ==27020== Lock acquired, processing the job...
[2025-03-09 21:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:07:03] Production.INFO: ==27022== Lock acquired, processing the job...
[2025-03-09 21:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:07:03] Production.ERROR: done
[2025-03-09 21:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:07:03] Production.INFO: ==27018== Releasing lock...
[2025-03-09 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:07:03] Production.INFO: ==27026== Lock acquired, processing the job...
[2025-03-09 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:07:03] Production.INFO: Account Balance Start.
[2025-03-09 21:07:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:07:03] Production.INFO: 117
[2025-03-09 21:07:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:07:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:07:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:07:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:07:03] Production.INFO: Total Charge 0
[2025-03-09 21:07:03] Production.INFO: CreateAllLog End
[2025-03-09 21:07:03] Production.ERROR: done
[2025-03-09 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-03-09 21:07:03] Production.INFO: count ==13
[2025-03-09 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-03-09 21:07:03] Production.INFO: count ==21
[2025-03-09 21:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644817') start
[2025-03-09 21:07:03] Production.INFO: Account Balance End.
[2025-03-09 21:07:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:07:04] Production.INFO: ==27022== Releasing lock...
[2025-03-09 21:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644817') end
[2025-03-09 21:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:07:04] Production.INFO: 1
[2025-03-09 21:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:07:04] Production.INFO: ==27026== Releasing lock...
[2025-03-09 21:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:07:05
[end_date_ymd] => 2025-03-09 21:07:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:07:05' and `end` < '2025-03-09 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-03-09 21:07:13] Production.ERROR: CronJobId end10
[2025-03-09 21:07:13] Production.INFO: ==27020== Releasing lock...
[2025-03-09 21:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:07:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:07:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:07:14] Production.INFO: call_cost start
[2025-03-09 21:07:14] Production.INFO: call_cost end
[2025-03-09 21:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:07:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:07:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:07:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:07:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:07:15] Production.INFO: ==27016== Releasing lock...
[2025-03-09 21:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:07:17] Production.INFO: count ==1313
[2025-03-09 21:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:07:05 - End Time 2025-03-09 21:07:05
[2025-03-09 21:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644818', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644818', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644818', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644818', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:07:17] Production.INFO: ProcessCDR(1,14644818,1,1,2)
[2025-03-09 21:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644818', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644818', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:07:21] Production.INFO: ==27024== Releasing lock...
[2025-03-09 21:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:07:21] Production.INFO: 37.75 MB #Memory Used#
[2025-03-10 01:08:01] Production.INFO: ==27086== Lock acquired, processing the job...
[2025-03-10 01:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:08:02] Production.INFO: neon service started
[2025-03-10 01:08:02] Production.INFO: neon service started
[2025-03-10 01:08:02] Production.INFO: ==27086== Releasing lock...
[2025-03-10 01:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:08:02] Production.INFO: ==27088== Lock acquired, processing the job...
[2025-03-09 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:08:02] Production.INFO: ==27091== Lock acquired, processing the job...
[2025-03-10 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:08:02] Production.INFO: ==27091== Releasing lock...
[2025-03-10 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:08:03] Production.INFO: ==27088== Releasing lock...
[2025-03-09 21:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:08:03] Production.INFO: ==27093== Lock acquired, processing the job...
[2025-03-09 21:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:08:03] Production.INFO: ==27095== Lock acquired, processing the job...
[2025-03-09 21:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:08:04] Production.INFO: ==27101== Lock acquired, processing the job...
[2025-03-09 21:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:08:04] Production.INFO: ==27097== Lock acquired, processing the job...
[2025-03-09 21:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:08:04] Production.INFO: ==27099== Lock acquired, processing the job...
[2025-03-09 21:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:08:04] Production.INFO: ==27103== Lock acquired, processing the job...
[2025-03-09 21:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:08:04] Production.INFO: Account Balance Start.
[2025-03-09 21:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:08:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:08:04] Production.INFO: 117
[2025-03-09 21:08:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:08:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:08:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:08:04] Production.ERROR: done
[2025-03-09 21:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:08:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:08:04] Production.INFO: ==27095== Releasing lock...
[2025-03-09 21:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:08:04] Production.INFO: Total Charge 0
[2025-03-09 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-03-09 21:08:04] Production.INFO: CreateAllLog End
[2025-03-09 21:08:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:08:04] Production.INFO: count ==21
[2025-03-09 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644822') start
[2025-03-09 21:08:04] Production.ERROR: done
[2025-03-09 21:08:05] Production.INFO: Account Balance End.
[2025-03-09 21:08:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644822') end
[2025-03-09 21:08:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:08:05] Production.INFO: 1
[2025-03-09 21:08:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:08:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:08:05] Production.INFO: ==27099== Releasing lock...
[2025-03-09 21:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:08:05] Production.INFO: ==27103== Releasing lock...
[2025-03-09 21:08:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:08:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:08:05
[end_date_ymd] => 2025-03-09 21:08:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:08:05' and `end` < '2025-03-09 21: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-03-09 21:08:12] Production.ERROR: CronJobId end10
[2025-03-09 21:08:12] Production.INFO: ==27097== Releasing lock...
[2025-03-09 21:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:08:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:08:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:08:14] Production.INFO: call_cost start
[2025-03-09 21:08:14] Production.INFO: call_cost end
[2025-03-09 21:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:08:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:08:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:08:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:08:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:08:15] Production.INFO: ==27093== Releasing lock...
[2025-03-09 21:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:08:18] Production.INFO: count ==1310
[2025-03-09 21:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:08:05 - End Time 2025-03-09 21:08:05
[2025-03-09 21:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644823', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644823', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644823', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644823', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:08:18] Production.INFO: ProcessCDR(1,14644823,1,1,2)
[2025-03-09 21:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644823', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644823', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:08:21] Production.INFO: ==27101== Releasing lock...
[2025-03-09 21:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:08:21] Production.INFO: 37.75 MB #Memory Used#
[2025-03-10 01:09:01] Production.INFO: ==27160== Lock acquired, processing the job...
[2025-03-10 01:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:09:01] Production.INFO: neon service started
[2025-03-10 01:09:01] Production.INFO: neon service started
[2025-03-10 01:09:01] Production.INFO: ==27160== Releasing lock...
[2025-03-10 01:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:09:01] Production.INFO: ==27162== Lock acquired, processing the job...
[2025-03-09 21:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:09:02] Production.INFO: ==27162== Releasing lock...
[2025-03-09 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:09:02] Production.INFO: ==27164== Lock acquired, processing the job...
[2025-03-10 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:09:02] Production.INFO: ==27164== Releasing lock...
[2025-03-10 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:09:03] Production.INFO: ==27166== Lock acquired, processing the job...
[2025-03-09 21:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:09:03] Production.INFO: ==27168== Lock acquired, processing the job...
[2025-03-09 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:09:03] Production.INFO: ==27176== Lock acquired, processing the job...
[2025-03-09 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:09:03] Production.INFO: ==27170== Lock acquired, processing the job...
[2025-03-09 21:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:09:03] Production.INFO: ==27172== Lock acquired, processing the job...
[2025-03-09 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:09:03] Production.INFO: ==27174== Lock acquired, processing the job...
[2025-03-09 21:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 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-03-09 21:09:03] Production.INFO: Account Balance Start.
[2025-03-09 21:09:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:09:03] Production.INFO: 117
[2025-03-09 21:09:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:09:03] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:09:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:09:03] Production.INFO: count ==21
[2025-03-09 21:09:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:09:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644826') start
[2025-03-09 21:09:03] Production.INFO: Total Charge 0
[2025-03-09 21:09:03] Production.INFO: CreateAllLog End
[2025-03-09 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644826') end
[2025-03-09 21:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:09:03] Production.INFO: 1
[2025-03-09 21:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:09:03] Production.INFO: ==27168== Releasing lock...
[2025-03-09 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:09:03] Production.INFO: ==27176== Releasing lock...
[2025-03-09 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:09:03] Production.INFO: Account Balance End.
[2025-03-09 21:09:03] Production.ERROR: CronJobId end 12
[2025-03-09 21:09:03] Production.INFO: ==27172== Releasing lock...
[2025-03-09 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:09:03] Production.ERROR: done
[2025-03-09 21:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:09:04] Production.ERROR: done
[2025-03-09 21:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:09:05
[end_date_ymd] => 2025-03-09 21:09:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:09:05' and `end` < '2025-03-09 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-03-09 21:09:10] Production.ERROR: CronJobId end10
[2025-03-09 21:09:10] Production.INFO: ==27170== Releasing lock...
[2025-03-09 21:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:09:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:09:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:09:14] Production.INFO: call_cost start
[2025-03-09 21:09:14] Production.INFO: call_cost end
[2025-03-09 21:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:09:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:09:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:09:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:09:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:09:14] Production.INFO: ==27166== Releasing lock...
[2025-03-09 21:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:09:17] Production.INFO: count ==1290
[2025-03-09 21:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:09:05 - End Time 2025-03-09 21:09:05
[2025-03-09 21:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644828', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644828', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644828', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644828', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:09:17] Production.INFO: ProcessCDR(1,14644828,1,1,2)
[2025-03-09 21:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644828', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644828', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:09:22] Production.INFO: ==27174== Releasing lock...
[2025-03-09 21:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:09:22] Production.INFO: 37.75 MB #Memory Used#
[2025-03-10 01:10:01] Production.INFO: ==27234== Lock acquired, processing the job...
[2025-03-10 01:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:10:01] Production.INFO: neon service started
[2025-03-10 01:10:02] Production.INFO: neon service started
[2025-03-10 01:10:02] Production.INFO: ==27234== Releasing lock...
[2025-03-10 01:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:10:02] Production.INFO: ==27236== Lock acquired, processing the job...
[2025-03-09 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:10:02] Production.INFO: ==27236== Releasing lock...
[2025-03-09 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:10:02] Production.INFO: ==27238== Lock acquired, processing the job...
[2025-03-10 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:10:02] Production.INFO: ==27238== Releasing lock...
[2025-03-10 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:10:04] Production.INFO: ==27246== Lock acquired, processing the job...
[2025-03-09 21:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:10:04] Production.INFO: ==27250== Lock acquired, processing the job...
[2025-03-09 21:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:10:04] Production.INFO: ==27240== Lock acquired, processing the job...
[2025-03-09 21:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 21:10:04] Production.INFO: ==27255== Lock acquired, processing the job...
[2025-03-09 21:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 21:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 21:10:04] Production.ERROR: CronJob PID - 27246
[2025-03-09 21:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-09 21:10:04] Production.ERROR: CronJob ID - 10
[2025-03-09 21:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 21:10:00
[2025-03-09 21:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 21:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 21:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 21:10:04] Production.ERROR: CronJob PID - 27250
[2025-03-09 21:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-09 21:10:04] Production.ERROR: CronJob ID - 16
[2025-03-09 21:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 21:10:00
[2025-03-09 21:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 21:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 21:10:04] Production.INFO: ==27242== Lock acquired, processing the job...
[2025-03-09 21:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:10:04] Production.INFO: ==27244== Lock acquired, processing the job...
[2025-03-09 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 21:10:04] Production.INFO: ==27240== Releasing lock...
[2025-03-09 21:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 21:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 21:10:04] Production.INFO: ==27252== Lock acquired, processing the job...
[2025-03-09 21:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 21:10:04] Production.INFO: ==27248== Lock acquired, processing the job...
[2025-03-09 21:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21: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-03-09 21:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:10:04] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:10:04] Production.INFO: count ==21
[2025-03-09 21:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644829') start
[2025-03-09 21:10:04] Production.ERROR: done
[2025-03-09 21:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:10:04] Production.INFO: Account Balance Start.
[2025-03-09 21:10:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:10:04] Production.INFO: 117
[2025-03-09 21:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644829') end
[2025-03-09 21:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:10:04] Production.INFO: 1
[2025-03-09 21:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:10:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:10:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:10:04] Production.ERROR: done
[2025-03-09 21:10:04] Production.ERROR: done
[2025-03-09 21:10:04] Production.INFO: ==27255== Releasing lock...
[2025-03-09 21:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 21:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644834', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 21:10:05] Production.INFO: Date 2025-03-09
[2025-03-09 21:10:05] Production.INFO: Reseller ==> 0
[2025-03-09 21:10:05] Production.INFO: ==27244== Releasing lock...
[2025-03-09 21:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:10:05] Production.INFO: Total Charge 0
[2025-03-09 21:10:05] Production.INFO: CreateAllLog End
[2025-03-09 21:10:05] Production.INFO: Account Balance End.
[2025-03-09 21:10:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:10:05] Production.INFO: ==27248== Releasing lock...
[2025-03-09 21:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:10:06
[end_date_ymd] => 2025-03-09 21:10:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:10:06' and `end` < '2025-03-09 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-03-09 21:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644834', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 21:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 21:10:09] Production.INFO: ProcessCDR(1,14644834,1,1,2)
[2025-03-09 21:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644834,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644834,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:10:09] Production.INFO: ==27252== Releasing lock...
[2025-03-09 21:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 21:10:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 21:10:13] Production.ERROR: CronJobId end10
[2025-03-09 21:10:13] Production.INFO: ==27246== Releasing lock...
[2025-03-09 21:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:10:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:10:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:10:17] Production.INFO: call_cost start
[2025-03-09 21:10:17] Production.INFO: call_cost end
[2025-03-09 21:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:10:18] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:10:18] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:10:18] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:10:18] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:10:18] Production.INFO: ==27242== Releasing lock...
[2025-03-09 21:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:10:18] Production.INFO: count ==1290
[2025-03-09 21:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:10:06 - End Time 2025-03-09 21:10:06
[2025-03-09 21:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644833', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644833', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644833', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644833', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:10:18] Production.INFO: ProcessCDR(1,14644833,1,1,2)
[2025-03-09 21:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644833', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644833', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:10:21] Production.INFO: ==27250== Releasing lock...
[2025-03-09 21:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:10:21] Production.INFO: 37.5 MB #Memory Used#
[2025-03-10 01:11:01] Production.INFO: ==27316== Lock acquired, processing the job...
[2025-03-10 01:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:11:01] Production.INFO: neon service started
[2025-03-10 01:11:01] Production.INFO: neon service started
[2025-03-10 01:11:01] Production.INFO: ==27316== Releasing lock...
[2025-03-10 01:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:11:02] Production.INFO: ==27318== Lock acquired, processing the job...
[2025-03-09 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:11:02] Production.INFO: ==27320== Lock acquired, processing the job...
[2025-03-10 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:11:02] Production.INFO: ==27320== Releasing lock...
[2025-03-10 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:11:02] Production.INFO: ==27318== Releasing lock...
[2025-03-09 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:11:03] Production.INFO: ==27325== Lock acquired, processing the job...
[2025-03-09 21:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:11:03] Production.INFO: ==27327== Lock acquired, processing the job...
[2025-03-09 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:11:03] Production.INFO: ==27331== Lock acquired, processing the job...
[2025-03-09 21:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:11:03] Production.INFO: Account Balance Start.
[2025-03-09 21:11:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:11:03] Production.INFO: 117
[2025-03-09 21:11:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:11:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:11:03] Production.INFO: ==27329== Lock acquired, processing the job...
[2025-03-09 21:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:11:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:11:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:11:03] Production.INFO: Total Charge 0
[2025-03-09 21:11:03] Production.INFO: CreateAllLog End
[2025-03-09 21:11:03] Production.INFO: ==27333== Lock acquired, processing the job...
[2025-03-09 21:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:11:03] Production.INFO: ==27327== Releasing lock...
[2025-03-09 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:11:03] Production.INFO: ==27335== Lock acquired, processing the job...
[2025-03-09 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:11:03] Production.INFO: Account Balance End.
[2025-03-09 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-03-09 21:11:03] Production.INFO: count ==13
[2025-03-09 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-03-09 21:11:04] Production.INFO: count ==21
[2025-03-09 21:11:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:11:04] Production.INFO: ==27331== Releasing lock...
[2025-03-09 21:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644838') start
[2025-03-09 21:11:04] Production.ERROR: done
[2025-03-09 21:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644838') end
[2025-03-09 21:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:11:04] Production.INFO: 1
[2025-03-09 21:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:11:04] Production.INFO: ==27335== Releasing lock...
[2025-03-09 21:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:11:04] Production.ERROR: done
[2025-03-09 21:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:11:05
[end_date_ymd] => 2025-03-09 21:11:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:11:05' and `end` < '2025-03-09 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-03-09 21:11:11] Production.ERROR: CronJobId end10
[2025-03-09 21:11:11] Production.INFO: ==27329== Releasing lock...
[2025-03-09 21:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:11:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:11:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:11:14] Production.INFO: call_cost start
[2025-03-09 21:11:14] Production.INFO: call_cost end
[2025-03-09 21:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:11:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:11:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:11:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:11:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:11:14] Production.INFO: ==27325== Releasing lock...
[2025-03-09 21:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:11:17] Production.INFO: count ==1211
[2025-03-09 21:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:11:05 - End Time 2025-03-09 21:11:05
[2025-03-09 21:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644839', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644839', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644839', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644839', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:11:17] Production.INFO: ProcessCDR(1,14644839,1,1,2)
[2025-03-09 21:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644839', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644839', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:11:21] Production.INFO: ==27333== Releasing lock...
[2025-03-09 21:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:11:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:12:01] Production.INFO: ==27390== Lock acquired, processing the job...
[2025-03-10 01:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:12:01] Production.INFO: neon service started
[2025-03-10 01:12:01] Production.INFO: neon service started
[2025-03-10 01:12:01] Production.INFO: ==27390== Releasing lock...
[2025-03-10 01:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:12:02] Production.INFO: ==27394== Lock acquired, processing the job...
[2025-03-10 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:12:02] Production.INFO: ==27394== Releasing lock...
[2025-03-10 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:12:02] Production.INFO: ==27392== Lock acquired, processing the job...
[2025-03-09 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:12:02] Production.INFO: ==27392== Releasing lock...
[2025-03-09 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:12:03] Production.INFO: ==27399== Lock acquired, processing the job...
[2025-03-09 21:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:12:03] Production.INFO: ==27405== Lock acquired, processing the job...
[2025-03-09 21:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:12:03] Production.INFO: ==27401== Lock acquired, processing the job...
[2025-03-09 21:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:12:03] Production.INFO: ==27397== Lock acquired, processing the job...
[2025-03-09 21:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:12:04] Production.INFO: ==27407== Lock acquired, processing the job...
[2025-03-09 21:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:12:04] Production.INFO: ==27403== Lock acquired, processing the job...
[2025-03-09 21:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:12:04] Production.INFO: ==27399== Releasing lock...
[2025-03-09 21:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:12:04] Production.ERROR: done
[2025-03-09 21:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:12:04] Production.INFO: Account Balance Start.
[2025-03-09 21:12:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:12:04] Production.INFO: 117
[2025-03-09 21:12:04] Production.INFO: Date 2025-03-08
[2025-03-09 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-03-09 21:12:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:12:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:12:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:12:04] Production.INFO: count ==13
[2025-03-09 21:12:04] Production.INFO: Total Charge 0
[2025-03-09 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-03-09 21:12:04] Production.INFO: count ==21
[2025-03-09 21:12:04] Production.ERROR: done
[2025-03-09 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644842') start
[2025-03-09 21:12:04] Production.INFO: CreateAllLog End
[2025-03-09 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644842') end
[2025-03-09 21:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:12:04] Production.INFO: 1
[2025-03-09 21:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:12:04] Production.INFO: ==27407== Releasing lock...
[2025-03-09 21:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:12:04] Production.INFO: Account Balance End.
[2025-03-09 21:12:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:12:04] Production.INFO: ==27403== Releasing lock...
[2025-03-09 21:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:12:06
[end_date_ymd] => 2025-03-09 21:12:06
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:12:06' and `end` < '2025-03-09 21: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-03-09 21:12:12] Production.ERROR: CronJobId end10
[2025-03-09 21:12:12] Production.INFO: ==27401== Releasing lock...
[2025-03-09 21:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:12:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:12:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:12:14] Production.INFO: call_cost start
[2025-03-09 21:12:14] Production.INFO: call_cost end
[2025-03-09 21:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:12:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:12:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:12:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:12:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:12:15] Production.INFO: ==27397== Releasing lock...
[2025-03-09 21:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:12:18] Production.INFO: count ==1211
[2025-03-09 21:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:12:06 - End Time 2025-03-09 21:12:06
[2025-03-09 21:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644844', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644844', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644844', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644844', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:12:18] Production.INFO: ProcessCDR(1,14644844,1,1,2)
[2025-03-09 21:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644844', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644844', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:12:23] Production.INFO: ==27405== Releasing lock...
[2025-03-09 21:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:12:23] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:13:01] Production.INFO: ==27460== Lock acquired, processing the job...
[2025-03-10 01:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:13:01] Production.INFO: neon service started
[2025-03-10 01:13:01] Production.INFO: neon service started
[2025-03-10 01:13:01] Production.INFO: ==27460== Releasing lock...
[2025-03-10 01:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:13:02] Production.INFO: ==27462== Lock acquired, processing the job...
[2025-03-09 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:13:02] Production.INFO: ==27464== Lock acquired, processing the job...
[2025-03-10 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:13:02] Production.INFO: ==27464== Releasing lock...
[2025-03-10 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:13:02] Production.INFO: ==27462== Releasing lock...
[2025-03-09 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:13:03] Production.INFO: ==27471== Lock acquired, processing the job...
[2025-03-09 21:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:13:03] Production.INFO: ==27477== Lock acquired, processing the job...
[2025-03-09 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 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-03-09 21:13:03] Production.INFO: ==27467== Lock acquired, processing the job...
[2025-03-09 21:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:13:03] Production.INFO: ==27469== Lock acquired, processing the job...
[2025-03-09 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:13:03] Production.INFO: count ==13
[2025-03-09 21:13:03] Production.INFO: ==27473== Lock acquired, processing the job...
[2025-03-09 21:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 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-03-09 21:13:03] Production.INFO: count ==21
[2025-03-09 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644845') start
[2025-03-09 21:13:03] Production.INFO: ==27475== Lock acquired, processing the job...
[2025-03-09 21:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:13:03] Production.INFO: Account Balance Start.
[2025-03-09 21:13:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:13:03] Production.INFO: 117
[2025-03-09 21:13:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644845') end
[2025-03-09 21:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:13:03] Production.INFO: 1
[2025-03-09 21:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:13:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:13:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:13:04] Production.INFO: ==27477== Releasing lock...
[2025-03-09 21:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:13:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:13:04] Production.INFO: Total Charge 0
[2025-03-09 21:13:04] Production.INFO: CreateAllLog End
[2025-03-09 21:13:04] Production.INFO: ==27469== Releasing lock...
[2025-03-09 21:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:13:04] Production.ERROR: done
[2025-03-09 21:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:13:04] Production.INFO: Account Balance End.
[2025-03-09 21:13:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:13:04] Production.INFO: ==27473== Releasing lock...
[2025-03-09 21:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:13:04] Production.ERROR: done
[2025-03-09 21:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:13:05
[end_date_ymd] => 2025-03-09 21:13:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:13:05' and `end` < '2025-03-09 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-03-09 21:13:11] Production.ERROR: CronJobId end10
[2025-03-09 21:13:11] Production.INFO: ==27471== Releasing lock...
[2025-03-09 21:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:13:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:13:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:13:14] Production.INFO: call_cost start
[2025-03-09 21:13:14] Production.INFO: call_cost end
[2025-03-09 21:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:13:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:13:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:13:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:13:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:13:15] Production.INFO: ==27467== Releasing lock...
[2025-03-09 21:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:13:17] Production.INFO: count ==1203
[2025-03-09 21:13:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:13:05 - End Time 2025-03-09 21:13:05
[2025-03-09 21:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644849', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644849', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644849', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644849', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:13:18] Production.INFO: ProcessCDR(1,14644849,1,1,2)
[2025-03-09 21:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644849', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644849', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:13:23] Production.INFO: ==27475== Releasing lock...
[2025-03-09 21:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:13:23] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:14:01] Production.INFO: ==27533== Lock acquired, processing the job...
[2025-03-10 01:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:14:01] Production.INFO: neon service started
[2025-03-10 01:14:01] Production.INFO: neon service started
[2025-03-10 01:14:01] Production.INFO: ==27533== Releasing lock...
[2025-03-10 01:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:14:02] Production.INFO: ==27535== Lock acquired, processing the job...
[2025-03-09 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:14:02] Production.INFO: ==27537== Lock acquired, processing the job...
[2025-03-10 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 21:14:02] Production.INFO: ==27535== Releasing lock...
[2025-03-09 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:14:02] Production.INFO: ==27537== Releasing lock...
[2025-03-10 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:14:03] Production.INFO: ==27539== Lock acquired, processing the job...
[2025-03-09 21:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:14:03] Production.INFO: ==27541== Lock acquired, processing the job...
[2025-03-09 21:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:14:03] Production.INFO: ==27543== Lock acquired, processing the job...
[2025-03-09 21:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:14:03] Production.INFO: ==27545== Lock acquired, processing the job...
[2025-03-09 21:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:14:03] Production.INFO: ==27549== Lock acquired, processing the job...
[2025-03-09 21:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:14:03] Production.INFO: Account Balance Start.
[2025-03-09 21:14:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:14:03] Production.INFO: 117
[2025-03-09 21:14:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:14:03] Production.INFO: ==27547== Lock acquired, processing the job...
[2025-03-09 21:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:14:03] Production.INFO: ==27541== Releasing lock...
[2025-03-09 21:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:14:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:14:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:14:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 21:14:04] Production.INFO: Total Charge 0
[2025-03-09 21:14:04] Production.INFO: count ==13
[2025-03-09 21:14:04] Production.INFO: CreateAllLog End
[2025-03-09 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-03-09 21:14:04] Production.INFO: count ==21
[2025-03-09 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644853') start
[2025-03-09 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644853') end
[2025-03-09 21:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:14:04] Production.INFO: 1
[2025-03-09 21:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:14:04] Production.ERROR: done
[2025-03-09 21:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:14:04] Production.INFO: ==27549== Releasing lock...
[2025-03-09 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:14:04] Production.INFO: Account Balance End.
[2025-03-09 21:14:04] Production.ERROR: done
[2025-03-09 21:14:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:14:04] Production.INFO: ==27545== Releasing lock...
[2025-03-09 21:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:14:05
[end_date_ymd] => 2025-03-09 21:14:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:14:05' and `end` < '2025-03-09 21: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-03-09 21:14:12] Production.ERROR: CronJobId end10
[2025-03-09 21:14:12] Production.INFO: ==27543== Releasing lock...
[2025-03-09 21:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:14:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:14:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:14:14] Production.INFO: call_cost start
[2025-03-09 21:14:14] Production.INFO: call_cost end
[2025-03-09 21:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:14:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:14:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:14:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:14:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:14:15] Production.INFO: ==27539== Releasing lock...
[2025-03-09 21:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:14:17] Production.INFO: count ==1206
[2025-03-09 21:14:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:14:05 - End Time 2025-03-09 21:14:05
[2025-03-09 21:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644854', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644854', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644854', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644854', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:14:18] Production.INFO: ProcessCDR(1,14644854,1,1,2)
[2025-03-09 21:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644854', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644854', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:14:21] Production.INFO: ==27547== Releasing lock...
[2025-03-09 21:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:14:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:15:02] Production.INFO: ==27604== Lock acquired, processing the job...
[2025-03-10 01:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:15:02] Production.INFO: neon service started
[2025-03-10 01:15:02] Production.INFO: neon service started
[2025-03-10 01:15:02] Production.INFO: ==27604== Releasing lock...
[2025-03-10 01:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:15:02] Production.INFO: ==27606== Lock acquired, processing the job...
[2025-03-09 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:15:03] Production.INFO: ==27606== Releasing lock...
[2025-03-09 21:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:15:03] Production.INFO: ==27608== Lock acquired, processing the job...
[2025-03-10 01:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:15:03] Production.INFO: ==27608== Releasing lock...
[2025-03-10 01:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:15:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:15:04] Production.INFO: ==27613== Lock acquired, processing the job...
[2025-03-09 21:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:15:04] Production.INFO: ==27621== Lock acquired, processing the job...
[2025-03-09 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21: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-03-09 21:15:04] Production.INFO: ==27611== Lock acquired, processing the job...
[2025-03-09 21:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:15:04] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:15:04] Production.INFO: count ==21
[2025-03-09 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644855') start
[2025-03-09 21:15:04] Production.INFO: ==27613== Releasing lock...
[2025-03-09 21:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:15:04] Production.INFO: ==27615== Lock acquired, processing the job...
[2025-03-09 21:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:15:04] Production.INFO: ==27617== Lock acquired, processing the job...
[2025-03-09 21:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644855') end
[2025-03-09 21:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:15:04] Production.INFO: 1
[2025-03-09 21:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:15:04] Production.INFO: ==27621== Releasing lock...
[2025-03-09 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:15:04] Production.INFO: ==27619== Lock acquired, processing the job...
[2025-03-09 21:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:15:04] Production.INFO: Account Balance Start.
[2025-03-09 21:15:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:15:04] Production.INFO: 117
[2025-03-09 21:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:15:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:15:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:15:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:15:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:15:04] Production.INFO: Total Charge 0
[2025-03-09 21:15:04] Production.INFO: CreateAllLog End
[2025-03-09 21:15:04] Production.ERROR: done
[2025-03-09 21:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:15:05] Production.ERROR: done
[2025-03-09 21:15:05] Production.INFO: Account Balance End.
[2025-03-09 21:15:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:15:05] Production.INFO: ==27617== Releasing lock...
[2025-03-09 21:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:15:06
[end_date_ymd] => 2025-03-09 21:15:06
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:15:06' and `end` < '2025-03-09 21: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-03-09 21:15:12] Production.ERROR: CronJobId end10
[2025-03-09 21:15:12] Production.INFO: ==27615== Releasing lock...
[2025-03-09 21:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:15:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:15:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:15:15] Production.INFO: call_cost start
[2025-03-09 21:15:15] Production.INFO: call_cost end
[2025-03-09 21:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:15:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:15:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:15:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:15:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:15:16] Production.INFO: ==27611== Releasing lock...
[2025-03-09 21:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:15:18] Production.INFO: count ==1201
[2025-03-09 21:15:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:15:06 - End Time 2025-03-09 21:15:06
[2025-03-09 21:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644859', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644859', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644859', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644859', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:15:18] Production.INFO: ProcessCDR(1,14644859,1,1,2)
[2025-03-09 21:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644859', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644859', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:15:21] Production.INFO: ==27619== Releasing lock...
[2025-03-09 21:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:15:21] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:16:01] Production.INFO: ==27676== Lock acquired, processing the job...
[2025-03-10 01:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:16:01] Production.INFO: neon service started
[2025-03-10 01:16:01] Production.INFO: neon service started
[2025-03-10 01:16:01] Production.INFO: ==27676== Releasing lock...
[2025-03-10 01:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:16:02] Production.INFO: ==27680== Lock acquired, processing the job...
[2025-03-10 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:16:02] Production.INFO: ==27680== Releasing lock...
[2025-03-10 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:16:02] Production.INFO: ==27678== Lock acquired, processing the job...
[2025-03-09 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:16:02] Production.INFO: ==27678== Releasing lock...
[2025-03-09 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:16:03] Production.INFO: ==27688== Lock acquired, processing the job...
[2025-03-09 21:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:16:03] Production.INFO: ==27691== Lock acquired, processing the job...
[2025-03-09 21:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:16:03] Production.INFO: ==27682== Lock acquired, processing the job...
[2025-03-09 21:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:16:03] Production.INFO: ==27684== Lock acquired, processing the job...
[2025-03-09 21:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:16:03] Production.INFO: Account Balance Start.
[2025-03-09 21:16:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:16:03] Production.INFO: 117
[2025-03-09 21:16:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:16:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:16:03] Production.INFO: ==27686== Lock acquired, processing the job...
[2025-03-09 21:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:16:04] Production.INFO: ==27693== Lock acquired, processing the job...
[2025-03-09 21:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:16:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:16:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:16:04] Production.INFO: Total Charge 0
[2025-03-09 21:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:16:04] Production.INFO: CreateAllLog End
[2025-03-09 21:16:04] Production.ERROR: done
[2025-03-09 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-03-09 21:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:16:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:16:04] Production.INFO: count ==21
[2025-03-09 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644863') start
[2025-03-09 21:16:04] Production.ERROR: done
[2025-03-09 21:16:04] Production.INFO: ==27684== Releasing lock...
[2025-03-09 21:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644863') end
[2025-03-09 21:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:16:04] Production.INFO: 1
[2025-03-09 21:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:16:04] Production.INFO: Account Balance End.
[2025-03-09 21:16:04] Production.INFO: ==27693== Releasing lock...
[2025-03-09 21:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:16:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:16:04] Production.INFO: ==27688== Releasing lock...
[2025-03-09 21:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:16:05
[end_date_ymd] => 2025-03-09 21:16:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:16:05' and `end` < '2025-03-09 21: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-03-09 21:16:12] Production.ERROR: CronJobId end10
[2025-03-09 21:16:12] Production.INFO: ==27686== Releasing lock...
[2025-03-09 21:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:16:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:16:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:16:15] Production.INFO: call_cost start
[2025-03-09 21:16:15] Production.INFO: call_cost end
[2025-03-09 21:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:16:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:16:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:16:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:16:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:16:15] Production.INFO: ==27682== Releasing lock...
[2025-03-09 21:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:16:17] Production.INFO: count ==1202
[2025-03-09 21:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:16:05 - End Time 2025-03-09 21:16:05
[2025-03-09 21:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644864', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644864', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644864', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644864', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:16:17] Production.INFO: ProcessCDR(1,14644864,1,1,2)
[2025-03-09 21:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644864', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644864', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:16:21] Production.INFO: ==27691== Releasing lock...
[2025-03-09 21:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:16:21] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:17:02] Production.INFO: ==27819== Lock acquired, processing the job...
[2025-03-10 01:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:17:02] Production.INFO: neon service started
[2025-03-10 01:17:02] Production.INFO: neon service started
[2025-03-10 01:17:02] Production.INFO: ==27819== Releasing lock...
[2025-03-10 01:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:17:02] Production.INFO: ==27823== Lock acquired, processing the job...
[2025-03-10 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:17:02] Production.INFO: ==27823== Releasing lock...
[2025-03-10 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:17:02] Production.INFO: ==27821== Lock acquired, processing the job...
[2025-03-09 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:17:03] Production.INFO: ==27821== Releasing lock...
[2025-03-09 21:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:17:03] Production.INFO: ==27825== Lock acquired, processing the job...
[2025-03-09 21:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:17:03] Production.INFO: ==27829== Lock acquired, processing the job...
[2025-03-09 21:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:17:04] Production.INFO: ==27832== Lock acquired, processing the job...
[2025-03-09 21:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:17:04] Production.INFO: Account Balance Start.
[2025-03-09 21:17:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:17:04] Production.INFO: 117
[2025-03-09 21:17:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:17:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:17:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:17:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:17:04] Production.INFO: ==27827== Lock acquired, processing the job...
[2025-03-09 21:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:17:04] Production.INFO: Total Charge 0
[2025-03-09 21:17:04] Production.INFO: CreateAllLog End
[2025-03-09 21:17:04] Production.INFO: ==27836== Lock acquired, processing the job...
[2025-03-09 21:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:17:04] Production.INFO: ==27834== Lock acquired, processing the job...
[2025-03-09 21:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:17:04] Production.INFO: Account Balance End.
[2025-03-09 21:17:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:17:04] Production.INFO: ==27832== Releasing lock...
[2025-03-09 21:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21: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-03-09 21:17:04] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:17:04] Production.INFO: count ==21
[2025-03-09 21:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644868') start
[2025-03-09 21:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644868') end
[2025-03-09 21:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:17:04] Production.INFO: 1
[2025-03-09 21:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:17:04] Production.INFO: ==27827== Releasing lock...
[2025-03-09 21:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:17:04] Production.INFO: ==27836== Releasing lock...
[2025-03-09 21:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:17:04] Production.ERROR: done
[2025-03-09 21:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:17:05] Production.ERROR: done
[2025-03-09 21:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:17:06
[end_date_ymd] => 2025-03-09 21:17:06
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:17:06' and `end` < '2025-03-09 21: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-03-09 21:17:12] Production.ERROR: CronJobId end10
[2025-03-09 21:17:12] Production.INFO: ==27829== Releasing lock...
[2025-03-09 21:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:17:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:17:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:17:14] Production.INFO: call_cost start
[2025-03-09 21:17:14] Production.INFO: call_cost end
[2025-03-09 21:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:17:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:17:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:17:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:17:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:17:15] Production.INFO: ==27825== Releasing lock...
[2025-03-09 21:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:17:18] Production.INFO: count ==1202
[2025-03-09 21:17:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:17:06 - End Time 2025-03-09 21:17:06
[2025-03-09 21:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644869', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644869', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644869', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644869', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:17:18] Production.INFO: ProcessCDR(1,14644869,1,1,2)
[2025-03-09 21:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644869', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644869', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:17:22] Production.INFO: ==27834== Releasing lock...
[2025-03-09 21:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:17:22] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:18:01] Production.INFO: ==27899== Lock acquired, processing the job...
[2025-03-10 01:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:18:01] Production.INFO: neon service started
[2025-03-10 01:18:01] Production.INFO: neon service started
[2025-03-10 01:18:01] Production.INFO: ==27899== Releasing lock...
[2025-03-10 01:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:18:02] Production.INFO: ==27902== Lock acquired, processing the job...
[2025-03-09 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:18:02] Production.INFO: ==27904== Lock acquired, processing the job...
[2025-03-10 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:18:02] Production.INFO: ==27904== Releasing lock...
[2025-03-10 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:18:02] Production.INFO: ==27902== Releasing lock...
[2025-03-09 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:18:02] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:18:03] Production.INFO: ==27914== Lock acquired, processing the job...
[2025-03-09 21:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:18:03] Production.INFO: ==27906== Lock acquired, processing the job...
[2025-03-09 21:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:18:03] Production.INFO: ==27916== Lock acquired, processing the job...
[2025-03-09 21:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:18:03] Production.INFO: ==27908== Lock acquired, processing the job...
[2025-03-09 21:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21: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-03-09 21:18:03] Production.INFO: ==27910== Lock acquired, processing the job...
[2025-03-09 21:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:18:03] Production.INFO: count ==13
[2025-03-09 21:18:03] Production.INFO: ==27912== Lock acquired, processing the job...
[2025-03-09 21:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21: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-03-09 21:18:03] Production.INFO: count ==21
[2025-03-09 21:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644870') start
[2025-03-09 21:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:18:04] Production.INFO: Account Balance Start.
[2025-03-09 21:18:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:18:04] Production.INFO: 117
[2025-03-09 21:18:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644870') end
[2025-03-09 21:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:18:04] Production.INFO: 1
[2025-03-09 21:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:18:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:18:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:18:04] Production.INFO: ==27916== Releasing lock...
[2025-03-09 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:18:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:18:04] Production.ERROR: done
[2025-03-09 21:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:18:04] Production.INFO: Total Charge 0
[2025-03-09 21:18:04] Production.INFO: CreateAllLog End
[2025-03-09 21:18:04] Production.INFO: ==27908== Releasing lock...
[2025-03-09 21:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:18:04] Production.ERROR: done
[2025-03-09 21:18:04] Production.INFO: Account Balance End.
[2025-03-09 21:18:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:18:04] Production.INFO: ==27912== Releasing lock...
[2025-03-09 21:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:18:05
[end_date_ymd] => 2025-03-09 21:18:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:18:05' and `end` < '2025-03-09 21: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-03-09 21:18:12] Production.ERROR: CronJobId end10
[2025-03-09 21:18:12] Production.INFO: ==27910== Releasing lock...
[2025-03-09 21:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:18:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:18:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:18:14] Production.INFO: call_cost start
[2025-03-09 21:18:14] Production.INFO: call_cost end
[2025-03-09 21:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:18:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:18:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:18:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:18:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:18:15] Production.INFO: ==27906== Releasing lock...
[2025-03-09 21:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:18:17] Production.INFO: count ==1203
[2025-03-09 21:18:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:18:05 - End Time 2025-03-09 21:18:05
[2025-03-09 21:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644874', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644874', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644874', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644874', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:18:18] Production.INFO: ProcessCDR(1,14644874,1,1,2)
[2025-03-09 21:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644874', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644874', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:18:22] Production.INFO: ==27914== Releasing lock...
[2025-03-09 21:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:18:22] Production.INFO: 37.25 MB #Memory Used#
[2025-03-10 01:19:02] Production.INFO: ==27973== Lock acquired, processing the job...
[2025-03-10 01:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:19:02] Production.INFO: neon service started
[2025-03-10 01:19:02] Production.INFO: neon service started
[2025-03-10 01:19:02] Production.INFO: ==27973== Releasing lock...
[2025-03-10 01:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:19:02] Production.INFO: ==27975== Lock acquired, processing the job...
[2025-03-09 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:19:02] Production.INFO: ==27977== Lock acquired, processing the job...
[2025-03-10 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:19:02] Production.INFO: ==27977== Releasing lock...
[2025-03-10 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:19:03] Production.INFO: ==27975== Releasing lock...
[2025-03-09 21:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:19:04] Production.INFO: ==27980== Lock acquired, processing the job...
[2025-03-09 21:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:19:04] Production.INFO: ==27982== Lock acquired, processing the job...
[2025-03-09 21:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:19:04] Production.INFO: ==27986== Lock acquired, processing the job...
[2025-03-09 21:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:19:04] Production.INFO: ==27984== Lock acquired, processing the job...
[2025-03-09 21:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:19:04] Production.INFO: Account Balance Start.
[2025-03-09 21:19:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:19:04] Production.INFO: 117
[2025-03-09 21:19:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:19:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:19:04] Production.INFO: ==27982== Releasing lock...
[2025-03-09 21:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:19:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:19:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:19:04] Production.INFO: Total Charge 0
[2025-03-09 21:19:04] Production.INFO: CreateAllLog End
[2025-03-09 21:19:04] Production.INFO: ==27988== Lock acquired, processing the job...
[2025-03-09 21:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:19:04] Production.INFO: ==27990== Lock acquired, processing the job...
[2025-03-09 21:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:19:04] Production.INFO: Account Balance End.
[2025-03-09 21:19:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:19:04] Production.INFO: ==27986== Releasing lock...
[2025-03-09 21:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21: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-03-09 21:19:04] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:19:04] Production.INFO: count ==21
[2025-03-09 21:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644878') start
[2025-03-09 21:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644878') end
[2025-03-09 21:19:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:19:05] Production.INFO: 1
[2025-03-09 21:19:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:19:05] Production.ERROR: done
[2025-03-09 21:19:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:19:05] Production.INFO: ==27990== Releasing lock...
[2025-03-09 21:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:19:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:19:05] Production.ERROR: done
[2025-03-09 21:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:19:06
[end_date_ymd] => 2025-03-09 21:19:06
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:19:06' and `end` < '2025-03-09 21: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-03-09 21:19:12] Production.ERROR: CronJobId end10
[2025-03-09 21:19:12] Production.INFO: ==27984== Releasing lock...
[2025-03-09 21:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:19:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:19:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:19:14] Production.INFO: call_cost start
[2025-03-09 21:19:14] Production.INFO: call_cost end
[2025-03-09 21:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:19:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:19:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:19:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:19:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:19:15] Production.INFO: ==27980== Releasing lock...
[2025-03-09 21:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:19:18] Production.INFO: count ==1202
[2025-03-09 21:19:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:19:06 - End Time 2025-03-09 21:19:06
[2025-03-09 21:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644879', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644879', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644879', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644879', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:19:18] Production.INFO: ProcessCDR(1,14644879,1,1,2)
[2025-03-09 21:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644879', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644879', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:19:23] Production.INFO: ==27988== Releasing lock...
[2025-03-09 21:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:19:23] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:20:01] Production.INFO: ==28044== Lock acquired, processing the job...
[2025-03-10 01:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:20:01] Production.INFO: neon service started
[2025-03-10 01:20:01] Production.INFO: neon service started
[2025-03-10 01:20:01] Production.INFO: ==28044== Releasing lock...
[2025-03-10 01:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:20:02] Production.INFO: ==28046== Lock acquired, processing the job...
[2025-03-09 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:20:02] Production.INFO: ==28048== Lock acquired, processing the job...
[2025-03-10 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:20:02] Production.INFO: ==28048== Releasing lock...
[2025-03-10 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:20:02] Production.INFO: ==28046== Releasing lock...
[2025-03-09 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:20:04] Production.INFO: ==28057== Lock acquired, processing the job...
[2025-03-09 21:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:20:04] Production.INFO: ==28061== Lock acquired, processing the job...
[2025-03-09 21:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:20:04] Production.INFO: ==28051== Lock acquired, processing the job...
[2025-03-09 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 21:20:04] Production.INFO: ==28063== Lock acquired, processing the job...
[2025-03-09 21:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 21:20:04] Production.ERROR: CronJob PID - 28057
[2025-03-09 21:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-09 21:20:04] Production.ERROR: CronJob ID - 10
[2025-03-09 21:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 21:20:00
[2025-03-09 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 21:20:04] Production.ERROR: CronJob PID - 28061
[2025-03-09 21:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-09 21:20:04] Production.ERROR: CronJob ID - 16
[2025-03-09 21:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 21:20:00
[2025-03-09 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 21:20:04] Production.INFO: ==28053== Lock acquired, processing the job...
[2025-03-09 21:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 21:20:04] Production.INFO: ==28051== Releasing lock...
[2025-03-09 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 21:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:20:04] Production.INFO: ==28055== Lock acquired, processing the job...
[2025-03-09 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:20:04] Production.INFO: ==28059== Lock acquired, processing the job...
[2025-03-09 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:20:04] Production.INFO: ==28065== Lock acquired, processing the job...
[2025-03-09 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:20:04] Production.ERROR: done
[2025-03-09 21:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:20:04] Production.INFO: Account Balance Start.
[2025-03-09 21:20:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:20:04] Production.INFO: 117
[2025-03-09 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-03-09 21:20:04] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:20:04] Production.INFO: count ==21
[2025-03-09 21:20:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644882') start
[2025-03-09 21:20:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:20:04] Production.ERROR: done
[2025-03-09 21:20:04] Production.ERROR: done
[2025-03-09 21:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 21:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644884', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 21:20:05] Production.INFO: Date 2025-03-09
[2025-03-09 21:20:05] Production.INFO: Reseller ==> 0
[2025-03-09 21:20:05] Production.INFO: Total Charge 0
[2025-03-09 21:20:05] Production.INFO: CreateAllLog End
[2025-03-09 21:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14644882') end
[2025-03-09 21:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:20:05] Production.INFO: 1
[2025-03-09 21:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:20:05] Production.INFO: ==28065== Releasing lock...
[2025-03-09 21:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:20:05] Production.INFO: ==28055== Releasing lock...
[2025-03-09 21:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:20:05] Production.INFO: Account Balance End.
[2025-03-09 21:20:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:20:05] Production.INFO: ==28059== Releasing lock...
[2025-03-09 21:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:20:06
[end_date_ymd] => 2025-03-09 21:20:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:20:06' and `end` < '2025-03-09 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-03-09 21:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644884', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 21:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 21:20:09] Production.INFO: ProcessCDR(1,14644884,1,1,2)
[2025-03-09 21:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644884,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644884,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:20:09] Production.INFO: ==28063== Releasing lock...
[2025-03-09 21:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 21:20:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 21:20:14] Production.ERROR: CronJobId end10
[2025-03-09 21:20:14] Production.INFO: ==28057== Releasing lock...
[2025-03-09 21:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:20:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:20:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:20:16] Production.INFO: call_cost start
[2025-03-09 21:20:16] Production.INFO: call_cost end
[2025-03-09 21:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:20:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:20:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:20:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:20:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:20:17] Production.INFO: ==28053== Releasing lock...
[2025-03-09 21:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:20:18] Production.INFO: count ==1203
[2025-03-09 21:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:20:06 - End Time 2025-03-09 21:20:06
[2025-03-09 21:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644885', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644885', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644885', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644885', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:20:18] Production.INFO: ProcessCDR(1,14644885,1,1,2)
[2025-03-09 21:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644885', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644885', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:20:23] Production.INFO: ==28061== Releasing lock...
[2025-03-09 21:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:20:23] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:21:02] Production.INFO: ==28122== Lock acquired, processing the job...
[2025-03-10 01:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:21:02] Production.INFO: neon service started
[2025-03-10 01:21:02] Production.INFO: neon service started
[2025-03-10 01:21:02] Production.INFO: ==28122== Releasing lock...
[2025-03-10 01:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:21:02] Production.INFO: ==28125== Lock acquired, processing the job...
[2025-03-09 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:21:02] Production.INFO: ==28125== Releasing lock...
[2025-03-09 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:21:03] Production.INFO: ==28127== Lock acquired, processing the job...
[2025-03-10 01:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:21:03] Production.INFO: ==28127== Releasing lock...
[2025-03-10 01:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:21:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:21:03] Production.INFO: ==28129== Lock acquired, processing the job...
[2025-03-09 21:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:21:03] Production.INFO: ==28131== Lock acquired, processing the job...
[2025-03-09 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:21:03] Production.INFO: ==28137== Lock acquired, processing the job...
[2025-03-09 21:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:21:04] Production.INFO: ==28133== Lock acquired, processing the job...
[2025-03-09 21:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:21:04] Production.INFO: ==28135== Lock acquired, processing the job...
[2025-03-09 21:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:21:04] Production.INFO: ==28131== Releasing lock...
[2025-03-09 21:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:21:04] Production.INFO: ==28139== Lock acquired, processing the job...
[2025-03-09 21:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:21:04] Production.INFO: Account Balance Start.
[2025-03-09 21:21:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:21:04] Production.INFO: 117
[2025-03-09 21:21:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:21:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:21:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:21:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:21:04] Production.INFO: Total Charge 0
[2025-03-09 21:21:04] Production.ERROR: done
[2025-03-09 21:21:04] Production.INFO: CreateAllLog End
[2025-03-09 21:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21: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-03-09 21:21:04] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:21:04] Production.INFO: count ==21
[2025-03-09 21:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644889') start
[2025-03-09 21:21:04] Production.ERROR: done
[2025-03-09 21:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644889') end
[2025-03-09 21:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:21:04] Production.INFO: 1
[2025-03-09 21:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:21:04] Production.INFO: Account Balance End.
[2025-03-09 21:21:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:21:04] Production.INFO: ==28135== Releasing lock...
[2025-03-09 21:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:21:04] Production.INFO: ==28139== Releasing lock...
[2025-03-09 21:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:21:05
[end_date_ymd] => 2025-03-09 21:21:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:21:05' and `end` < '2025-03-09 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-03-09 21:21:13] Production.ERROR: CronJobId end10
[2025-03-09 21:21:13] Production.INFO: ==28133== Releasing lock...
[2025-03-09 21:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:21:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:21:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:21:14] Production.INFO: call_cost start
[2025-03-09 21:21:14] Production.INFO: call_cost end
[2025-03-09 21:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:21:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:21:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:21:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:21:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:21:15] Production.INFO: ==28129== Releasing lock...
[2025-03-09 21:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:21:17] Production.INFO: count ==1195
[2025-03-09 21:21:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:21:05 - End Time 2025-03-09 21:21:05
[2025-03-09 21:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644890', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644890', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644890', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644890', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:21:18] Production.INFO: ProcessCDR(1,14644890,1,1,2)
[2025-03-09 21:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644890', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644890', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:21:21] Production.INFO: ==28137== Releasing lock...
[2025-03-09 21:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:21:21] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:22:01] Production.INFO: ==28200== Lock acquired, processing the job...
[2025-03-10 01:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:22:01] Production.INFO: neon service started
[2025-03-10 01:22:01] Production.INFO: neon service started
[2025-03-10 01:22:01] Production.INFO: ==28200== Releasing lock...
[2025-03-10 01:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:22:02] Production.INFO: ==28204== Lock acquired, processing the job...
[2025-03-10 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:22:02] Production.INFO: ==28204== Releasing lock...
[2025-03-10 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:22:02] Production.INFO: ==28202== Lock acquired, processing the job...
[2025-03-09 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:22:02] Production.INFO: ==28202== Releasing lock...
[2025-03-09 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:22:03] Production.INFO: ==28209== Lock acquired, processing the job...
[2025-03-09 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:22:03] Production.INFO: ==28207== Lock acquired, processing the job...
[2025-03-09 21:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:22:03] Production.INFO: ==28215== Lock acquired, processing the job...
[2025-03-09 21:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:22:03] Production.INFO: ==28211== Lock acquired, processing the job...
[2025-03-09 21:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:22:03] Production.INFO: ==28217== Lock acquired, processing the job...
[2025-03-09 21:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:22:03] Production.INFO: ==28209== Releasing lock...
[2025-03-09 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:22:03] Production.INFO: ==28213== Lock acquired, processing the job...
[2025-03-09 21:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 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-03-09 21:22:04] Production.INFO: count ==13
[2025-03-09 21:22:04] Production.ERROR: done
[2025-03-09 21:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:22:04] Production.INFO: Account Balance Start.
[2025-03-09 21:22:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:22:04] Production.INFO: 117
[2025-03-09 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-03-09 21:22:04] Production.INFO: count ==21
[2025-03-09 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644893') start
[2025-03-09 21:22:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:22:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:22:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:22:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:22:04] Production.INFO: Total Charge 0
[2025-03-09 21:22:04] Production.INFO: CreateAllLog End
[2025-03-09 21:22:04] Production.ERROR: done
[2025-03-09 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644893') end
[2025-03-09 21:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:22:04] Production.INFO: 1
[2025-03-09 21:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:22:04] Production.INFO: ==28217== Releasing lock...
[2025-03-09 21:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:22:04] Production.INFO: Account Balance End.
[2025-03-09 21:22:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:22:04] Production.INFO: ==28213== Releasing lock...
[2025-03-09 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:22:05
[end_date_ymd] => 2025-03-09 21:22:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:22:05' and `end` < '2025-03-09 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-03-09 21:22:12] Production.ERROR: CronJobId end10
[2025-03-09 21:22:12] Production.INFO: ==28211== Releasing lock...
[2025-03-09 21:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:22:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:22:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:22:15] Production.INFO: call_cost start
[2025-03-09 21:22:15] Production.INFO: call_cost end
[2025-03-09 21:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:22:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:22:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:22:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:22:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:22:15] Production.INFO: ==28207== Releasing lock...
[2025-03-09 21:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:22:17] Production.INFO: count ==1193
[2025-03-09 21:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:22:05 - End Time 2025-03-09 21:22:05
[2025-03-09 21:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644895', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644895', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644895', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644895', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:22:17] Production.INFO: ProcessCDR(1,14644895,1,1,2)
[2025-03-09 21:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644895', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644895', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:22:21] Production.INFO: ==28215== Releasing lock...
[2025-03-09 21:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:22:21] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:23:02] Production.INFO: ==28275== Lock acquired, processing the job...
[2025-03-10 01:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:23:02] Production.INFO: neon service started
[2025-03-10 01:23:02] Production.INFO: neon service started
[2025-03-10 01:23:02] Production.INFO: ==28275== Releasing lock...
[2025-03-10 01:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:23:02] Production.INFO: ==28278== Lock acquired, processing the job...
[2025-03-09 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:23:02] Production.INFO: ==28278== Releasing lock...
[2025-03-09 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:23:02] Production.INFO: ==28280== Lock acquired, processing the job...
[2025-03-10 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:23:03] Production.INFO: ==28280== Releasing lock...
[2025-03-10 01:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:23:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:23:03] Production.INFO: ==28293== Lock acquired, processing the job...
[2025-03-09 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21: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-03-09 21:23:04] Production.INFO: count ==13
[2025-03-09 21:23:04] Production.INFO: ==28291== Lock acquired, processing the job...
[2025-03-09 21:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 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-03-09 21:23:04] Production.INFO: count ==21
[2025-03-09 21:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644896') start
[2025-03-09 21:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:23:04] Production.INFO: ==28283== Lock acquired, processing the job...
[2025-03-09 21:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644896') end
[2025-03-09 21:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:23:04] Production.INFO: 1
[2025-03-09 21:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:23:04] Production.INFO: ==28285== Lock acquired, processing the job...
[2025-03-09 21:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:23:04] Production.INFO: ==28289== Lock acquired, processing the job...
[2025-03-09 21:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:23:04] Production.INFO: ==28287== Lock acquired, processing the job...
[2025-03-09 21:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:23:04] Production.INFO: ==28293== Releasing lock...
[2025-03-09 21:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:23:04] Production.INFO: Account Balance Start.
[2025-03-09 21:23:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:23:04] Production.INFO: 117
[2025-03-09 21:23:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:23:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:23:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:23:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:23:04] Production.INFO: Total Charge 0
[2025-03-09 21:23:04] Production.INFO: CreateAllLog End
[2025-03-09 21:23:04] Production.ERROR: done
[2025-03-09 21:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:23:04] Production.INFO: ==28285== Releasing lock...
[2025-03-09 21:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:23:04] Production.ERROR: done
[2025-03-09 21:23:04] Production.INFO: Account Balance End.
[2025-03-09 21:23:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:23:04] Production.INFO: ==28289== Releasing lock...
[2025-03-09 21:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:23:05
[end_date_ymd] => 2025-03-09 21:23:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:23:05' and `end` < '2025-03-09 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-03-09 21:23:13] Production.ERROR: CronJobId end10
[2025-03-09 21:23:13] Production.INFO: ==28287== Releasing lock...
[2025-03-09 21:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:23:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:23:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:23:15] Production.INFO: call_cost start
[2025-03-09 21:23:15] Production.INFO: call_cost end
[2025-03-09 21:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:23:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:23:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:23:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:23:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:23:16] Production.INFO: ==28283== Releasing lock...
[2025-03-09 21:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:23:18] Production.INFO: count ==1195
[2025-03-09 21:23:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:23:05 - End Time 2025-03-09 21:23:05
[2025-03-09 21:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644900', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644900', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644900', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644900', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:23:18] Production.INFO: ProcessCDR(1,14644900,1,1,2)
[2025-03-09 21:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644900', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644900', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:23:23] Production.INFO: ==28291== Releasing lock...
[2025-03-09 21:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:23:23] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:24:01] Production.INFO: ==28357== Lock acquired, processing the job...
[2025-03-10 01:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:24:01] Production.INFO: neon service started
[2025-03-10 01:24:01] Production.INFO: neon service started
[2025-03-10 01:24:01] Production.INFO: ==28357== Releasing lock...
[2025-03-10 01:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:24:02] Production.INFO: ==28359== Lock acquired, processing the job...
[2025-03-09 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:24:02] Production.INFO: ==28359== Releasing lock...
[2025-03-09 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:24:02] Production.INFO: ==28361== Lock acquired, processing the job...
[2025-03-10 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:24:02] Production.INFO: ==28361== Releasing lock...
[2025-03-10 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:24:03] Production.INFO: ==28371== Lock acquired, processing the job...
[2025-03-09 21:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:24:03] Production.INFO: ==28363== Lock acquired, processing the job...
[2025-03-09 21:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:24:03] Production.INFO: ==28365== Lock acquired, processing the job...
[2025-03-09 21:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:24:03] Production.INFO: ==28373== Lock acquired, processing the job...
[2025-03-09 21:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:24:03] Production.INFO: ==28367== Lock acquired, processing the job...
[2025-03-09 21:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:24:03] Production.INFO: ==28369== Lock acquired, processing the job...
[2025-03-09 21:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21: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-03-09 21:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:24:03] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:24:03] Production.INFO: count ==21
[2025-03-09 21:24:03] Production.ERROR: done
[2025-03-09 21:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644902') start
[2025-03-09 21:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:24:03] Production.INFO: Account Balance Start.
[2025-03-09 21:24:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:24:03] Production.INFO: 117
[2025-03-09 21:24:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:24:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:24:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:24:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:24:03] Production.INFO: Total Charge 0
[2025-03-09 21:24:04] Production.ERROR: done
[2025-03-09 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644902') end
[2025-03-09 21:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:24:04] Production.INFO: 1
[2025-03-09 21:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:24:04] Production.INFO: CreateAllLog End
[2025-03-09 21:24:04] Production.INFO: ==28365== Releasing lock...
[2025-03-09 21:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:24:04] Production.INFO: ==28373== Releasing lock...
[2025-03-09 21:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:24:04] Production.INFO: Account Balance End.
[2025-03-09 21:24:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:24:04] Production.INFO: ==28369== Releasing lock...
[2025-03-09 21:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:24:05
[end_date_ymd] => 2025-03-09 21:24:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:24:05' and `end` < '2025-03-09 21: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-03-09 21:24:11] Production.ERROR: CronJobId end10
[2025-03-09 21:24:11] Production.INFO: ==28367== Releasing lock...
[2025-03-09 21:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:24:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:24:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:24:13] Production.INFO: call_cost start
[2025-03-09 21:24:13] Production.INFO: call_cost end
[2025-03-09 21:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:24:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:24:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:24:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:24:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:24:14] Production.INFO: ==28363== Releasing lock...
[2025-03-09 21:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:24:17] Production.INFO: count ==1194
[2025-03-09 21:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:24:05 - End Time 2025-03-09 21:24:05
[2025-03-09 21:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644905', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644905', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644905', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644905', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:24:17] Production.INFO: ProcessCDR(1,14644905,1,1,2)
[2025-03-09 21:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644905', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644905', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:24:22] Production.INFO: ==28371== Releasing lock...
[2025-03-09 21:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:24:22] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:25:02] Production.INFO: ==28429== Lock acquired, processing the job...
[2025-03-10 01:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:25:02] Production.INFO: neon service started
[2025-03-10 01:25:02] Production.INFO: neon service started
[2025-03-10 01:25:02] Production.INFO: ==28429== Releasing lock...
[2025-03-10 01:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:25:02] Production.INFO: ==28431== Lock acquired, processing the job...
[2025-03-09 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:25:02] Production.INFO: ==28433== Lock acquired, processing the job...
[2025-03-10 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 21:25:02] Production.INFO: ==28431== Releasing lock...
[2025-03-09 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:25:03] Production.INFO: ==28433== Releasing lock...
[2025-03-10 01:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:25:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:25:03] Production.INFO: ==28435== Lock acquired, processing the job...
[2025-03-09 21:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:25:03] Production.INFO: ==28437== Lock acquired, processing the job...
[2025-03-09 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:25:03] Production.INFO: ==28445== Lock acquired, processing the job...
[2025-03-09 21:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21: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-03-09 21:25:04] Production.INFO: ==28437== Releasing lock...
[2025-03-09 21:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:25:04] Production.INFO: count ==13
[2025-03-09 21:25:04] Production.INFO: ==28439== Lock acquired, processing the job...
[2025-03-09 21:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 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-03-09 21:25:04] Production.INFO: count ==21
[2025-03-09 21:25:04] Production.INFO: ==28441== Lock acquired, processing the job...
[2025-03-09 21:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644908') start
[2025-03-09 21:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644908') end
[2025-03-09 21:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:25:04] Production.INFO: 1
[2025-03-09 21:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:25:04] Production.INFO: ==28443== Lock acquired, processing the job...
[2025-03-09 21:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:25:04] Production.INFO: Account Balance Start.
[2025-03-09 21:25:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:25:04] Production.INFO: 117
[2025-03-09 21:25:04] Production.INFO: ==28445== Releasing lock...
[2025-03-09 21:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:25:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:25:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:25:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:25:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:25:04] Production.INFO: Total Charge 0
[2025-03-09 21:25:04] Production.INFO: CreateAllLog End
[2025-03-09 21:25:04] Production.ERROR: done
[2025-03-09 21:25:04] Production.INFO: Account Balance End.
[2025-03-09 21:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:25:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:25:04] Production.INFO: ==28441== Releasing lock...
[2025-03-09 21:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:25:05] Production.ERROR: done
[2025-03-09 21:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:25:05
[end_date_ymd] => 2025-03-09 21:25:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:25:05' and `end` < '2025-03-09 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-03-09 21:25:12] Production.ERROR: CronJobId end10
[2025-03-09 21:25:12] Production.INFO: ==28439== Releasing lock...
[2025-03-09 21:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:25:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:25:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:25:15] Production.INFO: call_cost start
[2025-03-09 21:25:15] Production.INFO: call_cost end
[2025-03-09 21:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:25:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:25:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:25:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:25:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:25:16] Production.INFO: ==28435== Releasing lock...
[2025-03-09 21:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:25:18] Production.INFO: count ==1191
[2025-03-09 21:25:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:25:05 - End Time 2025-03-09 21:25:05
[2025-03-09 21:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644910', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644910', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644910', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644910', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:25:18] Production.INFO: ProcessCDR(1,14644910,1,1,2)
[2025-03-09 21:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644910', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644910', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:25:21] Production.INFO: ==28443== Releasing lock...
[2025-03-09 21:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:25:21] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:26:01] Production.INFO: ==28502== Lock acquired, processing the job...
[2025-03-10 01:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:26:01] Production.INFO: neon service started
[2025-03-10 01:26:01] Production.INFO: neon service started
[2025-03-10 01:26:01] Production.INFO: ==28502== Releasing lock...
[2025-03-10 01:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:26:02] Production.INFO: ==28506== Lock acquired, processing the job...
[2025-03-10 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:26:02] Production.INFO: ==28506== Releasing lock...
[2025-03-10 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:26:02] Production.INFO: ==28504== Lock acquired, processing the job...
[2025-03-09 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:26:02] Production.INFO: ==28504== Releasing lock...
[2025-03-09 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:26:03] Production.INFO: ==28510== Lock acquired, processing the job...
[2025-03-09 21:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:26:03] Production.INFO: ==28517== Lock acquired, processing the job...
[2025-03-09 21:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:26:03] Production.INFO: ==28508== Lock acquired, processing the job...
[2025-03-09 21:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:26:03] Production.INFO: ==28512== Lock acquired, processing the job...
[2025-03-09 21:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:26:03] Production.INFO: ==28514== Lock acquired, processing the job...
[2025-03-09 21:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:26:03] Production.INFO: ==28519== Lock acquired, processing the job...
[2025-03-09 21:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:26:03] Production.INFO: Account Balance Start.
[2025-03-09 21:26:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:26:03] Production.INFO: 117
[2025-03-09 21:26:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:26:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:26:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:26:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:26:04] Production.INFO: Total Charge 0
[2025-03-09 21:26:04] Production.INFO: CreateAllLog End
[2025-03-09 21:26:04] Production.ERROR: done
[2025-03-09 21:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:26:04] Production.INFO: ==28510== Releasing lock...
[2025-03-09 21:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 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-03-09 21:26:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:26:04] Production.INFO: count ==21
[2025-03-09 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644914') start
[2025-03-09 21:26:04] Production.ERROR: done
[2025-03-09 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644914') end
[2025-03-09 21:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:26:04] Production.INFO: 1
[2025-03-09 21:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:26:04] Production.INFO: Account Balance End.
[2025-03-09 21:26:04] Production.INFO: ==28519== Releasing lock...
[2025-03-09 21:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:26:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:26:04] Production.INFO: ==28514== Releasing lock...
[2025-03-09 21:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:26:05
[end_date_ymd] => 2025-03-09 21:26:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:26:05' and `end` < '2025-03-09 21: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-03-09 21:26:12] Production.ERROR: CronJobId end10
[2025-03-09 21:26:12] Production.INFO: ==28512== Releasing lock...
[2025-03-09 21:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:26:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:26:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:26:14] Production.INFO: call_cost start
[2025-03-09 21:26:14] Production.INFO: call_cost end
[2025-03-09 21:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:26:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:26:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:26:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:26:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:26:15] Production.INFO: ==28508== Releasing lock...
[2025-03-09 21:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:26:17] Production.INFO: count ==1191
[2025-03-09 21:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:26:05 - End Time 2025-03-09 21:26:05
[2025-03-09 21:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644915', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644915', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644915', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644915', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:26:17] Production.INFO: ProcessCDR(1,14644915,1,1,2)
[2025-03-09 21:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644915', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644915', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:26:21] Production.INFO: ==28517== Releasing lock...
[2025-03-09 21:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:26:21] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:27:02] Production.INFO: ==28575== Lock acquired, processing the job...
[2025-03-10 01:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:27:02] Production.INFO: neon service started
[2025-03-10 01:27:02] Production.INFO: neon service started
[2025-03-10 01:27:02] Production.INFO: ==28575== Releasing lock...
[2025-03-10 01:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:27:02] Production.INFO: ==28577== Lock acquired, processing the job...
[2025-03-09 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:27:02] Production.INFO: ==28579== Lock acquired, processing the job...
[2025-03-10 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:27:02] Production.INFO: ==28579== Releasing lock...
[2025-03-10 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:27:03] Production.INFO: ==28577== Releasing lock...
[2025-03-09 21:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:27:03] Production.INFO: ==28584== Lock acquired, processing the job...
[2025-03-09 21:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:27:04] Production.INFO: ==28592== Lock acquired, processing the job...
[2025-03-09 21:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:27:04] Production.INFO: ==28584== Releasing lock...
[2025-03-09 21:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:27:04] Production.INFO: ==28582== Lock acquired, processing the job...
[2025-03-09 21:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21: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-03-09 21:27:04] Production.INFO: ==28586== Lock acquired, processing the job...
[2025-03-09 21:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:27:04] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:27:04] Production.INFO: count ==21
[2025-03-09 21:27:04] Production.INFO: ==28588== Lock acquired, processing the job...
[2025-03-09 21:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644917') start
[2025-03-09 21:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:27:04] Production.INFO: ==28590== Lock acquired, processing the job...
[2025-03-09 21:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644917') end
[2025-03-09 21:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:27:04] Production.INFO: 1
[2025-03-09 21:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:27:04] Production.INFO: ==28592== Releasing lock...
[2025-03-09 21:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:27:04] Production.INFO: Account Balance Start.
[2025-03-09 21:27:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:27:04] Production.INFO: 117
[2025-03-09 21:27:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:27:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:27:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:27:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:27:04] Production.INFO: Total Charge 0
[2025-03-09 21:27:04] Production.INFO: CreateAllLog End
[2025-03-09 21:27:04] Production.ERROR: done
[2025-03-09 21:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:27:04] Production.INFO: Account Balance End.
[2025-03-09 21:27:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:27:05] Production.INFO: ==28588== Releasing lock...
[2025-03-09 21:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:27:05] Production.ERROR: done
[2025-03-09 21:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:27:06
[end_date_ymd] => 2025-03-09 21:27:06
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:27:06' and `end` < '2025-03-09 21: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-03-09 21:27:12] Production.ERROR: CronJobId end10
[2025-03-09 21:27:12] Production.INFO: ==28586== Releasing lock...
[2025-03-09 21:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:27:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:27:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:27:15] Production.INFO: call_cost start
[2025-03-09 21:27:15] Production.INFO: call_cost end
[2025-03-09 21:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:27:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:27:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:27:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:27:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:27:16] Production.INFO: ==28582== Releasing lock...
[2025-03-09 21:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:27:18] Production.INFO: count ==1190
[2025-03-09 21:27:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:27:06 - End Time 2025-03-09 21:27:06
[2025-03-09 21:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644920', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644920', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644920', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644920', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:27:18] Production.INFO: ProcessCDR(1,14644920,1,1,2)
[2025-03-09 21:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644920', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644920', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:27:22] Production.INFO: ==28590== Releasing lock...
[2025-03-09 21:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:27:22] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:28:01] Production.INFO: ==28645== Lock acquired, processing the job...
[2025-03-10 01:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:28:01] Production.INFO: neon service started
[2025-03-10 01:28:01] Production.INFO: neon service started
[2025-03-10 01:28:01] Production.INFO: ==28645== Releasing lock...
[2025-03-10 01:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:28:02] Production.INFO: ==28647== Lock acquired, processing the job...
[2025-03-09 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:28:02] Production.INFO: ==28649== Lock acquired, processing the job...
[2025-03-10 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 21:28:02] Production.INFO: ==28647== Releasing lock...
[2025-03-09 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:28:02] Production.INFO: ==28649== Releasing lock...
[2025-03-10 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:28:03] Production.INFO: ==28651== Lock acquired, processing the job...
[2025-03-09 21:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:28:03] Production.INFO: ==28656== Lock acquired, processing the job...
[2025-03-09 21:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:28:03] Production.INFO: ==28653== Lock acquired, processing the job...
[2025-03-09 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:28:03] Production.INFO: ==28660== Lock acquired, processing the job...
[2025-03-09 21:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:28:03] Production.INFO: ==28658== Lock acquired, processing the job...
[2025-03-09 21:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:28:03] Production.INFO: ==28662== Lock acquired, processing the job...
[2025-03-09 21:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:28:03] Production.INFO: Account Balance Start.
[2025-03-09 21:28:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:28:03] Production.INFO: ==28653== Releasing lock...
[2025-03-09 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:28:03] Production.INFO: 117
[2025-03-09 21:28:03] Production.INFO: Date 2025-03-08
[2025-03-09 21: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-03-09 21:28:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:28:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:28:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:28:04] Production.INFO: Total Charge 0
[2025-03-09 21:28:04] Production.INFO: CreateAllLog End
[2025-03-09 21:28:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:28:04] Production.INFO: count ==21
[2025-03-09 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644924') start
[2025-03-09 21:28:04] Production.ERROR: done
[2025-03-09 21:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:28:04] Production.ERROR: done
[2025-03-09 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644924') end
[2025-03-09 21:28:04] Production.INFO: Account Balance End.
[2025-03-09 21:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:28:04] Production.INFO: 1
[2025-03-09 21:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:28:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:28:04] Production.INFO: ==28658== Releasing lock...
[2025-03-09 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:28:04] Production.INFO: ==28662== Releasing lock...
[2025-03-09 21:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:28:05
[end_date_ymd] => 2025-03-09 21:28:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:28:05' and `end` < '2025-03-09 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-03-09 21:28:12] Production.ERROR: CronJobId end10
[2025-03-09 21:28:12] Production.INFO: ==28656== Releasing lock...
[2025-03-09 21:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:28:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:28:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:28:15] Production.INFO: call_cost start
[2025-03-09 21:28:15] Production.INFO: call_cost end
[2025-03-09 21:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:28:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:28:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:28:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:28:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:28:15] Production.INFO: ==28651== Releasing lock...
[2025-03-09 21:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:28:17] Production.INFO: count ==1187
[2025-03-09 21:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:28:05 - End Time 2025-03-09 21:28:05
[2025-03-09 21:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644925', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644925', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644925', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644925', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:28:18] Production.INFO: ProcessCDR(1,14644925,1,1,2)
[2025-03-09 21:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644925', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644925', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:28:21] Production.INFO: ==28660== Releasing lock...
[2025-03-09 21:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:28:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:29:02] Production.INFO: ==28715== Lock acquired, processing the job...
[2025-03-10 01:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:29:02] Production.INFO: neon service started
[2025-03-10 01:29:02] Production.INFO: neon service started
[2025-03-10 01:29:02] Production.INFO: ==28715== Releasing lock...
[2025-03-10 01:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:29:02] Production.INFO: ==28717== Lock acquired, processing the job...
[2025-03-09 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:29:02] Production.INFO: ==28717== Releasing lock...
[2025-03-09 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:29:03] Production.INFO: ==28719== Lock acquired, processing the job...
[2025-03-10 01:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:29:03] Production.INFO: ==28719== Releasing lock...
[2025-03-10 01:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:29:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:29:03] Production.INFO: ==28723== Lock acquired, processing the job...
[2025-03-09 21:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:29:03] Production.INFO: ==28727== Lock acquired, processing the job...
[2025-03-09 21:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:29:03] Production.INFO: ==28725== Lock acquired, processing the job...
[2025-03-09 21:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:29:03] Production.INFO: Account Balance Start.
[2025-03-09 21:29:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:29:03] Production.INFO: 117
[2025-03-09 21:29:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:29:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:29:04] Production.INFO: ==28721== Lock acquired, processing the job...
[2025-03-09 21:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:29:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:29:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:29:04] Production.INFO: Total Charge 0
[2025-03-09 21:29:04] Production.INFO: ==28729== Lock acquired, processing the job...
[2025-03-09 21:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:29:04] Production.INFO: CreateAllLog End
[2025-03-09 21:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:29:04] Production.INFO: ==28723== Releasing lock...
[2025-03-09 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:29:04] Production.INFO: ==28731== Lock acquired, processing the job...
[2025-03-09 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:29:04] Production.INFO: Account Balance End.
[2025-03-09 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-03-09 21:29:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:29:04] Production.INFO: ==28727== Releasing lock...
[2025-03-09 21:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:29:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:29:04] Production.INFO: count ==21
[2025-03-09 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644929') start
[2025-03-09 21:29:04] Production.ERROR: done
[2025-03-09 21:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644929') end
[2025-03-09 21:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:29:04] Production.INFO: 1
[2025-03-09 21:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:29:04] Production.INFO: ==28731== Releasing lock...
[2025-03-09 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:29:04] Production.ERROR: done
[2025-03-09 21:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:29:05
[end_date_ymd] => 2025-03-09 21:29:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:29:05' and `end` < '2025-03-09 21: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-03-09 21:29:12] Production.ERROR: CronJobId end10
[2025-03-09 21:29:12] Production.INFO: ==28725== Releasing lock...
[2025-03-09 21:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:29:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:29:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:29:15] Production.INFO: call_cost start
[2025-03-09 21:29:15] Production.INFO: call_cost end
[2025-03-09 21:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:29:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:29:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:29:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:29:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:29:16] Production.INFO: ==28721== Releasing lock...
[2025-03-09 21:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:29:18] Production.INFO: count ==1189
[2025-03-09 21:29:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:29:05 - End Time 2025-03-09 21:29:05
[2025-03-09 21:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644930', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644930', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644930', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644930', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:29:18] Production.INFO: ProcessCDR(1,14644930,1,1,2)
[2025-03-09 21:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644930', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644930', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:29:23] Production.INFO: ==28729== Releasing lock...
[2025-03-09 21:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:29:23] Production.INFO: 37.25 MB #Memory Used#
[2025-03-10 01:30:01] Production.INFO: ==28788== Lock acquired, processing the job...
[2025-03-10 01:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:30:01] Production.INFO: neon service started
[2025-03-10 01:30:01] Production.INFO: neon service started
[2025-03-10 01:30:01] Production.INFO: ==28788== Releasing lock...
[2025-03-10 01:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:30:02] Production.INFO: ==28790== Lock acquired, processing the job...
[2025-03-09 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:30:02] Production.INFO: ==28792== Lock acquired, processing the job...
[2025-03-10 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 21:30:02] Production.INFO: ==28790== Releasing lock...
[2025-03-09 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:30:02] Production.INFO: ==28792== Releasing lock...
[2025-03-10 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:30:03] Production.INFO: ==28795== Lock acquired, processing the job...
[2025-03-09 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 21:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 21:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 21:30:03] Production.INFO: ==28795== Releasing lock...
[2025-03-09 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 21:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 21:30:03] Production.INFO: ==28799== Lock acquired, processing the job...
[2025-03-09 21:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:30:03] Production.INFO: ==28801== Lock acquired, processing the job...
[2025-03-09 21:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:30:03] Production.INFO: ==28805== Lock acquired, processing the job...
[2025-03-09 21:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:30:03] Production.INFO: ==28797== Lock acquired, processing the job...
[2025-03-09 21:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:30:03] Production.INFO: ==28799== Releasing lock...
[2025-03-09 21:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:30:04] Production.INFO: ==28803== Lock acquired, processing the job...
[2025-03-09 21:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:30:04] Production.INFO: ==28807== Lock acquired, processing the job...
[2025-03-09 21:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 21:30:04] Production.INFO: ==28809== Lock acquired, processing the job...
[2025-03-09 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:30:04] Production.ERROR: done
[2025-03-09 21:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:30:04] Production.INFO: Account Balance Start.
[2025-03-09 21:30:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:30:04] Production.INFO: 117
[2025-03-09 21:30:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:30:04] Production.ERROR: done
[2025-03-09 21:30:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 21:30:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:30:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:30:04] Production.ERROR: done
[2025-03-09 21:30:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:30:04] Production.INFO: count ==21
[2025-03-09 21:30:04] Production.INFO: Total Charge 0
[2025-03-09 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644935') start
[2025-03-09 21:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 21:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644936', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 21:30:04] Production.INFO: CreateAllLog End
[2025-03-09 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644935') end
[2025-03-09 21:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:30:04] Production.INFO: 1
[2025-03-09 21:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:30:04] Production.INFO: ==28809== Releasing lock...
[2025-03-09 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:30:04] Production.INFO: Account Balance End.
[2025-03-09 21:30:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:30:04] Production.INFO: ==28803== Releasing lock...
[2025-03-09 21:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:30:05
[end_date_ymd] => 2025-03-09 21:30:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:30:05' and `end` < '2025-03-09 21: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-03-09 21:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644936', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 21:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 21:30:09] Production.INFO: ProcessCDR(1,14644936,1,1,2)
[2025-03-09 21:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644936,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644936,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:30:09] Production.INFO: ==28807== Releasing lock...
[2025-03-09 21:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 21:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 21:30:14] Production.ERROR: CronJobId end10
[2025-03-09 21:30:14] Production.INFO: ==28801== Releasing lock...
[2025-03-09 21:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:30:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:30:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:30:17] Production.INFO: call_cost start
[2025-03-09 21:30:17] Production.INFO: call_cost end
[2025-03-09 21:30:18] Production.INFO: count ==1189
[2025-03-09 21:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:30:18] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:30:18] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:30:18] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:30:18] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:30:18] Production.INFO: ==28797== Releasing lock...
[2025-03-09 21:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:30:05 - End Time 2025-03-09 21:30:05
[2025-03-09 21:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644934', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644934', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644934', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644934', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:30:18] Production.INFO: ProcessCDR(1,14644934,1,1,2)
[2025-03-09 21:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644934', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644934', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:30:21] Production.INFO: ==28805== Releasing lock...
[2025-03-09 21:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:30:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:31:02] Production.INFO: ==28862== Lock acquired, processing the job...
[2025-03-10 01:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:31:02] Production.INFO: neon service started
[2025-03-10 01:31:02] Production.INFO: neon service started
[2025-03-10 01:31:02] Production.INFO: ==28862== Releasing lock...
[2025-03-10 01:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:31:02] Production.INFO: ==28864== Lock acquired, processing the job...
[2025-03-09 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:31:03] Production.INFO: ==28864== Releasing lock...
[2025-03-09 21:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:31:03] Production.INFO: ==28866== Lock acquired, processing the job...
[2025-03-10 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:31:03] Production.INFO: ==28866== Releasing lock...
[2025-03-10 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:31:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:31:03] Production.INFO: ==28871== Lock acquired, processing the job...
[2025-03-09 21:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:31:03] Production.INFO: ==28873== Lock acquired, processing the job...
[2025-03-09 21:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:31:03] Production.INFO: ==28879== Lock acquired, processing the job...
[2025-03-09 21:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:31:04] Production.INFO: ==28869== Lock acquired, processing the job...
[2025-03-09 21:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 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-03-09 21:31:04] Production.INFO: ==28871== Releasing lock...
[2025-03-09 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:31:04] Production.INFO: ==28875== Lock acquired, processing the job...
[2025-03-09 21:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:31:04] Production.INFO: count ==13
[2025-03-09 21:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 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-03-09 21:31:04] Production.INFO: ==28877== Lock acquired, processing the job...
[2025-03-09 21:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:31:04] Production.INFO: count ==21
[2025-03-09 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644938') start
[2025-03-09 21:31:04] Production.INFO: Account Balance Start.
[2025-03-09 21:31:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:31:04] Production.INFO: 117
[2025-03-09 21:31:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:31:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:31:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:31:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644938') end
[2025-03-09 21:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:31:04] Production.INFO: 1
[2025-03-09 21:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:31:04] Production.INFO: Total Charge 0
[2025-03-09 21:31:04] Production.INFO: ==28879== Releasing lock...
[2025-03-09 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:31:04] Production.INFO: CreateAllLog End
[2025-03-09 21:31:04] Production.ERROR: done
[2025-03-09 21:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:31:04] Production.ERROR: done
[2025-03-09 21:31:04] Production.INFO: Account Balance End.
[2025-03-09 21:31:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:31:05] Production.INFO: ==28875== Releasing lock...
[2025-03-09 21:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:31:06
[end_date_ymd] => 2025-03-09 21:31:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:31:06' and `end` < '2025-03-09 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-03-09 21:31:13] Production.ERROR: CronJobId end10
[2025-03-09 21:31:13] Production.INFO: ==28873== Releasing lock...
[2025-03-09 21:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:31:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:31:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:31:16] Production.INFO: call_cost start
[2025-03-09 21:31:16] Production.INFO: call_cost end
[2025-03-09 21:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:31:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:31:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:31:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:31:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:31:16] Production.INFO: ==28869== Releasing lock...
[2025-03-09 21:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:31:18] Production.INFO: count ==1157
[2025-03-09 21:31:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:31:06 - End Time 2025-03-09 21:31:06
[2025-03-09 21:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644941', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644941', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644941', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644941', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:31:18] Production.INFO: ProcessCDR(1,14644941,1,1,2)
[2025-03-09 21:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644941', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644941', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:31:21] Production.INFO: ==28877== Releasing lock...
[2025-03-09 21:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:31:21] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:32:01] Production.INFO: ==28931== Lock acquired, processing the job...
[2025-03-10 01:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:32:01] Production.INFO: neon service started
[2025-03-10 01:32:01] Production.INFO: neon service started
[2025-03-10 01:32:01] Production.INFO: ==28931== Releasing lock...
[2025-03-10 01:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:32:02] Production.INFO: ==28933== Lock acquired, processing the job...
[2025-03-09 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:32:02] Production.INFO: ==28935== Lock acquired, processing the job...
[2025-03-10 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:32:02] Production.INFO: ==28935== Releasing lock...
[2025-03-10 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:32:02] Production.INFO: ==28933== Releasing lock...
[2025-03-09 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:32:03] Production.INFO: ==28938== Lock acquired, processing the job...
[2025-03-09 21:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:32:03] Production.INFO: ==28940== Lock acquired, processing the job...
[2025-03-09 21:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:32:04] Production.INFO: ==28946== Lock acquired, processing the job...
[2025-03-09 21:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:32:04] Production.INFO: ==28940== Releasing lock...
[2025-03-09 21:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:32:04] Production.INFO: ==28942== Lock acquired, processing the job...
[2025-03-09 21:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:32:04] Production.INFO: ==28944== Lock acquired, processing the job...
[2025-03-09 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:32:04] Production.INFO: ==28948== Lock acquired, processing the job...
[2025-03-09 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:32:04] Production.INFO: Account Balance Start.
[2025-03-09 21:32:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:32:04] Production.INFO: 117
[2025-03-09 21: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-03-09 21:32:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:32:04] Production.INFO: count ==13
[2025-03-09 21:32:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:32:04] Production.ERROR: done
[2025-03-09 21: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-03-09 21:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:32:04] Production.INFO: count ==21
[2025-03-09 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644945') start
[2025-03-09 21:32:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:32:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:32:04] Production.INFO: Total Charge 0
[2025-03-09 21:32:04] Production.INFO: CreateAllLog End
[2025-03-09 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644945') end
[2025-03-09 21:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:32:04] Production.INFO: 1
[2025-03-09 21:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:32:04] Production.INFO: ==28948== Releasing lock...
[2025-03-09 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:32:04] Production.ERROR: done
[2025-03-09 21:32:04] Production.INFO: Account Balance End.
[2025-03-09 21:32:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:32:05] Production.INFO: ==28944== Releasing lock...
[2025-03-09 21:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:32:05
[end_date_ymd] => 2025-03-09 21:32:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:32:05' and `end` < '2025-03-09 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-03-09 21:32:12] Production.ERROR: CronJobId end10
[2025-03-09 21:32:12] Production.INFO: ==28942== Releasing lock...
[2025-03-09 21:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:32:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:32:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:32:14] Production.INFO: call_cost start
[2025-03-09 21:32:14] Production.INFO: call_cost end
[2025-03-09 21:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:32:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:32:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:32:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:32:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:32:15] Production.INFO: ==28938== Releasing lock...
[2025-03-09 21:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:32:18] Production.INFO: count ==1162
[2025-03-09 21:32:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:32:05 - End Time 2025-03-09 21:32:05
[2025-03-09 21:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644946', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644946', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644946', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644946', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:32:18] Production.INFO: ProcessCDR(1,14644946,1,1,2)
[2025-03-09 21:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644946', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644946', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:32:23] Production.INFO: ==28946== Releasing lock...
[2025-03-09 21:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:32:23] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:33:02] Production.INFO: ==29042== Lock acquired, processing the job...
[2025-03-10 01:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:33:02] Production.INFO: neon service started
[2025-03-10 01:33:02] Production.INFO: neon service started
[2025-03-10 01:33:02] Production.INFO: ==29042== Releasing lock...
[2025-03-10 01:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:33:02] Production.INFO: ==29044== Lock acquired, processing the job...
[2025-03-09 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:33:02] Production.INFO: ==29046== Lock acquired, processing the job...
[2025-03-10 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:33:02] Production.INFO: ==29046== Releasing lock...
[2025-03-10 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:33:03] Production.INFO: ==29044== Releasing lock...
[2025-03-09 21:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:33:04] Production.INFO: ==29053== Lock acquired, processing the job...
[2025-03-09 21:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:33:04] Production.INFO: ==29049== Lock acquired, processing the job...
[2025-03-09 21:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:33:04] Production.INFO: ==29051== Lock acquired, processing the job...
[2025-03-09 21:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:33:04] Production.INFO: ==29059== Lock acquired, processing the job...
[2025-03-09 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:33:04] Production.INFO: ==29055== Lock acquired, processing the job...
[2025-03-09 21:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 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-03-09 21:33:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:33:04] Production.INFO: count ==21
[2025-03-09 21:33:04] Production.INFO: ==29057== Lock acquired, processing the job...
[2025-03-09 21:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:33:04] Production.INFO: Account Balance Start.
[2025-03-09 21:33:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:33:04] Production.INFO: 117
[2025-03-09 21:33:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644948') start
[2025-03-09 21:33:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644948') end
[2025-03-09 21:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:33:04] Production.INFO: 1
[2025-03-09 21:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:33:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:33:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:33:04] Production.INFO: Total Charge 0
[2025-03-09 21:33:04] Production.INFO: ==29059== Releasing lock...
[2025-03-09 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:33:04] Production.INFO: CreateAllLog End
[2025-03-09 21:33:04] Production.INFO: ==29051== Releasing lock...
[2025-03-09 21:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:33:04] Production.ERROR: done
[2025-03-09 21:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:33:05] Production.ERROR: done
[2025-03-09 21:33:05] Production.INFO: Account Balance End.
[2025-03-09 21:33:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:33:05] Production.INFO: ==29055== Releasing lock...
[2025-03-09 21:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:33:05
[end_date_ymd] => 2025-03-09 21:33:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:33:05' and `end` < '2025-03-09 21: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-03-09 21:33:12] Production.ERROR: CronJobId end10
[2025-03-09 21:33:12] Production.INFO: ==29053== Releasing lock...
[2025-03-09 21:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:33:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:33:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:33:15] Production.INFO: call_cost start
[2025-03-09 21:33:15] Production.INFO: call_cost end
[2025-03-09 21:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:33:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:33:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:33:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:33:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:33:16] Production.INFO: ==29049== Releasing lock...
[2025-03-09 21:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:33:18] Production.INFO: count ==1165
[2025-03-09 21:33:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:33:05 - End Time 2025-03-09 21:33:05
[2025-03-09 21:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644951', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644951', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644951', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644951', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:33:18] Production.INFO: ProcessCDR(1,14644951,1,1,2)
[2025-03-09 21:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644951', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644951', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:33:23] Production.INFO: ==29057== Releasing lock...
[2025-03-09 21:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:33:23] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:34:01] Production.INFO: ==29118== Lock acquired, processing the job...
[2025-03-10 01:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:34:01] Production.INFO: neon service started
[2025-03-10 01:34:01] Production.INFO: neon service started
[2025-03-10 01:34:01] Production.INFO: ==29118== Releasing lock...
[2025-03-10 01:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:34:02] Production.INFO: ==29120== Lock acquired, processing the job...
[2025-03-09 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:34:02] Production.INFO: ==29120== Releasing lock...
[2025-03-09 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:34:02] Production.INFO: ==29122== Lock acquired, processing the job...
[2025-03-10 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:34:02] Production.INFO: ==29122== Releasing lock...
[2025-03-10 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:34:03] Production.INFO: ==29131== Lock acquired, processing the job...
[2025-03-09 21:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:34:03] Production.INFO: ==29135== Lock acquired, processing the job...
[2025-03-09 21:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:34:03] Production.INFO: Account Balance Start.
[2025-03-09 21:34:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:34:03] Production.INFO: 117
[2025-03-09 21:34:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:34:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:34:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:34:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:34:03] Production.INFO: Total Charge 0
[2025-03-09 21:34:03] Production.INFO: CreateAllLog End
[2025-03-09 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-03-09 21:34:03] Production.INFO: ==29125== Lock acquired, processing the job...
[2025-03-09 21:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:34:03] Production.INFO: ==29127== Lock acquired, processing the job...
[2025-03-09 21:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:34:03] Production.INFO: count ==13
[2025-03-09 21:34:03] Production.INFO: ==29129== Lock acquired, processing the job...
[2025-03-09 21:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 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-03-09 21:34:03] Production.INFO: count ==21
[2025-03-09 21:34:03] Production.INFO: ==29133== Lock acquired, processing the job...
[2025-03-09 21:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644953') start
[2025-03-09 21:34:03] Production.INFO: Account Balance End.
[2025-03-09 21:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:34:03] Production.ERROR: CronJobId end 12
[2025-03-09 21:34:03] Production.INFO: ==29131== Releasing lock...
[2025-03-09 21:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644953') end
[2025-03-09 21:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:34:03] Production.INFO: 1
[2025-03-09 21:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:34:03] Production.INFO: ==29135== Releasing lock...
[2025-03-09 21:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:34:04] Production.INFO: ==29127== Releasing lock...
[2025-03-09 21:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:34:04] Production.ERROR: done
[2025-03-09 21:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:34:04] Production.ERROR: done
[2025-03-09 21:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:34:05
[end_date_ymd] => 2025-03-09 21:34:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:34:05' and `end` < '2025-03-09 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-03-09 21:34:12] Production.ERROR: CronJobId end10
[2025-03-09 21:34:12] Production.INFO: ==29129== Releasing lock...
[2025-03-09 21:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:34:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:34:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:34:14] Production.INFO: call_cost start
[2025-03-09 21:34:14] Production.INFO: call_cost end
[2025-03-09 21:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:34:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:34:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:34:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:34:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:34:15] Production.INFO: ==29125== Releasing lock...
[2025-03-09 21:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:34:17] Production.INFO: count ==1166
[2025-03-09 21:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:34:05 - End Time 2025-03-09 21:34:05
[2025-03-09 21:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644956', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644956', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644956', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644956', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:34:17] Production.INFO: ProcessCDR(1,14644956,1,1,2)
[2025-03-09 21:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644956', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644956', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:34:21] Production.INFO: ==29133== Releasing lock...
[2025-03-09 21:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:34:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:35:02] Production.INFO: ==29196== Lock acquired, processing the job...
[2025-03-10 01:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:35:02] Production.INFO: neon service started
[2025-03-10 01:35:02] Production.INFO: neon service started
[2025-03-10 01:35:02] Production.INFO: ==29196== Releasing lock...
[2025-03-10 01:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:35:02] Production.INFO: ==29198== Lock acquired, processing the job...
[2025-03-09 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:35:02] Production.INFO: ==29198== Releasing lock...
[2025-03-09 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:35:02] Production.INFO: ==29200== Lock acquired, processing the job...
[2025-03-10 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:35:03] Production.INFO: ==29200== Releasing lock...
[2025-03-10 01:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:35:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:35:03] Production.INFO: ==29206== Lock acquired, processing the job...
[2025-03-09 21:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:35:03] Production.INFO: ==29211== Lock acquired, processing the job...
[2025-03-09 21:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:35:03] Production.INFO: ==29213== Lock acquired, processing the job...
[2025-03-09 21:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:35:04] Production.INFO: ==29202== Lock acquired, processing the job...
[2025-03-09 21:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 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-03-09 21:35:04] Production.INFO: ==29204== Lock acquired, processing the job...
[2025-03-09 21:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:35:04] Production.INFO: ==29209== Lock acquired, processing the job...
[2025-03-09 21:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:35:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:35:04] Production.INFO: count ==21
[2025-03-09 21:35:04] Production.ERROR: done
[2025-03-09 21:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644957') start
[2025-03-09 21:35:04] Production.INFO: Account Balance Start.
[2025-03-09 21:35:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:35:04] Production.INFO: 117
[2025-03-09 21:35:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:35:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:35:04] Production.ERROR: done
[2025-03-09 21:35:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:35:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644957') end
[2025-03-09 21:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:35:04] Production.INFO: 1
[2025-03-09 21:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:35:04] Production.INFO: Total Charge 0
[2025-03-09 21:35:04] Production.INFO: CreateAllLog End
[2025-03-09 21:35:04] Production.INFO: ==29213== Releasing lock...
[2025-03-09 21:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:35:04] Production.INFO: Account Balance End.
[2025-03-09 21:35:04] Production.INFO: ==29204== Releasing lock...
[2025-03-09 21:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:35:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:35:04] Production.INFO: ==29209== Releasing lock...
[2025-03-09 21:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:35:05
[end_date_ymd] => 2025-03-09 21:35:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:35:05' and `end` < '2025-03-09 21: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-03-09 21:35:11] Production.ERROR: CronJobId end10
[2025-03-09 21:35:11] Production.INFO: ==29206== Releasing lock...
[2025-03-09 21:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:35:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:35:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:35:14] Production.INFO: call_cost start
[2025-03-09 21:35:14] Production.INFO: call_cost end
[2025-03-09 21:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:35:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:35:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:35:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:35:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:35:15] Production.INFO: ==29202== Releasing lock...
[2025-03-09 21:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:35:17] Production.INFO: count ==1169
[2025-03-09 21:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:35:05 - End Time 2025-03-09 21:35:05
[2025-03-09 21:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644961', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644961', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644961', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644961', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:35:17] Production.INFO: ProcessCDR(1,14644961,1,1,2)
[2025-03-09 21:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644961', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644961', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:35:21] Production.INFO: ==29211== Releasing lock...
[2025-03-09 21:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:35:21] Production.INFO: 37 MB #Memory Used#
[2025-03-10 01:36:01] Production.INFO: ==29268== Lock acquired, processing the job...
[2025-03-10 01:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:36:01] Production.INFO: neon service started
[2025-03-10 01:36:01] Production.INFO: neon service started
[2025-03-10 01:36:01] Production.INFO: ==29268== Releasing lock...
[2025-03-10 01:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:36:02] Production.INFO: ==29270== Lock acquired, processing the job...
[2025-03-09 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:36:02] Production.INFO: ==29270== Releasing lock...
[2025-03-09 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:36:02] Production.INFO: ==29272== Lock acquired, processing the job...
[2025-03-10 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:36:02] Production.INFO: ==29272== Releasing lock...
[2025-03-10 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:36:03] Production.INFO: ==29274== Lock acquired, processing the job...
[2025-03-09 21:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:36:03] Production.INFO: ==29278== Lock acquired, processing the job...
[2025-03-09 21:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:36:03] Production.INFO: ==29276== Lock acquired, processing the job...
[2025-03-09 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:36:03] Production.INFO: ==29280== Lock acquired, processing the job...
[2025-03-09 21:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:36:03] Production.INFO: ==29282== Lock acquired, processing the job...
[2025-03-09 21:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:36:03] Production.INFO: ==29284== Lock acquired, processing the job...
[2025-03-09 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:36:03] Production.INFO: Account Balance Start.
[2025-03-09 21:36:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:36:03] Production.INFO: 117
[2025-03-09 21:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:36:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:36:03] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 21:36:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:36:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:36:03] Production.INFO: Total Charge 0
[2025-03-09 21:36:03] Production.INFO: CreateAllLog End
[2025-03-09 21:36:03] Production.INFO: count ==13
[2025-03-09 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-03-09 21:36:04] Production.INFO: count ==21
[2025-03-09 21:36:04] Production.INFO: ==29276== Releasing lock...
[2025-03-09 21:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644965') start
[2025-03-09 21:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:36:04] Production.ERROR: done
[2025-03-09 21:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644965') end
[2025-03-09 21:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:36:04] Production.INFO: 1
[2025-03-09 21:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:36:04] Production.INFO: Account Balance End.
[2025-03-09 21:36:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:36:04] Production.INFO: ==29284== Releasing lock...
[2025-03-09 21:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:36:04] Production.INFO: ==29280== Releasing lock...
[2025-03-09 21:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:36:04] Production.ERROR: done
[2025-03-09 21:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:36:05
[end_date_ymd] => 2025-03-09 21:36:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:36:05' and `end` < '2025-03-09 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-03-09 21:36:11] Production.ERROR: CronJobId end10
[2025-03-09 21:36:11] Production.INFO: ==29278== Releasing lock...
[2025-03-09 21:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:36:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:36:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:36:14] Production.INFO: call_cost start
[2025-03-09 21:36:14] Production.INFO: call_cost end
[2025-03-09 21:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:36:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:36:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:36:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:36:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:36:15] Production.INFO: ==29274== Releasing lock...
[2025-03-09 21:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:36:17] Production.INFO: count ==1166
[2025-03-09 21:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:36:05 - End Time 2025-03-09 21:36:05
[2025-03-09 21:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644966', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644966', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644966', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644966', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:36:17] Production.INFO: ProcessCDR(1,14644966,1,1,2)
[2025-03-09 21:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644966', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644966', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:36:20] Production.INFO: ==29282== Releasing lock...
[2025-03-09 21:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:36:20] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:37:02] Production.INFO: ==29345== Lock acquired, processing the job...
[2025-03-10 01:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:37:02] Production.INFO: neon service started
[2025-03-10 01:37:02] Production.INFO: neon service started
[2025-03-10 01:37:02] Production.INFO: ==29345== Releasing lock...
[2025-03-10 01:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:37:02] Production.INFO: ==29347== Lock acquired, processing the job...
[2025-03-09 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:37:02] Production.INFO: ==29349== Lock acquired, processing the job...
[2025-03-10 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:37:02] Production.INFO: ==29349== Releasing lock...
[2025-03-10 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:37:03] Production.INFO: ==29347== Releasing lock...
[2025-03-09 21:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:37:03] Production.INFO: ==29356== Lock acquired, processing the job...
[2025-03-09 21:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:37:04] Production.INFO: ==29354== Lock acquired, processing the job...
[2025-03-09 21:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:37:04] Production.INFO: ==29352== Lock acquired, processing the job...
[2025-03-09 21:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:37:04] Production.INFO: ==29360== Lock acquired, processing the job...
[2025-03-09 21:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:37:04] Production.INFO: ==29358== Lock acquired, processing the job...
[2025-03-09 21:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:37:04] Production.INFO: ==29362== Lock acquired, processing the job...
[2025-03-09 21:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:37:04] Production.INFO: Account Balance Start.
[2025-03-09 21:37:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:37:04] Production.INFO: 117
[2025-03-09 21:37:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:37:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:37:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:37:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 21:37:04] Production.INFO: Total Charge 0
[2025-03-09 21:37:04] Production.INFO: count ==13
[2025-03-09 21:37:04] Production.INFO: CreateAllLog End
[2025-03-09 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-03-09 21:37:04] Production.INFO: count ==21
[2025-03-09 21:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644970') start
[2025-03-09 21:37:04] Production.ERROR: done
[2025-03-09 21:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:37:04] Production.INFO: ==29354== Releasing lock...
[2025-03-09 21:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644970') end
[2025-03-09 21:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:37:04] Production.INFO: 1
[2025-03-09 21:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:37:04] Production.INFO: Account Balance End.
[2025-03-09 21:37:04] Production.ERROR: done
[2025-03-09 21:37:04] Production.INFO: ==29362== Releasing lock...
[2025-03-09 21:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:37:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:37:05] Production.INFO: ==29358== Releasing lock...
[2025-03-09 21:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:37:06
[end_date_ymd] => 2025-03-09 21:37:06
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:37:06' and `end` < '2025-03-09 21: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-03-09 21:37:11] Production.ERROR: CronJobId end10
[2025-03-09 21:37:11] Production.INFO: ==29356== Releasing lock...
[2025-03-09 21:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:37:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:37:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:37:14] Production.INFO: call_cost start
[2025-03-09 21:37:14] Production.INFO: call_cost end
[2025-03-09 21:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:37:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:37:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:37:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:37:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:37:15] Production.INFO: ==29352== Releasing lock...
[2025-03-09 21:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:37:18] Production.INFO: count ==1165
[2025-03-09 21:37:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:37:06 - End Time 2025-03-09 21:37:06
[2025-03-09 21:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644971', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644971', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644971', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644971', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:37:18] Production.INFO: ProcessCDR(1,14644971,1,1,2)
[2025-03-09 21:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644971', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644971', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:37:23] Production.INFO: ==29360== Releasing lock...
[2025-03-09 21:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:37:23] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:38:01] Production.INFO: ==29421== Lock acquired, processing the job...
[2025-03-10 01:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:38:01] Production.INFO: neon service started
[2025-03-10 01:38:01] Production.INFO: neon service started
[2025-03-10 01:38:01] Production.INFO: ==29421== Releasing lock...
[2025-03-10 01:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:38:02] Production.INFO: ==29425== Lock acquired, processing the job...
[2025-03-10 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:38:02] Production.INFO: ==29425== Releasing lock...
[2025-03-10 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:38:02] Production.INFO: ==29423== Lock acquired, processing the job...
[2025-03-09 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:38:02] Production.INFO: ==29423== Releasing lock...
[2025-03-09 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:38:03] Production.INFO: ==29434== Lock acquired, processing the job...
[2025-03-09 21:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:38:03] Production.INFO: ==29428== Lock acquired, processing the job...
[2025-03-09 21:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:38:03] Production.INFO: ==29438== Lock acquired, processing the job...
[2025-03-09 21:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:38:03] Production.INFO: ==29430== Lock acquired, processing the job...
[2025-03-09 21:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:38:03] Production.INFO: ==29432== Lock acquired, processing the job...
[2025-03-09 21:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:38:03] Production.INFO: Account Balance Start.
[2025-03-09 21:38:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:38:03] Production.INFO: 117
[2025-03-09 21:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 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-03-09 21:38:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:38:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:38:03] Production.INFO: count ==13
[2025-03-09 21:38:03] Production.INFO: ==29436== Lock acquired, processing the job...
[2025-03-09 21:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 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-03-09 21:38:03] Production.INFO: count ==21
[2025-03-09 21:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644975') start
[2025-03-09 21:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644975') end
[2025-03-09 21:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:38:04] Production.INFO: 1
[2025-03-09 21:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:38:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:38:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:38:04] Production.INFO: ==29430== Releasing lock...
[2025-03-09 21:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:38:04] Production.INFO: ==29438== Releasing lock...
[2025-03-09 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:38:04] Production.INFO: Total Charge 0
[2025-03-09 21:38:04] Production.INFO: CreateAllLog End
[2025-03-09 21:38:04] Production.ERROR: done
[2025-03-09 21:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:38:04] Production.ERROR: done
[2025-03-09 21:38:04] Production.INFO: Account Balance End.
[2025-03-09 21:38:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:38:04] Production.INFO: ==29434== Releasing lock...
[2025-03-09 21:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:38:05
[end_date_ymd] => 2025-03-09 21:38:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:38:05' and `end` < '2025-03-09 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-03-09 21:38:12] Production.ERROR: CronJobId end10
[2025-03-09 21:38:12] Production.INFO: ==29432== Releasing lock...
[2025-03-09 21:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:38:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:38:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:38:15] Production.INFO: call_cost start
[2025-03-09 21:38:15] Production.INFO: call_cost end
[2025-03-09 21:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:38:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:38:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:38:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:38:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:38:16] Production.INFO: ==29428== Releasing lock...
[2025-03-09 21:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:38:17] Production.INFO: count ==1163
[2025-03-09 21:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:38:05 - End Time 2025-03-09 21:38:05
[2025-03-09 21:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644976', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644976', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644976', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644976', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:38:18] Production.INFO: ProcessCDR(1,14644976,1,1,2)
[2025-03-09 21:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644976', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644976', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:38:21] Production.INFO: ==29436== Releasing lock...
[2025-03-09 21:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:38:21] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:39:02] Production.INFO: ==29496== Lock acquired, processing the job...
[2025-03-10 01:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:39:02] Production.INFO: neon service started
[2025-03-10 01:39:02] Production.INFO: neon service started
[2025-03-10 01:39:02] Production.INFO: ==29496== Releasing lock...
[2025-03-10 01:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:39:02] Production.INFO: ==29498== Lock acquired, processing the job...
[2025-03-09 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:39:02] Production.INFO: ==29500== Lock acquired, processing the job...
[2025-03-10 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:39:02] Production.INFO: ==29500== Releasing lock...
[2025-03-10 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:39:03] Production.INFO: ==29498== Releasing lock...
[2025-03-09 21:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:39:03] Production.INFO: ==29503== Lock acquired, processing the job...
[2025-03-09 21:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:39:03] Production.INFO: ==29509== Lock acquired, processing the job...
[2025-03-09 21:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:39:04] Production.INFO: ==29505== Lock acquired, processing the job...
[2025-03-09 21:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:39:04] Production.INFO: Account Balance Start.
[2025-03-09 21:39:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:39:04] Production.INFO: 117
[2025-03-09 21:39:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:39:04] Production.INFO: ==29507== Lock acquired, processing the job...
[2025-03-09 21:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:39:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:39:04] Production.INFO: ==29513== Lock acquired, processing the job...
[2025-03-09 21:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:39:04] Production.INFO: ==29511== Lock acquired, processing the job...
[2025-03-09 21:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:39:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:39:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:39:04] Production.INFO: Total Charge 0
[2025-03-09 21:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:39:04] Production.INFO: CreateAllLog End
[2025-03-09 21:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 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-03-09 21:39:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:39:04] Production.INFO: count ==21
[2025-03-09 21:39:04] Production.INFO: ==29505== Releasing lock...
[2025-03-09 21:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644980') start
[2025-03-09 21:39:04] Production.INFO: Account Balance End.
[2025-03-09 21:39:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:39:04] Production.INFO: ==29509== Releasing lock...
[2025-03-09 21:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:39:04] Production.ERROR: done
[2025-03-09 21:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644980') end
[2025-03-09 21:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:39:04] Production.INFO: 1
[2025-03-09 21:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:39:05] Production.INFO: ==29513== Releasing lock...
[2025-03-09 21:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:39:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:39:05] Production.ERROR: done
[2025-03-09 21:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:39:06
[end_date_ymd] => 2025-03-09 21:39:06
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:39:06' and `end` < '2025-03-09 21: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-03-09 21:39:13] Production.ERROR: CronJobId end10
[2025-03-09 21:39:13] Production.INFO: ==29507== Releasing lock...
[2025-03-09 21:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:39:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:39:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:39:14] Production.INFO: call_cost start
[2025-03-09 21:39:14] Production.INFO: call_cost end
[2025-03-09 21:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:39:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:39:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:39:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:39:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:39:15] Production.INFO: ==29503== Releasing lock...
[2025-03-09 21:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:39:18] Production.INFO: count ==1160
[2025-03-09 21:39:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:39:06 - End Time 2025-03-09 21:39:06
[2025-03-09 21:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644981', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644981', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644981', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644981', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:39:18] Production.INFO: ProcessCDR(1,14644981,1,1,2)
[2025-03-09 21:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644981', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644981', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:39:21] Production.INFO: ==29511== Releasing lock...
[2025-03-09 21:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:39:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:40:01] Production.INFO: ==29573== Lock acquired, processing the job...
[2025-03-10 01:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:40:01] Production.INFO: neon service started
[2025-03-10 01:40:01] Production.INFO: neon service started
[2025-03-10 01:40:01] Production.INFO: ==29573== Releasing lock...
[2025-03-10 01:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:40:01] Production.INFO: ==29577== Lock acquired, processing the job...
[2025-03-10 01:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:40:01] Production.INFO: ==29577== Releasing lock...
[2025-03-10 01:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:40:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:40:02] Production.INFO: ==29575== Lock acquired, processing the job...
[2025-03-09 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:40:02] Production.INFO: ==29575== Releasing lock...
[2025-03-09 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:40:03] Production.INFO: ==29588== Lock acquired, processing the job...
[2025-03-09 21:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:40:03] Production.INFO: ==29590== Lock acquired, processing the job...
[2025-03-09 21:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:40:03] Production.INFO: ==29582== Lock acquired, processing the job...
[2025-03-09 21:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:40:03] Production.INFO: ==29592== Lock acquired, processing the job...
[2025-03-09 21:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 21:40:03] Production.INFO: Account Balance Start.
[2025-03-09 21:40:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:40:03] Production.INFO: ==29580== Lock acquired, processing the job...
[2025-03-09 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 21:40:03] Production.INFO: 117
[2025-03-09 21:40:03] Production.INFO: ==29584== Lock acquired, processing the job...
[2025-03-09 21:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:40:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:40:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:40:04] Production.INFO: ==29586== Lock acquired, processing the job...
[2025-03-09 21:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 21:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 21:40:04] Production.ERROR: CronJob PID - 29582
[2025-03-09 21:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-09 21:40:04] Production.ERROR: CronJob ID - 5
[2025-03-09 21:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 21:40:00
[2025-03-09 21:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 21:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 21:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 21:40:04] Production.ERROR: CronJob PID - 29584
[2025-03-09 21:40:04] Production.ERROR: CronJob Title - Account Block
[2025-03-09 21:40:04] Production.ERROR: CronJob ID - 7
[2025-03-09 21:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 21:40:00
[2025-03-09 21:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 21:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 21:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 21:40:04] Production.ERROR: CronJob PID - 29588
[2025-03-09 21:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-09 21:40:04] Production.ERROR: CronJob ID - 12
[2025-03-09 21:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 21:40:00
[2025-03-09 21:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 21:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 21:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 21:40:04] Production.ERROR: CronJob PID - 29590
[2025-03-09 21:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-09 21:40:04] Production.ERROR: CronJob ID - 16
[2025-03-09 21:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 21:40:00
[2025-03-09 21:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 21:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 21:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 21:40:04] Production.ERROR: CronJob PID - 29592
[2025-03-09 21:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-09 21:40:04] Production.ERROR: CronJob ID - 17
[2025-03-09 21:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 21:40:00
[2025-03-09 21:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 21:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 21:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:40:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:40:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:40:04] Production.INFO: ==29594== Lock acquired, processing the job...
[2025-03-09 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:40:04] Production.INFO: Total Charge 0
[2025-03-09 21:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 21:40:04] Production.INFO: ==29580== Releasing lock...
[2025-03-09 21:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 21:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 21:40:04] Production.ERROR: done
[2025-03-09 21:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:40:04] Production.INFO: CreateAllLog End
[2025-03-09 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-03-09 21:40:04] Production.ERROR: done
[2025-03-09 21:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 21:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644986', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 21:40:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:40:04] Production.INFO: count ==21
[2025-03-09 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644985') start
[2025-03-09 21:40:04] Production.ERROR: done
[2025-03-09 21:40:04] Production.INFO: ==29584== Releasing lock...
[2025-03-09 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:40:04] Production.INFO: Account Balance End.
[2025-03-09 21:40:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:40:04] Production.INFO: ==29588== Releasing lock...
[2025-03-09 21:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644985') end
[2025-03-09 21:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:40:04] Production.INFO: 1
[2025-03-09 21:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:40:04] Production.INFO: ==29594== Releasing lock...
[2025-03-09 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:40:05
[end_date_ymd] => 2025-03-09 21:40:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:40:05' and `end` < '2025-03-09 21: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-03-09 21:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14644986', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 21:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 21:40:08] Production.INFO: ProcessCDR(1,14644986,1,1,2)
[2025-03-09 21:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14644986,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14644986,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:40:08] Production.INFO: ==29592== Releasing lock...
[2025-03-09 21:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 21:40:08] Production.INFO: 26 MB #Memory Used#
[2025-03-09 21:40:14] Production.ERROR: CronJobId end10
[2025-03-09 21:40:14] Production.INFO: ==29586== Releasing lock...
[2025-03-09 21:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:40:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:40:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:40:16] Production.INFO: call_cost start
[2025-03-09 21:40:16] Production.INFO: call_cost end
[2025-03-09 21:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:40:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:40:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:40:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:40:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:40:17] Production.INFO: ==29582== Releasing lock...
[2025-03-09 21:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:40:18] Production.INFO: count ==1169
[2025-03-09 21:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:40:05 - End Time 2025-03-09 21:40:05
[2025-03-09 21:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644987', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644987', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644987', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644987', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:40:18] Production.INFO: ProcessCDR(1,14644987,1,1,2)
[2025-03-09 21:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644987', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644987', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:40:23] Production.INFO: ==29590== Releasing lock...
[2025-03-09 21:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:40:23] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:41:01] Production.INFO: ==29651== Lock acquired, processing the job...
[2025-03-10 01:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:41:01] Production.INFO: neon service started
[2025-03-10 01:41:01] Production.INFO: neon service started
[2025-03-10 01:41:01] Production.INFO: ==29651== Releasing lock...
[2025-03-10 01:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:41:02] Production.INFO: ==29655== Lock acquired, processing the job...
[2025-03-10 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:41:02] Production.INFO: ==29655== Releasing lock...
[2025-03-10 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:41:02] Production.INFO: ==29653== Lock acquired, processing the job...
[2025-03-09 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:41:02] Production.INFO: ==29653== Releasing lock...
[2025-03-09 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:41:03] Production.INFO: ==29666== Lock acquired, processing the job...
[2025-03-09 21:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:41:03] Production.INFO: ==29664== Lock acquired, processing the job...
[2025-03-09 21:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:41:03] Production.INFO: Account Balance Start.
[2025-03-09 21:41:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:41:03] Production.INFO: 117
[2025-03-09 21:41:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:41:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:41:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:41:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:41:03] Production.INFO: Total Charge 0
[2025-03-09 21:41:03] Production.INFO: CreateAllLog End
[2025-03-09 21:41:03] Production.INFO: ==29658== Lock acquired, processing the job...
[2025-03-09 21:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:41:03] Production.INFO: ==29660== Lock acquired, processing the job...
[2025-03-09 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:41:04] Production.INFO: ==29662== Lock acquired, processing the job...
[2025-03-09 21:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:41:04] Production.INFO: ==29668== Lock acquired, processing the job...
[2025-03-09 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:41:04] Production.ERROR: done
[2025-03-09 21:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:41:04] Production.ERROR: done
[2025-03-09 21:41:04] Production.INFO: Account Balance End.
[2025-03-09 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-03-09 21:41:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:41:04] Production.INFO: ==29664== Releasing lock...
[2025-03-09 21:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:41:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:41:04] Production.INFO: count ==21
[2025-03-09 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644991') start
[2025-03-09 21:41:04] Production.INFO: ==29660== Releasing lock...
[2025-03-09 21:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644991') end
[2025-03-09 21:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:41:04] Production.INFO: 1
[2025-03-09 21:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:41:04] Production.INFO: ==29668== Releasing lock...
[2025-03-09 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:41:05
[end_date_ymd] => 2025-03-09 21:41:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:41:05' and `end` < '2025-03-09 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-03-09 21:41:12] Production.ERROR: CronJobId end10
[2025-03-09 21:41:12] Production.INFO: ==29662== Releasing lock...
[2025-03-09 21:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:41:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:41:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:41:15] Production.INFO: call_cost start
[2025-03-09 21:41:15] Production.INFO: call_cost end
[2025-03-09 21:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:41:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:41:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:41:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:41:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:41:16] Production.INFO: ==29658== Releasing lock...
[2025-03-09 21:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:41:17] Production.INFO: count ==1177
[2025-03-09 21:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:41:05 - End Time 2025-03-09 21:41:05
[2025-03-09 21:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644992', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644992', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644992', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644992', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:41:17] Production.INFO: ProcessCDR(1,14644992,1,1,2)
[2025-03-09 21:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644992', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644992', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:41:22] Production.INFO: ==29666== Releasing lock...
[2025-03-09 21:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:41:22] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:42:01] Production.INFO: ==29736== Lock acquired, processing the job...
[2025-03-10 01:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:42:01] Production.INFO: neon service started
[2025-03-10 01:42:01] Production.INFO: neon service started
[2025-03-10 01:42:01] Production.INFO: ==29736== Releasing lock...
[2025-03-10 01:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:42:01] Production.INFO: ==29740== Lock acquired, processing the job...
[2025-03-10 01:42:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:42:01] Production.INFO: ==29740== Releasing lock...
[2025-03-10 01:42:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:42:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:42:02] Production.INFO: ==29738== Lock acquired, processing the job...
[2025-03-09 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:42:02] Production.INFO: ==29738== Releasing lock...
[2025-03-09 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:42:03] Production.INFO: ==29744== Lock acquired, processing the job...
[2025-03-09 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:42:03] Production.INFO: ==29748== Lock acquired, processing the job...
[2025-03-09 21:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:42:03] Production.INFO: ==29753== Lock acquired, processing the job...
[2025-03-09 21:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:42:03] Production.INFO: Account Balance Start.
[2025-03-09 21:42:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:42:03] Production.INFO: 117
[2025-03-09 21:42:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:42:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:42:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:42:03] Production.INFO: Reseller ==> 0
[2025-03-09 21: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-03-09 21:42:03] Production.INFO: Total Charge 0
[2025-03-09 21:42:03] Production.INFO: CreateAllLog End
[2025-03-09 21:42:03] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:42:03] Production.INFO: count ==21
[2025-03-09 21:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644995') start
[2025-03-09 21:42:03] Production.INFO: ==29746== Lock acquired, processing the job...
[2025-03-09 21:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:42:03] Production.INFO: ==29742== Lock acquired, processing the job...
[2025-03-09 21:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:42:03] Production.INFO: ==29744== Releasing lock...
[2025-03-09 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:42:03] Production.INFO: ==29750== Lock acquired, processing the job...
[2025-03-09 21:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14644995') end
[2025-03-09 21:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:42:03] Production.INFO: 1
[2025-03-09 21:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:42:03] Production.INFO: Account Balance End.
[2025-03-09 21:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:42:03] Production.INFO: ==29753== Releasing lock...
[2025-03-09 21:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:42:03] Production.ERROR: CronJobId end 12
[2025-03-09 21:42:03] Production.INFO: ==29748== Releasing lock...
[2025-03-09 21:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:42:04] Production.ERROR: done
[2025-03-09 21:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:42:04] Production.ERROR: done
[2025-03-09 21:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:42:05
[end_date_ymd] => 2025-03-09 21:42:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:42:05' and `end` < '2025-03-09 21: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-03-09 21:42:11] Production.ERROR: CronJobId end10
[2025-03-09 21:42:11] Production.INFO: ==29746== Releasing lock...
[2025-03-09 21:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:42:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:42:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:42:14] Production.INFO: call_cost start
[2025-03-09 21:42:14] Production.INFO: call_cost end
[2025-03-09 21:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:42:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:42:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:42:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:42:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:42:15] Production.INFO: ==29742== Releasing lock...
[2025-03-09 21:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:42:17] Production.INFO: count ==1169
[2025-03-09 21:42:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:42:05 - End Time 2025-03-09 21:42:05
[2025-03-09 21:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644997', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14644997', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644997', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14644997', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:42:17] Production.INFO: ProcessCDR(1,14644997,1,1,2)
[2025-03-09 21:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14644997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14644997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14644997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14644997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644997', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14644997', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:42:21] Production.INFO: ==29750== Releasing lock...
[2025-03-09 21:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:42:21] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:43:01] Production.INFO: ==29814== Lock acquired, processing the job...
[2025-03-10 01:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:43:01] Production.INFO: neon service started
[2025-03-10 01:43:01] Production.INFO: neon service started
[2025-03-10 01:43:01] Production.INFO: ==29814== Releasing lock...
[2025-03-10 01:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:43:02] Production.INFO: ==29816== Lock acquired, processing the job...
[2025-03-09 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:43:02] Production.INFO: ==29818== Lock acquired, processing the job...
[2025-03-10 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:43:02] Production.INFO: ==29818== Releasing lock...
[2025-03-10 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:43:03] Production.INFO: ==29816== Releasing lock...
[2025-03-09 21:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:43:03] Production.INFO: ==29825== Lock acquired, processing the job...
[2025-03-09 21:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:43:04] Production.INFO: ==29831== Lock acquired, processing the job...
[2025-03-09 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 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-03-09 21:43:04] Production.INFO: count ==13
[2025-03-09 21:43:04] Production.INFO: ==29821== Lock acquired, processing the job...
[2025-03-09 21:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 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-03-09 21:43:04] Production.INFO: count ==21
[2025-03-09 21:43:04] Production.INFO: ==29823== Lock acquired, processing the job...
[2025-03-09 21:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644998') start
[2025-03-09 21:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:43:04] Production.INFO: ==29827== Lock acquired, processing the job...
[2025-03-09 21:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:43:04] Production.INFO: ==29829== Lock acquired, processing the job...
[2025-03-09 21:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14644998') end
[2025-03-09 21:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:43:04] Production.INFO: 1
[2025-03-09 21:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:43:04] Production.INFO: ==29831== Releasing lock...
[2025-03-09 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:43:04] Production.INFO: Account Balance Start.
[2025-03-09 21:43:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:43:04] Production.INFO: 117
[2025-03-09 21:43:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:43:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:43:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:43:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:43:04] Production.INFO: Total Charge 0
[2025-03-09 21:43:04] Production.INFO: CreateAllLog End
[2025-03-09 21:43:04] Production.INFO: ==29823== Releasing lock...
[2025-03-09 21:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:43:04] Production.ERROR: done
[2025-03-09 21:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:43:04] Production.ERROR: done
[2025-03-09 21:43:04] Production.INFO: Account Balance End.
[2025-03-09 21:43:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:43:05] Production.INFO: ==29827== Releasing lock...
[2025-03-09 21:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:43:05
[end_date_ymd] => 2025-03-09 21:43:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:43:05' and `end` < '2025-03-09 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-03-09 21:43:12] Production.ERROR: CronJobId end10
[2025-03-09 21:43:12] Production.INFO: ==29825== Releasing lock...
[2025-03-09 21:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:43:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:43:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:43:15] Production.INFO: call_cost start
[2025-03-09 21:43:15] Production.INFO: call_cost end
[2025-03-09 21:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:43:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:43:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:43:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:43:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:43:16] Production.INFO: ==29821== Releasing lock...
[2025-03-09 21:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:43:18] Production.INFO: count ==1167
[2025-03-09 21:43:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:43:05 - End Time 2025-03-09 21:43:05
[2025-03-09 21:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645002', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645002', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645002', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645002', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:43:18] Production.INFO: ProcessCDR(1,14645002,1,1,2)
[2025-03-09 21:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645002', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645002', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:43:21] Production.INFO: ==29829== Releasing lock...
[2025-03-09 21:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:43:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:44:01] Production.INFO: ==29893== Lock acquired, processing the job...
[2025-03-10 01:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:44:01] Production.INFO: neon service started
[2025-03-10 01:44:01] Production.INFO: neon service started
[2025-03-10 01:44:01] Production.INFO: ==29893== Releasing lock...
[2025-03-10 01:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:44:02] Production.INFO: ==29895== Lock acquired, processing the job...
[2025-03-09 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:44:02] Production.INFO: ==29897== Lock acquired, processing the job...
[2025-03-10 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:44:02] Production.INFO: ==29897== Releasing lock...
[2025-03-10 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:44:02] Production.INFO: ==29895== Releasing lock...
[2025-03-09 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:44:03] Production.INFO: ==29900== Lock acquired, processing the job...
[2025-03-09 21:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:44:03] Production.INFO: ==29902== Lock acquired, processing the job...
[2025-03-09 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:44:03] Production.INFO: ==29910== Lock acquired, processing the job...
[2025-03-09 21:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21: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-03-09 21:44:03] Production.INFO: ==29904== Lock acquired, processing the job...
[2025-03-09 21:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:44:03] Production.INFO: ==29902== Releasing lock...
[2025-03-09 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:44:03] Production.INFO: ==29906== Lock acquired, processing the job...
[2025-03-09 21:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:44:03] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:44:03] Production.INFO: count ==21
[2025-03-09 21:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645005') start
[2025-03-09 21:44:03] Production.INFO: ==29908== Lock acquired, processing the job...
[2025-03-09 21:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:44:03] Production.INFO: Account Balance Start.
[2025-03-09 21:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645005') end
[2025-03-09 21:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:44:03] Production.INFO: 1
[2025-03-09 21:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:44:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:44:03] Production.INFO: 117
[2025-03-09 21:44:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:44:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:44:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:44:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:44:03] Production.INFO: Total Charge 0
[2025-03-09 21:44:03] Production.INFO: CreateAllLog End
[2025-03-09 21:44:03] Production.INFO: ==29910== Releasing lock...
[2025-03-09 21:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:44:04] Production.ERROR: done
[2025-03-09 21:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:44:04] Production.INFO: Account Balance End.
[2025-03-09 21:44:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:44:04] Production.INFO: ==29906== Releasing lock...
[2025-03-09 21:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:44:04] Production.ERROR: done
[2025-03-09 21:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:44:05
[end_date_ymd] => 2025-03-09 21:44:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:44:05' and `end` < '2025-03-09 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-03-09 21:44:11] Production.ERROR: CronJobId end10
[2025-03-09 21:44:11] Production.INFO: ==29904== Releasing lock...
[2025-03-09 21:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:44:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:44:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:44:13] Production.INFO: call_cost start
[2025-03-09 21:44:13] Production.INFO: call_cost end
[2025-03-09 21:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:44:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:44:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:44:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:44:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:44:14] Production.INFO: ==29900== Releasing lock...
[2025-03-09 21:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:44:17] Production.INFO: count ==1164
[2025-03-09 21:44:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:44:05 - End Time 2025-03-09 21:44:05
[2025-03-09 21:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645007', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645007', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645007', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645007', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:44:17] Production.INFO: ProcessCDR(1,14645007,1,1,2)
[2025-03-09 21:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645007', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645007', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:44:21] Production.INFO: ==29908== Releasing lock...
[2025-03-09 21:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:44:21] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:45:01] Production.INFO: ==29970== Lock acquired, processing the job...
[2025-03-10 01:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:45:01] Production.INFO: neon service started
[2025-03-10 01:45:01] Production.INFO: neon service started
[2025-03-10 01:45:01] Production.INFO: ==29970== Releasing lock...
[2025-03-10 01:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:45:02] Production.INFO: ==29974== Lock acquired, processing the job...
[2025-03-10 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:45:02] Production.INFO: ==29974== Releasing lock...
[2025-03-10 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:45:02] Production.INFO: ==29972== Lock acquired, processing the job...
[2025-03-09 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:45:02] Production.INFO: ==29972== Releasing lock...
[2025-03-09 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:45:03] Production.INFO: ==29977== Lock acquired, processing the job...
[2025-03-09 21:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:45:03] Production.INFO: ==29981== Lock acquired, processing the job...
[2025-03-09 21:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:45:03] Production.INFO: ==29985== Lock acquired, processing the job...
[2025-03-09 21:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:45:03] Production.INFO: ==29979== Lock acquired, processing the job...
[2025-03-09 21:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:45:03] Production.INFO: ==29983== Lock acquired, processing the job...
[2025-03-09 21:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:45:03] Production.INFO: ==29987== Lock acquired, processing the job...
[2025-03-09 21:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:45:03] Production.INFO: Account Balance Start.
[2025-03-09 21:45:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:45:03] Production.INFO: 117
[2025-03-09 21:45:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:45:03] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 21:45:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:45:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:45:03] Production.INFO: count ==13
[2025-03-09 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-03-09 21:45:03] Production.INFO: count ==21
[2025-03-09 21:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645011') start
[2025-03-09 21:45:03] Production.INFO: Total Charge 0
[2025-03-09 21:45:03] Production.INFO: CreateAllLog End
[2025-03-09 21:45:04] Production.ERROR: done
[2025-03-09 21:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645011') end
[2025-03-09 21:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:45:04] Production.INFO: 1
[2025-03-09 21:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:45:04] Production.INFO: ==29987== Releasing lock...
[2025-03-09 21:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:45:04] Production.ERROR: done
[2025-03-09 21:45:04] Production.INFO: Account Balance End.
[2025-03-09 21:45:04] Production.INFO: ==29979== Releasing lock...
[2025-03-09 21:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:45:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:45:04] Production.INFO: ==29983== Releasing lock...
[2025-03-09 21:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:45:05
[end_date_ymd] => 2025-03-09 21:45:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:45:05' and `end` < '2025-03-09 21: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-03-09 21:45:11] Production.ERROR: CronJobId end10
[2025-03-09 21:45:11] Production.INFO: ==29981== Releasing lock...
[2025-03-09 21:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:45:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:45:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:45:13] Production.INFO: call_cost start
[2025-03-09 21:45:13] Production.INFO: call_cost end
[2025-03-09 21:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:45:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:45:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:45:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:45:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:45:14] Production.INFO: ==29977== Releasing lock...
[2025-03-09 21:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:45:17] Production.INFO: count ==1166
[2025-03-09 21:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:45:05 - End Time 2025-03-09 21:45:05
[2025-03-09 21:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645012', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645012', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645012', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645012', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:45:17] Production.INFO: ProcessCDR(1,14645012,1,1,2)
[2025-03-09 21:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645012', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645012', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:45:20] Production.INFO: ==29985== Releasing lock...
[2025-03-09 21:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:45:20] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:46:02] Production.INFO: ==30052== Lock acquired, processing the job...
[2025-03-10 01:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:46:02] Production.INFO: neon service started
[2025-03-10 01:46:02] Production.INFO: neon service started
[2025-03-10 01:46:02] Production.INFO: ==30052== Releasing lock...
[2025-03-10 01:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:46:02] Production.INFO: ==30054== Lock acquired, processing the job...
[2025-03-09 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:46:03] Production.INFO: ==30054== Releasing lock...
[2025-03-09 21:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:46:03] Production.INFO: ==30056== Lock acquired, processing the job...
[2025-03-10 01:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:46:03] Production.INFO: ==30056== Releasing lock...
[2025-03-10 01:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:46:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:46:03] Production.INFO: ==30059== Lock acquired, processing the job...
[2025-03-09 21:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:46:04] Production.INFO: ==30061== Lock acquired, processing the job...
[2025-03-09 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:46:04] Production.INFO: ==30063== Lock acquired, processing the job...
[2025-03-09 21:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:46:04] Production.INFO: ==30065== Lock acquired, processing the job...
[2025-03-09 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:46:04] Production.INFO: ==30069== Lock acquired, processing the job...
[2025-03-09 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:46:04] Production.INFO: ==30067== Lock acquired, processing the job...
[2025-03-09 21:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:46:04] Production.INFO: Account Balance Start.
[2025-03-09 21:46:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:46:04] Production.INFO: 117
[2025-03-09 21:46:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:46:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:46:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:46:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 21:46:04] Production.INFO: Total Charge 0
[2025-03-09 21:46:04] Production.INFO: CreateAllLog End
[2025-03-09 21:46:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:46:04] Production.INFO: ==30061== Releasing lock...
[2025-03-09 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:46:04] Production.INFO: count ==21
[2025-03-09 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645016') start
[2025-03-09 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645016') end
[2025-03-09 21:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:46:04] Production.INFO: 1
[2025-03-09 21:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:46:04] Production.ERROR: done
[2025-03-09 21:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:46:04] Production.INFO: ==30069== Releasing lock...
[2025-03-09 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:46:04] Production.INFO: Account Balance End.
[2025-03-09 21:46:04] Production.ERROR: done
[2025-03-09 21:46:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:46:05] Production.INFO: ==30065== Releasing lock...
[2025-03-09 21:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:46:06
[end_date_ymd] => 2025-03-09 21:46:06
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:46:06' and `end` < '2025-03-09 21: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-03-09 21:46:12] Production.ERROR: CronJobId end10
[2025-03-09 21:46:12] Production.INFO: ==30063== Releasing lock...
[2025-03-09 21:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:46:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:46:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:46:15] Production.INFO: call_cost start
[2025-03-09 21:46:15] Production.INFO: call_cost end
[2025-03-09 21:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:46:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:46:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:46:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:46:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:46:16] Production.INFO: ==30059== Releasing lock...
[2025-03-09 21:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:46:18] Production.INFO: count ==1165
[2025-03-09 21:46:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:46:06 - End Time 2025-03-09 21:46:06
[2025-03-09 21:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645017', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645017', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645017', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645017', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:46:18] Production.INFO: ProcessCDR(1,14645017,1,1,2)
[2025-03-09 21:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645017', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645017', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:46:21] Production.INFO: ==30067== Releasing lock...
[2025-03-09 21:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:46:21] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:47:01] Production.INFO: ==30131== Lock acquired, processing the job...
[2025-03-10 01:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:47:01] Production.INFO: neon service started
[2025-03-10 01:47:01] Production.INFO: neon service started
[2025-03-10 01:47:01] Production.INFO: ==30131== Releasing lock...
[2025-03-10 01:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:47:02] Production.INFO: ==30136== Lock acquired, processing the job...
[2025-03-10 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 21:47:02] Production.INFO: ==30134== Lock acquired, processing the job...
[2025-03-09 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:47:02] Production.INFO: ==30136== Releasing lock...
[2025-03-10 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:47:02] Production.INFO: ==30134== Releasing lock...
[2025-03-09 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:47:03] Production.INFO: ==30140== Lock acquired, processing the job...
[2025-03-09 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:47:03] Production.INFO: ==30142== Lock acquired, processing the job...
[2025-03-09 21:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:47:03] Production.INFO: ==30146== Lock acquired, processing the job...
[2025-03-09 21:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:47:03] Production.INFO: ==30138== Lock acquired, processing the job...
[2025-03-09 21:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:47:03] Production.INFO: ==30140== Releasing lock...
[2025-03-09 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:47:04] Production.INFO: ==30144== Lock acquired, processing the job...
[2025-03-09 21:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:47:04] Production.INFO: ==30148== Lock acquired, processing the job...
[2025-03-09 21:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:47:04] Production.INFO: Account Balance Start.
[2025-03-09 21:47:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:47:04] Production.INFO: 117
[2025-03-09 21:47:04] Production.ERROR: done
[2025-03-09 21:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21: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-03-09 21:47:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:47:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:47:04] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:47:04] Production.INFO: count ==21
[2025-03-09 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645021') start
[2025-03-09 21:47:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:47:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:47:04] Production.ERROR: done
[2025-03-09 21:47:04] Production.INFO: Total Charge 0
[2025-03-09 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645021') end
[2025-03-09 21:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:47:04] Production.INFO: 1
[2025-03-09 21:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:47:04] Production.INFO: CreateAllLog End
[2025-03-09 21:47:04] Production.INFO: ==30148== Releasing lock...
[2025-03-09 21:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:47:05] Production.INFO: Account Balance End.
[2025-03-09 21:47:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:47:05] Production.INFO: ==30144== Releasing lock...
[2025-03-09 21:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:47:05
[end_date_ymd] => 2025-03-09 21:47:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:47:05' and `end` < '2025-03-09 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-03-09 21:47:12] Production.ERROR: CronJobId end10
[2025-03-09 21:47:12] Production.INFO: ==30142== Releasing lock...
[2025-03-09 21:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:47:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:47:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:47:15] Production.INFO: call_cost start
[2025-03-09 21:47:15] Production.INFO: call_cost end
[2025-03-09 21:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:47:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:47:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:47:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:47:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:47:16] Production.INFO: ==30138== Releasing lock...
[2025-03-09 21:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:47:17] Production.INFO: count ==1162
[2025-03-09 21:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:47:05 - End Time 2025-03-09 21:47:05
[2025-03-09 21:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645022', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645022', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645022', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645022', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:47:18] Production.INFO: ProcessCDR(1,14645022,1,1,2)
[2025-03-09 21:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645022', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645022', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:47:21] Production.INFO: ==30146== Releasing lock...
[2025-03-09 21:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:47:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:48:02] Production.INFO: ==30250== Lock acquired, processing the job...
[2025-03-10 01:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:48:02] Production.INFO: neon service started
[2025-03-10 01:48:02] Production.INFO: neon service started
[2025-03-10 01:48:02] Production.INFO: ==30250== Releasing lock...
[2025-03-10 01:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:48:02] Production.INFO: ==30254== Lock acquired, processing the job...
[2025-03-10 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:48:02] Production.INFO: ==30254== Releasing lock...
[2025-03-10 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:48:02] Production.INFO: ==30252== Lock acquired, processing the job...
[2025-03-09 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:48:03] Production.INFO: ==30252== Releasing lock...
[2025-03-09 21:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:48:03] Production.INFO: ==30257== Lock acquired, processing the job...
[2025-03-09 21:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:48:04] Production.INFO: ==30263== Lock acquired, processing the job...
[2025-03-09 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:48:04] Production.INFO: ==30265== Lock acquired, processing the job...
[2025-03-09 21:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:48:04] Production.INFO: Account Balance Start.
[2025-03-09 21:48:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:48:04] Production.INFO: 117
[2025-03-09 21:48:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:48:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:48:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:48:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:48:04] Production.INFO: Total Charge 0
[2025-03-09 21:48:04] Production.INFO: ==30259== Lock acquired, processing the job...
[2025-03-09 21:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:48:04] Production.INFO: CreateAllLog End
[2025-03-09 21:48:04] Production.INFO: ==30261== Lock acquired, processing the job...
[2025-03-09 21:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:48:04] Production.INFO: ==30267== Lock acquired, processing the job...
[2025-03-09 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:48:04] Production.INFO: Account Balance End.
[2025-03-09 21:48:04] Production.ERROR: done
[2025-03-09 21:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:48:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:48:04] Production.INFO: ==30263== Releasing lock...
[2025-03-09 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 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-03-09 21:48:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:48:04] Production.INFO: count ==21
[2025-03-09 21:48:04] Production.ERROR: done
[2025-03-09 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645026') start
[2025-03-09 21:48:04] Production.INFO: ==30259== Releasing lock...
[2025-03-09 21:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645026') end
[2025-03-09 21:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:48:04] Production.INFO: 1
[2025-03-09 21:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:48:04] Production.INFO: ==30267== Releasing lock...
[2025-03-09 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:48:05
[end_date_ymd] => 2025-03-09 21:48:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:48:05' and `end` < '2025-03-09 21: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-03-09 21:48:13] Production.ERROR: CronJobId end10
[2025-03-09 21:48:13] Production.INFO: ==30261== Releasing lock...
[2025-03-09 21:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:48:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:48:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:48:15] Production.INFO: call_cost start
[2025-03-09 21:48:15] Production.INFO: call_cost end
[2025-03-09 21:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:48:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:48:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:48:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:48:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:48:16] Production.INFO: ==30257== Releasing lock...
[2025-03-09 21:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:48:17] Production.INFO: count ==1159
[2025-03-09 21:48:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:48:05 - End Time 2025-03-09 21:48:05
[2025-03-09 21:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645027', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645027', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645027', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645027', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:48:18] Production.INFO: ProcessCDR(1,14645027,1,1,2)
[2025-03-09 21:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645027', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645027', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:48:21] Production.INFO: ==30265== Releasing lock...
[2025-03-09 21:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:48:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:49:01] Production.INFO: ==30334== Lock acquired, processing the job...
[2025-03-10 01:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:49:01] Production.INFO: neon service started
[2025-03-10 01:49:01] Production.INFO: neon service started
[2025-03-10 01:49:01] Production.INFO: ==30334== Releasing lock...
[2025-03-10 01:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:49:02] Production.INFO: ==30338== Lock acquired, processing the job...
[2025-03-10 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:49:02] Production.INFO: ==30338== Releasing lock...
[2025-03-10 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:49:02] Production.INFO: ==30336== Lock acquired, processing the job...
[2025-03-09 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:49:02] Production.INFO: ==30336== Releasing lock...
[2025-03-09 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:49:03] Production.INFO: ==30341== Lock acquired, processing the job...
[2025-03-09 21:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:49:03] Production.INFO: ==30343== Lock acquired, processing the job...
[2025-03-09 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:49:03] Production.INFO: ==30347== Lock acquired, processing the job...
[2025-03-09 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:49:03] Production.INFO: ==30345== Lock acquired, processing the job...
[2025-03-09 21:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:49:03] Production.INFO: Account Balance Start.
[2025-03-09 21:49:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:49:03] Production.INFO: 117
[2025-03-09 21:49:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:49:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:49:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:49:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:49:03] Production.INFO: Total Charge 0
[2025-03-09 21:49:03] Production.INFO: CreateAllLog End
[2025-03-09 21:49:03] Production.INFO: ==30349== Lock acquired, processing the job...
[2025-03-09 21:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:49:03] Production.INFO: ==30343== Releasing lock...
[2025-03-09 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:49:03] Production.INFO: ==30351== Lock acquired, processing the job...
[2025-03-09 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:49:04] Production.INFO: Account Balance End.
[2025-03-09 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-03-09 21:49:04] Production.INFO: count ==13
[2025-03-09 21:49:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:49:04] Production.INFO: ==30347== Releasing lock...
[2025-03-09 21:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 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-03-09 21:49:04] Production.INFO: count ==21
[2025-03-09 21:49:04] Production.ERROR: done
[2025-03-09 21:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645031') start
[2025-03-09 21:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645031') end
[2025-03-09 21:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:49:04] Production.INFO: 1
[2025-03-09 21:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:49:04] Production.INFO: ==30351== Releasing lock...
[2025-03-09 21:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:49:04] Production.ERROR: done
[2025-03-09 21:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:49:05
[end_date_ymd] => 2025-03-09 21:49:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:49:05' and `end` < '2025-03-09 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-03-09 21:49:12] Production.ERROR: CronJobId end10
[2025-03-09 21:49:12] Production.INFO: ==30345== Releasing lock...
[2025-03-09 21:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:49:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:49:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:49:14] Production.INFO: call_cost start
[2025-03-09 21:49:14] Production.INFO: call_cost end
[2025-03-09 21:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:49:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:49:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:49:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:49:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:49:15] Production.INFO: ==30341== Releasing lock...
[2025-03-09 21:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:49:17] Production.INFO: count ==1164
[2025-03-09 21:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:49:05 - End Time 2025-03-09 21:49:05
[2025-03-09 21:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645032', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645032', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645032', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645032', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:49:17] Production.INFO: ProcessCDR(1,14645032,1,1,2)
[2025-03-09 21:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645032', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645032', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:49:21] Production.INFO: ==30349== Releasing lock...
[2025-03-09 21:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:49:21] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:50:02] Production.INFO: ==30416== Lock acquired, processing the job...
[2025-03-10 01:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:50:02] Production.INFO: neon service started
[2025-03-10 01:50:02] Production.INFO: neon service started
[2025-03-10 01:50:02] Production.INFO: ==30416== Releasing lock...
[2025-03-10 01:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:50:02] Production.INFO: ==30418== Lock acquired, processing the job...
[2025-03-09 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:50:02] Production.INFO: ==30420== Lock acquired, processing the job...
[2025-03-10 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 21:50:03] Production.INFO: ==30418== Releasing lock...
[2025-03-09 21:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:50:03] Production.INFO: ==30420== Releasing lock...
[2025-03-10 01:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:50:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:50:04] Production.INFO: ==30422== Lock acquired, processing the job...
[2025-03-09 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 21:50:04] Production.INFO: ==30431== Lock acquired, processing the job...
[2025-03-09 21:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 21:50:04] Production.INFO: ==30433== Lock acquired, processing the job...
[2025-03-09 21:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 21:50:04] Production.INFO: ==30422== Releasing lock...
[2025-03-09 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 21:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:50:04] Production.INFO: Account Balance Start.
[2025-03-09 21:50:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:50:04] Production.INFO: 117
[2025-03-09 21:50:04] Production.INFO: ==30426== Lock acquired, processing the job...
[2025-03-09 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:50:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:50:04] Production.INFO: ==30435== Lock acquired, processing the job...
[2025-03-09 21:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 21:50:04] Production.INFO: ==30424== Lock acquired, processing the job...
[2025-03-09 21:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:50:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:50:04] Production.INFO: ==30429== Lock acquired, processing the job...
[2025-03-09 21:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:50:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:50:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:50:04] Production.INFO: ==30437== Lock acquired, processing the job...
[2025-03-09 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:50:04] Production.INFO: Total Charge 0
[2025-03-09 21:50:04] Production.INFO: CreateAllLog End
[2025-03-09 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 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-03-09 21:50:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:50:04] Production.INFO: count ==21
[2025-03-09 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645034') start
[2025-03-09 21:50:04] Production.ERROR: done
[2025-03-09 21:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:50:04] Production.INFO: Account Balance End.
[2025-03-09 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645034') end
[2025-03-09 21:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:50:04] Production.INFO: 1
[2025-03-09 21:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:50:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:50:04] Production.INFO: ==30431== Releasing lock...
[2025-03-09 21:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:50:04] Production.INFO: ==30437== Releasing lock...
[2025-03-09 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:50:05] Production.INFO: ==30426== Releasing lock...
[2025-03-09 21:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:50:05] Production.ERROR: done
[2025-03-09 21:50:05] Production.ERROR: done
[2025-03-09 21:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 21:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645037', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 21:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:50:06
[end_date_ymd] => 2025-03-09 21:50:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:50:06' and `end` < '2025-03-09 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-03-09 21:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645037', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 21:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 21:50:09] Production.INFO: ProcessCDR(1,14645037,1,1,2)
[2025-03-09 21:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645037,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645037,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:50:09] Production.INFO: ==30435== Releasing lock...
[2025-03-09 21:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 21:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 21: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_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-03-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-03-09 21:50:13] Production.ERROR: CronJobId end10
[2025-03-09 21:50:13] Production.INFO: ==30429== Releasing lock...
[2025-03-09 21:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:50:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:50:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:50:16] Production.INFO: call_cost start
[2025-03-09 21:50:16] Production.INFO: call_cost end
[2025-03-09 21:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:50:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:50:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:50:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:50:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:50:17] Production.INFO: ==30424== Releasing lock...
[2025-03-09 21:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:50:18] Production.INFO: count ==1164
[2025-03-09 21:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:50:06 - End Time 2025-03-09 21:50:06
[2025-03-09 21:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645038', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645038', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645038', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645038', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:50:18] Production.INFO: ProcessCDR(1,14645038,1,1,2)
[2025-03-09 21:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645038', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645038', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:50:21] Production.INFO: ==30433== Releasing lock...
[2025-03-09 21:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:50:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:51:01] Production.INFO: ==30500== Lock acquired, processing the job...
[2025-03-10 01:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:51:01] Production.INFO: neon service started
[2025-03-10 01:51:01] Production.INFO: neon service started
[2025-03-10 01:51:01] Production.INFO: ==30500== Releasing lock...
[2025-03-10 01:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:51:01] Production.INFO: ==30502== Lock acquired, processing the job...
[2025-03-09 21:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:51:02] Production.INFO: ==30502== Releasing lock...
[2025-03-09 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:51:02] Production.INFO: ==30504== Lock acquired, processing the job...
[2025-03-10 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:51:02] Production.INFO: ==30504== Releasing lock...
[2025-03-10 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:51:03] Production.INFO: ==30508== Lock acquired, processing the job...
[2025-03-09 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:51:03] Production.INFO: ==30506== Lock acquired, processing the job...
[2025-03-09 21:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:51:03] Production.INFO: ==30512== Lock acquired, processing the job...
[2025-03-09 21:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:51:03] Production.INFO: ==30510== Lock acquired, processing the job...
[2025-03-09 21:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:51:03] Production.INFO: ==30514== Lock acquired, processing the job...
[2025-03-09 21:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:51:03] Production.INFO: ==30516== Lock acquired, processing the job...
[2025-03-09 21:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:51:03] Production.INFO: Account Balance Start.
[2025-03-09 21:51:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:51:03] Production.INFO: 117
[2025-03-09 21:51:03] Production.INFO: ==30508== Releasing lock...
[2025-03-09 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:51:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:51:03] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 21:51:03] Production.INFO: count ==13
[2025-03-09 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-03-09 21:51:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:51:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:51:03] Production.INFO: count ==21
[2025-03-09 21:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645042') start
[2025-03-09 21:51:03] Production.ERROR: done
[2025-03-09 21:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:51:03] Production.INFO: Total Charge 0
[2025-03-09 21:51:03] Production.INFO: CreateAllLog End
[2025-03-09 21:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645042') end
[2025-03-09 21:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:51:03] Production.INFO: 1
[2025-03-09 21:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:51:04] Production.ERROR: done
[2025-03-09 21:51:04] Production.INFO: ==30516== Releasing lock...
[2025-03-09 21:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:51:04] Production.INFO: Account Balance End.
[2025-03-09 21:51:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:51:04] Production.INFO: ==30512== Releasing lock...
[2025-03-09 21:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:51:05
[end_date_ymd] => 2025-03-09 21:51:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:51:05' and `end` < '2025-03-09 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-03-09 21:51:11] Production.ERROR: CronJobId end10
[2025-03-09 21:51:11] Production.INFO: ==30510== Releasing lock...
[2025-03-09 21:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:51:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:51:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:51:13] Production.INFO: call_cost start
[2025-03-09 21:51:13] Production.INFO: call_cost end
[2025-03-09 21:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:51:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:51:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:51:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:51:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:51:14] Production.INFO: ==30506== Releasing lock...
[2025-03-09 21:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:51:17] Production.INFO: count ==1151
[2025-03-09 21:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:51:05 - End Time 2025-03-09 21:51:05
[2025-03-09 21:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645043', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645043', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645043', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645043', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:51:17] Production.INFO: ProcessCDR(1,14645043,1,1,2)
[2025-03-09 21:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645043', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645043', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:51:21] Production.INFO: ==30514== Releasing lock...
[2025-03-09 21:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:51:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:52:02] Production.INFO: ==30583== Lock acquired, processing the job...
[2025-03-10 01:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:52:02] Production.INFO: neon service started
[2025-03-10 01:52:02] Production.INFO: neon service started
[2025-03-10 01:52:02] Production.INFO: ==30583== Releasing lock...
[2025-03-10 01:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:52:02] Production.INFO: ==30585== Lock acquired, processing the job...
[2025-03-09 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:52:02] Production.INFO: ==30587== Lock acquired, processing the job...
[2025-03-10 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:52:02] Production.INFO: ==30587== Releasing lock...
[2025-03-10 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:52:03] Production.INFO: ==30585== Releasing lock...
[2025-03-09 21:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:52:04] Production.INFO: ==30594== Lock acquired, processing the job...
[2025-03-09 21:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:52:04] Production.INFO: ==30600== Lock acquired, processing the job...
[2025-03-09 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:52:04] Production.INFO: ==30590== Lock acquired, processing the job...
[2025-03-09 21:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:52:04] Production.INFO: ==30592== Lock acquired, processing the job...
[2025-03-09 21:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 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-03-09 21:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:52:04] Production.INFO: ==30598== Lock acquired, processing the job...
[2025-03-09 21:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:52:04] Production.INFO: ==30596== Lock acquired, processing the job...
[2025-03-09 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:52:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:52:04] Production.INFO: count ==21
[2025-03-09 21:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:52:04] Production.INFO: Account Balance Start.
[2025-03-09 21:52:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:52:04] Production.INFO: 117
[2025-03-09 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645044') start
[2025-03-09 21:52:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:52:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645044') end
[2025-03-09 21:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:52:04] Production.INFO: 1
[2025-03-09 21:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:52:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:52:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:52:04] Production.INFO: Total Charge 0
[2025-03-09 21:52:04] Production.INFO: CreateAllLog End
[2025-03-09 21:52:04] Production.INFO: ==30600== Releasing lock...
[2025-03-09 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:52:04] Production.INFO: ==30592== Releasing lock...
[2025-03-09 21:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:52:04] Production.ERROR: done
[2025-03-09 21:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:52:04] Production.INFO: Account Balance End.
[2025-03-09 21:52:05] Production.ERROR: CronJobId end 12
[2025-03-09 21:52:05] Production.INFO: ==30596== Releasing lock...
[2025-03-09 21:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:52:05] Production.ERROR: done
[2025-03-09 21:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:52:06
[end_date_ymd] => 2025-03-09 21:52:06
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:52:06' and `end` < '2025-03-09 21: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-03-09 21:52:12] Production.ERROR: CronJobId end10
[2025-03-09 21:52:12] Production.INFO: ==30594== Releasing lock...
[2025-03-09 21:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:52:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:52:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:52:15] Production.INFO: call_cost start
[2025-03-09 21:52:15] Production.INFO: call_cost end
[2025-03-09 21:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:52:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:52:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:52:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:52:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:52:15] Production.INFO: ==30590== Releasing lock...
[2025-03-09 21:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:52:18] Production.INFO: count ==1150
[2025-03-09 21:52:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:52:06 - End Time 2025-03-09 21:52:06
[2025-03-09 21:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645048', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645048', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645048', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645048', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:52:18] Production.INFO: ProcessCDR(1,14645048,1,1,2)
[2025-03-09 21:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645048', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645048', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:52:21] Production.INFO: ==30598== Releasing lock...
[2025-03-09 21:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:52:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:53:01] Production.INFO: ==30663== Lock acquired, processing the job...
[2025-03-10 01:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:53:01] Production.INFO: neon service started
[2025-03-10 01:53:01] Production.INFO: neon service started
[2025-03-10 01:53:01] Production.INFO: ==30663== Releasing lock...
[2025-03-10 01:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:53:02] Production.INFO: ==30665== Lock acquired, processing the job...
[2025-03-09 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:53:02] Production.INFO: ==30667== Lock acquired, processing the job...
[2025-03-10 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:53:02] Production.INFO: ==30667== Releasing lock...
[2025-03-10 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:53:02] Production.INFO: ==30665== Releasing lock...
[2025-03-09 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:53:03] Production.INFO: ==30674== Lock acquired, processing the job...
[2025-03-09 21:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:53:03] Production.INFO: ==30678== Lock acquired, processing the job...
[2025-03-09 21:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:53:03] Production.INFO: ==30670== Lock acquired, processing the job...
[2025-03-09 21:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:53:03] Production.INFO: ==30672== Lock acquired, processing the job...
[2025-03-09 21:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:53:03] Production.INFO: ==30676== Lock acquired, processing the job...
[2025-03-09 21:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:53:03] Production.INFO: ==30680== Lock acquired, processing the job...
[2025-03-09 21:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21: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-03-09 21:53:04] Production.INFO: Account Balance Start.
[2025-03-09 21:53:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:53:04] Production.INFO: 117
[2025-03-09 21:53:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:53:04] Production.INFO: count ==21
[2025-03-09 21:53:04] Production.ERROR: done
[2025-03-09 21:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645052') start
[2025-03-09 21:53:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:53:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:53:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:53:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:53:04] Production.INFO: Total Charge 0
[2025-03-09 21:53:04] Production.INFO: CreateAllLog End
[2025-03-09 21:53:04] Production.INFO: ==30672== Releasing lock...
[2025-03-09 21:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:53:04] Production.ERROR: done
[2025-03-09 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645052') end
[2025-03-09 21:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:53:04] Production.INFO: 1
[2025-03-09 21:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:53:04] Production.INFO: ==30680== Releasing lock...
[2025-03-09 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:53:04] Production.INFO: Account Balance End.
[2025-03-09 21:53:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:53:04] Production.INFO: ==30676== Releasing lock...
[2025-03-09 21:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:53:05
[end_date_ymd] => 2025-03-09 21:53:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:53:05' and `end` < '2025-03-09 21: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-03-09 21:53:11] Production.ERROR: CronJobId end10
[2025-03-09 21:53:11] Production.INFO: ==30674== Releasing lock...
[2025-03-09 21:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:53:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:53:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:53:13] Production.INFO: call_cost start
[2025-03-09 21:53:13] Production.INFO: call_cost end
[2025-03-09 21:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:53:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:53:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:53:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:53:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:53:14] Production.INFO: ==30670== Releasing lock...
[2025-03-09 21:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:53:17] Production.INFO: count ==1149
[2025-03-09 21:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:53:05 - End Time 2025-03-09 21:53:05
[2025-03-09 21:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645053', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645053', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645053', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645053', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:53:17] Production.INFO: ProcessCDR(1,14645053,1,1,2)
[2025-03-09 21:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645053', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645053', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:53:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:53:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:53:20] Production.INFO: ==30678== Releasing lock...
[2025-03-09 21:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:53:20] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:54:02] Production.INFO: ==30754== Lock acquired, processing the job...
[2025-03-10 01:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:54:02] Production.INFO: neon service started
[2025-03-10 01:54:02] Production.INFO: neon service started
[2025-03-10 01:54:02] Production.INFO: ==30754== Releasing lock...
[2025-03-10 01:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:54:02] Production.INFO: ==30757== Lock acquired, processing the job...
[2025-03-09 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:54:02] Production.INFO: ==30757== Releasing lock...
[2025-03-09 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:54:02] Production.INFO: ==30759== Lock acquired, processing the job...
[2025-03-10 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:54:03] Production.INFO: ==30759== Releasing lock...
[2025-03-10 01:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:54:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:54:03] Production.INFO: ==30761== Lock acquired, processing the job...
[2025-03-09 21:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:54:03] Production.INFO: ==30763== Lock acquired, processing the job...
[2025-03-09 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:54:03] Production.INFO: ==30769== Lock acquired, processing the job...
[2025-03-09 21:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:54:04] Production.INFO: ==30763== Releasing lock...
[2025-03-09 21:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:54:04] Production.INFO: ==30771== Lock acquired, processing the job...
[2025-03-09 21:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:54:04] Production.INFO: ==30765== Lock acquired, processing the job...
[2025-03-09 21:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:54:04] Production.INFO: ==30767== Lock acquired, processing the job...
[2025-03-09 21:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:54:04] Production.ERROR: done
[2025-03-09 21:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:54:04] Production.INFO: Account Balance Start.
[2025-03-09 21:54:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:54:04] Production.INFO: 117
[2025-03-09 21:54:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:54:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 21:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:54:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:54:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:54:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:54:04] Production.INFO: Total Charge 0
[2025-03-09 21:54:04] Production.INFO: count ==21
[2025-03-09 21:54:04] Production.INFO: CreateAllLog End
[2025-03-09 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645057') start
[2025-03-09 21:54:04] Production.ERROR: done
[2025-03-09 21:54:04] Production.INFO: Account Balance End.
[2025-03-09 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645057') end
[2025-03-09 21:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:54:04] Production.INFO: 1
[2025-03-09 21:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:54:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:54:04] Production.INFO: ==30767== Releasing lock...
[2025-03-09 21:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:54:04] Production.INFO: ==30771== Releasing lock...
[2025-03-09 21:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:54:05
[end_date_ymd] => 2025-03-09 21:54:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:54:05' and `end` < '2025-03-09 21: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-03-09 21:54:12] Production.ERROR: CronJobId end10
[2025-03-09 21:54:12] Production.INFO: ==30765== Releasing lock...
[2025-03-09 21:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:54:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:54:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:54:15] Production.INFO: call_cost start
[2025-03-09 21:54:15] Production.INFO: call_cost end
[2025-03-09 21:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:54:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:54:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:54:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:54:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:54:16] Production.INFO: ==30761== Releasing lock...
[2025-03-09 21:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:54:17] Production.INFO: count ==1145
[2025-03-09 21:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:54:05 - End Time 2025-03-09 21:54:05
[2025-03-09 21:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645058', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645058', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645058', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645058', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:54:18] Production.INFO: ProcessCDR(1,14645058,1,1,2)
[2025-03-09 21:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645058', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645058', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:54:21] Production.INFO: ==30769== Releasing lock...
[2025-03-09 21:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:54:21] Production.INFO: 36.75 MB #Memory Used#
[2025-03-10 01:55:01] Production.INFO: ==30869== Lock acquired, processing the job...
[2025-03-10 01:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:55:01] Production.INFO: neon service started
[2025-03-10 01:55:01] Production.INFO: neon service started
[2025-03-10 01:55:01] Production.INFO: ==30869== Releasing lock...
[2025-03-10 01:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:55:02] Production.INFO: ==30873== Lock acquired, processing the job...
[2025-03-10 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:55:02] Production.INFO: ==30873== Releasing lock...
[2025-03-10 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:55:02] Production.INFO: ==30871== Lock acquired, processing the job...
[2025-03-09 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:55:02] Production.INFO: ==30871== Releasing lock...
[2025-03-09 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:55:03] Production.INFO: ==30876== Lock acquired, processing the job...
[2025-03-09 21:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:55:03] Production.INFO: ==30878== Lock acquired, processing the job...
[2025-03-09 21:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:55:03] Production.INFO: ==30886== Lock acquired, processing the job...
[2025-03-09 21:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 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-03-09 21:55:03] Production.INFO: count ==13
[2025-03-09 21:55:03] Production.INFO: ==30880== Lock acquired, processing the job...
[2025-03-09 21:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 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-03-09 21:55:03] Production.INFO: count ==21
[2025-03-09 21:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645060') start
[2025-03-09 21:55:03] Production.INFO: ==30882== Lock acquired, processing the job...
[2025-03-09 21:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:55:03] Production.INFO: ==30884== Lock acquired, processing the job...
[2025-03-09 21:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645060') end
[2025-03-09 21:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:55:03] Production.INFO: 1
[2025-03-09 21:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:55:03] Production.INFO: ==30886== Releasing lock...
[2025-03-09 21:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:55:03] Production.INFO: Account Balance Start.
[2025-03-09 21:55:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:55:03] Production.INFO: 117
[2025-03-09 21:55:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:55:04] Production.INFO: ==30878== Releasing lock...
[2025-03-09 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:55:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:55:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:55:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:55:04] Production.INFO: Total Charge 0
[2025-03-09 21:55:04] Production.INFO: CreateAllLog End
[2025-03-09 21:55:04] Production.ERROR: done
[2025-03-09 21:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:55:04] Production.INFO: Account Balance End.
[2025-03-09 21:55:04] Production.ERROR: done
[2025-03-09 21:55:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:55:04] Production.INFO: ==30882== Releasing lock...
[2025-03-09 21:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:55:05
[end_date_ymd] => 2025-03-09 21:55:05
[RateCDR] => 1
)
[2025-03-09 21: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-03-09 18:55:05' and `end` < '2025-03-09 21: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-03-09 21:55:13] Production.ERROR: CronJobId end10
[2025-03-09 21:55:13] Production.INFO: ==30880== Releasing lock...
[2025-03-09 21:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:55:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:55:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:55:14] Production.INFO: call_cost start
[2025-03-09 21:55:14] Production.INFO: call_cost end
[2025-03-09 21:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:55:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:55:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:55:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:55:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:55:15] Production.INFO: ==30876== Releasing lock...
[2025-03-09 21:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:55:18] Production.INFO: count ==1137
[2025-03-09 21:55:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:55:05 - End Time 2025-03-09 21:55:05
[2025-03-09 21:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645063', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645063', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645063', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645063', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:55:18] Production.INFO: ProcessCDR(1,14645063,1,1,2)
[2025-03-09 21:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645063', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645063', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:55:21] Production.INFO: ==30884== Releasing lock...
[2025-03-09 21:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:55:21] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:56:02] Production.INFO: ==30986== Lock acquired, processing the job...
[2025-03-10 01:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:56:02] Production.INFO: neon service started
[2025-03-10 01:56:02] Production.INFO: neon service started
[2025-03-10 01:56:02] Production.INFO: ==30986== Releasing lock...
[2025-03-10 01:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:56:02] Production.INFO: ==30988== Lock acquired, processing the job...
[2025-03-09 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:56:02] Production.INFO: ==30990== Lock acquired, processing the job...
[2025-03-10 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:56:02] Production.INFO: ==30990== Releasing lock...
[2025-03-10 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:56:03] Production.INFO: ==30988== Releasing lock...
[2025-03-09 21:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:56:04] Production.INFO: ==31001== Lock acquired, processing the job...
[2025-03-09 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:56:04] Production.INFO: ==30995== Lock acquired, processing the job...
[2025-03-09 21:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:56:04] Production.INFO: ==31003== Lock acquired, processing the job...
[2025-03-09 21:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:56:04] Production.INFO: Account Balance Start.
[2025-03-09 21:56:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:56:04] Production.INFO: 117
[2025-03-09 21:56:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:56:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:56:04] Production.INFO: ==30997== Lock acquired, processing the job...
[2025-03-09 21:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:56:04] Production.INFO: ==30999== Lock acquired, processing the job...
[2025-03-09 21:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:56:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:56:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:56:04] Production.INFO: Total Charge 0
[2025-03-09 21:56:04] Production.INFO: CreateAllLog End
[2025-03-09 21:56:04] Production.INFO: ==31005== Lock acquired, processing the job...
[2025-03-09 21:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 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-03-09 21:56:04] Production.INFO: count ==13
[2025-03-09 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-03-09 21:56:04] Production.INFO: count ==21
[2025-03-09 21:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645066') start
[2025-03-09 21:56:04] Production.ERROR: done
[2025-03-09 21:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645066') end
[2025-03-09 21:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:56:04] Production.INFO: 1
[2025-03-09 21:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:56:04] Production.INFO: Account Balance End.
[2025-03-09 21:56:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:56:04] Production.INFO: ==31001== Releasing lock...
[2025-03-09 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:56:04] Production.INFO: ==31005== Releasing lock...
[2025-03-09 21:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:56:04] Production.ERROR: done
[2025-03-09 21:56:04] Production.INFO: ==30997== Releasing lock...
[2025-03-09 21:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:56:05
[end_date_ymd] => 2025-03-09 21:56:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:56:05' and `end` < '2025-03-09 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-03-09 21:56:13] Production.ERROR: CronJobId end10
[2025-03-09 21:56:13] Production.INFO: ==30999== Releasing lock...
[2025-03-09 21:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:56:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:56:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:56:15] Production.INFO: call_cost start
[2025-03-09 21:56:15] Production.INFO: call_cost end
[2025-03-09 21:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:56:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:56:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:56:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:56:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:56:16] Production.INFO: ==30995== Releasing lock...
[2025-03-09 21:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:56:17] Production.INFO: count ==1139
[2025-03-09 21:56:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:56:05 - End Time 2025-03-09 21:56:05
[2025-03-09 21:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645068', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645068', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645068', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645068', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:56:18] Production.INFO: ProcessCDR(1,14645068,1,1,2)
[2025-03-09 21:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645068', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645068', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:56:23] Production.INFO: ==31003== Releasing lock...
[2025-03-09 21:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:56:23] Production.INFO: 36.25 MB #Memory Used#
[2025-03-10 01:57:01] Production.INFO: ==31082== Lock acquired, processing the job...
[2025-03-10 01:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:57:01] Production.INFO: neon service started
[2025-03-10 01:57:01] Production.INFO: neon service started
[2025-03-10 01:57:01] Production.INFO: ==31082== Releasing lock...
[2025-03-10 01:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:57:01] Production.INFO: ==31086== Lock acquired, processing the job...
[2025-03-10 01:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:57:01] Production.INFO: ==31086== Releasing lock...
[2025-03-10 01:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:57:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:57:02] Production.INFO: ==31084== Lock acquired, processing the job...
[2025-03-09 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:57:02] Production.INFO: ==31084== Releasing lock...
[2025-03-09 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:57:03] Production.INFO: ==31091== Lock acquired, processing the job...
[2025-03-09 21:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:57:03] Production.INFO: ==31093== Lock acquired, processing the job...
[2025-03-09 21:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:57:03] Production.INFO: ==31097== Lock acquired, processing the job...
[2025-03-09 21:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:57:03] Production.INFO: ==31089== Lock acquired, processing the job...
[2025-03-09 21:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:57:03] Production.INFO: ==31091== Releasing lock...
[2025-03-09 21:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:57:03] Production.INFO: ==31095== Lock acquired, processing the job...
[2025-03-09 21:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:57:03] Production.INFO: ==31099== Lock acquired, processing the job...
[2025-03-09 21:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:57:03] Production.ERROR: done
[2025-03-09 21:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:57:03] Production.INFO: Account Balance Start.
[2025-03-09 21:57:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:57:03] Production.INFO: 117
[2025-03-09 21:57:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:57:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:57:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:57:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:57:03] Production.INFO: Total Charge 0
[2025-03-09 21:57:03] Production.INFO: CreateAllLog End
[2025-03-09 21:57:04] Production.ERROR: done
[2025-03-09 21:57:04] Production.INFO: Account Balance End.
[2025-03-09 21: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-03-09 21:57:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:57:04] Production.INFO: ==31095== Releasing lock...
[2025-03-09 21:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:57:04] Production.INFO: count ==13
[2025-03-09 21: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-03-09 21:57:04] Production.INFO: count ==21
[2025-03-09 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645072') start
[2025-03-09 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645072') end
[2025-03-09 21:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:57:04] Production.INFO: 1
[2025-03-09 21:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:57:04] Production.INFO: ==31099== Releasing lock...
[2025-03-09 21:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:57:05
[end_date_ymd] => 2025-03-09 21:57:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:57:05' and `end` < '2025-03-09 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-03-09 21:57:12] Production.ERROR: CronJobId end10
[2025-03-09 21:57:12] Production.INFO: ==31093== Releasing lock...
[2025-03-09 21:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:57:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:57:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:57:14] Production.INFO: call_cost start
[2025-03-09 21:57:14] Production.INFO: call_cost end
[2025-03-09 21:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:57:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:57:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:57:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:57:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:57:15] Production.INFO: ==31089== Releasing lock...
[2025-03-09 21:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:57:17] Production.INFO: count ==1138
[2025-03-09 21:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:57:05 - End Time 2025-03-09 21:57:05
[2025-03-09 21:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645073', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645073', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645073', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645073', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:57:17] Production.INFO: ProcessCDR(1,14645073,1,1,2)
[2025-03-09 21:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645073', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645073', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:57:21] Production.INFO: ==31097== Releasing lock...
[2025-03-09 21:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:57:21] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:58:02] Production.INFO: ==31162== Lock acquired, processing the job...
[2025-03-10 01:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:58:02] Production.INFO: neon service started
[2025-03-10 01:58:02] Production.INFO: neon service started
[2025-03-10 01:58:02] Production.INFO: ==31162== Releasing lock...
[2025-03-10 01:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:58:02] Production.INFO: ==31166== Lock acquired, processing the job...
[2025-03-10 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:58:02] Production.INFO: ==31166== Releasing lock...
[2025-03-10 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:58:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:58:02] Production.INFO: ==31164== Lock acquired, processing the job...
[2025-03-09 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:58:02] Production.INFO: ==31164== Releasing lock...
[2025-03-09 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 21:58:03] Production.INFO: ==31172== Lock acquired, processing the job...
[2025-03-09 21:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:58:03] Production.INFO: ==31168== Lock acquired, processing the job...
[2025-03-09 21:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:58:03] Production.INFO: ==31179== Lock acquired, processing the job...
[2025-03-09 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:58:03] Production.INFO: ==31170== Lock acquired, processing the job...
[2025-03-09 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:58:03] Production.INFO: ==31174== Lock acquired, processing the job...
[2025-03-09 21:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 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-03-09 21:58:04] Production.INFO: count ==13
[2025-03-09 21:58:04] Production.INFO: ==31177== Lock acquired, processing the job...
[2025-03-09 21:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21:58:04] Production.INFO: Account Balance Start.
[2025-03-09 21:58:04] Production.INFO: CreateAllLog Start
[2025-03-09 21:58:04] Production.INFO: 117
[2025-03-09 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-03-09 21:58:04] Production.INFO: count ==21
[2025-03-09 21:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645075') start
[2025-03-09 21:58:04] Production.INFO: Date 2025-03-08
[2025-03-09 21:58:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:58:04] Production.INFO: Date 2025-03-09
[2025-03-09 21:58:04] Production.INFO: Reseller ==> 0
[2025-03-09 21:58:04] Production.INFO: Total Charge 0
[2025-03-09 21:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21:58:04] Production.INFO: CreateAllLog End
[2025-03-09 21:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645075') end
[2025-03-09 21:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:58:04] Production.INFO: 1
[2025-03-09 21:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:58:04] Production.INFO: ==31179== Releasing lock...
[2025-03-09 21:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:58:04] Production.INFO: ==31170== Releasing lock...
[2025-03-09 21:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:58:04] Production.INFO: Account Balance End.
[2025-03-09 21:58:04] Production.ERROR: done
[2025-03-09 21:58:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:58:04] Production.INFO: ==31174== Releasing lock...
[2025-03-09 21:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:58:04] Production.ERROR: done
[2025-03-09 21:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:58:05
[end_date_ymd] => 2025-03-09 21:58:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:58:05' and `end` < '2025-03-09 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-03-09 21:58:11] Production.ERROR: CronJobId end10
[2025-03-09 21:58:11] Production.INFO: ==31172== Releasing lock...
[2025-03-09 21:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:58:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:58:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:58:14] Production.INFO: call_cost start
[2025-03-09 21:58:14] Production.INFO: call_cost end
[2025-03-09 21:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:58:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:58:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:58:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:58:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:58:15] Production.INFO: ==31168== Releasing lock...
[2025-03-09 21:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:58:18] Production.INFO: count ==1141
[2025-03-09 21:58:18] Production.ERROR: pbx CDR StartTime 2025-03-09 18:58:05 - End Time 2025-03-09 21:58:05
[2025-03-09 21:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645078', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645078', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645078', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645078', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:58:18] Production.INFO: ProcessCDR(1,14645078,1,1,2)
[2025-03-09 21:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645078', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645078', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:58:21] Production.INFO: ==31177== Releasing lock...
[2025-03-09 21:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:58:21] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 01:59:01] Production.INFO: ==31241== Lock acquired, processing the job...
[2025-03-10 01:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 01:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 01:59:01] Production.INFO: neon service started
[2025-03-10 01:59:01] Production.INFO: neon service started
[2025-03-10 01:59:01] Production.INFO: ==31241== Releasing lock...
[2025-03-10 01:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 01:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 21:59:01] Production.INFO: ==31243== Lock acquired, processing the job...
[2025-03-09 21:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 21:59:02] Production.INFO: ==31243== Releasing lock...
[2025-03-09 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 21:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:59:02] Production.INFO: ==31245== Lock acquired, processing the job...
[2025-03-10 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:59:02] Production.INFO: ==31245== Releasing lock...
[2025-03-10 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 01:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 21:59:02] Production.INFO: ==31249== Lock acquired, processing the job...
[2025-03-09 21:59:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 21:59:03] Production.INFO: ==31247== Lock acquired, processing the job...
[2025-03-09 21:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 21:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 21:59:03] Production.INFO: ==31251== Lock acquired, processing the job...
[2025-03-09 21:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 21:59:03] Production.INFO: ==31258== Lock acquired, processing the job...
[2025-03-09 21:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 21:59:03] Production.INFO: ==31254== Lock acquired, processing the job...
[2025-03-09 21:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 21:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 21:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 21:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 21:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 21:59:03] Production.INFO: ==31249== Releasing lock...
[2025-03-09 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 21:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 21:59:03] Production.INFO: ==31256== Lock acquired, processing the job...
[2025-03-09 21:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 21: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-03-09 21:59:03] Production.INFO: count ==13
[2025-03-09 21:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 21: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-03-09 21:59:03] Production.INFO: count ==21
[2025-03-09 21:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645081') start
[2025-03-09 21:59:03] Production.INFO: Account Balance Start.
[2025-03-09 21:59:03] Production.INFO: CreateAllLog Start
[2025-03-09 21:59:03] Production.INFO: 117
[2025-03-09 21:59:03] Production.INFO: Date 2025-03-08
[2025-03-09 21:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645081') end
[2025-03-09 21:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 21:59:03] Production.INFO: 1
[2025-03-09 21:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 21:59:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:59:03] Production.INFO: Date 2025-03-09
[2025-03-09 21:59:03] Production.INFO: ==31258== Releasing lock...
[2025-03-09 21:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 21:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 21:59:03] Production.INFO: Reseller ==> 0
[2025-03-09 21:59:03] Production.ERROR: done
[2025-03-09 21:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 21:59:03] Production.INFO: Total Charge 0
[2025-03-09 21:59:04] Production.INFO: CreateAllLog End
[2025-03-09 21:59:04] Production.ERROR: done
[2025-03-09 21:59:04] Production.INFO: Account Balance End.
[2025-03-09 21:59:04] Production.ERROR: CronJobId end 12
[2025-03-09 21:59:04] Production.INFO: ==31254== Releasing lock...
[2025-03-09 21:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 21:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 21:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 18:59:05
[end_date_ymd] => 2025-03-09 21:59:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 18:59:05' and `end` < '2025-03-09 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-03-09 21:59:11] Production.ERROR: CronJobId end10
[2025-03-09 21:59:11] Production.INFO: ==31251== Releasing lock...
[2025-03-09 21:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 21:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 21:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 21:59:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 21:59:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 21:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 21:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 21:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 21:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 21:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 21:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 21:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 21:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 21:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 21:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 21:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 21:59:14] Production.INFO: call_cost start
[2025-03-09 21:59:14] Production.INFO: call_cost end
[2025-03-09 21:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 21:59:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 21:59:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 21:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 21:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 21:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 21:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 21:59:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 21:59:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 21:59:15] Production.INFO: ==31247== Releasing lock...
[2025-03-09 21:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 21:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 21:59:17] Production.INFO: count ==1138
[2025-03-09 21:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 18:59:05 - End Time 2025-03-09 21:59:05
[2025-03-09 21:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 21:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645083', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645083', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645083', 'tblTempVendorCDR_20' ) start
[2025-03-09 21:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645083', 'tblTempVendorCDR_20' ) end
[2025-03-09 21:59:17] Production.INFO: ProcessCDR(1,14645083,1,1,2)
[2025-03-09 21:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 21:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 21:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645083', 'tblTempUsageDetail_20' ) start
[2025-03-09 21:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645083', 'tblTempUsageDetail_20' ) end
[2025-03-09 21:59:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 21:59:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 21:59:20] Production.INFO: ==31256== Releasing lock...
[2025-03-09 21:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 21:59:20] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 02:00:01] Production.INFO: ==31321== Lock acquired, processing the job...
[2025-03-10 02:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:00:01] Production.INFO: neon service started
[2025-03-10 02:00:01] Production.INFO: neon service started
[2025-03-10 02:00:01] Production.INFO: ==31321== Releasing lock...
[2025-03-10 02:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:00:02] Production.INFO: ==31325== Lock acquired, processing the job...
[2025-03-10 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:00:02] Production.INFO: ==31325== Releasing lock...
[2025-03-10 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:00:02] Production.INFO: ==31323== Lock acquired, processing the job...
[2025-03-09 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:00:03] Production.INFO: ==31323== Releasing lock...
[2025-03-09 22:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:00:04] Production.INFO: ==31334== Lock acquired, processing the job...
[2025-03-09 22:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:00:04] Production.INFO: ==31338== Lock acquired, processing the job...
[2025-03-09 22:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:00:04] Production.INFO: ==31328== Lock acquired, processing the job...
[2025-03-09 22:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 22:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:00:04] Production.INFO: ==31342== Lock acquired, processing the job...
[2025-03-09 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:00:04] Production.INFO: ==31330== Lock acquired, processing the job...
[2025-03-09 22:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:00:04] Production.INFO: ==31332== Lock acquired, processing the job...
[2025-03-09 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:00:04] Production.INFO: ==31336== Lock acquired, processing the job...
[2025-03-09 22:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 22:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 22:00:04] Production.ERROR: CronJob PID - 31330
[2025-03-09 22:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-09 22:00:04] Production.ERROR: CronJob ID - 5
[2025-03-09 22:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 22:00:00
[2025-03-09 22:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 22:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 22:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 22:00:04] Production.ERROR: CronJob PID - 31332
[2025-03-09 22:00:04] Production.ERROR: CronJob Title - Account Block
[2025-03-09 22:00:04] Production.ERROR: CronJob ID - 7
[2025-03-09 22:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 22:00:00
[2025-03-09 22:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 22:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 22:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 22:00:04] Production.ERROR: CronJob PID - 31334
[2025-03-09 22:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-09 22:00:04] Production.ERROR: CronJob ID - 10
[2025-03-09 22:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 22:00:00
[2025-03-09 22:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 22:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 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-03-09 22:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 22:00:04] Production.ERROR: CronJob PID - 31338
[2025-03-09 22:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-09 22:00:04] Production.ERROR: CronJob ID - 16
[2025-03-09 22:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 22:00:00
[2025-03-09 22:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 22:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 22:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 22:00:04] Production.ERROR: CronJob PID - 31342
[2025-03-09 22:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-09 22:00:04] Production.ERROR: CronJob ID - 19
[2025-03-09 22:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 22:00:00
[2025-03-09 22:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 22:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 22:00:04] Production.INFO: count ==13
[2025-03-09 22:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:00:04] Production.INFO: ==31340== Lock acquired, processing the job...
[2025-03-09 22:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 22: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-03-09 22:00:04] Production.INFO: count ==21
[2025-03-09 22:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 22:00:04] Production.INFO: ==31328== Releasing lock...
[2025-03-09 22:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 22:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645084') start
[2025-03-09 22:00:04] Production.ERROR: done
[2025-03-09 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:00:04] Production.INFO: Account Balance Start.
[2025-03-09 22:00:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:00:04] Production.INFO: 117
[2025-03-09 22:00:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:00:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645084') end
[2025-03-09 22:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:00:04] Production.INFO: 1
[2025-03-09 22:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:00:05] Production.INFO: ==31342== Releasing lock...
[2025-03-09 22:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:00:05] Production.ERROR: done
[2025-03-09 22:00:05] Production.INFO: Date 2025-03-09
[2025-03-09 22:00:05] Production.INFO: Reseller ==> 0
[2025-03-09 22:00:05] Production.INFO: Total Charge 0
[2025-03-09 22:00:05] Production.INFO: CreateAllLog End
[2025-03-09 22:00:05] Production.INFO: ==31332== Releasing lock...
[2025-03-09 22:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:00:05] Production.ERROR: done
[2025-03-09 22:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 22:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645089', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 22:00:05] Production.INFO: Account Balance End.
[2025-03-09 22:00:05] Production.ERROR: CronJobId end 12
[2025-03-09 22:00:05] Production.INFO: ==31336== Releasing lock...
[2025-03-09 22:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:00:06
[end_date_ymd] => 2025-03-09 22:00:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:00:06' and `end` < '2025-03-09 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-03-09 22:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645089', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 22:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 22:00:09] Production.INFO: ProcessCDR(1,14645089,1,1,2)
[2025-03-09 22:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645089,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645089,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:00:09] Production.INFO: ==31340== Releasing lock...
[2025-03-09 22:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 22:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 22:00:14] Production.ERROR: CronJobId end10
[2025-03-09 22:00:14] Production.INFO: ==31334== Releasing lock...
[2025-03-09 22:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:00:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:00:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:00:16] Production.INFO: call_cost start
[2025-03-09 22:00:16] Production.INFO: call_cost end
[2025-03-09 22:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:00:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:00:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:00:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:00:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:00:17] Production.INFO: ==31330== Releasing lock...
[2025-03-09 22:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:00:18] Production.INFO: count ==1135
[2025-03-09 22:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:00:06 - End Time 2025-03-09 22:00:06
[2025-03-09 22:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645088', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645088', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645088', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645088', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:00:18] Production.INFO: ProcessCDR(1,14645088,1,1,2)
[2025-03-09 22:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645088', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645088', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:00:22] Production.INFO: ==31338== Releasing lock...
[2025-03-09 22:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:00:22] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 02:01:02] Production.INFO: ==31411== Lock acquired, processing the job...
[2025-03-10 02:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:01:02] Production.INFO: neon service started
[2025-03-10 02:01:02] Production.INFO: neon service started
[2025-03-10 02:01:02] Production.INFO: ==31411== Releasing lock...
[2025-03-10 02:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:01:02] Production.INFO: ==31425== Lock acquired, processing the job...
[2025-03-10 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:01:02] Production.INFO: ==31425== Releasing lock...
[2025-03-10 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:01:02] Production.INFO: ==31423== Lock acquired, processing the job...
[2025-03-09 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:01:03] Production.INFO: ==31423== Releasing lock...
[2025-03-09 22:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:01:03] Production.INFO: ==31432== Lock acquired, processing the job...
[2025-03-09 22:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:01:04] Production.INFO: ==31436== Lock acquired, processing the job...
[2025-03-09 22:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:01:04] Production.INFO: ==31428== Lock acquired, processing the job...
[2025-03-09 22:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:01:04] Production.INFO: ==31430== Lock acquired, processing the job...
[2025-03-09 22:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:01:04] Production.INFO: ==31434== Lock acquired, processing the job...
[2025-03-09 22:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:01:04] Production.INFO: ==31438== Lock acquired, processing the job...
[2025-03-09 22:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:01:04] Production.ERROR: done
[2025-03-09 22:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:01:04] Production.INFO: Account Balance Start.
[2025-03-09 22:01:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:01:04] Production.INFO: 117
[2025-03-09 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-03-09 22:01:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:01:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:01:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:01:04] Production.INFO: count ==21
[2025-03-09 22:01:04] Production.ERROR: done
[2025-03-09 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645092') start
[2025-03-09 22:01:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:01:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:01:04] Production.INFO: Total Charge 0
[2025-03-09 22:01:04] Production.INFO: ==31430== Releasing lock...
[2025-03-09 22:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:01:04] Production.INFO: CreateAllLog End
[2025-03-09 22:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14645092') end
[2025-03-09 22:01:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:01:05] Production.INFO: 1
[2025-03-09 22:01:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:01:05] Production.INFO: Account Balance End.
[2025-03-09 22:01:05] Production.INFO: ==31438== Releasing lock...
[2025-03-09 22:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:01:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:01:05] Production.ERROR: CronJobId end 12
[2025-03-09 22:01:05] Production.INFO: ==31434== Releasing lock...
[2025-03-09 22:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:01:05
[end_date_ymd] => 2025-03-09 22:01:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:01:05' and `end` < '2025-03-09 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-03-09 22:01:13] Production.ERROR: CronJobId end10
[2025-03-09 22:01:13] Production.INFO: ==31432== Releasing lock...
[2025-03-09 22:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:01:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:01:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:01:16] Production.INFO: call_cost start
[2025-03-09 22:01:16] Production.INFO: call_cost end
[2025-03-09 22:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:01:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:01:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:01:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:01:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:01:17] Production.INFO: ==31428== Releasing lock...
[2025-03-09 22:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:01:17] Production.INFO: count ==1105
[2025-03-09 22:01:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:01:05 - End Time 2025-03-09 22:01:05
[2025-03-09 22:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645094', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645094', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645094', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645094', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:01:18] Production.INFO: ProcessCDR(1,14645094,1,1,2)
[2025-03-09 22:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645094', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645094', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:01:21] Production.INFO: ==31436== Releasing lock...
[2025-03-09 22:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:01:21] Production.INFO: 36 MB #Memory Used#
[2025-03-10 02:02:01] Production.INFO: ==31501== Lock acquired, processing the job...
[2025-03-10 02:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:02:01] Production.INFO: neon service started
[2025-03-10 02:02:01] Production.INFO: neon service started
[2025-03-10 02:02:01] Production.INFO: ==31501== Releasing lock...
[2025-03-10 02:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:02:02] Production.INFO: ==31505== Lock acquired, processing the job...
[2025-03-10 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:02:02] Production.INFO: ==31505== Releasing lock...
[2025-03-10 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:02:02] Production.INFO: ==31503== Lock acquired, processing the job...
[2025-03-09 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:02:02] Production.INFO: ==31503== Releasing lock...
[2025-03-09 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:02:03] Production.INFO: ==31510== Lock acquired, processing the job...
[2025-03-09 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:02:03] Production.INFO: ==31514== Lock acquired, processing the job...
[2025-03-09 22:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:02:03] Production.INFO: ==31512== Lock acquired, processing the job...
[2025-03-09 22:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:02:03] Production.INFO: ==31508== Lock acquired, processing the job...
[2025-03-09 22:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:02:03] Production.INFO: Account Balance Start.
[2025-03-09 22:02:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:02:03] Production.INFO: 117
[2025-03-09 22:02:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:02:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:02:03] Production.INFO: ==31518== Lock acquired, processing the job...
[2025-03-09 22:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:02:03] Production.INFO: ==31516== Lock acquired, processing the job...
[2025-03-09 22:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:02:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:02:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:02:04] Production.INFO: Total Charge 0
[2025-03-09 22:02:04] Production.INFO: CreateAllLog End
[2025-03-09 22:02:04] Production.INFO: ==31510== Releasing lock...
[2025-03-09 22:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 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-03-09 22:02:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:02:04] Production.INFO: count ==21
[2025-03-09 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645098') start
[2025-03-09 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645098') end
[2025-03-09 22:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:02:04] Production.INFO: 1
[2025-03-09 22:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:02:04] Production.INFO: Account Balance End.
[2025-03-09 22:02:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:02:04] Production.INFO: ==31518== Releasing lock...
[2025-03-09 22:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:02:04] Production.INFO: ==31514== Releasing lock...
[2025-03-09 22:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:02:04] Production.ERROR: done
[2025-03-09 22:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:02:04] Production.ERROR: done
[2025-03-09 22:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:02:05
[end_date_ymd] => 2025-03-09 22:02:05
[RateCDR] => 1
)
[2025-03-09 22:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-09 19:02:05' and `end` < '2025-03-09 22:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-09 22:02:12] Production.ERROR: CronJobId end10
[2025-03-09 22:02:12] Production.INFO: ==31512== Releasing lock...
[2025-03-09 22:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:02:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:02:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:02:15] Production.INFO: call_cost start
[2025-03-09 22:02:15] Production.INFO: call_cost end
[2025-03-09 22:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:02:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:02:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:02:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:02:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:02:16] Production.INFO: ==31508== Releasing lock...
[2025-03-09 22:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:02:17] Production.INFO: count ==1102
[2025-03-09 22:02:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:02:05 - End Time 2025-03-09 22:02:05
[2025-03-09 22:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645099', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645099', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645099', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645099', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:02:18] Production.INFO: ProcessCDR(1,14645099,1,1,2)
[2025-03-09 22:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645099', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645099', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:02:21] Production.INFO: ==31516== Releasing lock...
[2025-03-09 22:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:02:21] Production.INFO: 36.25 MB #Memory Used#
[2025-03-10 02:03:02] Production.INFO: ==31582== Lock acquired, processing the job...
[2025-03-10 02:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:03:02] Production.INFO: neon service started
[2025-03-10 02:03:02] Production.INFO: neon service started
[2025-03-10 02:03:02] Production.INFO: ==31582== Releasing lock...
[2025-03-10 02:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:03:02] Production.INFO: ==31586== Lock acquired, processing the job...
[2025-03-10 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:03:02] Production.INFO: ==31586== Releasing lock...
[2025-03-10 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:03:02] Production.INFO: ==31584== Lock acquired, processing the job...
[2025-03-09 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:03:03] Production.INFO: ==31584== Releasing lock...
[2025-03-09 22:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:03:03] Production.INFO: ==31607== Lock acquired, processing the job...
[2025-03-09 22:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:03:03] Production.INFO: ==31612== Lock acquired, processing the job...
[2025-03-09 22:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:03:04] Production.INFO: ==31603== Lock acquired, processing the job...
[2025-03-09 22:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:03:04] Production.INFO: Account Balance Start.
[2025-03-09 22:03:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:03:04] Production.INFO: 117
[2025-03-09 22:03:04] Production.INFO: ==31601== Lock acquired, processing the job...
[2025-03-09 22:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:03:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:03:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:03:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:03:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:03:04] Production.INFO: Total Charge 0
[2025-03-09 22:03:04] Production.INFO: CreateAllLog End
[2025-03-09 22:03:04] Production.INFO: ==31615== Lock acquired, processing the job...
[2025-03-09 22:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:03:04] Production.INFO: Account Balance End.
[2025-03-09 22:03:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:03:04] Production.INFO: ==31612== Releasing lock...
[2025-03-09 22:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:03:04] Production.INFO: ==31619== Lock acquired, processing the job...
[2025-03-09 22:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:03:04] Production.INFO: ==31603== Releasing lock...
[2025-03-09 22:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 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-03-09 22:03:04] Production.INFO: count ==13
[2025-03-09 22:03:04] Production.ERROR: done
[2025-03-09 22:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 22:03:04] Production.INFO: count ==21
[2025-03-09 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645103') start
[2025-03-09 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645103') end
[2025-03-09 22:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:03:04] Production.INFO: 1
[2025-03-09 22:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:03:05] Production.INFO: ==31619== Releasing lock...
[2025-03-09 22:03:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:03:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:03:05] Production.ERROR: done
[2025-03-09 22:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:03:05
[end_date_ymd] => 2025-03-09 22:03:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:03:05' and `end` < '2025-03-09 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-03-09 22:03:12] Production.ERROR: CronJobId end10
[2025-03-09 22:03:12] Production.INFO: ==31607== Releasing lock...
[2025-03-09 22:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:03:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:03:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:03:15] Production.INFO: call_cost start
[2025-03-09 22:03:15] Production.INFO: call_cost end
[2025-03-09 22:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:03:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:03:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:03:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:03:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:03:16] Production.INFO: ==31601== Releasing lock...
[2025-03-09 22:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:03:18] Production.INFO: count ==1105
[2025-03-09 22:03:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:03:05 - End Time 2025-03-09 22:03:05
[2025-03-09 22:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645104', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645104', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645104', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645104', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:03:18] Production.INFO: ProcessCDR(1,14645104,1,1,2)
[2025-03-09 22:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645104', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645104', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:03:23] Production.INFO: ==31615== Releasing lock...
[2025-03-09 22:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:03:23] Production.INFO: 36.25 MB #Memory Used#
[2025-03-10 02:04:01] Production.INFO: ==31704== Lock acquired, processing the job...
[2025-03-10 02:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:04:01] Production.INFO: neon service started
[2025-03-10 02:04:01] Production.INFO: neon service started
[2025-03-10 02:04:01] Production.INFO: ==31704== Releasing lock...
[2025-03-10 02:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:04:02] Production.INFO: ==31708== Lock acquired, processing the job...
[2025-03-10 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:04:02] Production.INFO: ==31708== Releasing lock...
[2025-03-10 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:04:02] Production.INFO: ==31706== Lock acquired, processing the job...
[2025-03-09 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:04:02] Production.INFO: ==31706== Releasing lock...
[2025-03-09 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:04:03] Production.INFO: ==31711== Lock acquired, processing the job...
[2025-03-09 22:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:04:03] Production.INFO: ==31715== Lock acquired, processing the job...
[2025-03-09 22:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:04:03] Production.INFO: ==31719== Lock acquired, processing the job...
[2025-03-09 22:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:04:03] Production.INFO: ==31713== Lock acquired, processing the job...
[2025-03-09 22:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:04:03] Production.INFO: ==31717== Lock acquired, processing the job...
[2025-03-09 22:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:04:03] Production.INFO: ==31721== Lock acquired, processing the job...
[2025-03-09 22:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:04:03] Production.INFO: Account Balance Start.
[2025-03-09 22:04:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:04:03] Production.INFO: 117
[2025-03-09 22:04:03] Production.INFO: Date 2025-03-08
[2025-03-09 22: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-03-09 22:04:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:04:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:04:03] Production.INFO: count ==13
[2025-03-09 22:04:04] Production.ERROR: done
[2025-03-09 22:04:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 22:04:04] Production.INFO: count ==21
[2025-03-09 22:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645108') start
[2025-03-09 22:04:04] Production.INFO: Total Charge 0
[2025-03-09 22:04:04] Production.INFO: CreateAllLog End
[2025-03-09 22:04:04] Production.INFO: ==31713== Releasing lock...
[2025-03-09 22:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:04:04] Production.ERROR: done
[2025-03-09 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645108') end
[2025-03-09 22:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:04:04] Production.INFO: 1
[2025-03-09 22:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:04:04] Production.INFO: ==31721== Releasing lock...
[2025-03-09 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:04:04] Production.INFO: Account Balance End.
[2025-03-09 22:04:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:04:04] Production.INFO: ==31717== Releasing lock...
[2025-03-09 22:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:04:05
[end_date_ymd] => 2025-03-09 22:04:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:04:05' and `end` < '2025-03-09 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-03-09 22:04:12] Production.ERROR: CronJobId end10
[2025-03-09 22:04:12] Production.INFO: ==31715== Releasing lock...
[2025-03-09 22:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:04:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:04:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:04:15] Production.INFO: call_cost start
[2025-03-09 22:04:15] Production.INFO: call_cost end
[2025-03-09 22:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:04:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:04:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:04:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:04:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:04:16] Production.INFO: ==31711== Releasing lock...
[2025-03-09 22:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:04:17] Production.INFO: count ==1106
[2025-03-09 22:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:04:05 - End Time 2025-03-09 22:04:05
[2025-03-09 22:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645109', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645109', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645109', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645109', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:04:17] Production.INFO: ProcessCDR(1,14645109,1,1,2)
[2025-03-09 22:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645109', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645109', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:04:22] Production.INFO: ==31719== Releasing lock...
[2025-03-09 22:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:04:22] Production.INFO: 36 MB #Memory Used#
[2025-03-10 02:05:02] Production.INFO: ==31785== Lock acquired, processing the job...
[2025-03-10 02:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:05:02] Production.INFO: neon service started
[2025-03-10 02:05:02] Production.INFO: neon service started
[2025-03-10 02:05:02] Production.INFO: ==31785== Releasing lock...
[2025-03-10 02:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:05:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 02:05:02] Production.INFO: ==31789== Lock acquired, processing the job...
[2025-03-10 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:05:02] Production.INFO: ==31789== Releasing lock...
[2025-03-10 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:05:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:05:02] Production.INFO: ==31787== Lock acquired, processing the job...
[2025-03-09 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:05:02] Production.INFO: ==31787== Releasing lock...
[2025-03-09 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:05:03] Production.INFO: ==31796== Lock acquired, processing the job...
[2025-03-09 22:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:05:03] Production.INFO: ==31792== Lock acquired, processing the job...
[2025-03-09 22:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:05:03] Production.INFO: ==31794== Lock acquired, processing the job...
[2025-03-09 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:05:03] Production.INFO: ==31798== Lock acquired, processing the job...
[2025-03-09 22:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:05:04] Production.INFO: ==31800== Lock acquired, processing the job...
[2025-03-09 22:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:05:04] Production.INFO: ==31802== Lock acquired, processing the job...
[2025-03-09 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:05:04] Production.INFO: Account Balance Start.
[2025-03-09 22:05:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:05:04] Production.INFO: 117
[2025-03-09 22:05:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:05:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 22:05:04] Production.INFO: ==31794== Releasing lock...
[2025-03-09 22:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:05:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:05:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:05:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:05:04] Production.INFO: count ==21
[2025-03-09 22:05:04] Production.INFO: Total Charge 0
[2025-03-09 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645113') start
[2025-03-09 22:05:04] Production.INFO: CreateAllLog End
[2025-03-09 22:05:04] Production.ERROR: done
[2025-03-09 22:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645113') end
[2025-03-09 22:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:05:04] Production.INFO: 1
[2025-03-09 22:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:05:04] Production.INFO: ==31802== Releasing lock...
[2025-03-09 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:05:04] Production.ERROR: done
[2025-03-09 22:05:04] Production.INFO: Account Balance End.
[2025-03-09 22:05:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:05:04] Production.INFO: ==31798== Releasing lock...
[2025-03-09 22:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:05:05
[end_date_ymd] => 2025-03-09 22:05:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:05:05' and `end` < '2025-03-09 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-03-09 22:05:12] Production.ERROR: CronJobId end10
[2025-03-09 22:05:12] Production.INFO: ==31796== Releasing lock...
[2025-03-09 22:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:05:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:05:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:05:15] Production.INFO: call_cost start
[2025-03-09 22:05:15] Production.INFO: call_cost end
[2025-03-09 22:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:05:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:05:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:05:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:05:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:05:16] Production.INFO: ==31792== Releasing lock...
[2025-03-09 22:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:05:18] Production.INFO: count ==1105
[2025-03-09 22:05:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:05:05 - End Time 2025-03-09 22:05:05
[2025-03-09 22:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645114', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645114', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645114', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645114', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:05:18] Production.INFO: ProcessCDR(1,14645114,1,1,2)
[2025-03-09 22:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645114', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645114', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:05:21] Production.INFO: ==31800== Releasing lock...
[2025-03-09 22:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:05:21] Production.INFO: 36.25 MB #Memory Used#
[2025-03-10 02:06:01] Production.INFO: ==31862== Lock acquired, processing the job...
[2025-03-10 02:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:06:01] Production.INFO: neon service started
[2025-03-10 02:06:01] Production.INFO: neon service started
[2025-03-10 02:06:01] Production.INFO: ==31862== Releasing lock...
[2025-03-10 02:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:06:01] Production.INFO: ==31864== Lock acquired, processing the job...
[2025-03-09 22:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:06:02] Production.INFO: ==31864== Releasing lock...
[2025-03-09 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:06:02] Production.INFO: ==31866== Lock acquired, processing the job...
[2025-03-10 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:06:02] Production.INFO: ==31866== Releasing lock...
[2025-03-10 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:06:03] Production.INFO: ==31868== Lock acquired, processing the job...
[2025-03-09 22:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:06:03] Production.INFO: ==31870== Lock acquired, processing the job...
[2025-03-09 22:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:06:03] Production.INFO: ==31872== Lock acquired, processing the job...
[2025-03-09 22:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:06:03] Production.INFO: ==31876== Lock acquired, processing the job...
[2025-03-09 22:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:06:03] Production.INFO: ==31874== Lock acquired, processing the job...
[2025-03-09 22:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:06:03] Production.INFO: Account Balance Start.
[2025-03-09 22:06:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:06:03] Production.INFO: 117
[2025-03-09 22:06:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:06:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:06:03] Production.INFO: ==31879== Lock acquired, processing the job...
[2025-03-09 22:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:06:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:06:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:06:03] Production.INFO: Total Charge 0
[2025-03-09 22:06:03] Production.INFO: ==31870== Releasing lock...
[2025-03-09 22:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:06:03] Production.INFO: CreateAllLog End
[2025-03-09 22: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-03-09 22:06:03] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:06:03] Production.INFO: count ==21
[2025-03-09 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645118') start
[2025-03-09 22:06:04] Production.ERROR: done
[2025-03-09 22:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:06:04] Production.INFO: Account Balance End.
[2025-03-09 22:06:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:06:04] Production.INFO: ==31874== Releasing lock...
[2025-03-09 22:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645118') end
[2025-03-09 22:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:06:04] Production.INFO: 1
[2025-03-09 22:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:06:04] Production.ERROR: done
[2025-03-09 22:06:04] Production.INFO: ==31879== Releasing lock...
[2025-03-09 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:06:05
[end_date_ymd] => 2025-03-09 22:06:05
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:06:05' and `end` < '2025-03-09 22: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-03-09 22:06:12] Production.ERROR: CronJobId end10
[2025-03-09 22:06:12] Production.INFO: ==31872== Releasing lock...
[2025-03-09 22:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:06:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:06:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:06:14] Production.INFO: call_cost start
[2025-03-09 22:06:14] Production.INFO: call_cost end
[2025-03-09 22:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:06:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:06:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:06:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:06:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:06:15] Production.INFO: ==31868== Releasing lock...
[2025-03-09 22:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:06:17] Production.INFO: count ==1105
[2025-03-09 22:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:06:05 - End Time 2025-03-09 22:06:05
[2025-03-09 22:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645119', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645119', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645119', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645119', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:06:17] Production.INFO: ProcessCDR(1,14645119,1,1,2)
[2025-03-09 22:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645119', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645119', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:06:22] Production.INFO: ==31876== Releasing lock...
[2025-03-09 22:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:06:22] Production.INFO: 36.25 MB #Memory Used#
[2025-03-10 02:07:02] Production.INFO: ==31945== Lock acquired, processing the job...
[2025-03-10 02:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:07:02] Production.INFO: neon service started
[2025-03-10 02:07:02] Production.INFO: neon service started
[2025-03-10 02:07:02] Production.INFO: ==31945== Releasing lock...
[2025-03-10 02:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:07:02] Production.INFO: ==31947== Lock acquired, processing the job...
[2025-03-09 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:07:02] Production.INFO: ==31949== Lock acquired, processing the job...
[2025-03-10 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:07:02] Production.INFO: ==31949== Releasing lock...
[2025-03-10 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:07:02] Production.INFO: ==31947== Releasing lock...
[2025-03-09 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:07:03] Production.INFO: ==31954== Lock acquired, processing the job...
[2025-03-09 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:07:03] Production.INFO: ==31952== Lock acquired, processing the job...
[2025-03-09 22:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:07:03] Production.INFO: ==31962== Lock acquired, processing the job...
[2025-03-09 22:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:07:04] Production.INFO: ==31958== Lock acquired, processing the job...
[2025-03-09 22:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:07:04] Production.INFO: ==31956== Lock acquired, processing the job...
[2025-03-09 22:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:07:04] Production.INFO: ==31960== Lock acquired, processing the job...
[2025-03-09 22:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 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-03-09 22:07:04] Production.INFO: Account Balance Start.
[2025-03-09 22:07:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:07:04] Production.INFO: 117
[2025-03-09 22:07:04] Production.INFO: count ==13
[2025-03-09 22:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 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-03-09 22:07:04] Production.INFO: ==31954== Releasing lock...
[2025-03-09 22:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:07:04] Production.INFO: count ==21
[2025-03-09 22:07:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645121') start
[2025-03-09 22:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:07:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:07:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:07:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645121') end
[2025-03-09 22:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:07:04] Production.INFO: 1
[2025-03-09 22:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:07:04] Production.INFO: Total Charge 0
[2025-03-09 22:07:04] Production.INFO: ==31962== Releasing lock...
[2025-03-09 22:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:07:04] Production.INFO: CreateAllLog End
[2025-03-09 22:07:04] Production.ERROR: done
[2025-03-09 22:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:07:04] Production.INFO: Account Balance End.
[2025-03-09 22:07:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:07:04] Production.INFO: ==31958== Releasing lock...
[2025-03-09 22:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:07:04] Production.ERROR: done
[2025-03-09 22:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:07:06
[end_date_ymd] => 2025-03-09 22:07:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:07:06' and `end` < '2025-03-09 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-03-09 22:07:13] Production.ERROR: CronJobId end10
[2025-03-09 22:07:13] Production.INFO: ==31956== Releasing lock...
[2025-03-09 22:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:07:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:07:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:07:15] Production.INFO: call_cost start
[2025-03-09 22:07:15] Production.INFO: call_cost end
[2025-03-09 22:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:07:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:07:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:07:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:07:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:07:16] Production.INFO: ==31952== Releasing lock...
[2025-03-09 22:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:07:18] Production.INFO: count ==1108
[2025-03-09 22:07:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:07:06 - End Time 2025-03-09 22:07:06
[2025-03-09 22:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645124', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645124', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645124', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645124', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:07:18] Production.INFO: ProcessCDR(1,14645124,1,1,2)
[2025-03-09 22:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645124', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645124', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:07:21] Production.INFO: ==31960== Releasing lock...
[2025-03-09 22:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:07:21] Production.INFO: 36.25 MB #Memory Used#
[2025-03-10 02:08:01] Production.INFO: ==32022== Lock acquired, processing the job...
[2025-03-10 02:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:08:01] Production.INFO: neon service started
[2025-03-10 02:08:01] Production.INFO: neon service started
[2025-03-10 02:08:01] Production.INFO: ==32022== Releasing lock...
[2025-03-10 02:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:08:01] Production.INFO: ==32024== Lock acquired, processing the job...
[2025-03-09 22:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:08:02] Production.INFO: ==32024== Releasing lock...
[2025-03-09 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:08:02] Production.INFO: ==32027== Lock acquired, processing the job...
[2025-03-10 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:08:02] Production.INFO: ==32027== Releasing lock...
[2025-03-10 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:08:03] Production.INFO: ==32030== Lock acquired, processing the job...
[2025-03-09 22:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:08:03] Production.INFO: ==32032== Lock acquired, processing the job...
[2025-03-09 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:08:03] Production.INFO: ==32034== Lock acquired, processing the job...
[2025-03-09 22:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:08:03] Production.INFO: ==32032== Releasing lock...
[2025-03-09 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:08:03] Production.INFO: ==32036== Lock acquired, processing the job...
[2025-03-09 22:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:08:03] Production.INFO: ==32038== Lock acquired, processing the job...
[2025-03-09 22:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:08:03] Production.INFO: ==32040== Lock acquired, processing the job...
[2025-03-09 22:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:08:03] Production.INFO: Account Balance Start.
[2025-03-09 22:08:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:08:03] Production.INFO: 117
[2025-03-09 22:08:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:08:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:08:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:08:03] Production.INFO: Reseller ==> 0
[2025-03-09 22: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-03-09 22:08:03] Production.INFO: Total Charge 0
[2025-03-09 22:08:03] Production.INFO: count ==13
[2025-03-09 22:08:03] Production.ERROR: done
[2025-03-09 22:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 22:08:04] Production.INFO: count ==21
[2025-03-09 22:08:04] Production.INFO: CreateAllLog End
[2025-03-09 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645128') start
[2025-03-09 22:08:04] Production.ERROR: done
[2025-03-09 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645128') end
[2025-03-09 22:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:08:04] Production.INFO: 1
[2025-03-09 22:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:08:04] Production.INFO: Account Balance End.
[2025-03-09 22:08:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:08:04] Production.INFO: ==32036== Releasing lock...
[2025-03-09 22:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:08:04] Production.INFO: ==32040== Releasing lock...
[2025-03-09 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:08:05
[end_date_ymd] => 2025-03-09 22:08:05
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:08:05' and `end` < '2025-03-09 22: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-03-09 22:08:12] Production.ERROR: CronJobId end10
[2025-03-09 22:08:12] Production.INFO: ==32034== Releasing lock...
[2025-03-09 22:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:08:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:08:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:08:14] Production.INFO: call_cost start
[2025-03-09 22:08:14] Production.INFO: call_cost end
[2025-03-09 22:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:08:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:08:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:08:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:08:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:08:14] Production.INFO: ==32030== Releasing lock...
[2025-03-09 22:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:08:17] Production.INFO: count ==1111
[2025-03-09 22:08:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:08:05 - End Time 2025-03-09 22:08:05
[2025-03-09 22:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645129', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645129', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645129', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645129', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:08:17] Production.INFO: ProcessCDR(1,14645129,1,1,2)
[2025-03-09 22:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645129', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645129', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:08:21] Production.INFO: ==32038== Releasing lock...
[2025-03-09 22:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:08:21] Production.INFO: 36.25 MB #Memory Used#
[2025-03-10 02:09:01] Production.INFO: ==32109== Lock acquired, processing the job...
[2025-03-10 02:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:09:01] Production.INFO: neon service started
[2025-03-10 02:09:01] Production.INFO: neon service started
[2025-03-10 02:09:01] Production.INFO: ==32109== Releasing lock...
[2025-03-10 02:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:09:02] Production.INFO: ==32111== Lock acquired, processing the job...
[2025-03-09 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:09:02] Production.INFO: ==32113== Lock acquired, processing the job...
[2025-03-10 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:09:02] Production.INFO: ==32113== Releasing lock...
[2025-03-10 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:09:02] Production.INFO: ==32111== Releasing lock...
[2025-03-09 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:09:03] Production.INFO: ==32116== Lock acquired, processing the job...
[2025-03-09 22:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:09:03] Production.INFO: ==32118== Lock acquired, processing the job...
[2025-03-09 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:09:03] Production.INFO: ==32122== Lock acquired, processing the job...
[2025-03-09 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:09:03] Production.INFO: ==32120== Lock acquired, processing the job...
[2025-03-09 22:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:09:03] Production.INFO: ==32124== Lock acquired, processing the job...
[2025-03-09 22:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:09:03] Production.INFO: ==32126== Lock acquired, processing the job...
[2025-03-09 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:09:03] Production.INFO: Account Balance Start.
[2025-03-09 22:09:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:09:03] Production.INFO: 117
[2025-03-09 22:09:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:09:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:09:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:09:04] Production.INFO: Reseller ==> 0
[2025-03-09 22: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-03-09 22:09:04] Production.INFO: count ==13
[2025-03-09 22:09:04] Production.INFO: ==32118== Releasing lock...
[2025-03-09 22:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22: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-03-09 22:09:04] Production.INFO: Total Charge 0
[2025-03-09 22:09:04] Production.INFO: count ==21
[2025-03-09 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645133') start
[2025-03-09 22:09:04] Production.INFO: CreateAllLog End
[2025-03-09 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645133') end
[2025-03-09 22:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:09:04] Production.INFO: 1
[2025-03-09 22:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:09:04] Production.INFO: ==32126== Releasing lock...
[2025-03-09 22:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:09:04] Production.ERROR: done
[2025-03-09 22:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:09:04] Production.INFO: Account Balance End.
[2025-03-09 22:09:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:09:04] Production.INFO: ==32122== Releasing lock...
[2025-03-09 22:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:09:04] Production.ERROR: done
[2025-03-09 22:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:09:05
[end_date_ymd] => 2025-03-09 22:09:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:09:05' and `end` < '2025-03-09 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-03-09 22:09:12] Production.ERROR: CronJobId end10
[2025-03-09 22:09:12] Production.INFO: ==32120== Releasing lock...
[2025-03-09 22:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:09:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:09:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:09:15] Production.INFO: call_cost start
[2025-03-09 22:09:15] Production.INFO: call_cost end
[2025-03-09 22:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:09:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:09:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:09:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:09:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:09:15] Production.INFO: ==32116== Releasing lock...
[2025-03-09 22:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:09:17] Production.INFO: count ==1109
[2025-03-09 22:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:09:05 - End Time 2025-03-09 22:09:05
[2025-03-09 22:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645134', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645134', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645134', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645134', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:09:17] Production.INFO: ProcessCDR(1,14645134,1,1,2)
[2025-03-09 22:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645134', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645134', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:09:21] Production.INFO: ==32124== Releasing lock...
[2025-03-09 22:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:09:21] Production.INFO: 36.25 MB #Memory Used#
[2025-03-10 02:10:01] Production.INFO: ==32188== Lock acquired, processing the job...
[2025-03-10 02:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:10:01] Production.INFO: neon service started
[2025-03-10 02:10:01] Production.INFO: neon service started
[2025-03-10 02:10:01] Production.INFO: ==32188== Releasing lock...
[2025-03-10 02:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:10:02] Production.INFO: ==32190== Lock acquired, processing the job...
[2025-03-09 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:10:02] Production.INFO: ==32192== Lock acquired, processing the job...
[2025-03-10 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:10:02] Production.INFO: ==32192== Releasing lock...
[2025-03-10 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:10:02] Production.INFO: ==32190== Releasing lock...
[2025-03-09 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:10:03] Production.INFO: ==32196== Lock acquired, processing the job...
[2025-03-09 22:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 22:10:03] Production.INFO: ==32198== Lock acquired, processing the job...
[2025-03-09 22:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 22:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 22:10:03] Production.ERROR: CronJob PID - 32198
[2025-03-09 22:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-09 22:10:03] Production.ERROR: CronJob ID - 5
[2025-03-09 22:10:03] Production.ERROR: CronJob Last Run Time 2025-03-09 22:10:00
[2025-03-09 22:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 22:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 22:10:03] Production.INFO: ==32200== Lock acquired, processing the job...
[2025-03-09 22:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 22:10:03] Production.INFO: ==32196== Releasing lock...
[2025-03-09 22:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 22:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 22:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:10:03] Production.INFO: ==32204== Lock acquired, processing the job...
[2025-03-09 22:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:10:03] Production.INFO: ==32206== Lock acquired, processing the job...
[2025-03-09 22:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:10:03] Production.INFO: ==32202== Lock acquired, processing the job...
[2025-03-09 22:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:10:03] Production.INFO: ==32208== Lock acquired, processing the job...
[2025-03-09 22:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 22:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:10:03] Production.INFO: Account Balance Start.
[2025-03-09 22:10:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:10:03] Production.INFO: 117
[2025-03-09 22:10:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:10:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:10:03] Production.INFO: ==32210== Lock acquired, processing the job...
[2025-03-09 22:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:10:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:10:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:10:04] Production.INFO: Total Charge 0
[2025-03-09 22:10:04] Production.INFO: CreateAllLog End
[2025-03-09 22:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:10:04] Production.INFO: ==32200== Releasing lock...
[2025-03-09 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22: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-03-09 22:10:04] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:10:04] Production.INFO: count ==21
[2025-03-09 22:10:04] Production.ERROR: done
[2025-03-09 22:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645138') start
[2025-03-09 22:10:04] Production.ERROR: done
[2025-03-09 22:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 22:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645139', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 22:10:04] Production.ERROR: done
[2025-03-09 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645138') end
[2025-03-09 22:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:10:04] Production.INFO: 1
[2025-03-09 22:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:10:04] Production.INFO: Account Balance End.
[2025-03-09 22:10:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:10:04] Production.INFO: ==32204== Releasing lock...
[2025-03-09 22:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:10:05] Production.INFO: ==32210== Releasing lock...
[2025-03-09 22:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:10:06
[end_date_ymd] => 2025-03-09 22:10:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:10:06' and `end` < '2025-03-09 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-03-09 22:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645139', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 22:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 22:10:08] Production.INFO: ProcessCDR(1,14645139,1,1,2)
[2025-03-09 22:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645139,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645139,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:10:08] Production.INFO: ==32208== Releasing lock...
[2025-03-09 22:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 22:10:08] Production.INFO: 26 MB #Memory Used#
[2025-03-09 22:10:13] Production.ERROR: CronJobId end10
[2025-03-09 22:10:13] Production.INFO: ==32202== Releasing lock...
[2025-03-09 22:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:10:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:10:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:10:15] Production.INFO: call_cost start
[2025-03-09 22:10:15] Production.INFO: call_cost end
[2025-03-09 22:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:10:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:10:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:10:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:10:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:10:16] Production.INFO: ==32198== Releasing lock...
[2025-03-09 22:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:10:18] Production.INFO: count ==1095
[2025-03-09 22:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:10:06 - End Time 2025-03-09 22:10:06
[2025-03-09 22:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645140', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645140', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645140', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645140', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:10:18] Production.INFO: ProcessCDR(1,14645140,1,1,2)
[2025-03-09 22:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645140', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645140', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:10:22] Production.INFO: ==32206== Releasing lock...
[2025-03-09 22:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:10:22] Production.INFO: 36 MB #Memory Used#
[2025-03-10 02:11:01] Production.INFO: ==32270== Lock acquired, processing the job...
[2025-03-10 02:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:11:01] Production.INFO: neon service started
[2025-03-10 02:11:01] Production.INFO: neon service started
[2025-03-10 02:11:01] Production.INFO: ==32270== Releasing lock...
[2025-03-10 02:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:11:02] Production.INFO: ==32272== Lock acquired, processing the job...
[2025-03-09 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:11:02] Production.INFO: ==32272== Releasing lock...
[2025-03-09 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:11:02] Production.INFO: ==32274== Lock acquired, processing the job...
[2025-03-10 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:11:02] Production.INFO: ==32274== Releasing lock...
[2025-03-10 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:11:03] Production.INFO: ==32277== Lock acquired, processing the job...
[2025-03-09 22:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:11:03] Production.INFO: ==32279== Lock acquired, processing the job...
[2025-03-09 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:11:03] Production.INFO: ==32281== Lock acquired, processing the job...
[2025-03-09 22:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:11:03] Production.INFO: ==32285== Lock acquired, processing the job...
[2025-03-09 22:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:11:03] Production.INFO: ==32279== Releasing lock...
[2025-03-09 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:11:03] Production.INFO: ==32287== Lock acquired, processing the job...
[2025-03-09 22:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:11:03] Production.INFO: ==32283== Lock acquired, processing the job...
[2025-03-09 22:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22: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-03-09 22:11:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:11:04] Production.INFO: count ==21
[2025-03-09 22:11:04] Production.INFO: Account Balance Start.
[2025-03-09 22:11:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:11:04] Production.INFO: 117
[2025-03-09 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645143') start
[2025-03-09 22:11:04] Production.ERROR: done
[2025-03-09 22:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:11:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:11:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645143') end
[2025-03-09 22:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:11:04] Production.INFO: 1
[2025-03-09 22:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:11:04] Production.ERROR: done
[2025-03-09 22:11:04] Production.INFO: ==32287== Releasing lock...
[2025-03-09 22:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:11:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:11:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:11:04] Production.INFO: Total Charge 0
[2025-03-09 22:11:04] Production.INFO: CreateAllLog End
[2025-03-09 22:11:04] Production.INFO: Account Balance End.
[2025-03-09 22:11:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:11:04] Production.INFO: ==32283== Releasing lock...
[2025-03-09 22:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:11:05
[end_date_ymd] => 2025-03-09 22:11:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:11:05' and `end` < '2025-03-09 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-03-09 22:11:11] Production.ERROR: CronJobId end10
[2025-03-09 22:11:11] Production.INFO: ==32281== Releasing lock...
[2025-03-09 22:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:11:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:11:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:11:13] Production.INFO: call_cost start
[2025-03-09 22:11:13] Production.INFO: call_cost end
[2025-03-09 22:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:11:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:11:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:11:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:11:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:11:14] Production.INFO: ==32277== Releasing lock...
[2025-03-09 22:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:11:17] Production.INFO: count ==1044
[2025-03-09 22:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:11:05 - End Time 2025-03-09 22:11:05
[2025-03-09 22:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645145', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645145', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645145', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645145', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:11:17] Production.INFO: ProcessCDR(1,14645145,1,1,2)
[2025-03-09 22:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645145', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645145', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:11:22] Production.INFO: ==32285== Releasing lock...
[2025-03-09 22:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:11:22] Production.INFO: 35.75 MB #Memory Used#
[2025-03-10 02:12:02] Production.INFO: ==32347== Lock acquired, processing the job...
[2025-03-10 02:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:12:02] Production.INFO: neon service started
[2025-03-10 02:12:02] Production.INFO: neon service started
[2025-03-10 02:12:02] Production.INFO: ==32347== Releasing lock...
[2025-03-10 02:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:12:02] Production.INFO: ==32350== Lock acquired, processing the job...
[2025-03-09 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:12:02] Production.INFO: ==32350== Releasing lock...
[2025-03-09 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:12:03] Production.INFO: ==32352== Lock acquired, processing the job...
[2025-03-10 02:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:12:03] Production.INFO: ==32352== Releasing lock...
[2025-03-10 02:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:12:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:12:03] Production.INFO: ==32362== Lock acquired, processing the job...
[2025-03-09 22:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:12:03] Production.INFO: ==32364== Lock acquired, processing the job...
[2025-03-09 22:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:12:04] Production.INFO: ==32354== Lock acquired, processing the job...
[2025-03-09 22:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:12:04] Production.INFO: ==32356== Lock acquired, processing the job...
[2025-03-09 22:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:12:04] Production.INFO: ==32358== Lock acquired, processing the job...
[2025-03-09 22:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:12:04] Production.INFO: ==32360== Lock acquired, processing the job...
[2025-03-09 22:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 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-03-09 22:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:12:04] Production.INFO: Account Balance Start.
[2025-03-09 22:12:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:12:04] Production.INFO: count ==13
[2025-03-09 22:12:04] Production.INFO: 117
[2025-03-09 22:12:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:12:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 22:12:04] Production.INFO: count ==21
[2025-03-09 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645146') start
[2025-03-09 22:12:04] Production.ERROR: done
[2025-03-09 22:12:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:12:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645146') end
[2025-03-09 22:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:12:04] Production.INFO: 1
[2025-03-09 22:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:12:04] Production.INFO: Total Charge 0
[2025-03-09 22:12:04] Production.INFO: ==32364== Releasing lock...
[2025-03-09 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:12:04] Production.ERROR: done
[2025-03-09 22:12:04] Production.INFO: CreateAllLog End
[2025-03-09 22:12:04] Production.INFO: ==32356== Releasing lock...
[2025-03-09 22:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:12:04] Production.INFO: Account Balance End.
[2025-03-09 22:12:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:12:04] Production.INFO: ==32360== Releasing lock...
[2025-03-09 22:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:12:05
[end_date_ymd] => 2025-03-09 22:12:05
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:12:05' and `end` < '2025-03-09 22: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-03-09 22:12:12] Production.ERROR: CronJobId end10
[2025-03-09 22:12:12] Production.INFO: ==32358== Releasing lock...
[2025-03-09 22:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:12:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:12:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:12:15] Production.INFO: call_cost start
[2025-03-09 22:12:15] Production.INFO: call_cost end
[2025-03-09 22:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:12:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:12:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:12:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:12:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:12:16] Production.INFO: ==32354== Releasing lock...
[2025-03-09 22:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:12:17] Production.INFO: count ==1038
[2025-03-09 22:12:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:12:05 - End Time 2025-03-09 22:12:05
[2025-03-09 22:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645150', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645150', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645150', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645150', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:12:17] Production.INFO: ProcessCDR(1,14645150,1,1,2)
[2025-03-09 22:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645150', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645150', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:12:21] Production.INFO: ==32362== Releasing lock...
[2025-03-09 22:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:12:21] Production.INFO: 35.75 MB #Memory Used#
[2025-03-10 02:13:01] Production.INFO: ==32429== Lock acquired, processing the job...
[2025-03-10 02:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:13:01] Production.INFO: neon service started
[2025-03-10 02:13:01] Production.INFO: neon service started
[2025-03-10 02:13:01] Production.INFO: ==32429== Releasing lock...
[2025-03-10 02:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:13:02] Production.INFO: ==32432== Lock acquired, processing the job...
[2025-03-09 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:13:02] Production.INFO: ==32432== Releasing lock...
[2025-03-09 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:13:02] Production.INFO: ==32434== Lock acquired, processing the job...
[2025-03-10 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:13:02] Production.INFO: ==32434== Releasing lock...
[2025-03-10 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:13:03] Production.INFO: ==32442== Lock acquired, processing the job...
[2025-03-09 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:13:03] Production.INFO: ==32436== Lock acquired, processing the job...
[2025-03-09 22:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:13:03] Production.INFO: ==32446== Lock acquired, processing the job...
[2025-03-09 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:13:03] Production.INFO: Account Balance Start.
[2025-03-09 22:13:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:13:03] Production.INFO: 117
[2025-03-09 22:13:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:13:03] Production.INFO: Reseller ==> 0
[2025-03-09 22: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-03-09 22:13:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:13:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:13:03] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:13:03] Production.INFO: count ==21
[2025-03-09 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645152') start
[2025-03-09 22:13:03] Production.INFO: ==32440== Lock acquired, processing the job...
[2025-03-09 22:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:13:03] Production.INFO: ==32438== Lock acquired, processing the job...
[2025-03-09 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:13:03] Production.INFO: ==32444== Lock acquired, processing the job...
[2025-03-09 22:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:13:03] Production.INFO: Total Charge 0
[2025-03-09 22:13:03] Production.INFO: CreateAllLog End
[2025-03-09 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645152') end
[2025-03-09 22:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:13:03] Production.INFO: 1
[2025-03-09 22:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:13:03] Production.INFO: ==32446== Releasing lock...
[2025-03-09 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:13:04] Production.INFO: Account Balance End.
[2025-03-09 22:13:04] Production.INFO: ==32438== Releasing lock...
[2025-03-09 22:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:13:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:13:04] Production.INFO: ==32442== Releasing lock...
[2025-03-09 22:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:13:04] Production.ERROR: done
[2025-03-09 22:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:13:04] Production.ERROR: done
[2025-03-09 22:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:13:05
[end_date_ymd] => 2025-03-09 22:13:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:13:05' and `end` < '2025-03-09 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-03-09 22:13:13] Production.ERROR: CronJobId end10
[2025-03-09 22:13:13] Production.INFO: ==32440== Releasing lock...
[2025-03-09 22:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:13:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:13:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:13:14] Production.INFO: call_cost start
[2025-03-09 22:13:14] Production.INFO: call_cost end
[2025-03-09 22:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:13:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:13:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:13:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:13:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:13:15] Production.INFO: ==32436== Releasing lock...
[2025-03-09 22:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:13:17] Production.INFO: count ==1024
[2025-03-09 22:13:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:13:05 - End Time 2025-03-09 22:13:05
[2025-03-09 22:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645155', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645155', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645155', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645155', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:13:18] Production.INFO: ProcessCDR(1,14645155,1,1,2)
[2025-03-09 22:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645155', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645155', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:13:23] Production.INFO: ==32444== Releasing lock...
[2025-03-09 22:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:13:23] Production.INFO: 35.5 MB #Memory Used#
[2025-03-10 02:14:02] Production.INFO: ==32512== Lock acquired, processing the job...
[2025-03-10 02:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:14:02] Production.INFO: neon service started
[2025-03-10 02:14:02] Production.INFO: neon service started
[2025-03-10 02:14:02] Production.INFO: ==32512== Releasing lock...
[2025-03-10 02:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:14:02] Production.INFO: ==32515== Lock acquired, processing the job...
[2025-03-09 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:14:02] Production.INFO: ==32517== Lock acquired, processing the job...
[2025-03-10 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:14:03] Production.INFO: ==32517== Releasing lock...
[2025-03-10 02:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:14:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:14:03] Production.INFO: ==32515== Releasing lock...
[2025-03-09 22:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:14:04] Production.INFO: ==32519== Lock acquired, processing the job...
[2025-03-09 22:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:14:04] Production.INFO: ==32521== Lock acquired, processing the job...
[2025-03-09 22:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:14:04] Production.INFO: ==32527== Lock acquired, processing the job...
[2025-03-09 22:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:14:04] Production.INFO: ==32523== Lock acquired, processing the job...
[2025-03-09 22:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:14:04] Production.INFO: ==32529== Lock acquired, processing the job...
[2025-03-09 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:14:04] Production.INFO: ==32525== Lock acquired, processing the job...
[2025-03-09 22:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:14:04] Production.INFO: ==32521== Releasing lock...
[2025-03-09 22:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:14:04] Production.INFO: Account Balance Start.
[2025-03-09 22:14:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:14:04] Production.INFO: 117
[2025-03-09 22:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:14:04] Production.INFO: Date 2025-03-08
[2025-03-09 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-03-09 22:14:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:14:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:14:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:14:04] Production.INFO: Total Charge 0
[2025-03-09 22:14:04] Production.INFO: count ==13
[2025-03-09 22:14:04] Production.INFO: CreateAllLog End
[2025-03-09 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-03-09 22:14:04] Production.INFO: count ==21
[2025-03-09 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645158') start
[2025-03-09 22:14:04] Production.ERROR: done
[2025-03-09 22:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:14:04] Production.INFO: Account Balance End.
[2025-03-09 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645158') end
[2025-03-09 22:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:14:04] Production.INFO: 1
[2025-03-09 22:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:14:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:14:04] Production.INFO: ==32525== Releasing lock...
[2025-03-09 22:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:14:04] Production.INFO: ==32529== Releasing lock...
[2025-03-09 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:14:04] Production.ERROR: done
[2025-03-09 22:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:14:05
[end_date_ymd] => 2025-03-09 22:14:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:14:05' and `end` < '2025-03-09 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-03-09 22:14:12] Production.ERROR: CronJobId end10
[2025-03-09 22:14:12] Production.INFO: ==32523== Releasing lock...
[2025-03-09 22:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:14:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:14:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:14:14] Production.INFO: call_cost start
[2025-03-09 22:14:14] Production.INFO: call_cost end
[2025-03-09 22:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:14:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:14:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:14:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:14:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:14:15] Production.INFO: ==32519== Releasing lock...
[2025-03-09 22:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:14:17] Production.INFO: count ==1021
[2025-03-09 22:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:14:05 - End Time 2025-03-09 22:14:05
[2025-03-09 22:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645160', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645160', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645160', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645160', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:14:17] Production.INFO: ProcessCDR(1,14645160,1,1,2)
[2025-03-09 22:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645160', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645160', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:14:21] Production.INFO: ==32527== Releasing lock...
[2025-03-09 22:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:14:21] Production.INFO: 35.75 MB #Memory Used#
[2025-03-10 02:15:01] Production.INFO: ==32599== Lock acquired, processing the job...
[2025-03-10 02:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:15:01] Production.INFO: neon service started
[2025-03-10 02:15:01] Production.INFO: neon service started
[2025-03-10 02:15:01] Production.INFO: ==32599== Releasing lock...
[2025-03-10 02:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:15:02] Production.INFO: ==32601== Lock acquired, processing the job...
[2025-03-09 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:15:02] Production.INFO: ==32601== Releasing lock...
[2025-03-09 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:15:02] Production.INFO: ==32603== Lock acquired, processing the job...
[2025-03-10 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:15:02] Production.INFO: ==32603== Releasing lock...
[2025-03-10 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:15:03] Production.INFO: ==32612== Lock acquired, processing the job...
[2025-03-09 22:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:15:03] Production.INFO: ==32614== Lock acquired, processing the job...
[2025-03-09 22:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:15:03] Production.INFO: ==32606== Lock acquired, processing the job...
[2025-03-09 22:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:15:03] Production.INFO: ==32608== Lock acquired, processing the job...
[2025-03-09 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:15:03] Production.INFO: Account Balance Start.
[2025-03-09 22:15:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:15:03] Production.INFO: ==32610== Lock acquired, processing the job...
[2025-03-09 22:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:15:03] Production.INFO: 117
[2025-03-09 22:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:15:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:15:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:15:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:15:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:15:03] Production.INFO: ==32616== Lock acquired, processing the job...
[2025-03-09 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:15:03] Production.INFO: Total Charge 0
[2025-03-09 22:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:15:03] Production.INFO: CreateAllLog End
[2025-03-09 22:15:03] Production.ERROR: done
[2025-03-09 22:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 22:15:03] Production.INFO: Account Balance End.
[2025-03-09 22:15:04] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:15:04] Production.INFO: count ==21
[2025-03-09 22:15:04] Production.ERROR: done
[2025-03-09 22:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645164') start
[2025-03-09 22:15:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:15:04] Production.INFO: ==32612== Releasing lock...
[2025-03-09 22:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:15:04] Production.INFO: ==32608== Releasing lock...
[2025-03-09 22:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645164') end
[2025-03-09 22:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:15:04] Production.INFO: 1
[2025-03-09 22:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:15:04] Production.INFO: ==32616== Releasing lock...
[2025-03-09 22:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:15:05
[end_date_ymd] => 2025-03-09 22:15:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:15:05' and `end` < '2025-03-09 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-03-09 22:15:11] Production.ERROR: CronJobId end10
[2025-03-09 22:15:11] Production.INFO: ==32610== Releasing lock...
[2025-03-09 22:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:15:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:15:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:15:15] Production.INFO: call_cost start
[2025-03-09 22:15:15] Production.INFO: call_cost end
[2025-03-09 22:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:15:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:15:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:15:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:15:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:15:16] Production.INFO: ==32606== Releasing lock...
[2025-03-09 22:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:15:17] Production.INFO: count ==1016
[2025-03-09 22:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:15:05 - End Time 2025-03-09 22:15:05
[2025-03-09 22:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645165', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645165', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645165', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645165', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:15:17] Production.INFO: ProcessCDR(1,14645165,1,1,2)
[2025-03-09 22:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645165', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645165', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:15:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:15:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:15:20] Production.INFO: ==32614== Releasing lock...
[2025-03-09 22:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:15:20] Production.INFO: 35.75 MB #Memory Used#
[2025-03-10 02:16:02] Production.INFO: ==32679== Lock acquired, processing the job...
[2025-03-10 02:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:16:02] Production.INFO: neon service started
[2025-03-10 02:16:02] Production.INFO: neon service started
[2025-03-10 02:16:02] Production.INFO: ==32679== Releasing lock...
[2025-03-10 02:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:16:02] Production.INFO: ==32681== Lock acquired, processing the job...
[2025-03-09 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:16:02] Production.INFO: ==32683== Lock acquired, processing the job...
[2025-03-10 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 22:16:02] Production.INFO: ==32681== Releasing lock...
[2025-03-09 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:16:02] Production.INFO: ==32683== Releasing lock...
[2025-03-10 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:16:03] Production.INFO: ==32694== Lock acquired, processing the job...
[2025-03-09 22:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:16:03] Production.INFO: ==32696== Lock acquired, processing the job...
[2025-03-09 22:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:16:03] Production.INFO: ==32686== Lock acquired, processing the job...
[2025-03-09 22:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:16:03] Production.INFO: ==32690== Lock acquired, processing the job...
[2025-03-09 22:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:16:03] Production.INFO: ==32688== Lock acquired, processing the job...
[2025-03-09 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:16:04] Production.INFO: ==32692== Lock acquired, processing the job...
[2025-03-09 22:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 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-03-09 22:16:04] Production.INFO: count ==13
[2025-03-09 22:16:04] Production.ERROR: done
[2025-03-09 22:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 22:16:04] Production.INFO: count ==21
[2025-03-09 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645166') start
[2025-03-09 22:16:04] Production.INFO: Account Balance Start.
[2025-03-09 22:16:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:16:04] Production.INFO: 117
[2025-03-09 22:16:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:16:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:16:04] Production.ERROR: done
[2025-03-09 22:16:04] Production.INFO: ==32688== Releasing lock...
[2025-03-09 22:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645166') end
[2025-03-09 22:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:16:04] Production.INFO: 1
[2025-03-09 22:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:16:04] Production.INFO: ==32696== Releasing lock...
[2025-03-09 22:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:16:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:16:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:16:04] Production.INFO: Total Charge 0
[2025-03-09 22:16:04] Production.INFO: CreateAllLog End
[2025-03-09 22:16:04] Production.INFO: Account Balance End.
[2025-03-09 22:16:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:16:04] Production.INFO: ==32692== Releasing lock...
[2025-03-09 22:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:16:05
[end_date_ymd] => 2025-03-09 22:16:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:16:05' and `end` < '2025-03-09 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-03-09 22:16:12] Production.ERROR: CronJobId end10
[2025-03-09 22:16:12] Production.INFO: ==32690== Releasing lock...
[2025-03-09 22:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:16:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:16:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:16:14] Production.INFO: call_cost start
[2025-03-09 22:16:14] Production.INFO: call_cost end
[2025-03-09 22:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:16:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:16:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:16:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:16:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:16:15] Production.INFO: ==32686== Releasing lock...
[2025-03-09 22:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:16:17] Production.INFO: count ==1016
[2025-03-09 22:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:16:05 - End Time 2025-03-09 22:16:05
[2025-03-09 22:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645170', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645170', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645170', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645170', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:16:17] Production.INFO: ProcessCDR(1,14645170,1,1,2)
[2025-03-09 22:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645170', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645170', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:16:21] Production.INFO: ==32694== Releasing lock...
[2025-03-09 22:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:16:21] Production.INFO: 35.75 MB #Memory Used#
[2025-03-10 02:17:01] Production.INFO: ==315== Lock acquired, processing the job...
[2025-03-10 02:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:17:01] Production.INFO: neon service started
[2025-03-10 02:17:01] Production.INFO: neon service started
[2025-03-10 02:17:01] Production.INFO: ==315== Releasing lock...
[2025-03-10 02:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:17:01] Production.INFO: ==319== Lock acquired, processing the job...
[2025-03-10 02:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:17:02] Production.INFO: ==319== Releasing lock...
[2025-03-10 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:17:02] Production.INFO: ==317== Lock acquired, processing the job...
[2025-03-09 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:17:02] Production.INFO: ==317== Releasing lock...
[2025-03-09 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:17:03] Production.INFO: ==323== Lock acquired, processing the job...
[2025-03-09 22:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:17:03] Production.INFO: ==327== Lock acquired, processing the job...
[2025-03-09 22:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:17:03] Production.INFO: ==329== Lock acquired, processing the job...
[2025-03-09 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:17:03] Production.INFO: ==325== Lock acquired, processing the job...
[2025-03-09 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:17:03] Production.INFO: Account Balance Start.
[2025-03-09 22:17:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:17:03] Production.INFO: 117
[2025-03-09 22:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:17:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:17:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:17:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:17:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:17:03] Production.INFO: Total Charge 0
[2025-03-09 22:17:03] Production.INFO: CreateAllLog End
[2025-03-09 22:17:03] Production.INFO: Account Balance End.
[2025-03-09 22:17:03] Production.ERROR: CronJobId end 12
[2025-03-09 22:17:03] Production.INFO: ==329== Releasing lock...
[2025-03-09 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:17:03] Production.INFO: ==325== Releasing lock...
[2025-03-09 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:17:03] Production.INFO: ==333== Lock acquired, processing the job...
[2025-03-09 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:17:03] Production.INFO: ==331== Lock acquired, processing the job...
[2025-03-09 22:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22: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-03-09 22:17:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:17:04] Production.INFO: count ==21
[2025-03-09 22:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645174') start
[2025-03-09 22:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645174') end
[2025-03-09 22:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:17:04] Production.INFO: 1
[2025-03-09 22:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:17:04] Production.INFO: ==333== Releasing lock...
[2025-03-09 22:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:17:04] Production.ERROR: done
[2025-03-09 22:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:17:04] Production.ERROR: done
[2025-03-09 22:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:17:05
[end_date_ymd] => 2025-03-09 22:17:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:17:05' and `end` < '2025-03-09 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-03-09 22:17:14] Production.ERROR: CronJobId end10
[2025-03-09 22:17:14] Production.INFO: ==327== Releasing lock...
[2025-03-09 22:17:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:17:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:17:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:17:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:17:15] Production.INFO: call_cost start
[2025-03-09 22:17:15] Production.INFO: call_cost end
[2025-03-09 22:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:17:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:17:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:17:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:17:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:17:16] Production.INFO: ==323== Releasing lock...
[2025-03-09 22:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:17:17] Production.INFO: count ==1015
[2025-03-09 22:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:17:05 - End Time 2025-03-09 22:17:05
[2025-03-09 22:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645175', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645175', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645175', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645175', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:17:17] Production.INFO: ProcessCDR(1,14645175,1,1,2)
[2025-03-09 22:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645175', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645175', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:17:21] Production.INFO: ==331== Releasing lock...
[2025-03-09 22:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:17:21] Production.INFO: 35.5 MB #Memory Used#
[2025-03-10 02:18:02] Production.INFO: ==406== Lock acquired, processing the job...
[2025-03-10 02:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:18:02] Production.INFO: neon service started
[2025-03-10 02:18:02] Production.INFO: neon service started
[2025-03-10 02:18:02] Production.INFO: ==406== Releasing lock...
[2025-03-10 02:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:18:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 22:18:02] Production.INFO: ==408== Lock acquired, processing the job...
[2025-03-09 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:18:03] Production.INFO: ==410== Lock acquired, processing the job...
[2025-03-10 02:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:18:03] Production.INFO: ==410== Releasing lock...
[2025-03-10 02:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:18:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:18:03] Production.INFO: ==408== Releasing lock...
[2025-03-09 22:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:18:04] Production.INFO: ==417== Lock acquired, processing the job...
[2025-03-09 22:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:18:04] Production.INFO: ==413== Lock acquired, processing the job...
[2025-03-09 22:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:18:04] Production.INFO: ==421== Lock acquired, processing the job...
[2025-03-09 22:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:18:04] Production.INFO: ==415== Lock acquired, processing the job...
[2025-03-09 22:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:18:04] Production.INFO: ==419== Lock acquired, processing the job...
[2025-03-09 22:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:18:04] Production.INFO: ==423== Lock acquired, processing the job...
[2025-03-09 22:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:18:04] Production.INFO: Account Balance Start.
[2025-03-09 22:18:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:18:04] Production.INFO: 117
[2025-03-09 22:18:04] Production.ERROR: done
[2025-03-09 22:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:18:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:18:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 22:18:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:18:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:18:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:18:04] Production.INFO: count ==21
[2025-03-09 22:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645179') start
[2025-03-09 22:18:04] Production.INFO: Total Charge 0
[2025-03-09 22:18:04] Production.INFO: CreateAllLog End
[2025-03-09 22:18:04] Production.INFO: ==415== Releasing lock...
[2025-03-09 22:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:18:04] Production.ERROR: done
[2025-03-09 22:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645179') end
[2025-03-09 22:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:18:04] Production.INFO: 1
[2025-03-09 22:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:18:04] Production.INFO: ==423== Releasing lock...
[2025-03-09 22:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:18:04] Production.INFO: Account Balance End.
[2025-03-09 22:18:05] Production.ERROR: CronJobId end 12
[2025-03-09 22:18:05] Production.INFO: ==419== Releasing lock...
[2025-03-09 22:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:18:05
[end_date_ymd] => 2025-03-09 22:18:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:18:05' and `end` < '2025-03-09 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-03-09 22:18:15] Production.ERROR: CronJobId end10
[2025-03-09 22:18:15] Production.INFO: ==417== Releasing lock...
[2025-03-09 22:18:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:18:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:18:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:18:17] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:18:17] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:18:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:18:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:18:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:18:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:18:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:18:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:18:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:18:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:18:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:18:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:18:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:18:17] Production.INFO: call_cost start
[2025-03-09 22:18:17] Production.INFO: call_cost end
[2025-03-09 22:18:17] Production.INFO: count ==1015
[2025-03-09 22:18:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:18:05 - End Time 2025-03-09 22:18:05
[2025-03-09 22:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645180', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645180', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645180', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645180', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:18:18] Production.INFO: ProcessCDR(1,14645180,1,1,2)
[2025-03-09 22:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:18:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:18:18] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:18:18] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:18:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:18:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:18:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:18:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:18:18] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:18:18] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:18:18] Production.INFO: ==413== Releasing lock...
[2025-03-09 22:18:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:18:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645180', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645180', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:18:21] Production.INFO: ==421== Releasing lock...
[2025-03-09 22:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:18:21] Production.INFO: 35.5 MB #Memory Used#
[2025-03-10 02:19:01] Production.INFO: ==523== Lock acquired, processing the job...
[2025-03-10 02:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:19:01] Production.INFO: neon service started
[2025-03-10 02:19:01] Production.INFO: neon service started
[2025-03-10 02:19:01] Production.INFO: ==523== Releasing lock...
[2025-03-10 02:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:19:02] Production.INFO: ==526== Lock acquired, processing the job...
[2025-03-09 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:19:02] Production.INFO: ==526== Releasing lock...
[2025-03-09 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:19:02] Production.INFO: ==528== Lock acquired, processing the job...
[2025-03-10 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:19:02] Production.INFO: ==528== Releasing lock...
[2025-03-10 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:19:03] Production.INFO: ==532== Lock acquired, processing the job...
[2025-03-09 22:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:19:03] Production.INFO: ==530== Lock acquired, processing the job...
[2025-03-09 22:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:19:03] Production.INFO: ==538== Lock acquired, processing the job...
[2025-03-09 22:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:19:03] Production.INFO: ==534== Lock acquired, processing the job...
[2025-03-09 22:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:19:03] Production.INFO: ==536== Lock acquired, processing the job...
[2025-03-09 22:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:19:03] Production.INFO: ==540== Lock acquired, processing the job...
[2025-03-09 22:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:19:03] Production.INFO: ==532== Releasing lock...
[2025-03-09 22:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:19:03] Production.INFO: Account Balance Start.
[2025-03-09 22:19:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:19:03] Production.INFO: 117
[2025-03-09 22:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:19:03] Production.INFO: Date 2025-03-08
[2025-03-09 22: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-03-09 22:19:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:19:03] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:19:03] Production.INFO: count ==21
[2025-03-09 22:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645183') start
[2025-03-09 22:19:03] Production.ERROR: done
[2025-03-09 22:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:19:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:19:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:19:04] Production.INFO: Total Charge 0
[2025-03-09 22:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645183') end
[2025-03-09 22:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:19:04] Production.INFO: 1
[2025-03-09 22:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:19:04] Production.INFO: CreateAllLog End
[2025-03-09 22:19:04] Production.ERROR: done
[2025-03-09 22:19:04] Production.INFO: ==540== Releasing lock...
[2025-03-09 22:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:19:04] Production.INFO: Account Balance End.
[2025-03-09 22:19:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:19:04] Production.INFO: ==536== Releasing lock...
[2025-03-09 22:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:19:05
[end_date_ymd] => 2025-03-09 22:19:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:19:05' and `end` < '2025-03-09 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-03-09 22:19:11] Production.ERROR: CronJobId end10
[2025-03-09 22:19:11] Production.INFO: ==534== Releasing lock...
[2025-03-09 22:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:19:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:19:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:19:14] Production.INFO: call_cost start
[2025-03-09 22:19:14] Production.INFO: call_cost end
[2025-03-09 22:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:19:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:19:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:19:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:19:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:19:15] Production.INFO: ==530== Releasing lock...
[2025-03-09 22:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:19:17] Production.INFO: count ==1011
[2025-03-09 22:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:19:05 - End Time 2025-03-09 22:19:05
[2025-03-09 22:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645185', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645185', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645185', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645185', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:19:17] Production.INFO: ProcessCDR(1,14645185,1,1,2)
[2025-03-09 22:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645185', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645185', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:19:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:19:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:19:20] Production.INFO: ==538== Releasing lock...
[2025-03-09 22:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:19:20] Production.INFO: 35.5 MB #Memory Used#
[2025-03-10 02:20:02] Production.INFO: ==604== Lock acquired, processing the job...
[2025-03-10 02:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:20:02] Production.INFO: neon service started
[2025-03-10 02:20:02] Production.INFO: neon service started
[2025-03-10 02:20:02] Production.INFO: ==604== Releasing lock...
[2025-03-10 02:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:20:02] Production.INFO: ==610== Lock acquired, processing the job...
[2025-03-10 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 22:20:02] Production.INFO: ==608== Lock acquired, processing the job...
[2025-03-09 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:20:03] Production.INFO: ==610== Releasing lock...
[2025-03-10 02:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:20:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:20:03] Production.INFO: ==608== Releasing lock...
[2025-03-09 22:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:20:04] Production.INFO: ==617== Lock acquired, processing the job...
[2025-03-09 22:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:20:04] Production.INFO: ==615== Lock acquired, processing the job...
[2025-03-09 22:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 22:20:04] Production.INFO: ==625== Lock acquired, processing the job...
[2025-03-09 22:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:20:04] Production.INFO: ==619== Lock acquired, processing the job...
[2025-03-09 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:20:04] Production.INFO: ==627== Lock acquired, processing the job...
[2025-03-09 22:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:20:04] Production.INFO: ==621== Lock acquired, processing the job...
[2025-03-09 22:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 22:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 22:20:04] Production.ERROR: CronJob PID - 617
[2025-03-09 22:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-09 22:20:04] Production.ERROR: CronJob ID - 5
[2025-03-09 22:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 22:20:00
[2025-03-09 22:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 22:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 22:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 22:20:04] Production.ERROR: CronJob PID - 625
[2025-03-09 22:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-09 22:20:04] Production.ERROR: CronJob ID - 16
[2025-03-09 22:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 22:20:00
[2025-03-09 22:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 22:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 22:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 22:20:04] Production.ERROR: CronJob PID - 627
[2025-03-09 22:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-09 22:20:04] Production.ERROR: CronJob ID - 17
[2025-03-09 22:20:04] Production.ERROR: CronJob Last Run Time 2025-03-09 22:20:00
[2025-03-09 22:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 22:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:20:04] Production.INFO: ==623== Lock acquired, processing the job...
[2025-03-09 22:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:20:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:20:05] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 22:20:05] Production.INFO: ==615== Releasing lock...
[2025-03-09 22:20:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 22:20:05] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 22:20:05] Production.INFO: ==629== Lock acquired, processing the job...
[2025-03-09 22:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:20:05] Production.INFO: Account Balance Start.
[2025-03-09 22:20:05] Production.INFO: CreateAllLog Start
[2025-03-09 22:20:05] Production.INFO: 117
[2025-03-09 22:20:05] Production.INFO: Date 2025-03-08
[2025-03-09 22:20:05] Production.INFO: Reseller ==> 0
[2025-03-09 22:20:05] Production.INFO: Date 2025-03-09
[2025-03-09 22:20:05] Production.ERROR: done
[2025-03-09 22:20:05] Production.ERROR: done
[2025-03-09 22:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:20:05] Production.INFO: Reseller ==> 0
[2025-03-09 22:20:05] Production.INFO: Total Charge 0
[2025-03-09 22:20: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-03-09 22:20:05] Production.INFO: CreateAllLog End
[2025-03-09 22:20:05] Production.INFO: count ==13
[2025-03-09 22:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 22:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645190', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 22: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-03-09 22:20:05] Production.INFO: count ==21
[2025-03-09 22:20:05] Production.INFO: ==619== Releasing lock...
[2025-03-09 22:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14645189') start
[2025-03-09 22:20:05] Production.ERROR: done
[2025-03-09 22:20:05] Production.INFO: Account Balance End.
[2025-03-09 22:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14645189') end
[2025-03-09 22:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:20:05] Production.INFO: 1
[2025-03-09 22:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:20:05] Production.ERROR: CronJobId end 12
[2025-03-09 22:20:05] Production.INFO: ==623== Releasing lock...
[2025-03-09 22:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:20:05] Production.INFO: ==629== Releasing lock...
[2025-03-09 22:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:20:06
[end_date_ymd] => 2025-03-09 22:20:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:20:06' and `end` < '2025-03-09 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-03-09 22:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645190', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 22:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 22:20:10] Production.INFO: ProcessCDR(1,14645190,1,1,2)
[2025-03-09 22:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645190,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645190,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:20:10] Production.INFO: ==627== Releasing lock...
[2025-03-09 22:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 22:20:10] Production.INFO: 26 MB #Memory Used#
[2025-03-09 22:20:15] Production.ERROR: CronJobId end10
[2025-03-09 22:20:15] Production.INFO: ==621== Releasing lock...
[2025-03-09 22:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:20:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:20:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:20:16] Production.INFO: call_cost start
[2025-03-09 22:20:16] Production.INFO: call_cost end
[2025-03-09 22:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:20:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:20:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:20:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:20:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:20:17] Production.INFO: ==617== Releasing lock...
[2025-03-09 22:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:20:18] Production.INFO: count ==996
[2025-03-09 22:20:19] Production.ERROR: pbx CDR StartTime 2025-03-09 19:20:06 - End Time 2025-03-09 22:20:06
[2025-03-09 22:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645191', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645191', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645191', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645191', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:20:19] Production.INFO: ProcessCDR(1,14645191,1,1,2)
[2025-03-09 22:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645191', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645191', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:20:22] Production.INFO: ==625== Releasing lock...
[2025-03-09 22:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:20:22] Production.INFO: 35.25 MB #Memory Used#
[2025-03-10 02:21:01] Production.INFO: ==713== Lock acquired, processing the job...
[2025-03-10 02:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:21:01] Production.INFO: neon service started
[2025-03-10 02:21:01] Production.INFO: neon service started
[2025-03-10 02:21:01] Production.INFO: ==713== Releasing lock...
[2025-03-10 02:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:21:02] Production.INFO: ==715== Lock acquired, processing the job...
[2025-03-09 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:21:02] Production.INFO: ==717== Lock acquired, processing the job...
[2025-03-10 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:21:02] Production.INFO: ==717== Releasing lock...
[2025-03-10 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:21:02] Production.INFO: ==715== Releasing lock...
[2025-03-09 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:21:03] Production.INFO: ==720== Lock acquired, processing the job...
[2025-03-09 22:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:21:03] Production.INFO: ==730== Lock acquired, processing the job...
[2025-03-09 22:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:21:03] Production.INFO: ==728== Lock acquired, processing the job...
[2025-03-09 22:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 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-03-09 22:21:03] Production.INFO: ==722== Lock acquired, processing the job...
[2025-03-09 22:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:21:03] Production.INFO: count ==13
[2025-03-09 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-03-09 22:21:03] Production.INFO: count ==21
[2025-03-09 22:21:03] Production.INFO: ==724== Lock acquired, processing the job...
[2025-03-09 22:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:21:03] Production.INFO: ==726== Lock acquired, processing the job...
[2025-03-09 22:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645193') start
[2025-03-09 22:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645193') end
[2025-03-09 22:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:21:03] Production.INFO: 1
[2025-03-09 22:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:21:03] Production.INFO: Account Balance Start.
[2025-03-09 22:21:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:21:03] Production.INFO: 117
[2025-03-09 22:21:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:21:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:21:04] Production.INFO: ==730== Releasing lock...
[2025-03-09 22:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:21:04] Production.ERROR: done
[2025-03-09 22:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:21:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:21:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:21:04] Production.INFO: Total Charge 0
[2025-03-09 22:21:04] Production.INFO: CreateAllLog End
[2025-03-09 22:21:04] Production.INFO: ==722== Releasing lock...
[2025-03-09 22:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:21:04] Production.ERROR: done
[2025-03-09 22:21:04] Production.INFO: Account Balance End.
[2025-03-09 22:21:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:21:04] Production.INFO: ==726== Releasing lock...
[2025-03-09 22:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:21:05
[end_date_ymd] => 2025-03-09 22:21:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:21:05' and `end` < '2025-03-09 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-03-09 22:21:13] Production.ERROR: CronJobId end10
[2025-03-09 22:21:13] Production.INFO: ==724== Releasing lock...
[2025-03-09 22:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:21:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:21:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:21:14] Production.INFO: call_cost start
[2025-03-09 22:21:14] Production.INFO: call_cost end
[2025-03-09 22:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:21:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:21:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:21:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:21:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:21:15] Production.INFO: ==720== Releasing lock...
[2025-03-09 22:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:21:17] Production.INFO: count ==961
[2025-03-09 22:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:21:05 - End Time 2025-03-09 22:21:05
[2025-03-09 22:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645196', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645196', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645196', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645196', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:21:17] Production.INFO: ProcessCDR(1,14645196,1,1,2)
[2025-03-09 22:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645196', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645196', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:21:22] Production.INFO: ==728== Releasing lock...
[2025-03-09 22:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:21:22] Production.INFO: 35.25 MB #Memory Used#
[2025-03-10 02:22:02] Production.INFO: ==789== Lock acquired, processing the job...
[2025-03-10 02:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:22:02] Production.INFO: neon service started
[2025-03-10 02:22:02] Production.INFO: neon service started
[2025-03-10 02:22:02] Production.INFO: ==789== Releasing lock...
[2025-03-10 02:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:22:03] Production.INFO: ==793== Lock acquired, processing the job...
[2025-03-10 02:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 22:22:03] Production.INFO: ==791== Lock acquired, processing the job...
[2025-03-09 22:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:22:03] Production.INFO: ==793== Releasing lock...
[2025-03-10 02:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:22:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:22:03] Production.INFO: ==791== Releasing lock...
[2025-03-09 22:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:22:04] Production.INFO: ==796== Lock acquired, processing the job...
[2025-03-09 22:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:22:04] Production.INFO: ==800== Lock acquired, processing the job...
[2025-03-09 22:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:22:04] Production.INFO: ==802== Lock acquired, processing the job...
[2025-03-09 22:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:22:04] Production.INFO: Account Balance Start.
[2025-03-09 22:22:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:22:04] Production.INFO: 117
[2025-03-09 22:22:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:22:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:22:04] Production.INFO: ==798== Lock acquired, processing the job...
[2025-03-09 22:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:22:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:22:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:22:04] Production.INFO: Total Charge 0
[2025-03-09 22:22:04] Production.INFO: CreateAllLog End
[2025-03-09 22:22:04] Production.INFO: ==804== Lock acquired, processing the job...
[2025-03-09 22:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:22:04] Production.INFO: Account Balance End.
[2025-03-09 22:22:04] Production.INFO: ==806== Lock acquired, processing the job...
[2025-03-09 22:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:22:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:22:04] Production.INFO: ==802== Releasing lock...
[2025-03-09 22:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:22:05] Production.INFO: ==798== Releasing lock...
[2025-03-09 22:22:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:22:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:22: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-03-09 22:22:05] Production.INFO: count ==13
[2025-03-09 22:22: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-03-09 22:22:05] Production.INFO: count ==21
[2025-03-09 22:22:05] Production.ERROR: done
[2025-03-09 22:22:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:22:05] Production.ERROR: PBX CALL prc_importPBXExtension('14645200') start
[2025-03-09 22:22:05] Production.ERROR: done
[2025-03-09 22:22:05] Production.ERROR: PBX CALL prc_importPBXExtension('14645200') end
[2025-03-09 22:22:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:22:05] Production.INFO: 1
[2025-03-09 22:22:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:22:05] Production.INFO: ==806== Releasing lock...
[2025-03-09 22:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:22:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:22:06
[end_date_ymd] => 2025-03-09 22:22:06
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:22:06' and `end` < '2025-03-09 22: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-03-09 22:22:13] Production.ERROR: CronJobId end10
[2025-03-09 22:22:13] Production.INFO: ==800== Releasing lock...
[2025-03-09 22:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:22:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:22:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:22:15] Production.INFO: call_cost start
[2025-03-09 22:22:15] Production.INFO: call_cost end
[2025-03-09 22:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:22:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:22:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:22:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:22:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:22:16] Production.INFO: ==796== Releasing lock...
[2025-03-09 22:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:22:18] Production.INFO: count ==954
[2025-03-09 22:22:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:22:06 - End Time 2025-03-09 22:22:06
[2025-03-09 22:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645201', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645201', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645201', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645201', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:22:18] Production.INFO: ProcessCDR(1,14645201,1,1,2)
[2025-03-09 22:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645201', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645201', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:22:22] Production.INFO: ==804== Releasing lock...
[2025-03-09 22:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:22:22] Production.INFO: 35 MB #Memory Used#
[2025-03-10 02:23:01] Production.INFO: ==863== Lock acquired, processing the job...
[2025-03-10 02:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:23:01] Production.INFO: neon service started
[2025-03-10 02:23:01] Production.INFO: neon service started
[2025-03-10 02:23:01] Production.INFO: ==863== Releasing lock...
[2025-03-10 02:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:23:02] Production.INFO: ==865== Lock acquired, processing the job...
[2025-03-09 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:23:02] Production.INFO: ==867== Lock acquired, processing the job...
[2025-03-10 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:23:02] Production.INFO: ==867== Releasing lock...
[2025-03-10 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:23:03] Production.INFO: ==865== Releasing lock...
[2025-03-09 22:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:23:03] Production.INFO: ==874== Lock acquired, processing the job...
[2025-03-09 22:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:23:03] Production.INFO: ==872== Lock acquired, processing the job...
[2025-03-09 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:23:03] Production.INFO: ==878== Lock acquired, processing the job...
[2025-03-09 22:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:23:04] Production.INFO: ==870== Lock acquired, processing the job...
[2025-03-09 22:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:23:04] Production.INFO: ==880== Lock acquired, processing the job...
[2025-03-09 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:23:04] Production.INFO: ==876== Lock acquired, processing the job...
[2025-03-09 22:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:23:04] Production.ERROR: done
[2025-03-09 22:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:23:04] Production.INFO: Account Balance Start.
[2025-03-09 22:23:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:23:04] Production.INFO: 117
[2025-03-09 22: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-03-09 22:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:23:04] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:23:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:23:04] Production.INFO: count ==21
[2025-03-09 22:23:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645203') start
[2025-03-09 22:23:04] Production.ERROR: done
[2025-03-09 22:23:04] Production.INFO: ==872== Releasing lock...
[2025-03-09 22:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:23:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:23:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:23:04] Production.INFO: Total Charge 0
[2025-03-09 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645203') end
[2025-03-09 22:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:23:04] Production.INFO: 1
[2025-03-09 22:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:23:04] Production.INFO: CreateAllLog End
[2025-03-09 22:23:04] Production.INFO: ==880== Releasing lock...
[2025-03-09 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:23:04] Production.INFO: Account Balance End.
[2025-03-09 22:23:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:23:04] Production.INFO: ==876== Releasing lock...
[2025-03-09 22:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:23:05
[end_date_ymd] => 2025-03-09 22:23:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:23:05' and `end` < '2025-03-09 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-03-09 22:23:12] Production.ERROR: CronJobId end10
[2025-03-09 22:23:12] Production.INFO: ==874== Releasing lock...
[2025-03-09 22:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:23:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:23:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:23:15] Production.INFO: call_cost start
[2025-03-09 22:23:15] Production.INFO: call_cost end
[2025-03-09 22:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:23:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:23:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:23:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:23:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:23:16] Production.INFO: ==870== Releasing lock...
[2025-03-09 22:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:23:17] Production.INFO: count ==951
[2025-03-09 22:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:23:05 - End Time 2025-03-09 22:23:05
[2025-03-09 22:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645206', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645206', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645206', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645206', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:23:17] Production.INFO: ProcessCDR(1,14645206,1,1,2)
[2025-03-09 22:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645206', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645206', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:23:20] Production.INFO: ==878== Releasing lock...
[2025-03-09 22:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:23:20] Production.INFO: 35 MB #Memory Used#
[2025-03-10 02:24:01] Production.INFO: ==935== Lock acquired, processing the job...
[2025-03-10 02:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:24:01] Production.INFO: neon service started
[2025-03-10 02:24:01] Production.INFO: neon service started
[2025-03-10 02:24:01] Production.INFO: ==935== Releasing lock...
[2025-03-10 02:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:24:02] Production.INFO: ==937== Lock acquired, processing the job...
[2025-03-09 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:24:02] Production.INFO: ==939== Lock acquired, processing the job...
[2025-03-10 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:24:02] Production.INFO: ==939== Releasing lock...
[2025-03-10 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:24:02] Production.INFO: ==937== Releasing lock...
[2025-03-09 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:24:03] Production.INFO: ==950== Lock acquired, processing the job...
[2025-03-09 22:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:24:03] Production.INFO: ==952== Lock acquired, processing the job...
[2025-03-09 22:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:24:03] Production.INFO: ==942== Lock acquired, processing the job...
[2025-03-09 22:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:24:03] Production.INFO: ==944== Lock acquired, processing the job...
[2025-03-09 22:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:24:03] Production.INFO: ==946== Lock acquired, processing the job...
[2025-03-09 22:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:24:03] Production.INFO: ==948== Lock acquired, processing the job...
[2025-03-09 22:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22: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-03-09 22:24:03] Production.INFO: count ==13
[2025-03-09 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-03-09 22:24:04] Production.INFO: count ==21
[2025-03-09 22:24:04] Production.ERROR: done
[2025-03-09 22:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645207') start
[2025-03-09 22:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:24:04] Production.INFO: Account Balance Start.
[2025-03-09 22:24:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:24:04] Production.INFO: 117
[2025-03-09 22:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:24:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:24:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645207') end
[2025-03-09 22:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:24:04] Production.INFO: 1
[2025-03-09 22:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:24:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:24:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:24:04] Production.INFO: Total Charge 0
[2025-03-09 22:24:04] Production.INFO: CreateAllLog End
[2025-03-09 22:24:04] Production.INFO: ==952== Releasing lock...
[2025-03-09 22:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:24:04] Production.INFO: ==944== Releasing lock...
[2025-03-09 22:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:24:04] Production.ERROR: done
[2025-03-09 22:24:04] Production.INFO: Account Balance End.
[2025-03-09 22:24:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:24:04] Production.INFO: ==948== Releasing lock...
[2025-03-09 22:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:24:05
[end_date_ymd] => 2025-03-09 22:24:05
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:24:05' and `end` < '2025-03-09 22: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-03-09 22:24:12] Production.ERROR: CronJobId end10
[2025-03-09 22:24:12] Production.INFO: ==946== Releasing lock...
[2025-03-09 22:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:24:15] Production.INFO: call_cost start
[2025-03-09 22:24:15] Production.INFO: call_cost end
[2025-03-09 22:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:24:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:24:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:24:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:24:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:24:16] Production.INFO: ==942== Releasing lock...
[2025-03-09 22:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:24:17] Production.INFO: count ==952
[2025-03-09 22:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:24:05 - End Time 2025-03-09 22:24:05
[2025-03-09 22:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645211', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645211', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645211', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645211', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:24:17] Production.INFO: ProcessCDR(1,14645211,1,1,2)
[2025-03-09 22:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645211', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645211', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:24:22] Production.INFO: ==950== Releasing lock...
[2025-03-09 22:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:24:22] Production.INFO: 35 MB #Memory Used#
[2025-03-10 02:25:01] Production.INFO: ==1006== Lock acquired, processing the job...
[2025-03-10 02:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:25:01] Production.INFO: neon service started
[2025-03-10 02:25:01] Production.INFO: neon service started
[2025-03-10 02:25:01] Production.INFO: ==1006== Releasing lock...
[2025-03-10 02:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:25:02] Production.INFO: ==1008== Lock acquired, processing the job...
[2025-03-09 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:25:02] Production.INFO: ==1008== Releasing lock...
[2025-03-09 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:25:02] Production.INFO: ==1010== Lock acquired, processing the job...
[2025-03-10 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:25:02] Production.INFO: ==1010== Releasing lock...
[2025-03-10 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:25:03] Production.INFO: ==1016== Lock acquired, processing the job...
[2025-03-09 22:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:25:03] Production.INFO: ==1023== Lock acquired, processing the job...
[2025-03-09 22:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:25:03] Production.INFO: ==1012== Lock acquired, processing the job...
[2025-03-09 22:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:25:03] Production.INFO: ==1014== Lock acquired, processing the job...
[2025-03-09 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 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-03-09 22:25:03] Production.INFO: count ==13
[2025-03-09 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-03-09 22:25:03] Production.INFO: count ==21
[2025-03-09 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645212') start
[2025-03-09 22:25:03] Production.INFO: ==1019== Lock acquired, processing the job...
[2025-03-09 22:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:25:03] Production.INFO: ==1021== Lock acquired, processing the job...
[2025-03-09 22:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:25:03] Production.INFO: Account Balance Start.
[2025-03-09 22:25:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:25:03] Production.INFO: 117
[2025-03-09 22:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:25:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645212') end
[2025-03-09 22:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:25:03] Production.INFO: 1
[2025-03-09 22:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:25:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:25:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:25:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:25:04] Production.INFO: Total Charge 0
[2025-03-09 22:25:04] Production.INFO: CreateAllLog End
[2025-03-09 22:25:04] Production.INFO: ==1023== Releasing lock...
[2025-03-09 22:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:25:04] Production.INFO: ==1014== Releasing lock...
[2025-03-09 22:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:25:04] Production.ERROR: done
[2025-03-09 22:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:25:04] Production.ERROR: done
[2025-03-09 22:25:04] Production.INFO: Account Balance End.
[2025-03-09 22:25:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:25:04] Production.INFO: ==1019== Releasing lock...
[2025-03-09 22:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:25:05
[end_date_ymd] => 2025-03-09 22:25:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:25:05' and `end` < '2025-03-09 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-03-09 22:25:11] Production.ERROR: CronJobId end10
[2025-03-09 22:25:11] Production.INFO: ==1016== Releasing lock...
[2025-03-09 22:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:25:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:25:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:25:14] Production.INFO: call_cost start
[2025-03-09 22:25:14] Production.INFO: call_cost end
[2025-03-09 22:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:25:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:25:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:25:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:25:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:25:15] Production.INFO: ==1012== Releasing lock...
[2025-03-09 22:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:25:17] Production.INFO: count ==953
[2025-03-09 22:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:25:05 - End Time 2025-03-09 22:25:05
[2025-03-09 22:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645216', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645216', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645216', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645216', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:25:17] Production.INFO: ProcessCDR(1,14645216,1,1,2)
[2025-03-09 22:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645216', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645216', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:25:22] Production.INFO: ==1021== Releasing lock...
[2025-03-09 22:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:25:22] Production.INFO: 35.25 MB #Memory Used#
[2025-03-10 02:26:01] Production.INFO: ==1078== Lock acquired, processing the job...
[2025-03-10 02:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:26:01] Production.INFO: neon service started
[2025-03-10 02:26:01] Production.INFO: neon service started
[2025-03-10 02:26:01] Production.INFO: ==1078== Releasing lock...
[2025-03-10 02:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:26:01] Production.INFO: ==1085== Lock acquired, processing the job...
[2025-03-10 02:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:26:01] Production.INFO: ==1085== Releasing lock...
[2025-03-10 02:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:26:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:26:01] Production.INFO: ==1083== Lock acquired, processing the job...
[2025-03-09 22:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:26:02] Production.INFO: ==1083== Releasing lock...
[2025-03-09 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:26:02] Production.INFO: ==1087== Lock acquired, processing the job...
[2025-03-09 22:26:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:26:02] Production.INFO: ==1089== Lock acquired, processing the job...
[2025-03-09 22:26:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:26:03] Production.INFO: ==1091== Lock acquired, processing the job...
[2025-03-09 22:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:26:03] Production.INFO: ==1093== Lock acquired, processing the job...
[2025-03-09 22:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:26:03] Production.INFO: ==1089== Releasing lock...
[2025-03-09 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:26:03] Production.INFO: ==1097== Lock acquired, processing the job...
[2025-03-09 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:26:03] Production.INFO: Account Balance Start.
[2025-03-09 22:26:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:26:03] Production.INFO: 117
[2025-03-09 22:26:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:26:03] Production.INFO: Reseller ==> 0
[2025-03-09 22: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-03-09 22:26:03] Production.INFO: ==1095== Lock acquired, processing the job...
[2025-03-09 22:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:26:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:26:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:26:03] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:26:03] Production.INFO: count ==21
[2025-03-09 22:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:26:03] Production.INFO: Total Charge 0
[2025-03-09 22:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645220') start
[2025-03-09 22:26:03] Production.INFO: CreateAllLog End
[2025-03-09 22:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645220') end
[2025-03-09 22:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:26:03] Production.INFO: 1
[2025-03-09 22:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:26:03] Production.INFO: ==1097== Releasing lock...
[2025-03-09 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:26:04] Production.ERROR: done
[2025-03-09 22:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:26:04] Production.INFO: Account Balance End.
[2025-03-09 22:26:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:26:04] Production.INFO: ==1093== Releasing lock...
[2025-03-09 22:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:26:04] Production.ERROR: done
[2025-03-09 22:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:26:05
[end_date_ymd] => 2025-03-09 22:26:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:26:05' and `end` < '2025-03-09 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-03-09 22:26:11] Production.ERROR: CronJobId end10
[2025-03-09 22:26:11] Production.INFO: ==1091== Releasing lock...
[2025-03-09 22:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:26:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:26:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:26:14] Production.INFO: call_cost start
[2025-03-09 22:26:14] Production.INFO: call_cost end
[2025-03-09 22:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:26:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:26:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:26:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:26:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:26:15] Production.INFO: ==1087== Releasing lock...
[2025-03-09 22:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:26:17] Production.INFO: count ==955
[2025-03-09 22:26:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:26:05 - End Time 2025-03-09 22:26:05
[2025-03-09 22:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645221', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645221', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645221', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645221', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:26:18] Production.INFO: ProcessCDR(1,14645221,1,1,2)
[2025-03-09 22:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645221', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645221', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:26:21] Production.INFO: ==1095== Releasing lock...
[2025-03-09 22:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:26:21] Production.INFO: 35 MB #Memory Used#
[2025-03-10 02:27:01] Production.INFO: ==1154== Lock acquired, processing the job...
[2025-03-10 02:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:27:01] Production.INFO: neon service started
[2025-03-10 02:27:01] Production.INFO: neon service started
[2025-03-10 02:27:01] Production.INFO: ==1154== Releasing lock...
[2025-03-10 02:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:27:02] Production.INFO: ==1158== Lock acquired, processing the job...
[2025-03-10 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:27:02] Production.INFO: ==1158== Releasing lock...
[2025-03-10 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:27:02] Production.INFO: ==1156== Lock acquired, processing the job...
[2025-03-09 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:27:02] Production.INFO: ==1156== Releasing lock...
[2025-03-09 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:27:03] Production.INFO: ==1162== Lock acquired, processing the job...
[2025-03-09 22:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:27:03] Production.INFO: ==1168== Lock acquired, processing the job...
[2025-03-09 22:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:27:03] Production.INFO: ==1175== Lock acquired, processing the job...
[2025-03-09 22:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:27:03] Production.INFO: Account Balance Start.
[2025-03-09 22:27:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:27:03] Production.INFO: 117
[2025-03-09 22:27:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:27:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:27:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:27:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:27:03] Production.INFO: Total Charge 0
[2025-03-09 22:27:03] Production.INFO: ==1162== Releasing lock...
[2025-03-09 22:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:27:03] Production.INFO: CreateAllLog End
[2025-03-09 22:27:03] Production.INFO: ==1160== Lock acquired, processing the job...
[2025-03-09 22:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 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-03-09 22:27:03] Production.INFO: ==1164== Lock acquired, processing the job...
[2025-03-09 22:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:27:03] Production.INFO: ==1172== Lock acquired, processing the job...
[2025-03-09 22:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:27:03] Production.INFO: count ==13
[2025-03-09 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-03-09 22:27:03] Production.INFO: count ==21
[2025-03-09 22:27:03] Production.INFO: Account Balance End.
[2025-03-09 22:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645224') start
[2025-03-09 22:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:27:03] Production.ERROR: CronJobId end 12
[2025-03-09 22:27:03] Production.INFO: ==1168== Releasing lock...
[2025-03-09 22:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645224') end
[2025-03-09 22:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:27:04] Production.INFO: 1
[2025-03-09 22:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:27:04] Production.INFO: ==1175== Releasing lock...
[2025-03-09 22:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:27:04] Production.ERROR: done
[2025-03-09 22:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:27:04] Production.ERROR: done
[2025-03-09 22:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:27:05
[end_date_ymd] => 2025-03-09 22:27:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:27:05' and `end` < '2025-03-09 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-03-09 22:27:12] Production.ERROR: CronJobId end10
[2025-03-09 22:27:12] Production.INFO: ==1164== Releasing lock...
[2025-03-09 22:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:27:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:27:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:27:14] Production.INFO: call_cost start
[2025-03-09 22:27:14] Production.INFO: call_cost end
[2025-03-09 22:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:27:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:27:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:27:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:27:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:27:15] Production.INFO: ==1160== Releasing lock...
[2025-03-09 22:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:27:17] Production.INFO: count ==946
[2025-03-09 22:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:27:05 - End Time 2025-03-09 22:27:05
[2025-03-09 22:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645226', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645226', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645226', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645226', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:27:18] Production.INFO: ProcessCDR(1,14645226,1,1,2)
[2025-03-09 22:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645226', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645226', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:27:21] Production.INFO: ==1172== Releasing lock...
[2025-03-09 22:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:27:21] Production.INFO: 35 MB #Memory Used#
[2025-03-10 02:28:02] Production.INFO: ==1235== Lock acquired, processing the job...
[2025-03-10 02:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:28:02] Production.INFO: neon service started
[2025-03-10 02:28:02] Production.INFO: neon service started
[2025-03-10 02:28:02] Production.INFO: ==1235== Releasing lock...
[2025-03-10 02:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:28:02] Production.INFO: ==1239== Lock acquired, processing the job...
[2025-03-09 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:28:03] Production.INFO: ==1243== Lock acquired, processing the job...
[2025-03-10 02:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:28:03] Production.INFO: ==1243== Releasing lock...
[2025-03-10 02:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:28:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:28:03] Production.INFO: ==1239== Releasing lock...
[2025-03-09 22:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:28:04] Production.INFO: ==1261== Lock acquired, processing the job...
[2025-03-09 22:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:28:04] Production.INFO: ==1251== Lock acquired, processing the job...
[2025-03-09 22:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:28:04] Production.INFO: ==1255== Lock acquired, processing the job...
[2025-03-09 22:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:28:04] Production.INFO: Account Balance Start.
[2025-03-09 22:28:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:28:04] Production.INFO: 117
[2025-03-09 22:28:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:28:04] Production.INFO: ==1266== Lock acquired, processing the job...
[2025-03-09 22:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:28:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:28:04] Production.INFO: ==1259== Lock acquired, processing the job...
[2025-03-09 22:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:28:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:28:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:28:04] Production.INFO: ==1263== Lock acquired, processing the job...
[2025-03-09 22:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 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-03-09 22:28:04] Production.INFO: Total Charge 0
[2025-03-09 22:28:04] Production.INFO: CreateAllLog End
[2025-03-09 22:28:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:28:04] Production.INFO: ==1255== Releasing lock...
[2025-03-09 22:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:28:04] Production.INFO: count ==21
[2025-03-09 22:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645230') start
[2025-03-09 22:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645230') end
[2025-03-09 22:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:28:04] Production.INFO: 1
[2025-03-09 22:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:28:04] Production.INFO: ==1266== Releasing lock...
[2025-03-09 22:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:28:05] Production.INFO: Account Balance End.
[2025-03-09 22:28:05] Production.ERROR: done
[2025-03-09 22:28:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:28:05] Production.ERROR: CronJobId end 12
[2025-03-09 22:28:05] Production.INFO: ==1261== Releasing lock...
[2025-03-09 22:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:28:05] Production.ERROR: done
[2025-03-09 22:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:28:06
[end_date_ymd] => 2025-03-09 22:28:06
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:28:06' and `end` < '2025-03-09 22: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-03-09 22:28:13] Production.ERROR: CronJobId end10
[2025-03-09 22:28:13] Production.INFO: ==1259== Releasing lock...
[2025-03-09 22:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:28:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:28:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:28:15] Production.INFO: call_cost start
[2025-03-09 22:28:15] Production.INFO: call_cost end
[2025-03-09 22:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:28:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:28:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:28:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:28:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:28:16] Production.INFO: ==1251== Releasing lock...
[2025-03-09 22:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:28:18] Production.INFO: count ==942
[2025-03-09 22:28:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:28:06 - End Time 2025-03-09 22:28:06
[2025-03-09 22:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645231', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645231', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645231', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645231', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:28:18] Production.INFO: ProcessCDR(1,14645231,1,1,2)
[2025-03-09 22:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645231', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645231', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:28:21] Production.INFO: ==1263== Releasing lock...
[2025-03-09 22:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:28:21] Production.INFO: 34.75 MB #Memory Used#
[2025-03-10 02:29:01] Production.INFO: ==1321== Lock acquired, processing the job...
[2025-03-10 02:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:29:01] Production.INFO: neon service started
[2025-03-10 02:29:01] Production.INFO: neon service started
[2025-03-10 02:29:01] Production.INFO: ==1321== Releasing lock...
[2025-03-10 02:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:29:02] Production.INFO: ==1325== Lock acquired, processing the job...
[2025-03-10 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:29:02] Production.INFO: ==1325== Releasing lock...
[2025-03-10 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:29:02] Production.INFO: ==1323== Lock acquired, processing the job...
[2025-03-09 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:29:02] Production.INFO: ==1323== Releasing lock...
[2025-03-09 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:29:03] Production.INFO: ==1327== Lock acquired, processing the job...
[2025-03-09 22:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:29:03] Production.INFO: ==1329== Lock acquired, processing the job...
[2025-03-09 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:29:03] Production.INFO: ==1336== Lock acquired, processing the job...
[2025-03-09 22:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:29:03] Production.INFO: ==1329== Releasing lock...
[2025-03-09 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:29:03] Production.INFO: ==1331== Lock acquired, processing the job...
[2025-03-09 22:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:29:03] Production.INFO: ==1333== Lock acquired, processing the job...
[2025-03-09 22:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:29:03] Production.INFO: ==1338== Lock acquired, processing the job...
[2025-03-09 22:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:29:03] Production.ERROR: done
[2025-03-09 22:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:29:04] Production.INFO: Account Balance Start.
[2025-03-09 22:29:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:29:04] Production.INFO: 117
[2025-03-09 22: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-03-09 22:29:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:29:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:29:04] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:29:04] Production.INFO: count ==21
[2025-03-09 22:29:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645235') start
[2025-03-09 22:29:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:29:04] Production.ERROR: done
[2025-03-09 22:29:04] Production.INFO: Total Charge 0
[2025-03-09 22:29:04] Production.INFO: CreateAllLog End
[2025-03-09 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645235') end
[2025-03-09 22:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:29:04] Production.INFO: 1
[2025-03-09 22:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:29:04] Production.INFO: ==1338== Releasing lock...
[2025-03-09 22:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:29:04] Production.INFO: Account Balance End.
[2025-03-09 22:29:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:29:04] Production.INFO: ==1333== Releasing lock...
[2025-03-09 22:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:29:05
[end_date_ymd] => 2025-03-09 22:29:05
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:29:05' and `end` < '2025-03-09 22: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-03-09 22:29:11] Production.ERROR: CronJobId end10
[2025-03-09 22:29:11] Production.INFO: ==1331== Releasing lock...
[2025-03-09 22:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:29:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:29:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:29:13] Production.INFO: call_cost start
[2025-03-09 22:29:13] Production.INFO: call_cost end
[2025-03-09 22:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:29:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:29:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:29:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:29:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:29:14] Production.INFO: ==1327== Releasing lock...
[2025-03-09 22:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:29:17] Production.INFO: count ==941
[2025-03-09 22:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:29:05 - End Time 2025-03-09 22:29:05
[2025-03-09 22:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645236', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645236', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645236', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645236', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:29:17] Production.INFO: ProcessCDR(1,14645236,1,1,2)
[2025-03-09 22:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645236', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645236', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:29:20] Production.INFO: ==1336== Releasing lock...
[2025-03-09 22:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:29:20] Production.INFO: 35 MB #Memory Used#
[2025-03-10 02:30:02] Production.INFO: ==1395== Lock acquired, processing the job...
[2025-03-10 02:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:30:02] Production.INFO: neon service started
[2025-03-10 02:30:02] Production.INFO: neon service started
[2025-03-10 02:30:02] Production.INFO: ==1395== Releasing lock...
[2025-03-10 02:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:30:02] Production.INFO: ==1397== Lock acquired, processing the job...
[2025-03-09 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:30:03] Production.INFO: ==1399== Lock acquired, processing the job...
[2025-03-10 02:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 22:30:03] Production.INFO: ==1397== Releasing lock...
[2025-03-09 22:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:30:03] Production.INFO: ==1399== Releasing lock...
[2025-03-10 02:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:30:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:30:03] Production.INFO: ==1401== Lock acquired, processing the job...
[2025-03-09 22:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 22:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 22:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 22:30:04] Production.INFO: ==1401== Releasing lock...
[2025-03-09 22:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 22:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 22:30:04] Production.INFO: ==1413== Lock acquired, processing the job...
[2025-03-09 22:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 22:30:04] Production.INFO: ==1403== Lock acquired, processing the job...
[2025-03-09 22:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:30:04] Production.INFO: ==1415== Lock acquired, processing the job...
[2025-03-09 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:30:04] Production.INFO: ==1405== Lock acquired, processing the job...
[2025-03-09 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:30:04] Production.INFO: ==1407== Lock acquired, processing the job...
[2025-03-09 22:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:30:04] Production.INFO: ==1409== Lock acquired, processing the job...
[2025-03-09 22:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:30:04] Production.INFO: Account Balance Start.
[2025-03-09 22:30:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:30:04] Production.INFO: 117
[2025-03-09 22:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:30:04] Production.INFO: ==1411== Lock acquired, processing the job...
[2025-03-09 22:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 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-03-09 22:30:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:30:04] Production.INFO: count ==13
[2025-03-09 22:30:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 22:30:04] Production.INFO: count ==21
[2025-03-09 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645239') start
[2025-03-09 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:30:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:30:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:30:04] Production.ERROR: done
[2025-03-09 22:30:04] Production.INFO: Total Charge 0
[2025-03-09 22:30:04] Production.INFO: CreateAllLog End
[2025-03-09 22:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 22:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645241', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645239') end
[2025-03-09 22:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:30:04] Production.INFO: 1
[2025-03-09 22:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:30:04] Production.INFO: ==1415== Releasing lock...
[2025-03-09 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:30:05] Production.ERROR: done
[2025-03-09 22:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:30:05] Production.INFO: ==1405== Releasing lock...
[2025-03-09 22:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:30:05] Production.ERROR: done
[2025-03-09 22:30:05] Production.INFO: Account Balance End.
[2025-03-09 22:30:05] Production.ERROR: CronJobId end 12
[2025-03-09 22:30:05] Production.INFO: ==1409== Releasing lock...
[2025-03-09 22:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:30:06
[end_date_ymd] => 2025-03-09 22:30:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:30:06' and `end` < '2025-03-09 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-03-09 22:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645241', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 22:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 22:30:09] Production.INFO: ProcessCDR(1,14645241,1,1,2)
[2025-03-09 22:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645241,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645241,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:30:09] Production.INFO: ==1413== Releasing lock...
[2025-03-09 22:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 22:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 22:30:14] Production.ERROR: CronJobId end10
[2025-03-09 22:30:14] Production.INFO: ==1407== Releasing lock...
[2025-03-09 22:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:30:17] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:30:17] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:30:17] Production.INFO: call_cost start
[2025-03-09 22:30:17] Production.INFO: call_cost end
[2025-03-09 22:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:30:18] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:30:18] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:30:18] Production.INFO: count ==940
[2025-03-09 22:30:18] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:30:18] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:30:18] Production.INFO: ==1403== Releasing lock...
[2025-03-09 22:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:30:06 - End Time 2025-03-09 22:30:06
[2025-03-09 22:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645242', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645242', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645242', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645242', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:30:18] Production.INFO: ProcessCDR(1,14645242,1,1,2)
[2025-03-09 22:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645242', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645242', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:30:21] Production.INFO: ==1411== Releasing lock...
[2025-03-09 22:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:30:21] Production.INFO: 35 MB #Memory Used#
[2025-03-10 02:31:01] Production.INFO: ==1471== Lock acquired, processing the job...
[2025-03-10 02:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:31:01] Production.INFO: neon service started
[2025-03-10 02:31:01] Production.INFO: neon service started
[2025-03-10 02:31:01] Production.INFO: ==1471== Releasing lock...
[2025-03-10 02:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:31:02] Production.INFO: ==1475== Lock acquired, processing the job...
[2025-03-10 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:31:02] Production.INFO: ==1475== Releasing lock...
[2025-03-10 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:31:02] Production.INFO: ==1473== Lock acquired, processing the job...
[2025-03-09 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:31:02] Production.INFO: ==1473== Releasing lock...
[2025-03-09 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:31:03] Production.INFO: ==1480== Lock acquired, processing the job...
[2025-03-09 22:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:31:03] Production.INFO: ==1478== Lock acquired, processing the job...
[2025-03-09 22:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:31:03] Production.INFO: ==1482== Lock acquired, processing the job...
[2025-03-09 22:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:31:03] Production.INFO: ==1484== Lock acquired, processing the job...
[2025-03-09 22:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:31:03] Production.INFO: Account Balance Start.
[2025-03-09 22:31:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:31:03] Production.INFO: 117
[2025-03-09 22:31:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:31:03] Production.INFO: ==1486== Lock acquired, processing the job...
[2025-03-09 22:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:31:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:31:03] Production.INFO: ==1488== Lock acquired, processing the job...
[2025-03-09 22:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:31:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:31:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:31:03] Production.INFO: Total Charge 0
[2025-03-09 22:31:03] Production.INFO: CreateAllLog End
[2025-03-09 22:31:03] Production.INFO: ==1480== Releasing lock...
[2025-03-09 22:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22: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-03-09 22:31:04] Production.INFO: count ==13
[2025-03-09 22:31:04] Production.ERROR: done
[2025-03-09 22:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 22:31:04] Production.INFO: count ==21
[2025-03-09 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645246') start
[2025-03-09 22:31:04] Production.INFO: Account Balance End.
[2025-03-09 22:31:04] Production.ERROR: done
[2025-03-09 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645246') end
[2025-03-09 22:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:31:04] Production.INFO: 1
[2025-03-09 22:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:31:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:31:04] Production.INFO: ==1484== Releasing lock...
[2025-03-09 22:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:31:04] Production.INFO: ==1488== Releasing lock...
[2025-03-09 22:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:31:05
[end_date_ymd] => 2025-03-09 22:31:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:31:05' and `end` < '2025-03-09 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-03-09 22:31:11] Production.ERROR: CronJobId end10
[2025-03-09 22:31:11] Production.INFO: ==1482== Releasing lock...
[2025-03-09 22:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:31:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:31:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:31:14] Production.INFO: call_cost start
[2025-03-09 22:31:14] Production.INFO: call_cost end
[2025-03-09 22:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:31:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:31:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:31:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:31:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:31:15] Production.INFO: ==1478== Releasing lock...
[2025-03-09 22:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:31:17] Production.INFO: count ==912
[2025-03-09 22:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:31:05 - End Time 2025-03-09 22:31:05
[2025-03-09 22:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645247', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645247', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645247', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645247', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:31:17] Production.INFO: ProcessCDR(1,14645247,1,1,2)
[2025-03-09 22:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645247', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645247', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:31:21] Production.INFO: ==1486== Releasing lock...
[2025-03-09 22:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:31:21] Production.INFO: 34.5 MB #Memory Used#
[2025-03-10 02:32:02] Production.INFO: ==1582== Lock acquired, processing the job...
[2025-03-10 02:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:32:02] Production.INFO: neon service started
[2025-03-10 02:32:02] Production.INFO: neon service started
[2025-03-10 02:32:02] Production.INFO: ==1582== Releasing lock...
[2025-03-10 02:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:32:02] Production.INFO: ==1587== Lock acquired, processing the job...
[2025-03-10 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:32:02] Production.INFO: ==1587== Releasing lock...
[2025-03-10 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:32:02] Production.INFO: ==1585== Lock acquired, processing the job...
[2025-03-09 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:32:03] Production.INFO: ==1585== Releasing lock...
[2025-03-09 22:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:32:03] Production.INFO: ==1591== Lock acquired, processing the job...
[2025-03-09 22:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:32:04] Production.INFO: ==1595== Lock acquired, processing the job...
[2025-03-09 22:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:32:04] Production.INFO: ==1589== Lock acquired, processing the job...
[2025-03-09 22:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:32:04] Production.INFO: Account Balance Start.
[2025-03-09 22:32:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:32:04] Production.INFO: 117
[2025-03-09 22:32:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:32:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:32:04] Production.INFO: ==1593== Lock acquired, processing the job...
[2025-03-09 22:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:32:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:32:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:32:04] Production.INFO: Total Charge 0
[2025-03-09 22:32:04] Production.INFO: CreateAllLog End
[2025-03-09 22:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:32:04] Production.INFO: ==1591== Releasing lock...
[2025-03-09 22:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:32:04] Production.INFO: ==1597== Lock acquired, processing the job...
[2025-03-09 22:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:32:04] Production.INFO: ==1599== Lock acquired, processing the job...
[2025-03-09 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:32:04] Production.INFO: Account Balance End.
[2025-03-09 22:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22: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-03-09 22:32:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:32:04] Production.INFO: count ==21
[2025-03-09 22:32:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:32:04] Production.INFO: ==1595== Releasing lock...
[2025-03-09 22:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645251') start
[2025-03-09 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645251') end
[2025-03-09 22:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:32:04] Production.INFO: 1
[2025-03-09 22:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:32:04] Production.ERROR: done
[2025-03-09 22:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:32:04] Production.INFO: ==1599== Releasing lock...
[2025-03-09 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:32:05] Production.ERROR: done
[2025-03-09 22:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:32:06
[end_date_ymd] => 2025-03-09 22:32:06
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:32:06' and `end` < '2025-03-09 22: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-03-09 22:32:12] Production.ERROR: CronJobId end10
[2025-03-09 22:32:12] Production.INFO: ==1593== Releasing lock...
[2025-03-09 22:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:32:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:32:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:32:15] Production.INFO: call_cost start
[2025-03-09 22:32:15] Production.INFO: call_cost end
[2025-03-09 22:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:32:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:32:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:32:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:32:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:32:16] Production.INFO: ==1589== Releasing lock...
[2025-03-09 22:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:32:18] Production.INFO: count ==902
[2025-03-09 22:32:19] Production.ERROR: pbx CDR StartTime 2025-03-09 19:32:06 - End Time 2025-03-09 22:32:06
[2025-03-09 22:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645252', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645252', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645252', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645252', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:32:19] Production.INFO: ProcessCDR(1,14645252,1,1,2)
[2025-03-09 22:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645252', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645252', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:32:22] Production.INFO: ==1597== Releasing lock...
[2025-03-09 22:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:32:22] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 02:33:01] Production.INFO: ==1656== Lock acquired, processing the job...
[2025-03-10 02:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:33:01] Production.INFO: neon service started
[2025-03-10 02:33:01] Production.INFO: neon service started
[2025-03-10 02:33:01] Production.INFO: ==1656== Releasing lock...
[2025-03-10 02:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:33:02] Production.INFO: ==1658== Lock acquired, processing the job...
[2025-03-09 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:33:02] Production.INFO: ==1658== Releasing lock...
[2025-03-09 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:33:02] Production.INFO: ==1660== Lock acquired, processing the job...
[2025-03-10 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:33:02] Production.INFO: ==1660== Releasing lock...
[2025-03-10 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:33:03] Production.INFO: ==1664== Lock acquired, processing the job...
[2025-03-09 22:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:33:03] Production.INFO: ==1662== Lock acquired, processing the job...
[2025-03-09 22:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:33:03] Production.INFO: ==1666== Lock acquired, processing the job...
[2025-03-09 22:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:33:03] Production.INFO: ==1668== Lock acquired, processing the job...
[2025-03-09 22:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:33:03] Production.INFO: ==1671== Lock acquired, processing the job...
[2025-03-09 22:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:33:03] Production.INFO: ==1664== Releasing lock...
[2025-03-09 22:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:33:03] Production.INFO: ==1673== Lock acquired, processing the job...
[2025-03-09 22:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:33:03] Production.INFO: Account Balance Start.
[2025-03-09 22:33:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:33:03] Production.INFO: 117
[2025-03-09 22:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:33:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:33:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:33:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:33:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:33:03] Production.INFO: Total Charge 0
[2025-03-09 22:33:03] Production.INFO: CreateAllLog End
[2025-03-09 22: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-03-09 22:33:03] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:33:03] Production.INFO: count ==21
[2025-03-09 22:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645256') start
[2025-03-09 22:33:04] Production.ERROR: done
[2025-03-09 22:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:33:04] Production.INFO: Account Balance End.
[2025-03-09 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645256') end
[2025-03-09 22:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:33:04] Production.INFO: 1
[2025-03-09 22:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:33:04] Production.INFO: ==1673== Releasing lock...
[2025-03-09 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:33:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:33:04] Production.INFO: ==1668== Releasing lock...
[2025-03-09 22:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:33:04] Production.ERROR: done
[2025-03-09 22:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:33:05
[end_date_ymd] => 2025-03-09 22:33:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:33:05' and `end` < '2025-03-09 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-03-09 22:33:12] Production.ERROR: CronJobId end10
[2025-03-09 22:33:12] Production.INFO: ==1666== Releasing lock...
[2025-03-09 22:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:33:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:33:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:33:14] Production.INFO: call_cost start
[2025-03-09 22:33:14] Production.INFO: call_cost end
[2025-03-09 22:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:33:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:33:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:33:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:33:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:33:15] Production.INFO: ==1662== Releasing lock...
[2025-03-09 22:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:33:17] Production.INFO: count ==895
[2025-03-09 22:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:33:05 - End Time 2025-03-09 22:33:05
[2025-03-09 22:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645257', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645257', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645257', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645257', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:33:17] Production.INFO: ProcessCDR(1,14645257,1,1,2)
[2025-03-09 22:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645257', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645257', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:33:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:33:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:33:20] Production.INFO: ==1671== Releasing lock...
[2025-03-09 22:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:33:20] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:34:02] Production.INFO: ==1769== Lock acquired, processing the job...
[2025-03-10 02:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:34:02] Production.INFO: neon service started
[2025-03-10 02:34:02] Production.INFO: neon service started
[2025-03-10 02:34:02] Production.INFO: ==1769== Releasing lock...
[2025-03-10 02:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:34:02] Production.INFO: ==1771== Lock acquired, processing the job...
[2025-03-09 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:34:02] Production.INFO: ==1773== Lock acquired, processing the job...
[2025-03-10 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:34:02] Production.INFO: ==1773== Releasing lock...
[2025-03-10 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:34:03] Production.INFO: ==1771== Releasing lock...
[2025-03-09 22:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:34:04] Production.INFO: ==1780== Lock acquired, processing the job...
[2025-03-09 22:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:34:04] Production.INFO: ==1782== Lock acquired, processing the job...
[2025-03-09 22:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:34:04] Production.INFO: ==1776== Lock acquired, processing the job...
[2025-03-09 22:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:34:04] Production.INFO: Account Balance Start.
[2025-03-09 22:34:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:34:04] Production.INFO: 117
[2025-03-09 22:34:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:34:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:34:04] Production.INFO: ==1778== Lock acquired, processing the job...
[2025-03-09 22:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:34:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:34:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:34:04] Production.INFO: Total Charge 0
[2025-03-09 22:34:04] Production.INFO: CreateAllLog End
[2025-03-09 22:34:04] Production.INFO: ==1784== Lock acquired, processing the job...
[2025-03-09 22:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:34:04] Production.INFO: Account Balance End.
[2025-03-09 22:34:04] Production.INFO: ==1786== Lock acquired, processing the job...
[2025-03-09 22:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:34:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:34:04] Production.INFO: ==1782== Releasing lock...
[2025-03-09 22:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:34:04] Production.INFO: ==1778== Releasing lock...
[2025-03-09 22:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22: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-03-09 22:34:04] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:34:04] Production.INFO: count ==21
[2025-03-09 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645261') start
[2025-03-09 22:34:05] Production.ERROR: PBX CALL prc_importPBXExtension('14645261') end
[2025-03-09 22:34:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:34:05] Production.INFO: 1
[2025-03-09 22:34:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:34:05] Production.INFO: ==1786== Releasing lock...
[2025-03-09 22:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:34:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:34:05] Production.ERROR: done
[2025-03-09 22:34:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:34:05] Production.ERROR: done
[2025-03-09 22:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:34:06
[end_date_ymd] => 2025-03-09 22:34:06
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:34:06' and `end` < '2025-03-09 22: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-03-09 22:34:11] Production.ERROR: CronJobId end10
[2025-03-09 22:34:11] Production.INFO: ==1780== Releasing lock...
[2025-03-09 22:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:34:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:34:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:34:14] Production.INFO: call_cost start
[2025-03-09 22:34:14] Production.INFO: call_cost end
[2025-03-09 22:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:34:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:34:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:34:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:34:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:34:15] Production.INFO: ==1776== Releasing lock...
[2025-03-09 22:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:34:18] Production.INFO: count ==899
[2025-03-09 22:34:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:34:06 - End Time 2025-03-09 22:34:06
[2025-03-09 22:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645262', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645262', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645262', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645262', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:34:18] Production.INFO: ProcessCDR(1,14645262,1,1,2)
[2025-03-09 22:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645262', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645262', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:34:21] Production.INFO: ==1784== Releasing lock...
[2025-03-09 22:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:34:21] Production.INFO: 34.5 MB #Memory Used#
[2025-03-10 02:35:01] Production.INFO: ==1845== Lock acquired, processing the job...
[2025-03-10 02:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:35:01] Production.INFO: neon service started
[2025-03-10 02:35:01] Production.INFO: neon service started
[2025-03-10 02:35:01] Production.INFO: ==1845== Releasing lock...
[2025-03-10 02:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:35:02] Production.INFO: ==1849== Lock acquired, processing the job...
[2025-03-10 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:35:02] Production.INFO: ==1849== Releasing lock...
[2025-03-10 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:35:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:35:02] Production.INFO: ==1847== Lock acquired, processing the job...
[2025-03-09 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:35:02] Production.INFO: ==1847== Releasing lock...
[2025-03-09 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:35:03] Production.INFO: ==1852== Lock acquired, processing the job...
[2025-03-09 22:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:35:03] Production.INFO: ==1858== Lock acquired, processing the job...
[2025-03-09 22:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:35:03] Production.INFO: ==1854== Lock acquired, processing the job...
[2025-03-09 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:35:03] Production.INFO: ==1856== Lock acquired, processing the job...
[2025-03-09 22:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:35:03] Production.INFO: Account Balance Start.
[2025-03-09 22:35:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:35:03] Production.INFO: 117
[2025-03-09 22:35:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:35:03] Production.INFO: ==1860== Lock acquired, processing the job...
[2025-03-09 22:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:35:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:35:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:35:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:35:03] Production.INFO: ==1862== Lock acquired, processing the job...
[2025-03-09 22:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:35:03] Production.INFO: Total Charge 0
[2025-03-09 22:35:03] Production.INFO: CreateAllLog End
[2025-03-09 22:35:03] Production.INFO: ==1854== Releasing lock...
[2025-03-09 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 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-03-09 22:35:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:35:04] Production.ERROR: done
[2025-03-09 22:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:35:04] Production.INFO: count ==21
[2025-03-09 22:35:04] Production.INFO: Account Balance End.
[2025-03-09 22:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645266') start
[2025-03-09 22:35:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:35:04] Production.INFO: ==1858== Releasing lock...
[2025-03-09 22:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645266') end
[2025-03-09 22:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:35:04] Production.INFO: 1
[2025-03-09 22:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:35:04] Production.INFO: ==1862== Releasing lock...
[2025-03-09 22:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:35:04] Production.ERROR: done
[2025-03-09 22:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:35:05
[end_date_ymd] => 2025-03-09 22:35:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:35:05' and `end` < '2025-03-09 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-03-09 22:35:12] Production.ERROR: CronJobId end10
[2025-03-09 22:35:12] Production.INFO: ==1856== Releasing lock...
[2025-03-09 22:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:35:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:35:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:35:15] Production.INFO: call_cost start
[2025-03-09 22:35:15] Production.INFO: call_cost end
[2025-03-09 22:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:35:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:35:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:35:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:35:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:35:16] Production.INFO: ==1852== Releasing lock...
[2025-03-09 22:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:35:17] Production.INFO: count ==890
[2025-03-09 22:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:35:05 - End Time 2025-03-09 22:35:05
[2025-03-09 22:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645267', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645267', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645267', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645267', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:35:18] Production.INFO: ProcessCDR(1,14645267,1,1,2)
[2025-03-09 22:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645267', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645267', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:35:21] Production.INFO: ==1860== Releasing lock...
[2025-03-09 22:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:35:21] Production.INFO: 34.5 MB #Memory Used#
[2025-03-10 02:36:02] Production.INFO: ==1917== Lock acquired, processing the job...
[2025-03-10 02:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:36:02] Production.INFO: neon service started
[2025-03-10 02:36:02] Production.INFO: neon service started
[2025-03-10 02:36:02] Production.INFO: ==1917== Releasing lock...
[2025-03-10 02:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:36:02] Production.INFO: ==1919== Lock acquired, processing the job...
[2025-03-09 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:36:02] Production.INFO: ==1919== Releasing lock...
[2025-03-09 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:36:03] Production.INFO: ==1921== Lock acquired, processing the job...
[2025-03-10 02:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:36:03] Production.INFO: ==1921== Releasing lock...
[2025-03-10 02:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:36:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:36:03] Production.INFO: ==1934== Lock acquired, processing the job...
[2025-03-09 22:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:36:03] Production.INFO: ==1932== Lock acquired, processing the job...
[2025-03-09 22:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22: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-03-09 22:36:04] Production.INFO: ==1924== Lock acquired, processing the job...
[2025-03-09 22:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:36:04] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:36:04] Production.INFO: count ==21
[2025-03-09 22:36:04] Production.INFO: ==1928== Lock acquired, processing the job...
[2025-03-09 22:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:36:04] Production.INFO: ==1926== Lock acquired, processing the job...
[2025-03-09 22:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645268') start
[2025-03-09 22:36:04] Production.INFO: ==1930== Lock acquired, processing the job...
[2025-03-09 22:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:36:04] Production.INFO: Account Balance Start.
[2025-03-09 22:36:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:36:04] Production.INFO: 117
[2025-03-09 22:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:36:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645268') end
[2025-03-09 22:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:36:04] Production.INFO: 1
[2025-03-09 22:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:36:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:36:04] Production.INFO: ==1934== Releasing lock...
[2025-03-09 22:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:36:04] Production.ERROR: done
[2025-03-09 22:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:36:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:36:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:36:04] Production.INFO: Total Charge 0
[2025-03-09 22:36:04] Production.INFO: CreateAllLog End
[2025-03-09 22:36:04] Production.INFO: ==1926== Releasing lock...
[2025-03-09 22:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:36:04] Production.ERROR: done
[2025-03-09 22:36:04] Production.INFO: Account Balance End.
[2025-03-09 22:36:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:36:04] Production.INFO: ==1930== Releasing lock...
[2025-03-09 22:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:36:05
[end_date_ymd] => 2025-03-09 22:36:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:36:05' and `end` < '2025-03-09 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-03-09 22:36:12] Production.ERROR: CronJobId end10
[2025-03-09 22:36:12] Production.INFO: ==1928== Releasing lock...
[2025-03-09 22:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:36:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:36:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:36:15] Production.INFO: call_cost start
[2025-03-09 22:36:15] Production.INFO: call_cost end
[2025-03-09 22:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:36:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:36:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:36:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:36:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:36:16] Production.INFO: ==1924== Releasing lock...
[2025-03-09 22:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:36:18] Production.INFO: count ==888
[2025-03-09 22:36:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:36:05 - End Time 2025-03-09 22:36:05
[2025-03-09 22:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645272', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645272', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645272', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645272', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:36:18] Production.INFO: ProcessCDR(1,14645272,1,1,2)
[2025-03-09 22:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645272', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645272', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:36:21] Production.INFO: ==1932== Releasing lock...
[2025-03-09 22:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:36:21] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 02:37:01] Production.INFO: ==1990== Lock acquired, processing the job...
[2025-03-10 02:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:37:01] Production.INFO: neon service started
[2025-03-10 02:37:01] Production.INFO: neon service started
[2025-03-10 02:37:01] Production.INFO: ==1990== Releasing lock...
[2025-03-10 02:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:37:01] Production.INFO: ==1992== Lock acquired, processing the job...
[2025-03-09 22:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:37:02] Production.INFO: ==1992== Releasing lock...
[2025-03-09 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:37:02] Production.INFO: ==1994== Lock acquired, processing the job...
[2025-03-10 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:37:02] Production.INFO: ==1994== Releasing lock...
[2025-03-10 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:37:03] Production.INFO: ==1997== Lock acquired, processing the job...
[2025-03-09 22:37:03] Production.INFO: ==2003== Lock acquired, processing the job...
[2025-03-09 22:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:37:03] Production.INFO: ==2008== Lock acquired, processing the job...
[2025-03-09 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:37:03] Production.INFO: Account Balance Start.
[2025-03-09 22:37:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:37:03] Production.INFO: 117
[2025-03-09 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-03-09 22:37:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:37:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:37:03] Production.INFO: ==2001== Lock acquired, processing the job...
[2025-03-09 22:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:37:03] Production.INFO: count ==13
[2025-03-09 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-03-09 22:37:03] Production.INFO: count ==21
[2025-03-09 22:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645275') start
[2025-03-09 22:37:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:37:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:37:03] Production.INFO: ==2005== Lock acquired, processing the job...
[2025-03-09 22:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:37:03] Production.INFO: ==1999== Lock acquired, processing the job...
[2025-03-09 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:37:03] Production.INFO: Total Charge 0
[2025-03-09 22:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645275') end
[2025-03-09 22:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:37:03] Production.INFO: 1
[2025-03-09 22:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:37:03] Production.INFO: CreateAllLog End
[2025-03-09 22:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:37:03] Production.INFO: ==2008== Releasing lock...
[2025-03-09 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:37:03] Production.INFO: Account Balance End.
[2025-03-09 22:37:04] Production.ERROR: done
[2025-03-09 22:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:37:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:37:04] Production.INFO: ==2003== Releasing lock...
[2025-03-09 22:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:37:04] Production.INFO: ==1999== Releasing lock...
[2025-03-09 22:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:37:04] Production.ERROR: done
[2025-03-09 22:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:37:05
[end_date_ymd] => 2025-03-09 22:37:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:37:05' and `end` < '2025-03-09 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-03-09 22:37:12] Production.ERROR: CronJobId end10
[2025-03-09 22:37:12] Production.INFO: ==2001== Releasing lock...
[2025-03-09 22:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:37:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:37:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:37:13] Production.INFO: call_cost start
[2025-03-09 22:37:13] Production.INFO: call_cost end
[2025-03-09 22:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:37:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:37:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:37:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:37:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:37:14] Production.INFO: ==1997== Releasing lock...
[2025-03-09 22:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:37:17] Production.INFO: count ==891
[2025-03-09 22:37:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:37:05 - End Time 2025-03-09 22:37:05
[2025-03-09 22:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645277', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645277', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645277', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645277', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:37:17] Production.INFO: ProcessCDR(1,14645277,1,1,2)
[2025-03-09 22:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645277', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645277', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:37:21] Production.INFO: ==2005== Releasing lock...
[2025-03-09 22:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:37:21] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 02:38:02] Production.INFO: ==2064== Lock acquired, processing the job...
[2025-03-10 02:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:38:02] Production.INFO: neon service started
[2025-03-10 02:38:02] Production.INFO: neon service started
[2025-03-10 02:38:02] Production.INFO: ==2064== Releasing lock...
[2025-03-10 02:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:38:02] Production.INFO: ==2069== Lock acquired, processing the job...
[2025-03-10 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:38:02] Production.INFO: ==2069== Releasing lock...
[2025-03-10 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:38:02] Production.INFO: ==2067== Lock acquired, processing the job...
[2025-03-09 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:38:02] Production.INFO: ==2067== Releasing lock...
[2025-03-09 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:38:03] Production.INFO: ==2081== Lock acquired, processing the job...
[2025-03-09 22:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:38:03] Production.INFO: ==2079== Lock acquired, processing the job...
[2025-03-09 22:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22: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-03-09 22:38:04] Production.INFO: ==2071== Lock acquired, processing the job...
[2025-03-09 22:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:38:04] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:38:04] Production.INFO: count ==21
[2025-03-09 22:38:04] Production.INFO: ==2073== Lock acquired, processing the job...
[2025-03-09 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645278') start
[2025-03-09 22:38:04] Production.INFO: ==2075== Lock acquired, processing the job...
[2025-03-09 22:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:38:04] Production.INFO: ==2077== Lock acquired, processing the job...
[2025-03-09 22:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645278') end
[2025-03-09 22:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:38:04] Production.INFO: 1
[2025-03-09 22:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:38:04] Production.INFO: ==2081== Releasing lock...
[2025-03-09 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:38:04] Production.INFO: Account Balance Start.
[2025-03-09 22:38:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:38:04] Production.INFO: 117
[2025-03-09 22:38:04] Production.ERROR: done
[2025-03-09 22:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:38:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:38:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:38:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:38:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:38:04] Production.ERROR: done
[2025-03-09 22:38:04] Production.INFO: ==2073== Releasing lock...
[2025-03-09 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:38:04] Production.INFO: Total Charge 0
[2025-03-09 22:38:04] Production.INFO: CreateAllLog End
[2025-03-09 22:38:05] Production.INFO: Account Balance End.
[2025-03-09 22:38:05] Production.ERROR: CronJobId end 12
[2025-03-09 22:38:05] Production.INFO: ==2077== Releasing lock...
[2025-03-09 22:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:38:05
[end_date_ymd] => 2025-03-09 22:38:05
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:38:05' and `end` < '2025-03-09 22: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-03-09 22:38:11] Production.ERROR: CronJobId end10
[2025-03-09 22:38:11] Production.INFO: ==2075== Releasing lock...
[2025-03-09 22:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:38:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:38:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:38:14] Production.INFO: call_cost start
[2025-03-09 22:38:14] Production.INFO: call_cost end
[2025-03-09 22:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:38:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:38:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:38:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:38:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:38:15] Production.INFO: ==2071== Releasing lock...
[2025-03-09 22:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:38:18] Production.INFO: count ==891
[2025-03-09 22:38:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:38:05 - End Time 2025-03-09 22:38:05
[2025-03-09 22:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645282', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645282', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645282', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645282', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:38:18] Production.INFO: ProcessCDR(1,14645282,1,1,2)
[2025-03-09 22:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645282', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645282', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:38:21] Production.INFO: ==2079== Releasing lock...
[2025-03-09 22:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:38:21] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 02:39:01] Production.INFO: ==2135== Lock acquired, processing the job...
[2025-03-10 02:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:39:01] Production.INFO: neon service started
[2025-03-10 02:39:01] Production.INFO: neon service started
[2025-03-10 02:39:01] Production.INFO: ==2135== Releasing lock...
[2025-03-10 02:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:39:02] Production.INFO: ==2140== Lock acquired, processing the job...
[2025-03-10 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 22:39:02] Production.INFO: ==2138== Lock acquired, processing the job...
[2025-03-09 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:39:02] Production.INFO: ==2140== Releasing lock...
[2025-03-10 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:39:02] Production.INFO: ==2138== Releasing lock...
[2025-03-09 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:39:03] Production.INFO: ==2144== Lock acquired, processing the job...
[2025-03-09 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:39:03] Production.INFO: ==2150== Lock acquired, processing the job...
[2025-03-09 22:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:39:03] Production.INFO: ==2142== Lock acquired, processing the job...
[2025-03-09 22:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:39:03] Production.INFO: ==2146== Lock acquired, processing the job...
[2025-03-09 22:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:39:03] Production.INFO: ==2148== Lock acquired, processing the job...
[2025-03-09 22:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:39:03] Production.INFO: ==2144== Releasing lock...
[2025-03-09 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:39:03] Production.INFO: ==2152== Lock acquired, processing the job...
[2025-03-09 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:39:03] Production.ERROR: done
[2025-03-09 22:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:39:03] Production.INFO: Account Balance Start.
[2025-03-09 22:39:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:39:03] Production.INFO: 117
[2025-03-09 22:39:03] Production.INFO: Date 2025-03-08
[2025-03-09 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-03-09 22:39:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:39:03] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:39:04] Production.INFO: count ==21
[2025-03-09 22:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645285') start
[2025-03-09 22:39:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:39:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:39:04] Production.INFO: Total Charge 0
[2025-03-09 22:39:04] Production.INFO: CreateAllLog End
[2025-03-09 22:39:04] Production.ERROR: done
[2025-03-09 22:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645285') end
[2025-03-09 22:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:39:04] Production.INFO: 1
[2025-03-09 22:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:39:04] Production.INFO: Account Balance End.
[2025-03-09 22:39:04] Production.INFO: ==2152== Releasing lock...
[2025-03-09 22:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:39:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:39:04] Production.INFO: ==2148== Releasing lock...
[2025-03-09 22:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:39:05
[end_date_ymd] => 2025-03-09 22:39:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:39:05' and `end` < '2025-03-09 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-03-09 22:39:12] Production.ERROR: CronJobId end10
[2025-03-09 22:39:12] Production.INFO: ==2146== Releasing lock...
[2025-03-09 22:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:39:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:39:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:39:13] Production.INFO: call_cost start
[2025-03-09 22:39:13] Production.INFO: call_cost end
[2025-03-09 22:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:39:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:39:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:39:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:39:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:39:14] Production.INFO: ==2142== Releasing lock...
[2025-03-09 22:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:39:17] Production.INFO: count ==890
[2025-03-09 22:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:39:05 - End Time 2025-03-09 22:39:05
[2025-03-09 22:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645287', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645287', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645287', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645287', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:39:17] Production.INFO: ProcessCDR(1,14645287,1,1,2)
[2025-03-09 22:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645287', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645287', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:39:20] Production.INFO: ==2150== Releasing lock...
[2025-03-09 22:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:39:20] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 02:40:02] Production.INFO: ==2217== Lock acquired, processing the job...
[2025-03-10 02:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:40:02] Production.INFO: neon service started
[2025-03-10 02:40:02] Production.INFO: neon service started
[2025-03-10 02:40:02] Production.INFO: ==2217== Releasing lock...
[2025-03-10 02:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:40:02] Production.INFO: ==2219== Lock acquired, processing the job...
[2025-03-09 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:40:02] Production.INFO: ==2221== Lock acquired, processing the job...
[2025-03-10 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 22:40:02] Production.INFO: ==2219== Releasing lock...
[2025-03-09 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:40:03] Production.INFO: ==2221== Releasing lock...
[2025-03-10 02:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:40:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:40:04] Production.INFO: ==2223== Lock acquired, processing the job...
[2025-03-09 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 22:40:04] Production.INFO: ==2229== Lock acquired, processing the job...
[2025-03-09 22:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 22:40:04] Production.INFO: ==2232== Lock acquired, processing the job...
[2025-03-09 22:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 22:40:04] Production.ERROR: CronJob PID - 2229
[2025-03-09 22:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-09 22:40:04] Production.ERROR: CronJob ID - 10
[2025-03-09 22:40:04] Production.ERROR: CronJob Last Run Time 2025-03-09 22:40:00
[2025-03-09 22:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 22:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 22:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 22:40:04] Production.INFO: ==2223== Releasing lock...
[2025-03-09 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 22:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 22:40:04] Production.INFO: ==2225== Lock acquired, processing the job...
[2025-03-09 22:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:40:04] Production.INFO: ==2227== Lock acquired, processing the job...
[2025-03-09 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:40:04] Production.INFO: Account Balance Start.
[2025-03-09 22:40:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:40:04] Production.INFO: 117
[2025-03-09 22:40:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:40:04] Production.INFO: ==2238== Lock acquired, processing the job...
[2025-03-09 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:40:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:40:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:40:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:40:04] Production.INFO: Total Charge 0
[2025-03-09 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-03-09 22:40:04] Production.INFO: count ==13
[2025-03-09 22:40:04] Production.INFO: CreateAllLog End
[2025-03-09 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-03-09 22:40:04] Production.INFO: count ==21
[2025-03-09 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645291') start
[2025-03-09 22:40:04] Production.INFO: ==2234== Lock acquired, processing the job...
[2025-03-09 22:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:40:04] Production.INFO: ==2236== Lock acquired, processing the job...
[2025-03-09 22:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 22:40:04] Production.INFO: Account Balance End.
[2025-03-09 22:40:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:40:04] Production.INFO: ==2232== Releasing lock...
[2025-03-09 22:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645291') end
[2025-03-09 22:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:40:04] Production.INFO: 1
[2025-03-09 22:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:40:04] Production.INFO: ==2238== Releasing lock...
[2025-03-09 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:40:04] Production.INFO: ==2227== Releasing lock...
[2025-03-09 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:40:05] Production.ERROR: done
[2025-03-09 22:40:05] Production.ERROR: done
[2025-03-09 22:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 22:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645292', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 22:40:05] Production.ERROR: done
[2025-03-09 22:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:40:06
[end_date_ymd] => 2025-03-09 22:40:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:40:06' and `end` < '2025-03-09 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-03-09 22:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645292', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 22:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 22:40:09] Production.INFO: ProcessCDR(1,14645292,1,1,2)
[2025-03-09 22:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645292,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645292,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:40:09] Production.INFO: ==2236== Releasing lock...
[2025-03-09 22:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 22:40:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 22:40:14] Production.ERROR: CronJobId end10
[2025-03-09 22:40:14] Production.INFO: ==2229== Releasing lock...
[2025-03-09 22:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:40:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:40:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:40:16] Production.INFO: call_cost start
[2025-03-09 22:40:16] Production.INFO: call_cost end
[2025-03-09 22:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:40:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:40:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:40:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:40:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:40:17] Production.INFO: ==2225== Releasing lock...
[2025-03-09 22:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:40:18] Production.INFO: count ==881
[2025-03-09 22:40:19] Production.ERROR: pbx CDR StartTime 2025-03-09 19:40:06 - End Time 2025-03-09 22:40:06
[2025-03-09 22:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645293', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645293', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645293', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645293', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:40:19] Production.INFO: ProcessCDR(1,14645293,1,1,2)
[2025-03-09 22:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645293', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645293', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:40:24] Production.INFO: ==2234== Releasing lock...
[2025-03-09 22:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:40:24] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 02:41:01] Production.INFO: ==2296== Lock acquired, processing the job...
[2025-03-10 02:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:41:01] Production.INFO: neon service started
[2025-03-10 02:41:01] Production.INFO: neon service started
[2025-03-10 02:41:01] Production.INFO: ==2296== Releasing lock...
[2025-03-10 02:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:41:01] Production.INFO: ==2300== Lock acquired, processing the job...
[2025-03-10 02:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:41:01] Production.INFO: ==2300== Releasing lock...
[2025-03-10 02:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:41:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:41:02] Production.INFO: ==2298== Lock acquired, processing the job...
[2025-03-09 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:41:02] Production.INFO: ==2298== Releasing lock...
[2025-03-09 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:41:03] Production.INFO: ==2304== Lock acquired, processing the job...
[2025-03-09 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:41:03] Production.INFO: ==2308== Lock acquired, processing the job...
[2025-03-09 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:41:03] Production.INFO: ==2311== Lock acquired, processing the job...
[2025-03-09 22:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:41:03] Production.INFO: Account Balance Start.
[2025-03-09 22:41:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:41:03] Production.INFO: 117
[2025-03-09 22:41:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:41:03] Production.INFO: ==2302== Lock acquired, processing the job...
[2025-03-09 22:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:41:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:41:03] Production.INFO: ==2306== Lock acquired, processing the job...
[2025-03-09 22:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:41:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:41:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:41:03] Production.INFO: Total Charge 0
[2025-03-09 22:41:03] Production.INFO: CreateAllLog End
[2025-03-09 22:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:41:03] Production.INFO: ==2313== Lock acquired, processing the job...
[2025-03-09 22:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:41:03] Production.INFO: ==2304== Releasing lock...
[2025-03-09 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:41:03] Production.INFO: Account Balance End.
[2025-03-09 22:41:03] Production.ERROR: done
[2025-03-09 22:41:03] Production.ERROR: CronJobId end 12
[2025-03-09 22:41:03] Production.INFO: ==2308== Releasing lock...
[2025-03-09 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22: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-03-09 22:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:41:03] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:41:03] Production.INFO: count ==21
[2025-03-09 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645297') start
[2025-03-09 22:41:04] Production.ERROR: done
[2025-03-09 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645297') end
[2025-03-09 22:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:41:04] Production.INFO: 1
[2025-03-09 22:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:41:04] Production.INFO: ==2313== Releasing lock...
[2025-03-09 22:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:41:05
[end_date_ymd] => 2025-03-09 22:41:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:41:05' and `end` < '2025-03-09 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-03-09 22:41:13] Production.ERROR: CronJobId end10
[2025-03-09 22:41:13] Production.INFO: ==2306== Releasing lock...
[2025-03-09 22:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:41:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:41:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:41:15] Production.INFO: call_cost start
[2025-03-09 22:41:15] Production.INFO: call_cost end
[2025-03-09 22:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:41:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:41:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:41:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:41:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:41:16] Production.INFO: ==2302== Releasing lock...
[2025-03-09 22:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:41:17] Production.INFO: count ==861
[2025-03-09 22:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:41:05 - End Time 2025-03-09 22:41:05
[2025-03-09 22:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645298', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645298', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645298', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645298', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:41:17] Production.INFO: ProcessCDR(1,14645298,1,1,2)
[2025-03-09 22:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645298', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645298', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:41:20] Production.INFO: ==2311== Releasing lock...
[2025-03-09 22:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:41:20] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:42:01] Production.INFO: ==2371== Lock acquired, processing the job...
[2025-03-10 02:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:42:02] Production.INFO: neon service started
[2025-03-10 02:42:02] Production.INFO: neon service started
[2025-03-10 02:42:02] Production.INFO: ==2371== Releasing lock...
[2025-03-10 02:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:42:02] Production.INFO: ==2373== Lock acquired, processing the job...
[2025-03-09 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:42:02] Production.INFO: ==2375== Lock acquired, processing the job...
[2025-03-10 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:42:02] Production.INFO: ==2375== Releasing lock...
[2025-03-10 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:42:03] Production.INFO: ==2373== Releasing lock...
[2025-03-09 22:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:42:03] Production.INFO: ==2384== Lock acquired, processing the job...
[2025-03-09 22:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:42:03] Production.INFO: ==2388== Lock acquired, processing the job...
[2025-03-09 22:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:42:03] Production.INFO: Account Balance Start.
[2025-03-09 22:42:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:42:03] Production.INFO: 117
[2025-03-09 22:42:03] Production.INFO: Date 2025-03-08
[2025-03-09 22: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-03-09 22:42:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:42:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:42:04] Production.INFO: count ==21
[2025-03-09 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645300') start
[2025-03-09 22:42:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:42:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:42:04] Production.INFO: Total Charge 0
[2025-03-09 22:42:04] Production.INFO: CreateAllLog End
[2025-03-09 22:42:04] Production.INFO: ==2380== Lock acquired, processing the job...
[2025-03-09 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:42:04] Production.INFO: ==2378== Lock acquired, processing the job...
[2025-03-09 22:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645300') end
[2025-03-09 22:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:42:04] Production.INFO: 1
[2025-03-09 22:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:42:04] Production.INFO: ==2382== Lock acquired, processing the job...
[2025-03-09 22:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:42:04] Production.INFO: ==2386== Lock acquired, processing the job...
[2025-03-09 22:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:42:04] Production.INFO: ==2388== Releasing lock...
[2025-03-09 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:42:04] Production.INFO: Account Balance End.
[2025-03-09 22:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:42:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:42:04] Production.INFO: ==2384== Releasing lock...
[2025-03-09 22:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:42:04] Production.ERROR: done
[2025-03-09 22:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:42:04] Production.INFO: ==2380== Releasing lock...
[2025-03-09 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:42:04] Production.ERROR: done
[2025-03-09 22:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:42:05
[end_date_ymd] => 2025-03-09 22:42:05
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:42:05' and `end` < '2025-03-09 22: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-03-09 22:42:12] Production.ERROR: CronJobId end10
[2025-03-09 22:42:12] Production.INFO: ==2382== Releasing lock...
[2025-03-09 22:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:42:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:42:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:42:14] Production.INFO: call_cost start
[2025-03-09 22:42:14] Production.INFO: call_cost end
[2025-03-09 22:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:42:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:42:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:42:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:42:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:42:15] Production.INFO: ==2378== Releasing lock...
[2025-03-09 22:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:42:17] Production.INFO: count ==860
[2025-03-09 22:42:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:42:05 - End Time 2025-03-09 22:42:05
[2025-03-09 22:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645303', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645303', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645303', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645303', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:42:18] Production.INFO: ProcessCDR(1,14645303,1,1,2)
[2025-03-09 22:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645303', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645303', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:42:21] Production.INFO: ==2386== Releasing lock...
[2025-03-09 22:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:42:21] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:43:01] Production.INFO: ==2443== Lock acquired, processing the job...
[2025-03-10 02:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:43:01] Production.INFO: neon service started
[2025-03-10 02:43:01] Production.INFO: neon service started
[2025-03-10 02:43:01] Production.INFO: ==2443== Releasing lock...
[2025-03-10 02:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:43:01] Production.INFO: ==2445== Lock acquired, processing the job...
[2025-03-09 22:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:43:02] Production.INFO: ==2445== Releasing lock...
[2025-03-09 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:43:02] Production.INFO: ==2447== Lock acquired, processing the job...
[2025-03-10 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:43:02] Production.INFO: ==2447== Releasing lock...
[2025-03-10 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:43:03] Production.INFO: ==2455== Lock acquired, processing the job...
[2025-03-09 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:43:03] Production.INFO: ==2457== Lock acquired, processing the job...
[2025-03-09 22:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:43:03] Production.INFO: Account Balance Start.
[2025-03-09 22:43:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:43:03] Production.INFO: 117
[2025-03-09 22:43:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:43:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:43:03] Production.INFO: ==2449== Lock acquired, processing the job...
[2025-03-09 22:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:43:03] Production.INFO: ==2451== Lock acquired, processing the job...
[2025-03-09 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:43:03] Production.INFO: ==2453== Lock acquired, processing the job...
[2025-03-09 22:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:43:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:43:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:43:03] Production.INFO: ==2459== Lock acquired, processing the job...
[2025-03-09 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:43:03] Production.INFO: Total Charge 0
[2025-03-09 22:43:03] Production.INFO: CreateAllLog End
[2025-03-09 22:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22: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-03-09 22:43:03] Production.INFO: Account Balance End.
[2025-03-09 22:43:03] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:43:03] Production.INFO: count ==21
[2025-03-09 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645305') start
[2025-03-09 22:43:03] Production.ERROR: CronJobId end 12
[2025-03-09 22:43:03] Production.INFO: ==2455== Releasing lock...
[2025-03-09 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645305') end
[2025-03-09 22:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:43:03] Production.INFO: 1
[2025-03-09 22:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:43:03] Production.ERROR: done
[2025-03-09 22:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:43:04] Production.INFO: ==2451== Releasing lock...
[2025-03-09 22:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:43:04] Production.INFO: ==2459== Releasing lock...
[2025-03-09 22:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:43:04] Production.ERROR: done
[2025-03-09 22:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:43:05
[end_date_ymd] => 2025-03-09 22:43:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:43:05' and `end` < '2025-03-09 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-03-09 22:43:11] Production.ERROR: CronJobId end10
[2025-03-09 22:43:11] Production.INFO: ==2453== Releasing lock...
[2025-03-09 22:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:43:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:43:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:43:14] Production.INFO: call_cost start
[2025-03-09 22:43:14] Production.INFO: call_cost end
[2025-03-09 22:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:43:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:43:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:43:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:43:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:43:15] Production.INFO: ==2449== Releasing lock...
[2025-03-09 22:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:43:17] Production.INFO: count ==857
[2025-03-09 22:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:43:05 - End Time 2025-03-09 22:43:05
[2025-03-09 22:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645308', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645308', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645308', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645308', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:43:17] Production.INFO: ProcessCDR(1,14645308,1,1,2)
[2025-03-09 22:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645308', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645308', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:43:20] Production.INFO: ==2457== Releasing lock...
[2025-03-09 22:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:43:20] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:44:02] Production.INFO: ==2512== Lock acquired, processing the job...
[2025-03-10 02:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:44:02] Production.INFO: neon service started
[2025-03-10 02:44:02] Production.INFO: neon service started
[2025-03-10 02:44:02] Production.INFO: ==2512== Releasing lock...
[2025-03-10 02:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:44:02] Production.INFO: ==2515== Lock acquired, processing the job...
[2025-03-09 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:44:02] Production.INFO: ==2515== Releasing lock...
[2025-03-09 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:44:02] Production.INFO: ==2517== Lock acquired, processing the job...
[2025-03-10 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:44:02] Production.INFO: ==2517== Releasing lock...
[2025-03-10 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:44:03] Production.INFO: ==2519== Lock acquired, processing the job...
[2025-03-09 22:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:44:03] Production.INFO: ==2523== Lock acquired, processing the job...
[2025-03-09 22:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:44:03] Production.INFO: ==2525== Lock acquired, processing the job...
[2025-03-09 22:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:44:04] Production.INFO: Account Balance Start.
[2025-03-09 22:44:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:44:04] Production.INFO: 117
[2025-03-09 22:44:04] Production.INFO: ==2521== Lock acquired, processing the job...
[2025-03-09 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:44:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:44:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:44:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:44:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:44:04] Production.INFO: ==2529== Lock acquired, processing the job...
[2025-03-09 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:44:04] Production.INFO: Total Charge 0
[2025-03-09 22:44:04] Production.INFO: CreateAllLog End
[2025-03-09 22:44:04] Production.INFO: ==2527== Lock acquired, processing the job...
[2025-03-09 22:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 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-03-09 22:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:44:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:44:04] Production.INFO: count ==21
[2025-03-09 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645312') start
[2025-03-09 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645312') end
[2025-03-09 22:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:44:04] Production.INFO: 1
[2025-03-09 22:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:44:04] Production.INFO: ==2521== Releasing lock...
[2025-03-09 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:44:04] Production.INFO: ==2529== Releasing lock...
[2025-03-09 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:44:04] Production.INFO: Account Balance End.
[2025-03-09 22:44:04] Production.ERROR: done
[2025-03-09 22:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:44:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:44:04] Production.INFO: ==2525== Releasing lock...
[2025-03-09 22:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:44:04] Production.ERROR: done
[2025-03-09 22:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:44:06
[end_date_ymd] => 2025-03-09 22:44:06
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:44:06' and `end` < '2025-03-09 22:44:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-09 22:44:13] Production.ERROR: CronJobId end10
[2025-03-09 22:44:13] Production.INFO: ==2523== Releasing lock...
[2025-03-09 22:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:44:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:44:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:44:15] Production.INFO: call_cost start
[2025-03-09 22:44:15] Production.INFO: call_cost end
[2025-03-09 22:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:44:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:44:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:44:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:44:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:44:16] Production.INFO: ==2519== Releasing lock...
[2025-03-09 22:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:44:18] Production.INFO: count ==858
[2025-03-09 22:44:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:44:06 - End Time 2025-03-09 22:44:06
[2025-03-09 22:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645313', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645313', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645313', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645313', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:44:18] Production.INFO: ProcessCDR(1,14645313,1,1,2)
[2025-03-09 22:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645313', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645313', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:44:23] Production.INFO: ==2527== Releasing lock...
[2025-03-09 22:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:44:23] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:45:01] Production.INFO: ==2585== Lock acquired, processing the job...
[2025-03-10 02:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:45:01] Production.INFO: neon service started
[2025-03-10 02:45:01] Production.INFO: neon service started
[2025-03-10 02:45:01] Production.INFO: ==2585== Releasing lock...
[2025-03-10 02:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:45:01] Production.INFO: ==2590== Lock acquired, processing the job...
[2025-03-10 02:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:45:01] Production.INFO: ==2590== Releasing lock...
[2025-03-10 02:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:45:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:45:02] Production.INFO: ==2587== Lock acquired, processing the job...
[2025-03-09 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:45:02] Production.INFO: ==2587== Releasing lock...
[2025-03-09 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:45:03] Production.INFO: ==2598== Lock acquired, processing the job...
[2025-03-09 22:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:45:03] Production.INFO: ==2602== Lock acquired, processing the job...
[2025-03-09 22:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:45:03] Production.INFO: Account Balance Start.
[2025-03-09 22:45:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:45:03] Production.INFO: 117
[2025-03-09 22:45:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:45:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:45:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:45:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:45:03] Production.INFO: Total Charge 0
[2025-03-09 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-03-09 22:45:03] Production.INFO: CreateAllLog End
[2025-03-09 22:45:03] Production.INFO: ==2592== Lock acquired, processing the job...
[2025-03-09 22:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:45:03] Production.INFO: ==2594== Lock acquired, processing the job...
[2025-03-09 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:45:03] Production.INFO: count ==13
[2025-03-09 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-03-09 22:45:03] Production.INFO: count ==21
[2025-03-09 22:45:03] Production.INFO: Account Balance End.
[2025-03-09 22:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645315') start
[2025-03-09 22:45:03] Production.INFO: ==2600== Lock acquired, processing the job...
[2025-03-09 22:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:45:03] Production.INFO: ==2596== Lock acquired, processing the job...
[2025-03-09 22:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:45:03] Production.ERROR: CronJobId end 12
[2025-03-09 22:45:03] Production.INFO: ==2598== Releasing lock...
[2025-03-09 22:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645315') end
[2025-03-09 22:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:45:03] Production.INFO: 1
[2025-03-09 22:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:45:03] Production.INFO: ==2602== Releasing lock...
[2025-03-09 22:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:45:04] Production.ERROR: done
[2025-03-09 22:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:45:04] Production.INFO: ==2594== Releasing lock...
[2025-03-09 22:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:45:04] Production.ERROR: done
[2025-03-09 22:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:45:05
[end_date_ymd] => 2025-03-09 22:45:05
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:45:05' and `end` < '2025-03-09 22: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-03-09 22:45:11] Production.ERROR: CronJobId end10
[2025-03-09 22:45:11] Production.INFO: ==2596== Releasing lock...
[2025-03-09 22:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:45:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:45:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:45:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:45:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:45:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:45:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:45:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:45:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:45:15] Production.INFO: call_cost start
[2025-03-09 22:45:15] Production.INFO: call_cost end
[2025-03-09 22:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:45:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:45:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:45:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:45:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:45:16] Production.INFO: ==2592== Releasing lock...
[2025-03-09 22:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:45:17] Production.INFO: count ==858
[2025-03-09 22:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:45:05 - End Time 2025-03-09 22:45:05
[2025-03-09 22:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645318', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645318', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645318', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645318', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:45:17] Production.INFO: ProcessCDR(1,14645318,1,1,2)
[2025-03-09 22:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645318', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645318', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:45:21] Production.INFO: ==2600== Releasing lock...
[2025-03-09 22:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:45:21] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:46:01] Production.INFO: ==2656== Lock acquired, processing the job...
[2025-03-10 02:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:46:02] Production.INFO: neon service started
[2025-03-10 02:46:02] Production.INFO: neon service started
[2025-03-10 02:46:02] Production.INFO: ==2656== Releasing lock...
[2025-03-10 02:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:46:02] Production.INFO: ==2658== Lock acquired, processing the job...
[2025-03-09 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:46:02] Production.INFO: ==2658== Releasing lock...
[2025-03-09 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:46:02] Production.INFO: ==2660== Lock acquired, processing the job...
[2025-03-10 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:46:02] Production.INFO: ==2660== Releasing lock...
[2025-03-10 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:46:03] Production.INFO: ==2671== Lock acquired, processing the job...
[2025-03-09 22:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:46:03] Production.INFO: ==2673== Lock acquired, processing the job...
[2025-03-09 22:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:46:03] Production.INFO: ==2665== Lock acquired, processing the job...
[2025-03-09 22:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:46:03] Production.INFO: ==2663== Lock acquired, processing the job...
[2025-03-09 22:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:46:03] Production.INFO: ==2667== Lock acquired, processing the job...
[2025-03-09 22:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:46:03] Production.INFO: ==2669== Lock acquired, processing the job...
[2025-03-09 22:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22: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-03-09 22:46:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:46:04] Production.INFO: count ==21
[2025-03-09 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645319') start
[2025-03-09 22:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:46:04] Production.INFO: Account Balance Start.
[2025-03-09 22:46:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:46:04] Production.INFO: 117
[2025-03-09 22:46:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:46:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645319') end
[2025-03-09 22:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:46:04] Production.INFO: 1
[2025-03-09 22:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:46:04] Production.INFO: ==2673== Releasing lock...
[2025-03-09 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:46:04] Production.ERROR: done
[2025-03-09 22:46:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:46:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:46:04] Production.INFO: ==2665== Releasing lock...
[2025-03-09 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:46:04] Production.INFO: Total Charge 0
[2025-03-09 22:46:04] Production.INFO: CreateAllLog End
[2025-03-09 22:46:04] Production.ERROR: done
[2025-03-09 22:46:04] Production.INFO: Account Balance End.
[2025-03-09 22:46:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:46:04] Production.INFO: ==2669== Releasing lock...
[2025-03-09 22:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:46:05
[end_date_ymd] => 2025-03-09 22:46:05
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:46:05' and `end` < '2025-03-09 22: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-03-09 22:46:11] Production.ERROR: CronJobId end10
[2025-03-09 22:46:11] Production.INFO: ==2667== Releasing lock...
[2025-03-09 22:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:46:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:46:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:46:14] Production.INFO: call_cost start
[2025-03-09 22:46:14] Production.INFO: call_cost end
[2025-03-09 22:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:46:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:46:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:46:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:46:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:46:15] Production.INFO: ==2663== Releasing lock...
[2025-03-09 22:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:46:17] Production.INFO: count ==857
[2025-03-09 22:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:46:05 - End Time 2025-03-09 22:46:05
[2025-03-09 22:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645323', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645323', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645323', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645323', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:46:17] Production.INFO: ProcessCDR(1,14645323,1,1,2)
[2025-03-09 22:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645323', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645323', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:46:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:46:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:46:20] Production.INFO: ==2671== Releasing lock...
[2025-03-09 22:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:46:20] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 02:47:01] Production.INFO: ==2731== Lock acquired, processing the job...
[2025-03-10 02:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:47:01] Production.INFO: neon service started
[2025-03-10 02:47:01] Production.INFO: neon service started
[2025-03-10 02:47:01] Production.INFO: ==2731== Releasing lock...
[2025-03-10 02:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:47:01] Production.INFO: ==2733== Lock acquired, processing the job...
[2025-03-09 22:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:47:02] Production.INFO: ==2733== Releasing lock...
[2025-03-09 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:47:02] Production.INFO: ==2735== Lock acquired, processing the job...
[2025-03-10 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:47:02] Production.INFO: ==2735== Releasing lock...
[2025-03-10 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:47:03] Production.INFO: ==2743== Lock acquired, processing the job...
[2025-03-09 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:47:03] Production.INFO: ==2737== Lock acquired, processing the job...
[2025-03-09 22:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:47:03] Production.INFO: Account Balance Start.
[2025-03-09 22:47:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:47:03] Production.INFO: 117
[2025-03-09 22:47:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:47:03] Production.INFO: ==2747== Lock acquired, processing the job...
[2025-03-09 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:47:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:47:03] Production.INFO: ==2741== Lock acquired, processing the job...
[2025-03-09 22:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:47:03] Production.INFO: ==2739== Lock acquired, processing the job...
[2025-03-09 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:47:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:47:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:47:03] Production.INFO: ==2745== Lock acquired, processing the job...
[2025-03-09 22:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:47:03] Production.INFO: Total Charge 0
[2025-03-09 22:47:03] Production.INFO: CreateAllLog End
[2025-03-09 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-03-09 22:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:47:03] Production.INFO: count ==13
[2025-03-09 22:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 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-03-09 22:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:47:03] Production.INFO: count ==21
[2025-03-09 22:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645326') start
[2025-03-09 22:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645326') end
[2025-03-09 22:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:47:03] Production.INFO: 1
[2025-03-09 22:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:47:03] Production.INFO: Account Balance End.
[2025-03-09 22:47:03] Production.ERROR: CronJobId end 12
[2025-03-09 22:47:03] Production.INFO: ==2743== Releasing lock...
[2025-03-09 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:47:03] Production.INFO: ==2747== Releasing lock...
[2025-03-09 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:47:03] Production.INFO: ==2739== Releasing lock...
[2025-03-09 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:47:03] Production.ERROR: done
[2025-03-09 22:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:47:04] Production.ERROR: done
[2025-03-09 22:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:47:05
[end_date_ymd] => 2025-03-09 22:47:05
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:47:05' and `end` < '2025-03-09 22: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-03-09 22:47:12] Production.ERROR: CronJobId end10
[2025-03-09 22:47:12] Production.INFO: ==2741== Releasing lock...
[2025-03-09 22:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:47:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:47:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:47:13] Production.INFO: call_cost start
[2025-03-09 22:47:13] Production.INFO: call_cost end
[2025-03-09 22:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:47:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:47:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:47:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:47:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:47:14] Production.INFO: ==2737== Releasing lock...
[2025-03-09 22:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:47:17] Production.INFO: count ==857
[2025-03-09 22:47:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:47:05 - End Time 2025-03-09 22:47:05
[2025-03-09 22:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645328', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645328', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645328', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645328', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:47:17] Production.INFO: ProcessCDR(1,14645328,1,1,2)
[2025-03-09 22:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645328', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645328', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:47:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:47:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:47:20] Production.INFO: ==2745== Releasing lock...
[2025-03-09 22:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:47:20] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 02:48:01] Production.INFO: ==2804== Lock acquired, processing the job...
[2025-03-10 02:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:48:02] Production.INFO: neon service started
[2025-03-10 02:48:02] Production.INFO: neon service started
[2025-03-10 02:48:02] Production.INFO: ==2804== Releasing lock...
[2025-03-10 02:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:48:02] Production.INFO: ==2808== Lock acquired, processing the job...
[2025-03-10 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:48:02] Production.INFO: ==2808== Releasing lock...
[2025-03-10 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:48:02] Production.INFO: ==2806== Lock acquired, processing the job...
[2025-03-09 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:48:02] Production.INFO: ==2806== Releasing lock...
[2025-03-09 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:48:03] Production.INFO: ==2810== Lock acquired, processing the job...
[2025-03-09 22:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:48:03] Production.INFO: ==2814== Lock acquired, processing the job...
[2025-03-09 22:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:48:03] Production.INFO: ==2818== Lock acquired, processing the job...
[2025-03-09 22:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:48:03] Production.INFO: ==2812== Lock acquired, processing the job...
[2025-03-09 22:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:48:04] Production.INFO: ==2821== Lock acquired, processing the job...
[2025-03-09 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:48:04] Production.INFO: ==2816== Lock acquired, processing the job...
[2025-03-09 22:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 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-03-09 22:48:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:48:04] Production.INFO: count ==21
[2025-03-09 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645330') start
[2025-03-09 22:48:04] Production.ERROR: done
[2025-03-09 22:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:48:04] Production.INFO: Account Balance Start.
[2025-03-09 22:48:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:48:04] Production.INFO: 117
[2025-03-09 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645330') end
[2025-03-09 22:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:48:04] Production.INFO: 1
[2025-03-09 22:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:48:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:48:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:48:04] Production.INFO: ==2821== Releasing lock...
[2025-03-09 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:48:04] Production.ERROR: done
[2025-03-09 22:48:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:48:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:48:04] Production.INFO: ==2812== Releasing lock...
[2025-03-09 22:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:48:04] Production.INFO: Total Charge 0
[2025-03-09 22:48:04] Production.INFO: CreateAllLog End
[2025-03-09 22:48:04] Production.INFO: Account Balance End.
[2025-03-09 22:48:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:48:04] Production.INFO: ==2816== Releasing lock...
[2025-03-09 22:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:48:05
[end_date_ymd] => 2025-03-09 22:48:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:48:05' and `end` < '2025-03-09 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-03-09 22:48:11] Production.ERROR: CronJobId end10
[2025-03-09 22:48:11] Production.INFO: ==2814== Releasing lock...
[2025-03-09 22:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:48:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:48:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:48:14] Production.INFO: call_cost start
[2025-03-09 22:48:14] Production.INFO: call_cost end
[2025-03-09 22:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:48:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:48:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:48:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:48:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:48:15] Production.INFO: ==2810== Releasing lock...
[2025-03-09 22:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:48:17] Production.INFO: count ==857
[2025-03-09 22:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:48:05 - End Time 2025-03-09 22:48:05
[2025-03-09 22:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645333', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645333', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645333', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645333', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:48:17] Production.INFO: ProcessCDR(1,14645333,1,1,2)
[2025-03-09 22:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645333', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645333', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:48:21] Production.INFO: ==2818== Releasing lock...
[2025-03-09 22:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:48:21] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 02:49:01] Production.INFO: ==2876== Lock acquired, processing the job...
[2025-03-10 02:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:49:01] Production.INFO: neon service started
[2025-03-10 02:49:01] Production.INFO: neon service started
[2025-03-10 02:49:01] Production.INFO: ==2876== Releasing lock...
[2025-03-10 02:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:49:01] Production.INFO: ==2878== Lock acquired, processing the job...
[2025-03-09 22:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:49:02] Production.INFO: ==2878== Releasing lock...
[2025-03-09 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:49:02] Production.INFO: ==2880== Lock acquired, processing the job...
[2025-03-10 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:49:02] Production.INFO: ==2880== Releasing lock...
[2025-03-10 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:49:02] Production.INFO: ==2884== Lock acquired, processing the job...
[2025-03-09 22:49:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:49:03] Production.INFO: ==2893== Lock acquired, processing the job...
[2025-03-09 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 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-03-09 22:49:03] Production.INFO: ==2882== Lock acquired, processing the job...
[2025-03-09 22:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:49:03] Production.INFO: count ==13
[2025-03-09 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-03-09 22:49:03] Production.INFO: count ==21
[2025-03-09 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645334') start
[2025-03-09 22:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:49:03] Production.INFO: ==2887== Lock acquired, processing the job...
[2025-03-09 22:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:49:03] Production.INFO: ==2889== Lock acquired, processing the job...
[2025-03-09 22:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:49:03] Production.INFO: ==2891== Lock acquired, processing the job...
[2025-03-09 22:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645334') end
[2025-03-09 22:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:49:03] Production.INFO: 1
[2025-03-09 22:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:49:03] Production.INFO: ==2884== Releasing lock...
[2025-03-09 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:49:03] Production.INFO: Account Balance Start.
[2025-03-09 22:49:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:49:03] Production.INFO: 117
[2025-03-09 22:49:03] Production.INFO: ==2893== Releasing lock...
[2025-03-09 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:49:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:49:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:49:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:49:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:49:03] Production.INFO: Total Charge 0
[2025-03-09 22:49:03] Production.INFO: CreateAllLog End
[2025-03-09 22:49:03] Production.ERROR: done
[2025-03-09 22:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:49:04] Production.ERROR: done
[2025-03-09 22:49:04] Production.INFO: Account Balance End.
[2025-03-09 22:49:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:49:04] Production.INFO: ==2889== Releasing lock...
[2025-03-09 22:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:49:05
[end_date_ymd] => 2025-03-09 22:49:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:49:05' and `end` < '2025-03-09 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-03-09 22:49:11] Production.ERROR: CronJobId end10
[2025-03-09 22:49:11] Production.INFO: ==2887== Releasing lock...
[2025-03-09 22:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:49:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:49:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:49:14] Production.INFO: call_cost start
[2025-03-09 22:49:14] Production.INFO: call_cost end
[2025-03-09 22:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:49:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:49:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:49:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:49:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:49:15] Production.INFO: ==2882== Releasing lock...
[2025-03-09 22:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:49:17] Production.INFO: count ==857
[2025-03-09 22:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:49:05 - End Time 2025-03-09 22:49:05
[2025-03-09 22:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645338', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645338', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645338', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645338', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:49:17] Production.INFO: ProcessCDR(1,14645338,1,1,2)
[2025-03-09 22:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645338', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645338', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:49:20] Production.INFO: ==2891== Releasing lock...
[2025-03-09 22:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:49:20] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 02:50:02] Production.INFO: ==2985== Lock acquired, processing the job...
[2025-03-10 02:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:50:02] Production.INFO: neon service started
[2025-03-10 02:50:02] Production.INFO: neon service started
[2025-03-10 02:50:02] Production.INFO: ==2985== Releasing lock...
[2025-03-10 02:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:50:02] Production.INFO: ==2987== Lock acquired, processing the job...
[2025-03-09 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:50:02] Production.INFO: ==2987== Releasing lock...
[2025-03-09 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:50:03] Production.INFO: ==2989== Lock acquired, processing the job...
[2025-03-10 02:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:50:03] Production.INFO: ==2989== Releasing lock...
[2025-03-10 02:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:50:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:50:03] Production.INFO: ==2991== Lock acquired, processing the job...
[2025-03-09 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 22:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 22:50:04] Production.INFO: ==2997== Lock acquired, processing the job...
[2025-03-09 22:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 22:50:04] Production.INFO: ==2995== Lock acquired, processing the job...
[2025-03-09 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:50:04] Production.INFO: ==2991== Releasing lock...
[2025-03-09 22:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 22:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 22:50:04] Production.INFO: ==3006== Lock acquired, processing the job...
[2025-03-09 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:50:04] Production.INFO: ==2993== Lock acquired, processing the job...
[2025-03-09 22:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 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-03-09 22:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:50:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:50:04] Production.INFO: ==2999== Lock acquired, processing the job...
[2025-03-09 22:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:50:04] Production.INFO: count ==21
[2025-03-09 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645340') start
[2025-03-09 22:50:04] Production.INFO: ==3003== Lock acquired, processing the job...
[2025-03-09 22:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 22:50:04] Production.INFO: ==3001== Lock acquired, processing the job...
[2025-03-09 22:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:50:04] Production.INFO: Account Balance Start.
[2025-03-09 22:50:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:50:04] Production.INFO: 117
[2025-03-09 22:50:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:50:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645340') end
[2025-03-09 22:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:50:04] Production.INFO: 1
[2025-03-09 22:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:50:04] Production.INFO: ==2995== Releasing lock...
[2025-03-09 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:50:04] Production.INFO: ==3006== Releasing lock...
[2025-03-09 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:50:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:50:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:50:04] Production.INFO: Total Charge 0
[2025-03-09 22:50:04] Production.INFO: CreateAllLog End
[2025-03-09 22:50:04] Production.ERROR: done
[2025-03-09 22:50:04] Production.ERROR: done
[2025-03-09 22:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 22:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645343', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 22:50:05] Production.ERROR: done
[2025-03-09 22:50:05] Production.INFO: Account Balance End.
[2025-03-09 22:50:05] Production.ERROR: CronJobId end 12
[2025-03-09 22:50:05] Production.INFO: ==2999== Releasing lock...
[2025-03-09 22:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:50:06
[end_date_ymd] => 2025-03-09 22:50:06
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:50:06' and `end` < '2025-03-09 22: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-03-09 22:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645343', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 22:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 22:50:09] Production.INFO: ProcessCDR(1,14645343,1,1,2)
[2025-03-09 22:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645343,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645343,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:50:09] Production.INFO: ==3003== Releasing lock...
[2025-03-09 22:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 22:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 22:50:14] Production.ERROR: CronJobId end10
[2025-03-09 22:50:14] Production.INFO: ==2997== Releasing lock...
[2025-03-09 22:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:50:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:50:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:50:16] Production.INFO: call_cost start
[2025-03-09 22:50:16] Production.INFO: call_cost end
[2025-03-09 22:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:50:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:50:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:50:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:50:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:50:17] Production.INFO: ==2993== Releasing lock...
[2025-03-09 22:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:50:18] Production.INFO: count ==850
[2025-03-09 22:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:50:06 - End Time 2025-03-09 22:50:06
[2025-03-09 22:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645344', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645344', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645344', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645344', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:50:18] Production.INFO: ProcessCDR(1,14645344,1,1,2)
[2025-03-09 22:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645344', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645344', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:50:22] Production.INFO: ==3001== Releasing lock...
[2025-03-09 22:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:50:22] Production.INFO: 33.75 MB #Memory Used#
[2025-03-10 02:51:01] Production.INFO: ==3059== Lock acquired, processing the job...
[2025-03-10 02:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:51:01] Production.INFO: neon service started
[2025-03-10 02:51:01] Production.INFO: neon service started
[2025-03-10 02:51:01] Production.INFO: ==3059== Releasing lock...
[2025-03-10 02:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:51:01] Production.INFO: ==3061== Lock acquired, processing the job...
[2025-03-09 22:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:51:02] Production.INFO: ==3061== Releasing lock...
[2025-03-09 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:51:02] Production.INFO: ==3063== Lock acquired, processing the job...
[2025-03-10 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:51:02] Production.INFO: ==3063== Releasing lock...
[2025-03-10 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:51:03] Production.INFO: ==3070== Lock acquired, processing the job...
[2025-03-09 22:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:51:03] Production.INFO: ==3076== Lock acquired, processing the job...
[2025-03-09 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22: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-03-09 22:51:03] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:51:03] Production.INFO: count ==21
[2025-03-09 22:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645345') start
[2025-03-09 22:51:03] Production.INFO: ==3066== Lock acquired, processing the job...
[2025-03-09 22:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645345') end
[2025-03-09 22:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:51:03] Production.INFO: 1
[2025-03-09 22:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:51:03] Production.INFO: ==3068== Lock acquired, processing the job...
[2025-03-09 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:51:03] Production.INFO: ==3076== Releasing lock...
[2025-03-09 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:51:03] Production.INFO: ==3072== Lock acquired, processing the job...
[2025-03-09 22:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:51:03] Production.INFO: ==3074== Lock acquired, processing the job...
[2025-03-09 22:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:51:03] Production.INFO: Account Balance Start.
[2025-03-09 22:51:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:51:03] Production.INFO: 117
[2025-03-09 22:51:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:51:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:51:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:51:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:51:04] Production.INFO: Total Charge 0
[2025-03-09 22:51:04] Production.INFO: ==3068== Releasing lock...
[2025-03-09 22:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:51:04] Production.INFO: CreateAllLog End
[2025-03-09 22:51:04] Production.ERROR: done
[2025-03-09 22:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:51:04] Production.INFO: Account Balance End.
[2025-03-09 22:51:04] Production.ERROR: done
[2025-03-09 22:51:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:51:04] Production.INFO: ==3072== Releasing lock...
[2025-03-09 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:51:05
[end_date_ymd] => 2025-03-09 22:51:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:51:05' and `end` < '2025-03-09 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-03-09 22:51:12] Production.ERROR: CronJobId end10
[2025-03-09 22:51:12] Production.INFO: ==3070== Releasing lock...
[2025-03-09 22:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:51:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:51:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:51:14] Production.INFO: call_cost start
[2025-03-09 22:51:14] Production.INFO: call_cost end
[2025-03-09 22:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:51:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:51:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:51:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:51:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:51:15] Production.INFO: ==3066== Releasing lock...
[2025-03-09 22:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:51:17] Production.INFO: count ==833
[2025-03-09 22:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:51:05 - End Time 2025-03-09 22:51:05
[2025-03-09 22:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645349', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645349', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645349', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645349', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:51:17] Production.INFO: ProcessCDR(1,14645349,1,1,2)
[2025-03-09 22:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645349', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645349', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:51:20] Production.INFO: ==3074== Releasing lock...
[2025-03-09 22:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:51:20] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:52:01] Production.INFO: ==3131== Lock acquired, processing the job...
[2025-03-10 02:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:52:02] Production.INFO: neon service started
[2025-03-10 02:52:02] Production.INFO: neon service started
[2025-03-10 02:52:02] Production.INFO: ==3131== Releasing lock...
[2025-03-10 02:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:52:02] Production.INFO: ==3133== Lock acquired, processing the job...
[2025-03-09 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:52:02] Production.INFO: ==3135== Lock acquired, processing the job...
[2025-03-10 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 22:52:02] Production.INFO: ==3133== Releasing lock...
[2025-03-09 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:52:02] Production.INFO: ==3135== Releasing lock...
[2025-03-10 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:52:03] Production.INFO: ==3141== Lock acquired, processing the job...
[2025-03-09 22:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:52:03] Production.INFO: ==3145== Lock acquired, processing the job...
[2025-03-09 22:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:52:03] Production.INFO: ==3147== Lock acquired, processing the job...
[2025-03-09 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:52:03] Production.INFO: ==3137== Lock acquired, processing the job...
[2025-03-09 22:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 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-03-09 22:52:03] Production.INFO: ==3139== Lock acquired, processing the job...
[2025-03-09 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:52:03] Production.INFO: count ==13
[2025-03-09 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-03-09 22:52:03] Production.INFO: count ==21
[2025-03-09 22:52:03] Production.INFO: ==3143== Lock acquired, processing the job...
[2025-03-09 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645350') start
[2025-03-09 22:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645350') end
[2025-03-09 22:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:52:04] Production.INFO: 1
[2025-03-09 22:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:52:04] Production.ERROR: done
[2025-03-09 22:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:52:04] Production.INFO: ==3147== Releasing lock...
[2025-03-09 22:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:52:04] Production.INFO: Account Balance Start.
[2025-03-09 22:52:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:52:04] Production.INFO: 117
[2025-03-09 22:52:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:52:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:52:04] Production.ERROR: done
[2025-03-09 22:52:04] Production.INFO: ==3139== Releasing lock...
[2025-03-09 22:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:52:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:52:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:52:04] Production.INFO: Total Charge 0
[2025-03-09 22:52:04] Production.INFO: CreateAllLog End
[2025-03-09 22:52:04] Production.INFO: Account Balance End.
[2025-03-09 22:52:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:52:04] Production.INFO: ==3143== Releasing lock...
[2025-03-09 22:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:52:05
[end_date_ymd] => 2025-03-09 22:52:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:52:05' and `end` < '2025-03-09 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-03-09 22:52:12] Production.ERROR: CronJobId end10
[2025-03-09 22:52:12] Production.INFO: ==3141== Releasing lock...
[2025-03-09 22:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:52:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:52:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:52:14] Production.INFO: call_cost start
[2025-03-09 22:52:14] Production.INFO: call_cost end
[2025-03-09 22:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:52:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:52:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:52:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:52:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:52:15] Production.INFO: ==3137== Releasing lock...
[2025-03-09 22:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:52:17] Production.INFO: count ==832
[2025-03-09 22:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:52:05 - End Time 2025-03-09 22:52:05
[2025-03-09 22:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645354', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645354', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645354', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645354', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:52:17] Production.INFO: ProcessCDR(1,14645354,1,1,2)
[2025-03-09 22:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645354', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645354', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:52:21] Production.INFO: ==3145== Releasing lock...
[2025-03-09 22:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:52:21] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:53:01] Production.INFO: ==3204== Lock acquired, processing the job...
[2025-03-10 02:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:53:01] Production.INFO: neon service started
[2025-03-10 02:53:01] Production.INFO: neon service started
[2025-03-10 02:53:01] Production.INFO: ==3204== Releasing lock...
[2025-03-10 02:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:53:02] Production.INFO: ==3208== Lock acquired, processing the job...
[2025-03-10 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 22:53:02] Production.INFO: ==3206== Lock acquired, processing the job...
[2025-03-09 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:53:02] Production.INFO: ==3208== Releasing lock...
[2025-03-10 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:53:02] Production.INFO: ==3206== Releasing lock...
[2025-03-09 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:53:03] Production.INFO: ==3211== Lock acquired, processing the job...
[2025-03-09 22:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:53:03] Production.INFO: ==3213== Lock acquired, processing the job...
[2025-03-09 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:53:03] Production.INFO: ==3217== Lock acquired, processing the job...
[2025-03-09 22:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:53:03] Production.INFO: Account Balance Start.
[2025-03-09 22:53:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:53:03] Production.INFO: 117
[2025-03-09 22:53:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:53:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:53:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:53:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:53:03] Production.INFO: Total Charge 0
[2025-03-09 22:53:03] Production.INFO: ==3215== Lock acquired, processing the job...
[2025-03-09 22:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:53:03] Production.INFO: CreateAllLog End
[2025-03-09 22:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:53:03] Production.INFO: Account Balance End.
[2025-03-09 22:53:03] Production.INFO: ==3221== Lock acquired, processing the job...
[2025-03-09 22:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:53:03] Production.INFO: ==3219== Lock acquired, processing the job...
[2025-03-09 22:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:53:03] Production.INFO: ==3213== Releasing lock...
[2025-03-09 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:53:03] Production.ERROR: CronJobId end 12
[2025-03-09 22:53:03] Production.INFO: ==3217== Releasing lock...
[2025-03-09 22:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 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-03-09 22:53:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:53:04] Production.INFO: count ==21
[2025-03-09 22:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645358') start
[2025-03-09 22:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645358') end
[2025-03-09 22:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:53:04] Production.INFO: 1
[2025-03-09 22:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:53:04] Production.INFO: ==3221== Releasing lock...
[2025-03-09 22:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:53:04] Production.ERROR: done
[2025-03-09 22:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:53:04] Production.ERROR: done
[2025-03-09 22:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:53:05
[end_date_ymd] => 2025-03-09 22:53:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:53:05' and `end` < '2025-03-09 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-03-09 22:53:12] Production.ERROR: CronJobId end10
[2025-03-09 22:53:12] Production.INFO: ==3215== Releasing lock...
[2025-03-09 22:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:53:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:53:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:53:14] Production.INFO: call_cost start
[2025-03-09 22:53:14] Production.INFO: call_cost end
[2025-03-09 22:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:53:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:53:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:53:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:53:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:53:15] Production.INFO: ==3211== Releasing lock...
[2025-03-09 22:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:53:17] Production.INFO: count ==833
[2025-03-09 22:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:53:05 - End Time 2025-03-09 22:53:05
[2025-03-09 22:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645359', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645359', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645359', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645359', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:53:17] Production.INFO: ProcessCDR(1,14645359,1,1,2)
[2025-03-09 22:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645359', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645359', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:53:22] Production.INFO: ==3219== Releasing lock...
[2025-03-09 22:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:53:22] Production.INFO: 33.75 MB #Memory Used#
[2025-03-10 02:54:01] Production.INFO: ==3275== Lock acquired, processing the job...
[2025-03-10 02:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:54:01] Production.INFO: neon service started
[2025-03-10 02:54:01] Production.INFO: neon service started
[2025-03-10 02:54:01] Production.INFO: ==3275== Releasing lock...
[2025-03-10 02:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:54:02] Production.INFO: ==3277== Lock acquired, processing the job...
[2025-03-09 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:54:02] Production.INFO: ==3277== Releasing lock...
[2025-03-09 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:54:02] Production.INFO: ==3279== Lock acquired, processing the job...
[2025-03-10 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:54:02] Production.INFO: ==3279== Releasing lock...
[2025-03-10 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:54:03] Production.INFO: ==3281== Lock acquired, processing the job...
[2025-03-09 22:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:54:03] Production.INFO: ==3283== Lock acquired, processing the job...
[2025-03-09 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:54:03] Production.INFO: ==3285== Lock acquired, processing the job...
[2025-03-09 22:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:54:03] Production.INFO: ==3287== Lock acquired, processing the job...
[2025-03-09 22:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:54:03] Production.INFO: ==3283== Releasing lock...
[2025-03-09 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:54:03] Production.INFO: ==3291== Lock acquired, processing the job...
[2025-03-09 22:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:54:03] Production.INFO: Account Balance Start.
[2025-03-09 22:54:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:54:03] Production.INFO: 117
[2025-03-09 22:54:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:54:03] Production.INFO: ==3289== Lock acquired, processing the job...
[2025-03-09 22:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:54:03] Production.INFO: Reseller ==> 0
[2025-03-09 22: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-03-09 22:54:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:54:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:54:04] Production.INFO: count ==13
[2025-03-09 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-03-09 22:54:04] Production.INFO: count ==21
[2025-03-09 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645363') start
[2025-03-09 22:54:04] Production.INFO: Total Charge 0
[2025-03-09 22:54:04] Production.INFO: CreateAllLog End
[2025-03-09 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645363') end
[2025-03-09 22:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:54:04] Production.INFO: 1
[2025-03-09 22:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:54:04] Production.INFO: ==3291== Releasing lock...
[2025-03-09 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:54:04] Production.INFO: Account Balance End.
[2025-03-09 22:54:04] Production.ERROR: done
[2025-03-09 22:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:54:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:54:04] Production.INFO: ==3287== Releasing lock...
[2025-03-09 22:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:54:04] Production.ERROR: done
[2025-03-09 22:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:54:05
[end_date_ymd] => 2025-03-09 22:54:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:54:05' and `end` < '2025-03-09 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-03-09 22:54:11] Production.ERROR: CronJobId end10
[2025-03-09 22:54:11] Production.INFO: ==3285== Releasing lock...
[2025-03-09 22:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:54:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:54:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:54:13] Production.INFO: call_cost start
[2025-03-09 22:54:13] Production.INFO: call_cost end
[2025-03-09 22:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:54:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:54:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:54:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:54:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:54:14] Production.INFO: ==3281== Releasing lock...
[2025-03-09 22:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:54:17] Production.INFO: count ==837
[2025-03-09 22:54:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:54:05 - End Time 2025-03-09 22:54:05
[2025-03-09 22:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645364', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645364', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645364', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645364', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:54:18] Production.INFO: ProcessCDR(1,14645364,1,1,2)
[2025-03-09 22:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645364', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645364', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:54:21] Production.INFO: ==3289== Releasing lock...
[2025-03-09 22:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:54:21] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:55:01] Production.INFO: ==3346== Lock acquired, processing the job...
[2025-03-10 02:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:55:01] Production.INFO: neon service started
[2025-03-10 02:55:01] Production.INFO: neon service started
[2025-03-10 02:55:01] Production.INFO: ==3346== Releasing lock...
[2025-03-10 02:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:55:01] Production.INFO: ==3348== Lock acquired, processing the job...
[2025-03-09 22:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:55:02] Production.INFO: ==3348== Releasing lock...
[2025-03-09 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:55:02] Production.INFO: ==3350== Lock acquired, processing the job...
[2025-03-10 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:55:02] Production.INFO: ==3350== Releasing lock...
[2025-03-10 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:55:03] Production.INFO: ==3356== Lock acquired, processing the job...
[2025-03-09 22:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:55:03] Production.INFO: ==3360== Lock acquired, processing the job...
[2025-03-09 22:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:55:03] Production.INFO: ==3352== Lock acquired, processing the job...
[2025-03-09 22:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:55:03] Production.INFO: ==3354== Lock acquired, processing the job...
[2025-03-09 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:55:03] Production.INFO: ==3358== Lock acquired, processing the job...
[2025-03-09 22:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:55:03] Production.INFO: ==3362== Lock acquired, processing the job...
[2025-03-09 22:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:55:03] Production.ERROR: done
[2025-03-09 22:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:55:03] Production.INFO: Account Balance Start.
[2025-03-09 22:55:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:55:03] Production.INFO: 117
[2025-03-09 22:55:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:55:03] Production.INFO: Reseller ==> 0
[2025-03-09 22: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-03-09 22:55:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:55:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:55:03] Production.INFO: count ==13
[2025-03-09 22:55:03] Production.INFO: Total Charge 0
[2025-03-09 22:55:03] Production.ERROR: done
[2025-03-09 22: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-03-09 22:55:03] Production.INFO: count ==21
[2025-03-09 22:55:03] Production.INFO: CreateAllLog End
[2025-03-09 22:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645368') start
[2025-03-09 22:55:03] Production.INFO: ==3354== Releasing lock...
[2025-03-09 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645368') end
[2025-03-09 22:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:55:03] Production.INFO: 1
[2025-03-09 22:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:55:04] Production.INFO: ==3362== Releasing lock...
[2025-03-09 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:55:04] Production.INFO: Account Balance End.
[2025-03-09 22:55:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:55:04] Production.INFO: ==3358== Releasing lock...
[2025-03-09 22:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:55:04
[end_date_ymd] => 2025-03-09 22:55:04
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:55:04' and `end` < '2025-03-09 22: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-03-09 22:55:11] Production.ERROR: CronJobId end10
[2025-03-09 22:55:11] Production.INFO: ==3356== Releasing lock...
[2025-03-09 22:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:55:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:55:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:55:13] Production.INFO: call_cost start
[2025-03-09 22:55:13] Production.INFO: call_cost end
[2025-03-09 22:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:55:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:55:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:55:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:55:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:55:14] Production.INFO: ==3352== Releasing lock...
[2025-03-09 22:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:55:16] Production.INFO: count ==845
[2025-03-09 22:55:16] Production.ERROR: pbx CDR StartTime 2025-03-09 19:55:04 - End Time 2025-03-09 22:55:04
[2025-03-09 22:55:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:55:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645369', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:55:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645369', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:55:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645369', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:55:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645369', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:55:16] Production.INFO: ProcessCDR(1,14645369,1,1,2)
[2025-03-09 22:55:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:55:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:55:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:55:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:55:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645369', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:55:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645369', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:55:19] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:55:19] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:55:20] Production.INFO: ==3360== Releasing lock...
[2025-03-09 22:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:55:20] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:56:01] Production.INFO: ==3419== Lock acquired, processing the job...
[2025-03-10 02:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:56:01] Production.INFO: neon service started
[2025-03-10 02:56:01] Production.INFO: neon service started
[2025-03-10 02:56:01] Production.INFO: ==3419== Releasing lock...
[2025-03-10 02:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:56:02] Production.INFO: ==3423== Lock acquired, processing the job...
[2025-03-10 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:56:02] Production.INFO: ==3423== Releasing lock...
[2025-03-10 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:56:02] Production.INFO: ==3421== Lock acquired, processing the job...
[2025-03-09 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:56:02] Production.INFO: ==3421== Releasing lock...
[2025-03-09 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:56:03] Production.INFO: ==3426== Lock acquired, processing the job...
[2025-03-09 22:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:56:03] Production.INFO: ==3428== Lock acquired, processing the job...
[2025-03-09 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:56:03] Production.INFO: ==3434== Lock acquired, processing the job...
[2025-03-09 22:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:56:03] Production.INFO: ==3430== Lock acquired, processing the job...
[2025-03-09 22:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:56:03] Production.INFO: ==3432== Lock acquired, processing the job...
[2025-03-09 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:56:03] Production.INFO: ==3436== Lock acquired, processing the job...
[2025-03-09 22:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:56:03] Production.INFO: Account Balance Start.
[2025-03-09 22:56:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:56:03] Production.INFO: ==3428== Releasing lock...
[2025-03-09 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:56:03] Production.INFO: 117
[2025-03-09 22:56:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:56:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:56:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:56:04] Production.INFO: Reseller ==> 0
[2025-03-09 22: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-03-09 22:56:04] Production.INFO: count ==13
[2025-03-09 22:56:04] Production.ERROR: done
[2025-03-09 22: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-03-09 22:56:04] Production.INFO: count ==21
[2025-03-09 22:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645373') start
[2025-03-09 22:56:04] Production.INFO: Total Charge 0
[2025-03-09 22:56:04] Production.INFO: CreateAllLog End
[2025-03-09 22:56:04] Production.ERROR: done
[2025-03-09 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645373') end
[2025-03-09 22:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:56:04] Production.INFO: 1
[2025-03-09 22:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:56:04] Production.INFO: Account Balance End.
[2025-03-09 22:56:04] Production.INFO: ==3436== Releasing lock...
[2025-03-09 22:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:56:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:56:04] Production.INFO: ==3432== Releasing lock...
[2025-03-09 22:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:56:05
[end_date_ymd] => 2025-03-09 22:56:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:56:05' and `end` < '2025-03-09 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-03-09 22:56:11] Production.ERROR: CronJobId end10
[2025-03-09 22:56:11] Production.INFO: ==3430== Releasing lock...
[2025-03-09 22:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:56:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:56:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:56:13] Production.INFO: call_cost start
[2025-03-09 22:56:13] Production.INFO: call_cost end
[2025-03-09 22:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:56:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:56:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:56:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:56:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:56:14] Production.INFO: ==3426== Releasing lock...
[2025-03-09 22:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:56:17] Production.INFO: count ==847
[2025-03-09 22:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:56:05 - End Time 2025-03-09 22:56:05
[2025-03-09 22:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645374', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645374', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645374', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645374', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:56:17] Production.INFO: ProcessCDR(1,14645374,1,1,2)
[2025-03-09 22:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645374', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645374', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:56:21] Production.INFO: ==3434== Releasing lock...
[2025-03-09 22:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:56:21] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:57:02] Production.INFO: ==3493== Lock acquired, processing the job...
[2025-03-10 02:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:57:02] Production.INFO: neon service started
[2025-03-10 02:57:02] Production.INFO: neon service started
[2025-03-10 02:57:02] Production.INFO: ==3493== Releasing lock...
[2025-03-10 02:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:57:02] Production.INFO: ==3495== Lock acquired, processing the job...
[2025-03-09 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:57:02] Production.INFO: ==3497== Lock acquired, processing the job...
[2025-03-10 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:57:02] Production.INFO: ==3497== Releasing lock...
[2025-03-10 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:57:03] Production.INFO: ==3495== Releasing lock...
[2025-03-09 22:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 22:57:03] Production.INFO: ==3500== Lock acquired, processing the job...
[2025-03-09 22:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:57:03] Production.INFO: ==3502== Lock acquired, processing the job...
[2025-03-09 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:57:04] Production.INFO: ==3508== Lock acquired, processing the job...
[2025-03-09 22:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:57:04] Production.INFO: ==3504== Lock acquired, processing the job...
[2025-03-09 22:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:57:04] Production.INFO: ==3510== Lock acquired, processing the job...
[2025-03-09 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:57:04] Production.INFO: ==3506== Lock acquired, processing the job...
[2025-03-09 22:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:57:04] Production.ERROR: done
[2025-03-09 22:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:57:04] Production.INFO: Account Balance Start.
[2025-03-09 22:57:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:57:04] Production.INFO: 117
[2025-03-09 22:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:57:04] Production.INFO: ==3502== Releasing lock...
[2025-03-09 22:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:57:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22: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-03-09 22:57:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:57:04] Production.INFO: count ==13
[2025-03-09 22:57:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:57:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 22:57:04] Production.INFO: count ==21
[2025-03-09 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645378') start
[2025-03-09 22:57:04] Production.INFO: Total Charge 0
[2025-03-09 22:57:04] Production.INFO: CreateAllLog End
[2025-03-09 22:57:04] Production.ERROR: done
[2025-03-09 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645378') end
[2025-03-09 22:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:57:04] Production.INFO: 1
[2025-03-09 22:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:57:04] Production.INFO: ==3510== Releasing lock...
[2025-03-09 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:57:04] Production.INFO: Account Balance End.
[2025-03-09 22:57:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:57:04] Production.INFO: ==3506== Releasing lock...
[2025-03-09 22:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:57:05
[end_date_ymd] => 2025-03-09 22:57:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:57:05' and `end` < '2025-03-09 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-03-09 22:57:11] Production.ERROR: CronJobId end10
[2025-03-09 22:57:11] Production.INFO: ==3504== Releasing lock...
[2025-03-09 22:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:57:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:57:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:57:14] Production.INFO: call_cost start
[2025-03-09 22:57:14] Production.INFO: call_cost end
[2025-03-09 22:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:57:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:57:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:57:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:57:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:57:15] Production.INFO: ==3500== Releasing lock...
[2025-03-09 22:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:57:17] Production.INFO: count ==846
[2025-03-09 22:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:57:05 - End Time 2025-03-09 22:57:05
[2025-03-09 22:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645379', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645379', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645379', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645379', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:57:17] Production.INFO: ProcessCDR(1,14645379,1,1,2)
[2025-03-09 22:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645379', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645379', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:57:21] Production.INFO: ==3508== Releasing lock...
[2025-03-09 22:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:57:21] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:58:01] Production.INFO: ==3564== Lock acquired, processing the job...
[2025-03-10 02:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:58:01] Production.INFO: neon service started
[2025-03-10 02:58:01] Production.INFO: neon service started
[2025-03-10 02:58:01] Production.INFO: ==3564== Releasing lock...
[2025-03-10 02:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:58:02] Production.INFO: ==3566== Lock acquired, processing the job...
[2025-03-09 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:58:02] Production.INFO: ==3568== Lock acquired, processing the job...
[2025-03-10 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 22:58:02] Production.INFO: ==3566== Releasing lock...
[2025-03-09 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:58:02] Production.INFO: ==3568== Releasing lock...
[2025-03-10 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:58:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:58:03] Production.INFO: ==3571== Lock acquired, processing the job...
[2025-03-09 22:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:58:03] Production.INFO: ==3573== Lock acquired, processing the job...
[2025-03-09 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:58:03] Production.INFO: ==3575== Lock acquired, processing the job...
[2025-03-09 22:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:58:03] Production.INFO: ==3577== Lock acquired, processing the job...
[2025-03-09 22:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 22:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:58:03] Production.INFO: ==3579== Lock acquired, processing the job...
[2025-03-09 22:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:58:03] Production.INFO: Account Balance Start.
[2025-03-09 22:58:03] Production.INFO: CreateAllLog Start
[2025-03-09 22:58:03] Production.INFO: 117
[2025-03-09 22:58:03] Production.INFO: Date 2025-03-08
[2025-03-09 22:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:58:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:58:03] Production.INFO: ==3581== Lock acquired, processing the job...
[2025-03-09 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:58:03] Production.INFO: Date 2025-03-09
[2025-03-09 22:58:03] Production.INFO: Reseller ==> 0
[2025-03-09 22:58:04] Production.INFO: ==3573== Releasing lock...
[2025-03-09 22:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 22:58:04] Production.INFO: Total Charge 0
[2025-03-09 22:58:04] Production.INFO: CreateAllLog End
[2025-03-09 22: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-03-09 22:58:04] Production.INFO: count ==13
[2025-03-09 22: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-03-09 22:58:04] Production.INFO: count ==21
[2025-03-09 22:58:04] Production.ERROR: done
[2025-03-09 22:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645383') start
[2025-03-09 22:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645383') end
[2025-03-09 22:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:58:04] Production.INFO: 1
[2025-03-09 22:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:58:04] Production.INFO: ==3581== Releasing lock...
[2025-03-09 22:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:58:04] Production.ERROR: done
[2025-03-09 22:58:04] Production.INFO: Account Balance End.
[2025-03-09 22:58:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:58:04] Production.INFO: ==3577== Releasing lock...
[2025-03-09 22:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:58:05
[end_date_ymd] => 2025-03-09 22:58:05
[RateCDR] => 1
)
[2025-03-09 22: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-03-09 19:58:05' and `end` < '2025-03-09 22: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-03-09 22:58:12] Production.ERROR: CronJobId end10
[2025-03-09 22:58:12] Production.INFO: ==3575== Releasing lock...
[2025-03-09 22:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:58:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:58:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:58:13] Production.INFO: call_cost start
[2025-03-09 22:58:13] Production.INFO: call_cost end
[2025-03-09 22:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:58:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:58:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:58:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:58:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:58:14] Production.INFO: ==3571== Releasing lock...
[2025-03-09 22:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:58:17] Production.INFO: count ==847
[2025-03-09 22:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 19:58:05 - End Time 2025-03-09 22:58:05
[2025-03-09 22:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645384', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645384', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645384', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645384', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:58:17] Production.INFO: ProcessCDR(1,14645384,1,1,2)
[2025-03-09 22:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645384', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645384', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:58:22] Production.INFO: ==3579== Releasing lock...
[2025-03-09 22:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:58:22] Production.INFO: 34 MB #Memory Used#
[2025-03-10 02:59:02] Production.INFO: ==3641== Lock acquired, processing the job...
[2025-03-10 02:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 02:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 02:59:02] Production.INFO: neon service started
[2025-03-10 02:59:02] Production.INFO: neon service started
[2025-03-10 02:59:02] Production.INFO: ==3641== Releasing lock...
[2025-03-10 02:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 02:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 22:59:02] Production.INFO: ==3643== Lock acquired, processing the job...
[2025-03-09 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 22:59:02] Production.INFO: ==3643== Releasing lock...
[2025-03-09 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 22:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:59:03] Production.INFO: ==3646== Lock acquired, processing the job...
[2025-03-10 02:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:59:03] Production.INFO: ==3646== Releasing lock...
[2025-03-10 02:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 02:59:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 22:59:03] Production.INFO: ==3650== Lock acquired, processing the job...
[2025-03-09 22:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 22:59:03] Production.INFO: ==3648== Lock acquired, processing the job...
[2025-03-09 22:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 22:59:03] Production.INFO: ==3658== Lock acquired, processing the job...
[2025-03-09 22:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 22:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 22:59:04] Production.INFO: ==3652== Lock acquired, processing the job...
[2025-03-09 22:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 22:59:04] Production.INFO: ==3654== Lock acquired, processing the job...
[2025-03-09 22:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 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-03-09 22:59:04] Production.INFO: count ==13
[2025-03-09 22:59:04] Production.INFO: ==3650== Releasing lock...
[2025-03-09 22:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 22:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 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-03-09 22:59:04] Production.INFO: ==3656== Lock acquired, processing the job...
[2025-03-09 22:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 22:59:04] Production.INFO: count ==21
[2025-03-09 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645387') start
[2025-03-09 22:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 22:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 22:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 22:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 22:59:04] Production.INFO: Account Balance Start.
[2025-03-09 22:59:04] Production.INFO: CreateAllLog Start
[2025-03-09 22:59:04] Production.INFO: 117
[2025-03-09 22:59:04] Production.INFO: Date 2025-03-08
[2025-03-09 22:59:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 22:59:04] Production.INFO: Date 2025-03-09
[2025-03-09 22:59:04] Production.INFO: Reseller ==> 0
[2025-03-09 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645387') end
[2025-03-09 22:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 22:59:04] Production.INFO: 1
[2025-03-09 22:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 22:59:04] Production.INFO: Total Charge 0
[2025-03-09 22:59:04] Production.INFO: CreateAllLog End
[2025-03-09 22:59:04] Production.INFO: ==3658== Releasing lock...
[2025-03-09 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 22:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 22:59:04] Production.INFO: Account Balance End.
[2025-03-09 22:59:04] Production.ERROR: done
[2025-03-09 22:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 22:59:04] Production.ERROR: CronJobId end 12
[2025-03-09 22:59:04] Production.INFO: ==3654== Releasing lock...
[2025-03-09 22:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 22:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 22:59:04] Production.ERROR: done
[2025-03-09 22:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 19:59:05
[end_date_ymd] => 2025-03-09 22:59:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 19:59:05' and `end` < '2025-03-09 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-03-09 22:59:12] Production.ERROR: CronJobId end10
[2025-03-09 22:59:12] Production.INFO: ==3652== Releasing lock...
[2025-03-09 22:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 22:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 22:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 22:59:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 22:59:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 22:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 22:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 22:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 22:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 22:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 22:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 22:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 22:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 22:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 22:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 22:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 22:59:13] Production.INFO: call_cost start
[2025-03-09 22:59:13] Production.INFO: call_cost end
[2025-03-09 22:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 22:59:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 22:59:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 22:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 22:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 22:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 22:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 22:59:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 22:59:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 22:59:14] Production.INFO: ==3648== Releasing lock...
[2025-03-09 22:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 22:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 22:59:18] Production.INFO: count ==847
[2025-03-09 22:59:18] Production.ERROR: pbx CDR StartTime 2025-03-09 19:59:05 - End Time 2025-03-09 22:59:05
[2025-03-09 22:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645389', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645389', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645389', 'tblTempVendorCDR_20' ) start
[2025-03-09 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645389', 'tblTempVendorCDR_20' ) end
[2025-03-09 22:59:18] Production.INFO: ProcessCDR(1,14645389,1,1,2)
[2025-03-09 22:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 22:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 22:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645389', 'tblTempUsageDetail_20' ) start
[2025-03-09 22:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645389', 'tblTempUsageDetail_20' ) end
[2025-03-09 22:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 22:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 22:59:21] Production.INFO: ==3656== Releasing lock...
[2025-03-09 22:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 22:59:21] Production.INFO: 34 MB #Memory Used#
[2025-03-10 03:00:01] Production.INFO: ==3711== Lock acquired, processing the job...
[2025-03-10 03:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:00:01] Production.INFO: neon service started
[2025-03-10 03:00:01] Production.INFO: neon service started
[2025-03-10 03:00:01] Production.INFO: ==3711== Releasing lock...
[2025-03-10 03:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:00:02] Production.INFO: ==3713== Lock acquired, processing the job...
[2025-03-09 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:00:02] Production.INFO: ==3716== Lock acquired, processing the job...
[2025-03-10 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:00:02] Production.INFO: ==3716== Releasing lock...
[2025-03-10 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:00:02] Production.INFO: ==3713== Releasing lock...
[2025-03-09 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:00:03] Production.INFO: ==3722== Lock acquired, processing the job...
[2025-03-09 23:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:00:03] Production.INFO: ==3730== Lock acquired, processing the job...
[2025-03-09 23:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:00:03] Production.INFO: ==3732== Lock acquired, processing the job...
[2025-03-09 23:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 23:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:00:03] Production.INFO: ==3718== Lock acquired, processing the job...
[2025-03-09 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 23:00:04] Production.INFO: ==3720== Lock acquired, processing the job...
[2025-03-09 23:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:00:04] Production.INFO: ==3722== Releasing lock...
[2025-03-09 23:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:00:04] Production.INFO: ==3724== Lock acquired, processing the job...
[2025-03-09 23:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:00:04] Production.INFO: ==3726== Lock acquired, processing the job...
[2025-03-09 23:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-03-09 23:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 23:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 23:00:04] Production.ERROR: CronJob PID - 3720
[2025-03-09 23:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-09 23:00:04] Production.ERROR: CronJob ID - 5
[2025-03-09 23:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 23:00:00
[2025-03-09 23:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 23:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 23:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 23:00:04] Production.ERROR: CronJob PID - 3724
[2025-03-09 23:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-09 23:00:04] Production.ERROR: CronJob ID - 10
[2025-03-09 23:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 23:00:00
[2025-03-09 23:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 23:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 23:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 23:00:04] Production.ERROR: CronJob PID - 3730
[2025-03-09 23:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-09 23:00:04] Production.ERROR: CronJob ID - 16
[2025-03-09 23:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 23:00:00
[2025-03-09 23:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 23:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 23:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 23:00:04] Production.ERROR: CronJob PID - 3732
[2025-03-09 23:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-09 23:00:04] Production.ERROR: CronJob ID - 17
[2025-03-09 23:00:04] Production.ERROR: CronJob Last Run Time 2025-03-09 23:00:00
[2025-03-09 23:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 23:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 23:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:00:04] Production.INFO: ==3728== Lock acquired, processing the job...
[2025-03-09 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:00:04] Production.INFO: ==3734== Lock acquired, processing the job...
[2025-03-09 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 23:00:04] Production.INFO: ==3718== Releasing lock...
[2025-03-09 23:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 23:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 23:00:04] Production.ERROR: done
[2025-03-09 23:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:00:04] Production.ERROR: done
[2025-03-09 23:00:04] Production.INFO: Account Balance Start.
[2025-03-09 23:00:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:00:04] Production.INFO: 117
[2025-03-09 23:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 23:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645394', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 23:00:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:00:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: count ==13
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-03-09 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-03-09 23:00:04] Production.INFO: count ==21
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-03-09 23:00:04] Production.ERROR: done
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-03-09 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645393') start
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:00:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: Total Charge 0
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-03-09 23:00:04] Production.INFO: CreateAllLog End
[2025-03-09 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:04] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-03-09 23:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14645393') end
[2025-03-09 23:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:00:05] Production.INFO: 1
[2025-03-09 23:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: ==3734== Releasing lock...
[2025-03-09 23:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 5
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 6
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: Account Balance End.
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 0
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 4
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 19
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CronJobId end 12
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: ==3728== Releasing lock...
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 0
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:05] Production.INFO: PaymentMethod - 1
[2025-03-09 23:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-03-09 23:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-09 23:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:00:06
[end_date_ymd] => 2025-03-09 23:00:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:00:06' and `end` < '2025-03-09 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-03-09 23:00:06] Production.ERROR: CronJobId end11
[2025-03-09 23:00:06] Production.INFO: ==3726== Releasing lock...
[2025-03-09 23:00:06] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-03-09 23:00:06] Production.INFO: 30.5 MB #Memory Used#
[2025-03-09 23:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645394', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 23:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 23:00:09] Production.INFO: ProcessCDR(1,14645394,1,1,2)
[2025-03-09 23:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645394,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645394,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:00:09] Production.INFO: ==3732== Releasing lock...
[2025-03-09 23:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 23:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 23:00:14] Production.ERROR: CronJobId end10
[2025-03-09 23:00:14] Production.INFO: ==3724== Releasing lock...
[2025-03-09 23:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:00:17] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:00:17] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:00:17] Production.INFO: call_cost start
[2025-03-09 23:00:17] Production.INFO: call_cost end
[2025-03-09 23:00:18] Production.INFO: count ==846
[2025-03-09 23:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:00:06 - End Time 2025-03-09 23:00:06
[2025-03-09 23:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645395', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645395', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645395', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645395', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:00:18] Production.INFO: ProcessCDR(1,14645395,1,1,2)
[2025-03-09 23:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:00:18] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:00:18] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:00:18] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:00:18] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:00:18] Production.INFO: ==3720== Releasing lock...
[2025-03-09 23:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645395', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645395', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:00:23] Production.INFO: ==3730== Releasing lock...
[2025-03-09 23:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:00:23] Production.INFO: 34 MB #Memory Used#
[2025-03-10 03:01:02] Production.INFO: ==3791== Lock acquired, processing the job...
[2025-03-10 03:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:01:02] Production.INFO: neon service started
[2025-03-10 03:01:02] Production.INFO: neon service started
[2025-03-10 03:01:02] Production.INFO: ==3791== Releasing lock...
[2025-03-10 03:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:01:02] Production.INFO: ==3803== Lock acquired, processing the job...
[2025-03-09 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:01:02] Production.INFO: ==3803== Releasing lock...
[2025-03-09 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:01:03] Production.INFO: ==3805== Lock acquired, processing the job...
[2025-03-10 03:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:01:03] Production.INFO: ==3805== Releasing lock...
[2025-03-10 03:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:01:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:01:03] Production.INFO: ==3809== Lock acquired, processing the job...
[2025-03-09 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:01:03] Production.INFO: ==3817== Lock acquired, processing the job...
[2025-03-09 23:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 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-03-09 23:01:04] Production.INFO: count ==13
[2025-03-09 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-03-09 23:01:04] Production.INFO: count ==21
[2025-03-09 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645397') start
[2025-03-09 23:01:04] Production.INFO: ==3807== Lock acquired, processing the job...
[2025-03-09 23:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645397') end
[2025-03-09 23:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:01:04] Production.INFO: 1
[2025-03-09 23:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:01:04] Production.INFO: ==3811== Lock acquired, processing the job...
[2025-03-09 23:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:01:04] Production.INFO: ==3813== Lock acquired, processing the job...
[2025-03-09 23:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:01:04] Production.INFO: ==3817== Releasing lock...
[2025-03-09 23:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:01:04] Production.INFO: ==3809== Releasing lock...
[2025-03-09 23:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:01:04] Production.INFO: ==3815== Lock acquired, processing the job...
[2025-03-09 23:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:01:04] Production.INFO: Account Balance Start.
[2025-03-09 23:01:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:01:04] Production.INFO: 117
[2025-03-09 23:01:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:01:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:01:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:01:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:01:04] Production.INFO: Total Charge 0
[2025-03-09 23:01:04] Production.INFO: CreateAllLog End
[2025-03-09 23:01:04] Production.ERROR: done
[2025-03-09 23:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:01:04] Production.ERROR: done
[2025-03-09 23:01:04] Production.INFO: Account Balance End.
[2025-03-09 23:01:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:01:04] Production.INFO: ==3813== Releasing lock...
[2025-03-09 23:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:01:05
[end_date_ymd] => 2025-03-09 23:01:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:01:05' and `end` < '2025-03-09 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-03-09 23:01:13] Production.ERROR: CronJobId end10
[2025-03-09 23:01:13] Production.INFO: ==3811== Releasing lock...
[2025-03-09 23:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:01:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:01:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:01:15] Production.INFO: call_cost start
[2025-03-09 23:01:15] Production.INFO: call_cost end
[2025-03-09 23:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:01:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:01:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:01:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:01:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:01:16] Production.INFO: ==3807== Releasing lock...
[2025-03-09 23:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:01:18] Production.INFO: count ==812
[2025-03-09 23:01:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:01:05 - End Time 2025-03-09 23:01:05
[2025-03-09 23:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645400', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645400', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645400', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645400', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:01:18] Production.INFO: ProcessCDR(1,14645400,1,1,2)
[2025-03-09 23:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645400', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645400', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:01:21] Production.INFO: ==3815== Releasing lock...
[2025-03-09 23:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:01:21] Production.INFO: 33.75 MB #Memory Used#
[2025-03-10 03:02:01] Production.INFO: ==3951== Lock acquired, processing the job...
[2025-03-10 03:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:02:01] Production.INFO: neon service started
[2025-03-10 03:02:01] Production.INFO: neon service started
[2025-03-10 03:02:01] Production.INFO: ==3951== Releasing lock...
[2025-03-10 03:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:02:02] Production.INFO: ==3953== Lock acquired, processing the job...
[2025-03-09 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:02:02] Production.INFO: ==3955== Lock acquired, processing the job...
[2025-03-10 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:02:02] Production.INFO: ==3955== Releasing lock...
[2025-03-10 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:02:02] Production.INFO: ==3953== Releasing lock...
[2025-03-09 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:02:03] Production.INFO: ==3960== Lock acquired, processing the job...
[2025-03-09 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:02:03] Production.INFO: ==3966== Lock acquired, processing the job...
[2025-03-09 23:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:02:03] Production.INFO: ==3958== Lock acquired, processing the job...
[2025-03-09 23:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:02:04] Production.INFO: ==3962== Lock acquired, processing the job...
[2025-03-09 23:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:02:04] Production.INFO: ==3960== Releasing lock...
[2025-03-09 23:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:02:04] Production.INFO: ==3964== Lock acquired, processing the job...
[2025-03-09 23:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:02:04] Production.INFO: ==3968== Lock acquired, processing the job...
[2025-03-09 23:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:02:04] Production.ERROR: done
[2025-03-09 23:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:02:04] Production.INFO: Account Balance Start.
[2025-03-09 23:02:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:02:04] Production.INFO: 117
[2025-03-09 23:02:04] Production.INFO: Date 2025-03-08
[2025-03-09 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-03-09 23:02:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:02:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:02:04] Production.INFO: count ==13
[2025-03-09 23:02:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:02:04] Production.INFO: Total Charge 0
[2025-03-09 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-03-09 23:02:04] Production.INFO: CreateAllLog End
[2025-03-09 23:02:04] Production.INFO: count ==21
[2025-03-09 23:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645404') start
[2025-03-09 23:02:04] Production.ERROR: done
[2025-03-09 23:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645404') end
[2025-03-09 23:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:02:04] Production.INFO: 1
[2025-03-09 23:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:02:04] Production.INFO: ==3968== Releasing lock...
[2025-03-09 23:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:02:04] Production.INFO: Account Balance End.
[2025-03-09 23:02:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:02:04] Production.INFO: ==3964== Releasing lock...
[2025-03-09 23:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:02:05
[end_date_ymd] => 2025-03-09 23:02:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:02:05' and `end` < '2025-03-09 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-03-09 23:02:12] Production.ERROR: CronJobId end10
[2025-03-09 23:02:12] Production.INFO: ==3962== Releasing lock...
[2025-03-09 23:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:02:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:02:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:02:14] Production.INFO: call_cost start
[2025-03-09 23:02:14] Production.INFO: call_cost end
[2025-03-09 23:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:02:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:02:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:02:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:02:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:02:15] Production.INFO: ==3958== Releasing lock...
[2025-03-09 23:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:02:18] Production.INFO: count ==809
[2025-03-09 23:02:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:02:05 - End Time 2025-03-09 23:02:05
[2025-03-09 23:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645405', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645405', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645405', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645405', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:02:18] Production.INFO: ProcessCDR(1,14645405,1,1,2)
[2025-03-09 23:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645405', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645405', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:02:22] Production.INFO: ==3966== Releasing lock...
[2025-03-09 23:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:02:22] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:03:02] Production.INFO: ==4030== Lock acquired, processing the job...
[2025-03-10 03:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:03:02] Production.INFO: neon service started
[2025-03-10 03:03:02] Production.INFO: neon service started
[2025-03-10 03:03:02] Production.INFO: ==4030== Releasing lock...
[2025-03-10 03:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:03:02] Production.INFO: ==4032== Lock acquired, processing the job...
[2025-03-09 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:03:02] Production.INFO: ==4034== Lock acquired, processing the job...
[2025-03-10 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:03:02] Production.INFO: ==4034== Releasing lock...
[2025-03-10 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:03:03] Production.INFO: ==4032== Releasing lock...
[2025-03-09 23:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:03:03] Production.INFO: ==4043== Lock acquired, processing the job...
[2025-03-09 23:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:03:04] Production.INFO: ==4045== Lock acquired, processing the job...
[2025-03-09 23:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:03:04] Production.INFO: Account Balance Start.
[2025-03-09 23:03:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:03:04] Production.INFO: 117
[2025-03-09 23:03:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:03:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:03:04] Production.INFO: ==4037== Lock acquired, processing the job...
[2025-03-09 23:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:03:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:03:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:03:04] Production.INFO: ==4041== Lock acquired, processing the job...
[2025-03-09 23:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:03:04] Production.INFO: ==4039== Lock acquired, processing the job...
[2025-03-09 23:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:03:04] Production.INFO: Total Charge 0
[2025-03-09 23:03:04] Production.INFO: ==4047== Lock acquired, processing the job...
[2025-03-09 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:03:04] Production.INFO: CreateAllLog End
[2025-03-09 23:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23: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-03-09 23:03:04] Production.INFO: Account Balance End.
[2025-03-09 23:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:03:04] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:03:04] Production.INFO: count ==21
[2025-03-09 23:03:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:03:04] Production.INFO: ==4043== Releasing lock...
[2025-03-09 23:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645407') start
[2025-03-09 23:03:04] Production.ERROR: done
[2025-03-09 23:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645407') end
[2025-03-09 23:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:03:04] Production.INFO: 1
[2025-03-09 23:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:03:04] Production.ERROR: done
[2025-03-09 23:03:04] Production.INFO: ==4039== Releasing lock...
[2025-03-09 23:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:03:04] Production.INFO: ==4047== Releasing lock...
[2025-03-09 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:03:05
[end_date_ymd] => 2025-03-09 23:03:05
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:03:05' and `end` < '2025-03-09 23: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-03-09 23:03:12] Production.ERROR: CronJobId end10
[2025-03-09 23:03:12] Production.INFO: ==4041== Releasing lock...
[2025-03-09 23:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:03:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:03:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:03:14] Production.INFO: call_cost start
[2025-03-09 23:03:14] Production.INFO: call_cost end
[2025-03-09 23:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:03:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:03:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:03:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:03:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:03:15] Production.INFO: ==4037== Releasing lock...
[2025-03-09 23:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:03:17] Production.INFO: count ==809
[2025-03-09 23:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:03:05 - End Time 2025-03-09 23:03:05
[2025-03-09 23:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645410', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645410', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645410', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645410', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:03:17] Production.INFO: ProcessCDR(1,14645410,1,1,2)
[2025-03-09 23:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:03:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645410', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645410', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:03:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:03:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:03:21] Production.INFO: ==4045== Releasing lock...
[2025-03-09 23:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:03:21] Production.INFO: 33.75 MB #Memory Used#
[2025-03-10 03:04:01] Production.INFO: ==4107== Lock acquired, processing the job...
[2025-03-10 03:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:04:01] Production.INFO: neon service started
[2025-03-10 03:04:01] Production.INFO: neon service started
[2025-03-10 03:04:01] Production.INFO: ==4107== Releasing lock...
[2025-03-10 03:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:04:02] Production.INFO: ==4109== Lock acquired, processing the job...
[2025-03-09 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:04:02] Production.INFO: ==4111== Lock acquired, processing the job...
[2025-03-10 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:04:02] Production.INFO: ==4111== Releasing lock...
[2025-03-10 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:04:02] Production.INFO: ==4109== Releasing lock...
[2025-03-09 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:04:03] Production.INFO: ==4118== Lock acquired, processing the job...
[2025-03-09 23:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:04:03] Production.INFO: ==4124== Lock acquired, processing the job...
[2025-03-09 23:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:04:03] Production.INFO: ==4114== Lock acquired, processing the job...
[2025-03-09 23:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23: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-03-09 23:04:03] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:04:03] Production.INFO: count ==21
[2025-03-09 23:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645411') start
[2025-03-09 23:04:04] Production.INFO: ==4116== Lock acquired, processing the job...
[2025-03-09 23:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645411') end
[2025-03-09 23:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:04:04] Production.INFO: 1
[2025-03-09 23:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:04:04] Production.INFO: ==4120== Lock acquired, processing the job...
[2025-03-09 23:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:04:04] Production.INFO: ==4122== Lock acquired, processing the job...
[2025-03-09 23:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:04:04] Production.INFO: ==4124== Releasing lock...
[2025-03-09 23:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:04:04] Production.INFO: Account Balance Start.
[2025-03-09 23:04:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:04:04] Production.INFO: 117
[2025-03-09 23:04:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:04:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:04:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:04:04] Production.INFO: ==4116== Releasing lock...
[2025-03-09 23:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:04:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:04:04] Production.INFO: Total Charge 0
[2025-03-09 23:04:04] Production.INFO: CreateAllLog End
[2025-03-09 23:04:04] Production.ERROR: done
[2025-03-09 23:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:04:04] Production.ERROR: done
[2025-03-09 23:04:04] Production.INFO: Account Balance End.
[2025-03-09 23:04:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:04:04] Production.INFO: ==4120== Releasing lock...
[2025-03-09 23:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:04:05
[end_date_ymd] => 2025-03-09 23:04:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:04:05' and `end` < '2025-03-09 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-03-09 23:04:11] Production.ERROR: CronJobId end10
[2025-03-09 23:04:11] Production.INFO: ==4118== Releasing lock...
[2025-03-09 23:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:04:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:04:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:04:14] Production.INFO: call_cost start
[2025-03-09 23:04:14] Production.INFO: call_cost end
[2025-03-09 23:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:04:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:04:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:04:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:04:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:04:15] Production.INFO: ==4114== Releasing lock...
[2025-03-09 23:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:04:17] Production.INFO: count ==806
[2025-03-09 23:04:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:04:05 - End Time 2025-03-09 23:04:05
[2025-03-09 23:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645415', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645415', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645415', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645415', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:04:18] Production.INFO: ProcessCDR(1,14645415,1,1,2)
[2025-03-09 23:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645415', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645415', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:04:21] Production.INFO: ==4122== Releasing lock...
[2025-03-09 23:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:04:21] Production.INFO: 33.75 MB #Memory Used#
[2025-03-10 03:05:02] Production.INFO: ==4298== Lock acquired, processing the job...
[2025-03-10 03:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:05:02] Production.INFO: neon service started
[2025-03-10 03:05:02] Production.INFO: neon service started
[2025-03-10 03:05:02] Production.INFO: ==4298== Releasing lock...
[2025-03-10 03:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:05:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 23:05:02] Production.INFO: ==4300== Lock acquired, processing the job...
[2025-03-09 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:05:03] Production.INFO: ==4302== Lock acquired, processing the job...
[2025-03-10 03:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:05:03] Production.INFO: ==4302== Releasing lock...
[2025-03-10 03:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:05:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:05:03] Production.INFO: ==4300== Releasing lock...
[2025-03-09 23:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:05:03] Production.INFO: ==4307== Lock acquired, processing the job...
[2025-03-09 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:05:03] Production.INFO: ==4313== Lock acquired, processing the job...
[2025-03-09 23:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:05:04] Production.INFO: ==4305== Lock acquired, processing the job...
[2025-03-09 23:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:05:04] Production.INFO: ==4307== Releasing lock...
[2025-03-09 23:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:05:04] Production.INFO: ==4309== Lock acquired, processing the job...
[2025-03-09 23:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:05:04] Production.INFO: ==4315== Lock acquired, processing the job...
[2025-03-09 23:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:05:04] Production.INFO: ==4311== Lock acquired, processing the job...
[2025-03-09 23:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:05:04] Production.ERROR: done
[2025-03-09 23:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:05:04] Production.INFO: Account Balance Start.
[2025-03-09 23:05:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23: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-03-09 23:05:04] Production.INFO: 117
[2025-03-09 23:05:04] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:05:04] Production.INFO: count ==21
[2025-03-09 23:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645419') start
[2025-03-09 23:05:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:05:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:05:04] Production.ERROR: done
[2025-03-09 23:05:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:05:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645419') end
[2025-03-09 23:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:05:04] Production.INFO: 1
[2025-03-09 23:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:05:04] Production.INFO: Total Charge 0
[2025-03-09 23:05:04] Production.INFO: CreateAllLog End
[2025-03-09 23:05:04] Production.INFO: ==4315== Releasing lock...
[2025-03-09 23:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:05:05] Production.INFO: Account Balance End.
[2025-03-09 23:05:05] Production.ERROR: CronJobId end 12
[2025-03-09 23:05:05] Production.INFO: ==4311== Releasing lock...
[2025-03-09 23:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:05:06
[end_date_ymd] => 2025-03-09 23:05:06
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:05:06' and `end` < '2025-03-09 23: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-03-09 23:05:12] Production.ERROR: CronJobId end10
[2025-03-09 23:05:12] Production.INFO: ==4309== Releasing lock...
[2025-03-09 23:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:05:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:05:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:05:15] Production.INFO: call_cost start
[2025-03-09 23:05:15] Production.INFO: call_cost end
[2025-03-09 23:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:05:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:05:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:05:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:05:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:05:16] Production.INFO: ==4305== Releasing lock...
[2025-03-09 23:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:05:18] Production.INFO: count ==804
[2025-03-09 23:05:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:05:06 - End Time 2025-03-09 23:05:06
[2025-03-09 23:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645420', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645420', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645420', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645420', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:05:18] Production.INFO: ProcessCDR(1,14645420,1,1,2)
[2025-03-09 23:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645420', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645420', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:05:21] Production.INFO: ==4313== Releasing lock...
[2025-03-09 23:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:05:21] Production.INFO: 33.75 MB #Memory Used#
[2025-03-10 03:06:01] Production.INFO: ==4368== Lock acquired, processing the job...
[2025-03-10 03:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:06:01] Production.INFO: neon service started
[2025-03-10 03:06:01] Production.INFO: neon service started
[2025-03-10 03:06:01] Production.INFO: ==4368== Releasing lock...
[2025-03-10 03:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:06:02] Production.INFO: ==4370== Lock acquired, processing the job...
[2025-03-09 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:06:02] Production.INFO: ==4370== Releasing lock...
[2025-03-09 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:06:02] Production.INFO: ==4372== Lock acquired, processing the job...
[2025-03-10 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:06:02] Production.INFO: ==4372== Releasing lock...
[2025-03-10 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:06:03] Production.INFO: ==4376== Lock acquired, processing the job...
[2025-03-09 23:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:06:03] Production.INFO: ==4384== Lock acquired, processing the job...
[2025-03-09 23:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:06:03] Production.INFO: ==4378== Lock acquired, processing the job...
[2025-03-09 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:06:03] Production.INFO: ==4380== Lock acquired, processing the job...
[2025-03-09 23:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:06:03] Production.INFO: ==4386== Lock acquired, processing the job...
[2025-03-09 23:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:06:03] Production.INFO: ==4382== Lock acquired, processing the job...
[2025-03-09 23:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 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-03-09 23:06:03] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:06:04] Production.INFO: count ==21
[2025-03-09 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645422') start
[2025-03-09 23:06:04] Production.INFO: Account Balance Start.
[2025-03-09 23:06:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:06:04] Production.INFO: 117
[2025-03-09 23:06:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:06:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645422') end
[2025-03-09 23:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:06:04] Production.INFO: 1
[2025-03-09 23:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:06:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:06:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:06:04] Production.INFO: Total Charge 0
[2025-03-09 23:06:04] Production.INFO: CreateAllLog End
[2025-03-09 23:06:04] Production.INFO: ==4386== Releasing lock...
[2025-03-09 23:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:06:04] Production.INFO: ==4378== Releasing lock...
[2025-03-09 23:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:06:04] Production.ERROR: done
[2025-03-09 23:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:06:04] Production.ERROR: done
[2025-03-09 23:06:04] Production.INFO: Account Balance End.
[2025-03-09 23:06:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:06:04] Production.INFO: ==4382== Releasing lock...
[2025-03-09 23:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:06:05
[end_date_ymd] => 2025-03-09 23:06:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:06:05' and `end` < '2025-03-09 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-03-09 23:06:12] Production.ERROR: CronJobId end10
[2025-03-09 23:06:12] Production.INFO: ==4380== Releasing lock...
[2025-03-09 23:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:06:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:06:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:06:14] Production.INFO: call_cost start
[2025-03-09 23:06:14] Production.INFO: call_cost end
[2025-03-09 23:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:06:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:06:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:06:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:06:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:06:15] Production.INFO: ==4376== Releasing lock...
[2025-03-09 23:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:06:17] Production.INFO: count ==798
[2025-03-09 23:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:06:05 - End Time 2025-03-09 23:06:05
[2025-03-09 23:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645425', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645425', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645425', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645425', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:06:17] Production.INFO: ProcessCDR(1,14645425,1,1,2)
[2025-03-09 23:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645425', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645425', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:06:21] Production.INFO: ==4384== Releasing lock...
[2025-03-09 23:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:06:21] Production.INFO: 33.75 MB #Memory Used#
[2025-03-10 03:07:01] Production.INFO: ==4444== Lock acquired, processing the job...
[2025-03-10 03:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:07:01] Production.INFO: neon service started
[2025-03-10 03:07:01] Production.INFO: neon service started
[2025-03-10 03:07:01] Production.INFO: ==4444== Releasing lock...
[2025-03-10 03:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:07:01] Production.INFO: ==4446== Lock acquired, processing the job...
[2025-03-09 23:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:07:02] Production.INFO: ==4448== Lock acquired, processing the job...
[2025-03-10 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:07:02] Production.INFO: ==4448== Releasing lock...
[2025-03-10 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:07:02] Production.INFO: ==4446== Releasing lock...
[2025-03-09 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:07:03] Production.INFO: ==4457== Lock acquired, processing the job...
[2025-03-09 23:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:07:03] Production.INFO: ==4453== Lock acquired, processing the job...
[2025-03-09 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:07:03] Production.INFO: Account Balance Start.
[2025-03-09 23:07:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:07:03] Production.INFO: 117
[2025-03-09 23:07:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:07:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:07:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:07:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:07:03] Production.INFO: ==4450== Lock acquired, processing the job...
[2025-03-09 23:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:07:03] Production.INFO: Total Charge 0
[2025-03-09 23:07:03] Production.INFO: CreateAllLog End
[2025-03-09 23:07:03] Production.INFO: ==4455== Lock acquired, processing the job...
[2025-03-09 23:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:07:03] Production.INFO: ==4459== Lock acquired, processing the job...
[2025-03-09 23:07:03] Production.INFO: ==4461== Lock acquired, processing the job...
[2025-03-09 23:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:07:03] Production.INFO: Account Balance End.
[2025-03-09 23:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:07:03] Production.ERROR: CronJobId end 12
[2025-03-09 23:07:03] Production.INFO: ==4457== Releasing lock...
[2025-03-09 23:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 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-03-09 23:07:03] Production.INFO: ==4453== Releasing lock...
[2025-03-09 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:07:03] Production.INFO: count ==13
[2025-03-09 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-03-09 23:07:03] Production.INFO: count ==21
[2025-03-09 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645429') start
[2025-03-09 23:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645429') end
[2025-03-09 23:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:07:04] Production.INFO: 1
[2025-03-09 23:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:07:04] Production.ERROR: done
[2025-03-09 23:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:07:04] Production.INFO: ==4461== Releasing lock...
[2025-03-09 23:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:07:04] Production.ERROR: done
[2025-03-09 23:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:07:05
[end_date_ymd] => 2025-03-09 23:07:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:07:05' and `end` < '2025-03-09 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-03-09 23:07:13] Production.ERROR: CronJobId end10
[2025-03-09 23:07:13] Production.INFO: ==4455== Releasing lock...
[2025-03-09 23:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:07:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:07:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:07:15] Production.INFO: call_cost start
[2025-03-09 23:07:15] Production.INFO: call_cost end
[2025-03-09 23:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:07:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:07:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:07:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:07:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:07:16] Production.INFO: ==4450== Releasing lock...
[2025-03-09 23:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:07:17] Production.INFO: count ==792
[2025-03-09 23:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:07:05 - End Time 2025-03-09 23:07:05
[2025-03-09 23:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645430', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645430', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645430', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645430', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:07:17] Production.INFO: ProcessCDR(1,14645430,1,1,2)
[2025-03-09 23:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645430', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645430', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:07:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:07:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:07:20] Production.INFO: ==4459== Releasing lock...
[2025-03-09 23:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:07:20] Production.INFO: 34 MB #Memory Used#
[2025-03-10 03:08:01] Production.INFO: ==4554== Lock acquired, processing the job...
[2025-03-10 03:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:08:01] Production.INFO: neon service started
[2025-03-10 03:08:01] Production.INFO: neon service started
[2025-03-10 03:08:01] Production.INFO: ==4554== Releasing lock...
[2025-03-10 03:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:08:02] Production.INFO: ==4556== Lock acquired, processing the job...
[2025-03-09 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:08:02] Production.INFO: ==4558== Lock acquired, processing the job...
[2025-03-10 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:08:02] Production.INFO: ==4558== Releasing lock...
[2025-03-10 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:08:03] Production.INFO: ==4556== Releasing lock...
[2025-03-09 23:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:08:03] Production.INFO: ==4613== Lock acquired, processing the job...
[2025-03-09 23:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:08:04] Production.INFO: ==4617== Lock acquired, processing the job...
[2025-03-09 23:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:08:04] Production.INFO: ==4607== Lock acquired, processing the job...
[2025-03-09 23:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:08:04] Production.INFO: ==4609== Lock acquired, processing the job...
[2025-03-09 23:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:08:04] Production.INFO: Account Balance Start.
[2025-03-09 23:08:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:08:04] Production.INFO: 117
[2025-03-09 23:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:08:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:08:04] Production.INFO: ==4611== Lock acquired, processing the job...
[2025-03-09 23:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23: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-03-09 23:08:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:08:04] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:08:04] Production.INFO: count ==21
[2025-03-09 23:08:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:08:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645432') start
[2025-03-09 23:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:08:04] Production.INFO: Total Charge 0
[2025-03-09 23:08:04] Production.INFO: CreateAllLog End
[2025-03-09 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645432') end
[2025-03-09 23:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:08:04] Production.INFO: 1
[2025-03-09 23:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:08:04] Production.INFO: ==4615== Lock acquired, processing the job...
[2025-03-09 23:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:08:04] Production.INFO: ==4617== Releasing lock...
[2025-03-09 23:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:08:04] Production.INFO: Account Balance End.
[2025-03-09 23:08:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:08:04] Production.INFO: ==4613== Releasing lock...
[2025-03-09 23:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:08:04] Production.INFO: ==4609== Releasing lock...
[2025-03-09 23:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:08:04] Production.ERROR: done
[2025-03-09 23:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:08:04] Production.ERROR: done
[2025-03-09 23:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:08:05
[end_date_ymd] => 2025-03-09 23:08:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:08:05' and `end` < '2025-03-09 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-03-09 23:08:13] Production.ERROR: CronJobId end10
[2025-03-09 23:08:13] Production.INFO: ==4611== Releasing lock...
[2025-03-09 23:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:08:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:08:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:08:15] Production.INFO: call_cost start
[2025-03-09 23:08:15] Production.INFO: call_cost end
[2025-03-09 23:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:08:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:08:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:08:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:08:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:08:16] Production.INFO: ==4607== Releasing lock...
[2025-03-09 23:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:08:17] Production.INFO: count ==792
[2025-03-09 23:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:08:05 - End Time 2025-03-09 23:08:05
[2025-03-09 23:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645435', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645435', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645435', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645435', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:08:18] Production.INFO: ProcessCDR(1,14645435,1,1,2)
[2025-03-09 23:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645435', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645435', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:08:21] Production.INFO: ==4615== Releasing lock...
[2025-03-09 23:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:08:21] Production.INFO: 34 MB #Memory Used#
[2025-03-10 03:09:01] Production.INFO: ==4673== Lock acquired, processing the job...
[2025-03-10 03:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:09:01] Production.INFO: neon service started
[2025-03-10 03:09:01] Production.INFO: neon service started
[2025-03-10 03:09:01] Production.INFO: ==4673== Releasing lock...
[2025-03-10 03:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:09:01] Production.INFO: ==4675== Lock acquired, processing the job...
[2025-03-09 23:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:09:01] Production.INFO: ==4675== Releasing lock...
[2025-03-09 23:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:09:01] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:09:02] Production.INFO: ==4677== Lock acquired, processing the job...
[2025-03-10 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:09:02] Production.INFO: ==4677== Releasing lock...
[2025-03-10 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:09:02] Production.INFO: ==4686== Lock acquired, processing the job...
[2025-03-09 23:09:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:09:03] Production.INFO: ==4680== Lock acquired, processing the job...
[2025-03-09 23:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:09:03] Production.INFO: ==4688== Lock acquired, processing the job...
[2025-03-09 23:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:09:03] Production.INFO: ==4682== Lock acquired, processing the job...
[2025-03-09 23:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:09:03] Production.INFO: ==4684== Lock acquired, processing the job...
[2025-03-09 23:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:09:03] Production.INFO: Account Balance Start.
[2025-03-09 23:09:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:09:03] Production.INFO: 117
[2025-03-09 23:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:09:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:09:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:09:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:09:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:09:03] Production.INFO: ==4690== Lock acquired, processing the job...
[2025-03-09 23:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:09:03] Production.INFO: Total Charge 0
[2025-03-09 23:09:03] Production.INFO: CreateAllLog End
[2025-03-09 23: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-03-09 23:09:03] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:09:03] Production.INFO: count ==21
[2025-03-09 23:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645439') start
[2025-03-09 23:09:03] Production.INFO: ==4682== Releasing lock...
[2025-03-09 23:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:09:03] Production.ERROR: done
[2025-03-09 23:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645439') end
[2025-03-09 23:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:09:03] Production.INFO: 1
[2025-03-09 23:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:09:03] Production.INFO: ==4690== Releasing lock...
[2025-03-09 23:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:09:03] Production.ERROR: done
[2025-03-09 23:09:03] Production.INFO: Account Balance End.
[2025-03-09 23:09:03] Production.ERROR: CronJobId end 12
[2025-03-09 23:09:03] Production.INFO: ==4686== Releasing lock...
[2025-03-09 23:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:09:04
[end_date_ymd] => 2025-03-09 23:09:04
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:09:04' and `end` < '2025-03-09 23: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-03-09 23:09:12] Production.ERROR: CronJobId end10
[2025-03-09 23:09:12] Production.INFO: ==4684== Releasing lock...
[2025-03-09 23:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:09:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:09:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:09:13] Production.INFO: call_cost start
[2025-03-09 23:09:13] Production.INFO: call_cost end
[2025-03-09 23:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:09:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:09:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:09:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:09:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:09:14] Production.INFO: ==4680== Releasing lock...
[2025-03-09 23:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:09:16] Production.INFO: count ==792
[2025-03-09 23:09:16] Production.ERROR: pbx CDR StartTime 2025-03-09 20:09:04 - End Time 2025-03-09 23:09:04
[2025-03-09 23:09:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:09:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645440', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:09:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645440', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:09:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645440', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:09:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645440', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:09:16] Production.INFO: ProcessCDR(1,14645440,1,1,2)
[2025-03-09 23:09:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:09:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:09:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645440', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645440', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:09:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:09:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:09:20] Production.INFO: ==4688== Releasing lock...
[2025-03-09 23:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:09:20] Production.INFO: 34 MB #Memory Used#
[2025-03-10 03:10:01] Production.INFO: ==4747== Lock acquired, processing the job...
[2025-03-10 03:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:10:01] Production.INFO: neon service started
[2025-03-10 03:10:01] Production.INFO: neon service started
[2025-03-10 03:10:01] Production.INFO: ==4747== Releasing lock...
[2025-03-10 03:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:10:02] Production.INFO: ==4751== Lock acquired, processing the job...
[2025-03-10 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:10:02] Production.INFO: ==4751== Releasing lock...
[2025-03-10 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:10:02] Production.INFO: ==4749== Lock acquired, processing the job...
[2025-03-09 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:10:02] Production.INFO: ==4749== Releasing lock...
[2025-03-09 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:10:03] Production.INFO: ==4754== Lock acquired, processing the job...
[2025-03-09 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 23:10:03] Production.INFO: ==4762== Lock acquired, processing the job...
[2025-03-09 23:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 23:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 23:10:04] Production.ERROR: CronJob PID - 4762
[2025-03-09 23:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-09 23:10:04] Production.ERROR: CronJob ID - 12
[2025-03-09 23:10:04] Production.INFO: ==4756== Lock acquired, processing the job...
[2025-03-09 23:10:04] Production.ERROR: CronJob Last Run Time 2025-03-09 23:10:00
[2025-03-09 23:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 23:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 23:10:04] Production.INFO: ==4764== Lock acquired, processing the job...
[2025-03-09 23:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 23:10:04] Production.INFO: ==4754== Releasing lock...
[2025-03-09 23:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 23:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 23:10:04] Production.INFO: ==4766== Lock acquired, processing the job...
[2025-03-09 23:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 23:10:04] Production.INFO: Account Balance Start.
[2025-03-09 23:10:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:10:04] Production.INFO: 117
[2025-03-09 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:10:04] Production.INFO: ==4758== Lock acquired, processing the job...
[2025-03-09 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:10:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:10:04] Production.INFO: ==4760== Lock acquired, processing the job...
[2025-03-09 23:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:10:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:10:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:10:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:10:04] Production.INFO: Total Charge 0
[2025-03-09 23:10:04] Production.INFO: CreateAllLog End
[2025-03-09 23:10:04] Production.INFO: ==4768== Lock acquired, processing the job...
[2025-03-09 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23: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-03-09 23:10:04] Production.INFO: count ==13
[2025-03-09 23:10:04] Production.ERROR: done
[2025-03-09 23:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 23:10:04] Production.INFO: count ==21
[2025-03-09 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645444') start
[2025-03-09 23:10:04] Production.INFO: ==4758== Releasing lock...
[2025-03-09 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:10:04] Production.INFO: Account Balance End.
[2025-03-09 23:10:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:10:04] Production.INFO: ==4762== Releasing lock...
[2025-03-09 23:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645444') end
[2025-03-09 23:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:10:04] Production.INFO: 1
[2025-03-09 23:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:10:04] Production.ERROR: done
[2025-03-09 23:10:04] Production.ERROR: done
[2025-03-09 23:10:04] Production.INFO: ==4768== Releasing lock...
[2025-03-09 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 23:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645446', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 23:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:10:06
[end_date_ymd] => 2025-03-09 23:10:06
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:10:06' and `end` < '2025-03-09 23: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-03-09 23:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645446', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 23:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 23:10:09] Production.INFO: ProcessCDR(1,14645446,1,1,2)
[2025-03-09 23:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645446,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645446,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:10:09] Production.INFO: ==4766== Releasing lock...
[2025-03-09 23:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 23:10:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 23:10:14] Production.ERROR: CronJobId end10
[2025-03-09 23:10:14] Production.INFO: ==4760== Releasing lock...
[2025-03-09 23:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:10:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:10:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:10:16] Production.INFO: call_cost start
[2025-03-09 23:10:16] Production.INFO: call_cost end
[2025-03-09 23:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:10:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:10:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:10:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:10:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:10:17] Production.INFO: ==4756== Releasing lock...
[2025-03-09 23:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:10:18] Production.INFO: count ==791
[2025-03-09 23:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:10:06 - End Time 2025-03-09 23:10:06
[2025-03-09 23:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645445', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645445', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645445', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645445', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:10:18] Production.INFO: ProcessCDR(1,14645445,1,1,2)
[2025-03-09 23:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645445', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645445', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:10:21] Production.INFO: ==4764== Releasing lock...
[2025-03-09 23:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:10:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:11:02] Production.INFO: ==4829== Lock acquired, processing the job...
[2025-03-10 03:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:11:02] Production.INFO: neon service started
[2025-03-10 03:11:02] Production.INFO: neon service started
[2025-03-10 03:11:02] Production.INFO: ==4829== Releasing lock...
[2025-03-10 03:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:11:02] Production.INFO: ==4831== Lock acquired, processing the job...
[2025-03-09 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:11:02] Production.INFO: ==4831== Releasing lock...
[2025-03-09 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:11:03] Production.INFO: ==4833== Lock acquired, processing the job...
[2025-03-10 03:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:11:03] Production.INFO: ==4833== Releasing lock...
[2025-03-10 03:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:11:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:11:03] Production.INFO: ==4837== Lock acquired, processing the job...
[2025-03-09 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:11:03] Production.INFO: ==4843== Lock acquired, processing the job...
[2025-03-09 23:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:11:03] Production.INFO: ==4835== Lock acquired, processing the job...
[2025-03-09 23:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:11:04] Production.INFO: ==4839== Lock acquired, processing the job...
[2025-03-09 23:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:11:04] Production.INFO: ==4841== Lock acquired, processing the job...
[2025-03-09 23:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:11:04] Production.INFO: ==4845== Lock acquired, processing the job...
[2025-03-09 23:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:11:04] Production.INFO: ==4837== Releasing lock...
[2025-03-09 23:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:11:04] Production.INFO: Account Balance Start.
[2025-03-09 23:11:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:11:04] Production.INFO: 117
[2025-03-09 23:11:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:11:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:11:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:11:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:11:04] Production.INFO: Total Charge 0
[2025-03-09 23:11:04] Production.INFO: CreateAllLog End
[2025-03-09 23:11:04] Production.ERROR: done
[2025-03-09 23:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 23:11:04] Production.INFO: count ==13
[2025-03-09 23:11:04] Production.INFO: Account Balance End.
[2025-03-09 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-03-09 23:11:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:11:04] Production.INFO: ==4841== Releasing lock...
[2025-03-09 23:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:11:04] Production.INFO: count ==21
[2025-03-09 23:11:04] Production.ERROR: done
[2025-03-09 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645450') start
[2025-03-09 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645450') end
[2025-03-09 23:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:11:04] Production.INFO: 1
[2025-03-09 23:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:11:04] Production.INFO: ==4845== Releasing lock...
[2025-03-09 23:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:11:05
[end_date_ymd] => 2025-03-09 23:11:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:11:05' and `end` < '2025-03-09 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-03-09 23:11:11] Production.ERROR: CronJobId end10
[2025-03-09 23:11:11] Production.INFO: ==4839== Releasing lock...
[2025-03-09 23:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:11:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:11:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:11:14] Production.INFO: call_cost start
[2025-03-09 23:11:14] Production.INFO: call_cost end
[2025-03-09 23:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:11:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:11:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:11:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:11:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:11:15] Production.INFO: ==4835== Releasing lock...
[2025-03-09 23:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:11:17] Production.INFO: count ==767
[2025-03-09 23:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:11:05 - End Time 2025-03-09 23:11:05
[2025-03-09 23:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645451', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645451', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645451', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645451', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:11:17] Production.INFO: ProcessCDR(1,14645451,1,1,2)
[2025-03-09 23:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645451', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645451', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:11:22] Production.INFO: ==4843== Releasing lock...
[2025-03-09 23:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:11:22] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:12:01] Production.INFO: ==4981== Lock acquired, processing the job...
[2025-03-10 03:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:12:01] Production.INFO: neon service started
[2025-03-10 03:12:01] Production.INFO: neon service started
[2025-03-10 03:12:01] Production.INFO: ==4981== Releasing lock...
[2025-03-10 03:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:12:02] Production.INFO: ==4983== Lock acquired, processing the job...
[2025-03-09 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:12:02] Production.INFO: ==4983== Releasing lock...
[2025-03-09 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:12:02] Production.INFO: ==4985== Lock acquired, processing the job...
[2025-03-10 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:12:02] Production.INFO: ==4985== Releasing lock...
[2025-03-10 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:12:03] Production.INFO: ==4993== Lock acquired, processing the job...
[2025-03-09 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:12:03] Production.INFO: ==4989== Lock acquired, processing the job...
[2025-03-09 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:12:03] Production.INFO: ==4987== Lock acquired, processing the job...
[2025-03-09 23:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:12:03] Production.INFO: Account Balance Start.
[2025-03-09 23:12:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:12:03] Production.INFO: 117
[2025-03-09 23:12:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:12:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:12:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:12:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:12:03] Production.INFO: Total Charge 0
[2025-03-09 23:12:03] Production.INFO: CreateAllLog End
[2025-03-09 23:12:03] Production.INFO: ==4989== Releasing lock...
[2025-03-09 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:12:03] Production.INFO: ==4991== Lock acquired, processing the job...
[2025-03-09 23:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:12:03] Production.INFO: Account Balance End.
[2025-03-09 23:12:03] Production.ERROR: CronJobId end 12
[2025-03-09 23:12:03] Production.INFO: ==4993== Releasing lock...
[2025-03-09 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:12:03] Production.INFO: ==4995== Lock acquired, processing the job...
[2025-03-09 23:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:12:03] Production.INFO: ==4997== Lock acquired, processing the job...
[2025-03-09 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23: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-03-09 23:12:04] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:12:04] Production.INFO: count ==21
[2025-03-09 23:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645455') start
[2025-03-09 23:12:04] Production.ERROR: done
[2025-03-09 23:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645455') end
[2025-03-09 23:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:12:04] Production.INFO: 1
[2025-03-09 23:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:12:04] Production.ERROR: done
[2025-03-09 23:12:04] Production.INFO: ==4997== Releasing lock...
[2025-03-09 23:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:12:05
[end_date_ymd] => 2025-03-09 23:12:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:12:05' and `end` < '2025-03-09 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-03-09 23:12:11] Production.ERROR: CronJobId end10
[2025-03-09 23:12:11] Production.INFO: ==4991== Releasing lock...
[2025-03-09 23:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:12:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:12:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:12:13] Production.INFO: call_cost start
[2025-03-09 23:12:13] Production.INFO: call_cost end
[2025-03-09 23:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:12:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:12:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:12:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:12:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:12:14] Production.INFO: ==4987== Releasing lock...
[2025-03-09 23:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:12:18] Production.INFO: count ==761
[2025-03-09 23:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:12:05 - End Time 2025-03-09 23:12:05
[2025-03-09 23:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645456', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645456', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645456', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645456', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:12:18] Production.INFO: ProcessCDR(1,14645456,1,1,2)
[2025-03-09 23:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645456', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645456', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:12:21] Production.INFO: ==4995== Releasing lock...
[2025-03-09 23:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:12:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:13:02] Production.INFO: ==5054== Lock acquired, processing the job...
[2025-03-10 03:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:13:02] Production.INFO: neon service started
[2025-03-10 03:13:02] Production.INFO: neon service started
[2025-03-10 03:13:02] Production.INFO: ==5054== Releasing lock...
[2025-03-10 03:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:13:02] Production.INFO: ==5056== Lock acquired, processing the job...
[2025-03-09 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:13:02] Production.INFO: ==5056== Releasing lock...
[2025-03-09 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:13:02] Production.INFO: ==5058== Lock acquired, processing the job...
[2025-03-10 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:13:03] Production.INFO: ==5058== Releasing lock...
[2025-03-10 03:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:13:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:13:03] Production.INFO: ==5066== Lock acquired, processing the job...
[2025-03-09 23:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:13:03] Production.INFO: ==5070== Lock acquired, processing the job...
[2025-03-09 23:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:13:03] Production.INFO: ==5060== Lock acquired, processing the job...
[2025-03-09 23:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:13:03] Production.INFO: Account Balance Start.
[2025-03-09 23:13:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:13:03] Production.INFO: 117
[2025-03-09 23:13:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:13:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 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-03-09 23:13:04] Production.INFO: count ==13
[2025-03-09 23:13:04] Production.INFO: Date 2025-03-09
[2025-03-09 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-03-09 23:13:04] Production.INFO: count ==21
[2025-03-09 23:13:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645458') start
[2025-03-09 23:13:04] Production.INFO: ==5062== Lock acquired, processing the job...
[2025-03-09 23:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:13:04] Production.INFO: Total Charge 0
[2025-03-09 23:13:04] Production.INFO: CreateAllLog End
[2025-03-09 23:13:04] Production.INFO: ==5064== Lock acquired, processing the job...
[2025-03-09 23:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:13:04] Production.INFO: ==5068== Lock acquired, processing the job...
[2025-03-09 23:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645458') end
[2025-03-09 23:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:13:04] Production.INFO: 1
[2025-03-09 23:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:13:04] Production.INFO: ==5070== Releasing lock...
[2025-03-09 23:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:13:04] Production.INFO: Account Balance End.
[2025-03-09 23:13:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:13:04] Production.INFO: ==5066== Releasing lock...
[2025-03-09 23:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:13:04] Production.INFO: ==5062== Releasing lock...
[2025-03-09 23:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:13:04] Production.ERROR: done
[2025-03-09 23:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:13:04] Production.ERROR: done
[2025-03-09 23:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:13:05
[end_date_ymd] => 2025-03-09 23:13:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:13:05' and `end` < '2025-03-09 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-03-09 23:13:12] Production.ERROR: CronJobId end10
[2025-03-09 23:13:12] Production.INFO: ==5064== Releasing lock...
[2025-03-09 23:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:13:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:13:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:13:14] Production.INFO: call_cost start
[2025-03-09 23:13:14] Production.INFO: call_cost end
[2025-03-09 23:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:13:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:13:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:13:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:13:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:13:15] Production.INFO: ==5060== Releasing lock...
[2025-03-09 23:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:13:17] Production.INFO: count ==760
[2025-03-09 23:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:13:05 - End Time 2025-03-09 23:13:05
[2025-03-09 23:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645461', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645461', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645461', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645461', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:13:18] Production.INFO: ProcessCDR(1,14645461,1,1,2)
[2025-03-09 23:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645461', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645461', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:13:22] Production.INFO: ==5068== Releasing lock...
[2025-03-09 23:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:13:22] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:14:01] Production.INFO: ==5125== Lock acquired, processing the job...
[2025-03-10 03:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:14:01] Production.INFO: neon service started
[2025-03-10 03:14:01] Production.INFO: neon service started
[2025-03-10 03:14:01] Production.INFO: ==5125== Releasing lock...
[2025-03-10 03:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:14:02] Production.INFO: ==5127== Lock acquired, processing the job...
[2025-03-09 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:14:02] Production.INFO: ==5127== Releasing lock...
[2025-03-09 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:14:02] Production.INFO: ==5129== Lock acquired, processing the job...
[2025-03-10 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:14:02] Production.INFO: ==5129== Releasing lock...
[2025-03-10 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:14:03] Production.INFO: ==5136== Lock acquired, processing the job...
[2025-03-09 23:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:14:03] Production.INFO: ==5132== Lock acquired, processing the job...
[2025-03-09 23:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:14:03] Production.INFO: ==5142== Lock acquired, processing the job...
[2025-03-09 23:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:14:03] Production.INFO: ==5134== Lock acquired, processing the job...
[2025-03-09 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:14:03] Production.INFO: ==5138== Lock acquired, processing the job...
[2025-03-09 23:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 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-03-09 23:14:03] Production.INFO: count ==13
[2025-03-09 23:14:03] Production.INFO: ==5140== Lock acquired, processing the job...
[2025-03-09 23:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 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-03-09 23:14:03] Production.INFO: count ==21
[2025-03-09 23:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645463') start
[2025-03-09 23:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:14:03] Production.INFO: Account Balance Start.
[2025-03-09 23:14:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:14:03] Production.INFO: 117
[2025-03-09 23:14:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645463') end
[2025-03-09 23:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:14:03] Production.INFO: 1
[2025-03-09 23:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:14:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:14:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:14:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:14:03] Production.INFO: Total Charge 0
[2025-03-09 23:14:03] Production.INFO: CreateAllLog End
[2025-03-09 23:14:03] Production.INFO: ==5142== Releasing lock...
[2025-03-09 23:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:14:03] Production.INFO: ==5134== Releasing lock...
[2025-03-09 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:14:04] Production.ERROR: done
[2025-03-09 23:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:14:04] Production.INFO: Account Balance End.
[2025-03-09 23:14:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:14:04] Production.INFO: ==5138== Releasing lock...
[2025-03-09 23:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:14:04] Production.ERROR: done
[2025-03-09 23:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:14:05
[end_date_ymd] => 2025-03-09 23:14:05
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:14:05' and `end` < '2025-03-09 23: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-03-09 23:14:11] Production.ERROR: CronJobId end10
[2025-03-09 23:14:11] Production.INFO: ==5136== Releasing lock...
[2025-03-09 23:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:14:14] Production.INFO: call_cost start
[2025-03-09 23:14:14] Production.INFO: call_cost end
[2025-03-09 23:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:14:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:14:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:14:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:14:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:14:15] Production.INFO: ==5132== Releasing lock...
[2025-03-09 23:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:14:17] Production.INFO: count ==761
[2025-03-09 23:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:14:05 - End Time 2025-03-09 23:14:05
[2025-03-09 23:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645466', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645466', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645466', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645466', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:14:17] Production.INFO: ProcessCDR(1,14645466,1,1,2)
[2025-03-09 23:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645466', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645466', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:14:22] Production.INFO: ==5140== Releasing lock...
[2025-03-09 23:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:14:22] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:15:02] Production.INFO: ==5274== Lock acquired, processing the job...
[2025-03-10 03:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:15:02] Production.INFO: neon service started
[2025-03-10 03:15:02] Production.INFO: neon service started
[2025-03-10 03:15:02] Production.INFO: ==5274== Releasing lock...
[2025-03-10 03:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:15:02] Production.INFO: ==5276== Lock acquired, processing the job...
[2025-03-09 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:15:02] Production.INFO: ==5278== Lock acquired, processing the job...
[2025-03-10 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:15:02] Production.INFO: ==5278== Releasing lock...
[2025-03-10 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:15:03] Production.INFO: ==5276== Releasing lock...
[2025-03-09 23:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:15:03] Production.INFO: ==5287== Lock acquired, processing the job...
[2025-03-09 23:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:15:04] Production.INFO: ==5281== Lock acquired, processing the job...
[2025-03-09 23:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:15:04] Production.INFO: Account Balance Start.
[2025-03-09 23:15:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:15:04] Production.INFO: 117
[2025-03-09 23:15:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:15:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:15:04] Production.INFO: ==5291== Lock acquired, processing the job...
[2025-03-09 23:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:15:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:15:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:15:04] Production.INFO: Total Charge 0
[2025-03-09 23:15:04] Production.INFO: ==5285== Lock acquired, processing the job...
[2025-03-09 23:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:15:04] Production.INFO: CreateAllLog End
[2025-03-09 23:15:04] Production.INFO: ==5283== Lock acquired, processing the job...
[2025-03-09 23:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:15:04] Production.INFO: ==5289== Lock acquired, processing the job...
[2025-03-09 23:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 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-03-09 23:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:15:04] Production.INFO: count ==13
[2025-03-09 23:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 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-03-09 23:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:15:04] Production.INFO: count ==21
[2025-03-09 23:15:04] Production.INFO: Account Balance End.
[2025-03-09 23:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645469') start
[2025-03-09 23:15:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:15:04] Production.INFO: ==5287== Releasing lock...
[2025-03-09 23:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645469') end
[2025-03-09 23:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:15:04] Production.INFO: 1
[2025-03-09 23:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:15:04] Production.INFO: ==5291== Releasing lock...
[2025-03-09 23:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:15:04] Production.ERROR: done
[2025-03-09 23:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:15:04] Production.ERROR: done
[2025-03-09 23:15:04] Production.INFO: ==5283== Releasing lock...
[2025-03-09 23:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:15:05
[end_date_ymd] => 2025-03-09 23:15:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:15:05' and `end` < '2025-03-09 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-03-09 23:15:12] Production.ERROR: CronJobId end10
[2025-03-09 23:15:12] Production.INFO: ==5285== Releasing lock...
[2025-03-09 23:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:15:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:15:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:15:15] Production.INFO: call_cost start
[2025-03-09 23:15:15] Production.INFO: call_cost end
[2025-03-09 23:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:15:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:15:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:15:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:15:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:15:16] Production.INFO: ==5281== Releasing lock...
[2025-03-09 23:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:15:18] Production.INFO: count ==761
[2025-03-09 23:15:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:15:05 - End Time 2025-03-09 23:15:05
[2025-03-09 23:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645471', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645471', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645471', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645471', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:15:18] Production.INFO: ProcessCDR(1,14645471,1,1,2)
[2025-03-09 23:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645471', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645471', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:15:21] Production.INFO: ==5289== Releasing lock...
[2025-03-09 23:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:15:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:16:01] Production.INFO: ==5344== Lock acquired, processing the job...
[2025-03-10 03:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:16:01] Production.INFO: neon service started
[2025-03-10 03:16:01] Production.INFO: neon service started
[2025-03-10 03:16:01] Production.INFO: ==5344== Releasing lock...
[2025-03-10 03:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:16:01] Production.INFO: ==5348== Lock acquired, processing the job...
[2025-03-10 03:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:16:01] Production.INFO: ==5348== Releasing lock...
[2025-03-10 03:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:16:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:16:02] Production.INFO: ==5346== Lock acquired, processing the job...
[2025-03-09 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:16:02] Production.INFO: ==5346== Releasing lock...
[2025-03-09 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:16:03] Production.INFO: ==5352== Lock acquired, processing the job...
[2025-03-09 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:16:03] Production.INFO: ==5354== Lock acquired, processing the job...
[2025-03-09 23:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:16:03] Production.INFO: ==5356== Lock acquired, processing the job...
[2025-03-09 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:16:03] Production.INFO: Account Balance Start.
[2025-03-09 23:16:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:16:03] Production.INFO: 117
[2025-03-09 23:16:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:16:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:16:03] Production.INFO: ==5350== Lock acquired, processing the job...
[2025-03-09 23:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:16:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:16:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:16:03] Production.INFO: Total Charge 0
[2025-03-09 23:16:03] Production.INFO: ==5358== Lock acquired, processing the job...
[2025-03-09 23:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:16:03] Production.INFO: CreateAllLog End
[2025-03-09 23:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:16:03] Production.INFO: ==5352== Releasing lock...
[2025-03-09 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:16:03] Production.INFO: ==5361== Lock acquired, processing the job...
[2025-03-09 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:16:03] Production.INFO: Account Balance End.
[2025-03-09 23:16:03] Production.ERROR: CronJobId end 12
[2025-03-09 23:16:03] Production.INFO: ==5356== Releasing lock...
[2025-03-09 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:16:03] Production.ERROR: done
[2025-03-09 23:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 23:16:03] Production.INFO: count ==13
[2025-03-09 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-03-09 23:16:04] Production.INFO: count ==21
[2025-03-09 23:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645475') start
[2025-03-09 23:16:04] Production.ERROR: done
[2025-03-09 23:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645475') end
[2025-03-09 23:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:16:04] Production.INFO: 1
[2025-03-09 23:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:16:04] Production.INFO: ==5361== Releasing lock...
[2025-03-09 23:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:16:05
[end_date_ymd] => 2025-03-09 23:16:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:16:05' and `end` < '2025-03-09 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-03-09 23:16:12] Production.ERROR: CronJobId end10
[2025-03-09 23:16:12] Production.INFO: ==5354== Releasing lock...
[2025-03-09 23:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:16:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:16:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:16:13] Production.INFO: call_cost start
[2025-03-09 23:16:13] Production.INFO: call_cost end
[2025-03-09 23:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:16:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:16:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:16:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:16:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:16:14] Production.INFO: ==5350== Releasing lock...
[2025-03-09 23:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:16:17] Production.INFO: count ==760
[2025-03-09 23:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:16:05 - End Time 2025-03-09 23:16:05
[2025-03-09 23:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645476', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645476', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645476', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645476', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:16:17] Production.INFO: ProcessCDR(1,14645476,1,1,2)
[2025-03-09 23:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645476', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645476', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:16:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:16:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:16:20] Production.INFO: ==5358== Releasing lock...
[2025-03-09 23:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:16:20] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:17:02] Production.INFO: ==5418== Lock acquired, processing the job...
[2025-03-10 03:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:17:02] Production.INFO: neon service started
[2025-03-10 03:17:02] Production.INFO: neon service started
[2025-03-10 03:17:02] Production.INFO: ==5418== Releasing lock...
[2025-03-10 03:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:17:02] Production.INFO: ==5420== Lock acquired, processing the job...
[2025-03-09 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:17:02] Production.INFO: ==5420== Releasing lock...
[2025-03-09 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:17:02] Production.INFO: ==5422== Lock acquired, processing the job...
[2025-03-10 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:17:02] Production.INFO: ==5422== Releasing lock...
[2025-03-10 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:17:03] Production.INFO: ==5424== Lock acquired, processing the job...
[2025-03-09 23:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:17:03] Production.INFO: ==5432== Lock acquired, processing the job...
[2025-03-09 23:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:17:03] Production.INFO: ==5426== Lock acquired, processing the job...
[2025-03-09 23:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:17:04] Production.INFO: ==5428== Lock acquired, processing the job...
[2025-03-09 23:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:17:04] Production.INFO: ==5430== Lock acquired, processing the job...
[2025-03-09 23:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:17:04] Production.INFO: ==5434== Lock acquired, processing the job...
[2025-03-09 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:17:04] Production.ERROR: done
[2025-03-09 23:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:17:04] Production.INFO: Account Balance Start.
[2025-03-09 23:17:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:17:04] Production.INFO: 117
[2025-03-09 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-03-09 23:17:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:17:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:17:04] Production.INFO: count ==13
[2025-03-09 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-03-09 23:17:04] Production.INFO: count ==21
[2025-03-09 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645479') start
[2025-03-09 23:17:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:17:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:17:04] Production.ERROR: done
[2025-03-09 23:17:04] Production.INFO: ==5426== Releasing lock...
[2025-03-09 23:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645479') end
[2025-03-09 23:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:17:04] Production.INFO: 1
[2025-03-09 23:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:17:04] Production.INFO: Total Charge 0
[2025-03-09 23:17:04] Production.INFO: CreateAllLog End
[2025-03-09 23:17:04] Production.INFO: ==5434== Releasing lock...
[2025-03-09 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:17:04] Production.INFO: Account Balance End.
[2025-03-09 23:17:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:17:04] Production.INFO: ==5430== Releasing lock...
[2025-03-09 23:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:17:05
[end_date_ymd] => 2025-03-09 23:17:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:17:05' and `end` < '2025-03-09 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-03-09 23:17:13] Production.ERROR: CronJobId end10
[2025-03-09 23:17:13] Production.INFO: ==5428== Releasing lock...
[2025-03-09 23:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:17:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:17:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:17:15] Production.INFO: call_cost start
[2025-03-09 23:17:15] Production.INFO: call_cost end
[2025-03-09 23:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:17:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:17:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:17:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:17:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:17:16] Production.INFO: ==5424== Releasing lock...
[2025-03-09 23:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:17:17] Production.INFO: count ==763
[2025-03-09 23:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:17:05 - End Time 2025-03-09 23:17:05
[2025-03-09 23:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645481', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645481', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645481', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645481', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:17:17] Production.INFO: ProcessCDR(1,14645481,1,1,2)
[2025-03-09 23:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645481', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645481', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:17:21] Production.INFO: ==5432== Releasing lock...
[2025-03-09 23:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:17:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:18:01] Production.INFO: ==5495== Lock acquired, processing the job...
[2025-03-10 03:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:18:01] Production.INFO: neon service started
[2025-03-10 03:18:01] Production.INFO: neon service started
[2025-03-10 03:18:01] Production.INFO: ==5495== Releasing lock...
[2025-03-10 03:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:18:02] Production.INFO: ==5497== Lock acquired, processing the job...
[2025-03-09 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:18:02] Production.INFO: ==5499== Lock acquired, processing the job...
[2025-03-10 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:18:02] Production.INFO: ==5499== Releasing lock...
[2025-03-10 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:18:02] Production.INFO: ==5497== Releasing lock...
[2025-03-09 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:18:02] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:18:03] Production.INFO: ==5501== Lock acquired, processing the job...
[2025-03-09 23:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:18:03] Production.INFO: ==5503== Lock acquired, processing the job...
[2025-03-09 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:18:03] Production.INFO: ==5505== Lock acquired, processing the job...
[2025-03-09 23:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:18:03] Production.INFO: ==5508== Lock acquired, processing the job...
[2025-03-09 23:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:18:03] Production.INFO: ==5503== Releasing lock...
[2025-03-09 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:18:03] Production.INFO: Account Balance Start.
[2025-03-09 23:18:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:18:03] Production.INFO: 117
[2025-03-09 23:18:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:18:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:18:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:18:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:18:03] Production.INFO: ==5510== Lock acquired, processing the job...
[2025-03-09 23:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:18:03] Production.INFO: ==5512== Lock acquired, processing the job...
[2025-03-09 23:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:18:03] Production.INFO: Total Charge 0
[2025-03-09 23:18:03] Production.INFO: CreateAllLog End
[2025-03-09 23:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23: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-03-09 23:18:03] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:18:03] Production.INFO: count ==21
[2025-03-09 23:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645485') start
[2025-03-09 23:18:04] Production.INFO: Account Balance End.
[2025-03-09 23:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645485') end
[2025-03-09 23:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:18:04] Production.INFO: 1
[2025-03-09 23:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:18:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:18:04] Production.INFO: ==5508== Releasing lock...
[2025-03-09 23:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:18:04] Production.ERROR: done
[2025-03-09 23:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:18:04] Production.INFO: ==5512== Releasing lock...
[2025-03-09 23:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:18:04] Production.ERROR: done
[2025-03-09 23:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:18:05
[end_date_ymd] => 2025-03-09 23:18:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:18:05' and `end` < '2025-03-09 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-03-09 23:18:11] Production.ERROR: CronJobId end10
[2025-03-09 23:18:11] Production.INFO: ==5505== Releasing lock...
[2025-03-09 23:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:18:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:18:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:18:14] Production.INFO: call_cost start
[2025-03-09 23:18:14] Production.INFO: call_cost end
[2025-03-09 23:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:18:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:18:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:18:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:18:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:18:15] Production.INFO: ==5501== Releasing lock...
[2025-03-09 23:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:18:17] Production.INFO: count ==766
[2025-03-09 23:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:18:05 - End Time 2025-03-09 23:18:05
[2025-03-09 23:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645486', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645486', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645486', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645486', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:18:17] Production.INFO: ProcessCDR(1,14645486,1,1,2)
[2025-03-09 23:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645486', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645486', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:18:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:18:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:18:20] Production.INFO: ==5510== Releasing lock...
[2025-03-09 23:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:18:20] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:19:02] Production.INFO: ==5568== Lock acquired, processing the job...
[2025-03-10 03:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:19:02] Production.INFO: neon service started
[2025-03-10 03:19:02] Production.INFO: neon service started
[2025-03-10 03:19:02] Production.INFO: ==5568== Releasing lock...
[2025-03-10 03:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:19:02] Production.INFO: ==5570== Lock acquired, processing the job...
[2025-03-09 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:19:02] Production.INFO: ==5570== Releasing lock...
[2025-03-09 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:19:02] Production.INFO: ==5572== Lock acquired, processing the job...
[2025-03-10 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:19:02] Production.INFO: ==5572== Releasing lock...
[2025-03-10 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:19:03] Production.INFO: ==5574== Lock acquired, processing the job...
[2025-03-09 23:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:19:03] Production.INFO: ==5578== Lock acquired, processing the job...
[2025-03-09 23:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:19:03] Production.INFO: ==5576== Lock acquired, processing the job...
[2025-03-09 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:19:03] Production.INFO: ==5584== Lock acquired, processing the job...
[2025-03-09 23:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:19:03] Production.INFO: ==5580== Lock acquired, processing the job...
[2025-03-09 23:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:19:03] Production.INFO: ==5582== Lock acquired, processing the job...
[2025-03-09 23:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:19:03] Production.INFO: Account Balance Start.
[2025-03-09 23:19:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:19:03] Production.INFO: 117
[2025-03-09 23:19:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:19:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:19:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:19:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:19:03] Production.INFO: ==5576== Releasing lock...
[2025-03-09 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 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-03-09 23:19:04] Production.INFO: Total Charge 0
[2025-03-09 23:19:04] Production.INFO: count ==13
[2025-03-09 23:19:04] Production.INFO: CreateAllLog End
[2025-03-09 23: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-03-09 23:19:04] Production.INFO: count ==21
[2025-03-09 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645490') start
[2025-03-09 23:19:04] Production.ERROR: done
[2025-03-09 23:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645490') end
[2025-03-09 23:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:19:04] Production.INFO: 1
[2025-03-09 23:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:19:04] Production.INFO: Account Balance End.
[2025-03-09 23:19:04] Production.INFO: ==5584== Releasing lock...
[2025-03-09 23:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:19:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:19:04] Production.INFO: ==5580== Releasing lock...
[2025-03-09 23:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:19:04] Production.ERROR: done
[2025-03-09 23:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:19:05
[end_date_ymd] => 2025-03-09 23:19:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:19:05' and `end` < '2025-03-09 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-03-09 23:19:12] Production.ERROR: CronJobId end10
[2025-03-09 23:19:12] Production.INFO: ==5578== Releasing lock...
[2025-03-09 23:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:19:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:19:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:19:14] Production.INFO: call_cost start
[2025-03-09 23:19:14] Production.INFO: call_cost end
[2025-03-09 23:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:19:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:19:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:19:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:19:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:19:15] Production.INFO: ==5574== Releasing lock...
[2025-03-09 23:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:19:17] Production.INFO: count ==767
[2025-03-09 23:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:19:05 - End Time 2025-03-09 23:19:05
[2025-03-09 23:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645491', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645491', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645491', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645491', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:19:17] Production.INFO: ProcessCDR(1,14645491,1,1,2)
[2025-03-09 23:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645491', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645491', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:19:21] Production.INFO: ==5582== Releasing lock...
[2025-03-09 23:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:19:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:20:01] Production.INFO: ==5640== Lock acquired, processing the job...
[2025-03-10 03:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:20:01] Production.INFO: neon service started
[2025-03-10 03:20:01] Production.INFO: neon service started
[2025-03-10 03:20:01] Production.INFO: ==5640== Releasing lock...
[2025-03-10 03:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:20:01] Production.INFO: ==5644== Lock acquired, processing the job...
[2025-03-10 03:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:20:01] Production.INFO: ==5644== Releasing lock...
[2025-03-10 03:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:20:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:20:01] Production.INFO: ==5642== Lock acquired, processing the job...
[2025-03-09 23:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:20:02] Production.INFO: ==5642== Releasing lock...
[2025-03-09 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:20:03] Production.INFO: ==5651== Lock acquired, processing the job...
[2025-03-09 23:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:20:03] Production.INFO: ==5647== Lock acquired, processing the job...
[2025-03-09 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 23:20:03] Production.INFO: ==5653== Lock acquired, processing the job...
[2025-03-09 23:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 23:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 23:20:03] Production.ERROR: CronJob PID - 5651
[2025-03-09 23:20:03] Production.ERROR: CronJob Title - Account Block
[2025-03-09 23:20:03] Production.ERROR: CronJob ID - 7
[2025-03-09 23:20:03] Production.ERROR: CronJob Last Run Time 2025-03-09 23:20:00
[2025-03-09 23:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 23:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 23:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 23:20:03] Production.ERROR: CronJob PID - 5653
[2025-03-09 23:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-09 23:20:03] Production.ERROR: CronJob ID - 10
[2025-03-09 23:20:03] Production.ERROR: CronJob Last Run Time 2025-03-09 23:20:00
[2025-03-09 23:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 23:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 23:20:03] Production.INFO: ==5649== Lock acquired, processing the job...
[2025-03-09 23:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 23:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:20:03] Production.INFO: ==5647== Releasing lock...
[2025-03-09 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 23:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 23:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:20:03] Production.INFO: ==5659== Lock acquired, processing the job...
[2025-03-09 23:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 23:20:03] Production.INFO: ==5655== Lock acquired, processing the job...
[2025-03-09 23:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:20:03] Production.INFO: ==5651== Releasing lock...
[2025-03-09 23:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:20:03] Production.INFO: ==5657== Lock acquired, processing the job...
[2025-03-09 23:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:20:04] Production.INFO: ==5661== Lock acquired, processing the job...
[2025-03-09 23:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:20:04] Production.INFO: Account Balance Start.
[2025-03-09 23:20:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:20:04] Production.INFO: 117
[2025-03-09 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-03-09 23:20:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:20:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:20:04] Production.INFO: count ==13
[2025-03-09 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-03-09 23:20:04] Production.INFO: count ==21
[2025-03-09 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645494') start
[2025-03-09 23:20:04] Production.ERROR: done
[2025-03-09 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645494') end
[2025-03-09 23:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:20:04] Production.INFO: 1
[2025-03-09 23:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:20:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:20:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:20:04] Production.INFO: Total Charge 0
[2025-03-09 23:20:04] Production.INFO: CreateAllLog End
[2025-03-09 23:20:04] Production.INFO: ==5661== Releasing lock...
[2025-03-09 23:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 23:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645496', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 23:20:04] Production.ERROR: done
[2025-03-09 23:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:20:04] Production.ERROR: done
[2025-03-09 23:20:04] Production.INFO: Account Balance End.
[2025-03-09 23:20:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:20:04] Production.INFO: ==5655== Releasing lock...
[2025-03-09 23:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:20:06
[end_date_ymd] => 2025-03-09 23:20:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:20:06' and `end` < '2025-03-09 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-03-09 23:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645496', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 23:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 23:20:08] Production.INFO: ProcessCDR(1,14645496,1,1,2)
[2025-03-09 23:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645496,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645496,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:20:08] Production.INFO: ==5659== Releasing lock...
[2025-03-09 23:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 23:20:08] Production.INFO: 26 MB #Memory Used#
[2025-03-09 23:20:13] Production.ERROR: CronJobId end10
[2025-03-09 23:20:13] Production.INFO: ==5653== Releasing lock...
[2025-03-09 23:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:20:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:20:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:20:15] Production.INFO: call_cost start
[2025-03-09 23:20:15] Production.INFO: call_cost end
[2025-03-09 23:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:20:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:20:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:20:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:20:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:20:16] Production.INFO: ==5649== Releasing lock...
[2025-03-09 23:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:20:18] Production.INFO: count ==763
[2025-03-09 23:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:20:06 - End Time 2025-03-09 23:20:06
[2025-03-09 23:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645497', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645497', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645497', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645497', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:20:18] Production.INFO: ProcessCDR(1,14645497,1,1,2)
[2025-03-09 23:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645497', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645497', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:20:22] Production.INFO: ==5657== Releasing lock...
[2025-03-09 23:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:20:22] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:21:01] Production.INFO: ==5752== Lock acquired, processing the job...
[2025-03-10 03:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:21:01] Production.INFO: neon service started
[2025-03-10 03:21:01] Production.INFO: neon service started
[2025-03-10 03:21:01] Production.INFO: ==5752== Releasing lock...
[2025-03-10 03:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:21:02] Production.INFO: ==5755== Lock acquired, processing the job...
[2025-03-09 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:21:02] Production.INFO: ==5755== Releasing lock...
[2025-03-09 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:21:02] Production.INFO: ==5757== Lock acquired, processing the job...
[2025-03-10 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:21:02] Production.INFO: ==5757== Releasing lock...
[2025-03-10 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:21:03] Production.INFO: ==5765== Lock acquired, processing the job...
[2025-03-09 23:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:21:03] Production.INFO: Account Balance Start.
[2025-03-09 23:21:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:21:03] Production.INFO: 117
[2025-03-09 23:21:03] Production.INFO: ==5769== Lock acquired, processing the job...
[2025-03-09 23:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:21:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:21:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:21:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:21:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:21:03] Production.INFO: Total Charge 0
[2025-03-09 23:21:03] Production.INFO: ==5759== Lock acquired, processing the job...
[2025-03-09 23:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 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-03-09 23:21:03] Production.INFO: ==5761== Lock acquired, processing the job...
[2025-03-09 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:21:03] Production.INFO: CreateAllLog End
[2025-03-09 23:21:03] Production.INFO: count ==13
[2025-03-09 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-03-09 23:21:03] Production.INFO: count ==21
[2025-03-09 23:21:03] Production.INFO: ==5763== Lock acquired, processing the job...
[2025-03-09 23:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645499') start
[2025-03-09 23:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:21:03] Production.INFO: ==5767== Lock acquired, processing the job...
[2025-03-09 23:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:21:03] Production.INFO: Account Balance End.
[2025-03-09 23:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645499') end
[2025-03-09 23:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:21:03] Production.INFO: 1
[2025-03-09 23:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:21:04] Production.INFO: ==5769== Releasing lock...
[2025-03-09 23:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:21:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:21:04] Production.INFO: ==5765== Releasing lock...
[2025-03-09 23:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:21:04] Production.INFO: ==5761== Releasing lock...
[2025-03-09 23:21:04] Production.ERROR: done
[2025-03-09 23:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:21:04] Production.ERROR: done
[2025-03-09 23:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:21:05
[end_date_ymd] => 2025-03-09 23:21:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:21:05' and `end` < '2025-03-09 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-03-09 23:21:12] Production.ERROR: CronJobId end10
[2025-03-09 23:21:12] Production.INFO: ==5763== Releasing lock...
[2025-03-09 23:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:21:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:21:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:21:14] Production.INFO: call_cost start
[2025-03-09 23:21:14] Production.INFO: call_cost end
[2025-03-09 23:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:21:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:21:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:21:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:21:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:21:15] Production.INFO: ==5759== Releasing lock...
[2025-03-09 23:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:21:17] Production.INFO: count ==728
[2025-03-09 23:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:21:05 - End Time 2025-03-09 23:21:05
[2025-03-09 23:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645502', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645502', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645502', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645502', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:21:17] Production.INFO: ProcessCDR(1,14645502,1,1,2)
[2025-03-09 23:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645502', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645502', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:21:20] Production.INFO: ==5767== Releasing lock...
[2025-03-09 23:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:21:20] Production.INFO: 33 MB #Memory Used#
[2025-03-10 03:22:02] Production.INFO: ==5827== Lock acquired, processing the job...
[2025-03-10 03:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:22:02] Production.INFO: neon service started
[2025-03-10 03:22:02] Production.INFO: neon service started
[2025-03-10 03:22:02] Production.INFO: ==5827== Releasing lock...
[2025-03-10 03:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:22:02] Production.INFO: ==5831== Lock acquired, processing the job...
[2025-03-10 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:22:02] Production.INFO: ==5831== Releasing lock...
[2025-03-10 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:22:02] Production.INFO: ==5829== Lock acquired, processing the job...
[2025-03-09 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:22:03] Production.INFO: ==5829== Releasing lock...
[2025-03-09 23:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:22:03] Production.INFO: ==5834== Lock acquired, processing the job...
[2025-03-09 23:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:22:03] Production.INFO: ==5836== Lock acquired, processing the job...
[2025-03-09 23:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:22:03] Production.INFO: ==5840== Lock acquired, processing the job...
[2025-03-09 23:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:22:04] Production.INFO: Account Balance Start.
[2025-03-09 23:22:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:22:04] Production.INFO: 117
[2025-03-09 23:22:04] Production.INFO: ==5838== Lock acquired, processing the job...
[2025-03-09 23:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:22:04] Production.INFO: ==5844== Lock acquired, processing the job...
[2025-03-09 23:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:22:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:22:04] Production.INFO: ==5842== Lock acquired, processing the job...
[2025-03-09 23:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:22:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:22:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:22:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 23:22:04] Production.INFO: ==5836== Releasing lock...
[2025-03-09 23:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:22:04] Production.INFO: Total Charge 0
[2025-03-09 23:22:04] Production.INFO: CreateAllLog End
[2025-03-09 23:22:04] Production.INFO: count ==13
[2025-03-09 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-03-09 23:22:04] Production.INFO: count ==21
[2025-03-09 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645506') start
[2025-03-09 23:22:04] Production.ERROR: done
[2025-03-09 23:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645506') end
[2025-03-09 23:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:22:04] Production.INFO: 1
[2025-03-09 23:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:22:04] Production.INFO: Account Balance End.
[2025-03-09 23:22:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:22:04] Production.INFO: ==5840== Releasing lock...
[2025-03-09 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:22:05] Production.INFO: ==5844== Releasing lock...
[2025-03-09 23:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:22:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:22:05] Production.ERROR: done
[2025-03-09 23:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:22:05
[end_date_ymd] => 2025-03-09 23:22:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:22:05' and `end` < '2025-03-09 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-03-09 23: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: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-03-09 23:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:22:12] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:22:12] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:22:12] Production.ERROR: CronJobId end10
[2025-03-09 23:22:12] Production.INFO: ==5838== Releasing lock...
[2025-03-09 23:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:22:13] Production.INFO: call_cost start
[2025-03-09 23:22:13] Production.INFO: call_cost end
[2025-03-09 23:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:22:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:22:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:22:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:22:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:22:14] Production.INFO: ==5834== Releasing lock...
[2025-03-09 23:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:22:18] Production.INFO: count ==732
[2025-03-09 23:22:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:22:05 - End Time 2025-03-09 23:22:05
[2025-03-09 23:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645507', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645507', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645507', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645507', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:22:18] Production.INFO: ProcessCDR(1,14645507,1,1,2)
[2025-03-09 23:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645507', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645507', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:22:21] Production.INFO: ==5842== Releasing lock...
[2025-03-09 23:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:22:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:23:01] Production.INFO: ==5899== Lock acquired, processing the job...
[2025-03-10 03:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:23:01] Production.INFO: neon service started
[2025-03-10 03:23:01] Production.INFO: neon service started
[2025-03-10 03:23:01] Production.INFO: ==5899== Releasing lock...
[2025-03-10 03:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:23:02] Production.INFO: ==5903== Lock acquired, processing the job...
[2025-03-10 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:23:02] Production.INFO: ==5903== Releasing lock...
[2025-03-10 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:23:02] Production.INFO: ==5901== Lock acquired, processing the job...
[2025-03-09 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:23:02] Production.INFO: ==5901== Releasing lock...
[2025-03-09 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:23:03] Production.INFO: ==5910== Lock acquired, processing the job...
[2025-03-09 23:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:23:03] Production.INFO: ==5906== Lock acquired, processing the job...
[2025-03-09 23:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:23:03] Production.INFO: ==5916== Lock acquired, processing the job...
[2025-03-09 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:23:03] Production.INFO: ==5908== Lock acquired, processing the job...
[2025-03-09 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23: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-03-09 23:23:03] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:23:03] Production.INFO: count ==21
[2025-03-09 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645508') start
[2025-03-09 23:23:03] Production.INFO: ==5914== Lock acquired, processing the job...
[2025-03-09 23:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:23:03] Production.INFO: ==5912== Lock acquired, processing the job...
[2025-03-09 23:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645508') end
[2025-03-09 23:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:23:03] Production.INFO: 1
[2025-03-09 23:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:23:04] Production.INFO: Account Balance Start.
[2025-03-09 23:23:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:23:04] Production.INFO: 117
[2025-03-09 23:23:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:23:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:23:04] Production.INFO: ==5916== Releasing lock...
[2025-03-09 23:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:23:04] Production.INFO: ==5908== Releasing lock...
[2025-03-09 23:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:23:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:23:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:23:04] Production.INFO: Total Charge 0
[2025-03-09 23:23:04] Production.INFO: CreateAllLog End
[2025-03-09 23:23:04] Production.ERROR: done
[2025-03-09 23:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:23:04] Production.INFO: Account Balance End.
[2025-03-09 23:23:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:23:04] Production.INFO: ==5912== Releasing lock...
[2025-03-09 23:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:23:04] Production.ERROR: done
[2025-03-09 23:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:23:05
[end_date_ymd] => 2025-03-09 23:23:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:23:05' and `end` < '2025-03-09 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-03-09 23:23:12] Production.ERROR: CronJobId end10
[2025-03-09 23:23:12] Production.INFO: ==5910== Releasing lock...
[2025-03-09 23:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:23:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:23:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:23:15] Production.INFO: call_cost start
[2025-03-09 23:23:15] Production.INFO: call_cost end
[2025-03-09 23:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:23:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:23:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:23:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:23:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:23:16] Production.INFO: ==5906== Releasing lock...
[2025-03-09 23:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:23:17] Production.INFO: count ==729
[2025-03-09 23:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:23:05 - End Time 2025-03-09 23:23:05
[2025-03-09 23:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645512', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645512', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645512', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645512', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:23:17] Production.INFO: ProcessCDR(1,14645512,1,1,2)
[2025-03-09 23:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645512', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645512', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:23:21] Production.INFO: ==5914== Releasing lock...
[2025-03-09 23:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:23:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:24:02] Production.INFO: ==5970== Lock acquired, processing the job...
[2025-03-10 03:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:24:02] Production.INFO: neon service started
[2025-03-10 03:24:02] Production.INFO: neon service started
[2025-03-10 03:24:02] Production.INFO: ==5970== Releasing lock...
[2025-03-10 03:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:24:03] Production.INFO: ==5975== Lock acquired, processing the job...
[2025-03-10 03:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:24:03] Production.INFO: ==5975== Releasing lock...
[2025-03-10 03:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:24:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:24:03] Production.INFO: ==5973== Lock acquired, processing the job...
[2025-03-09 23:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:24:03] Production.INFO: ==5973== Releasing lock...
[2025-03-09 23:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:24:04] Production.INFO: ==5981== Lock acquired, processing the job...
[2025-03-09 23:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:24:04] Production.INFO: ==5983== Lock acquired, processing the job...
[2025-03-09 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:24:04] Production.INFO: ==5979== Lock acquired, processing the job...
[2025-03-09 23:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:24:04] Production.INFO: Account Balance Start.
[2025-03-09 23:24:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:24:04] Production.INFO: 117
[2025-03-09 23:24:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:24:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:24:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:24:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:24:04] Production.INFO: ==5977== Lock acquired, processing the job...
[2025-03-09 23:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:24:04] Production.INFO: ==5987== Lock acquired, processing the job...
[2025-03-09 23:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:24:04] Production.INFO: Total Charge 0
[2025-03-09 23:24:04] Production.INFO: CreateAllLog End
[2025-03-09 23:24:04] Production.INFO: ==5985== Lock acquired, processing the job...
[2025-03-09 23:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 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-03-09 23:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:24:04] Production.INFO: count ==13
[2025-03-09 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-03-09 23:24:04] Production.INFO: count ==21
[2025-03-09 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645516') start
[2025-03-09 23:24:04] Production.INFO: Account Balance End.
[2025-03-09 23:24:04] Production.INFO: ==5979== Releasing lock...
[2025-03-09 23:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:24:05] Production.ERROR: CronJobId end 12
[2025-03-09 23:24:05] Production.INFO: ==5983== Releasing lock...
[2025-03-09 23:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14645516') end
[2025-03-09 23:24:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:24:05] Production.INFO: 1
[2025-03-09 23:24:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:24:05] Production.INFO: ==5987== Releasing lock...
[2025-03-09 23:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:24:05] Production.ERROR: done
[2025-03-09 23:24:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:24:05] Production.ERROR: done
[2025-03-09 23:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:24:06
[end_date_ymd] => 2025-03-09 23:24:06
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:24:06' and `end` < '2025-03-09 23: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-03-09 23:24:13] Production.ERROR: CronJobId end10
[2025-03-09 23:24:13] Production.INFO: ==5981== Releasing lock...
[2025-03-09 23:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:24:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:24:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:24:15] Production.INFO: call_cost start
[2025-03-09 23:24:15] Production.INFO: call_cost end
[2025-03-09 23:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:24:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:24:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:24:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:24:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:24:16] Production.INFO: ==5977== Releasing lock...
[2025-03-09 23:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:24:18] Production.INFO: count ==720
[2025-03-09 23:24:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:24:06 - End Time 2025-03-09 23:24:06
[2025-03-09 23:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645517', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645517', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645517', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645517', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:24:18] Production.INFO: ProcessCDR(1,14645517,1,1,2)
[2025-03-09 23:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645517', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645517', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:24:21] Production.INFO: ==5985== Releasing lock...
[2025-03-09 23:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:24:21] Production.INFO: 32.75 MB #Memory Used#
[2025-03-10 03:25:01] Production.INFO: ==6044== Lock acquired, processing the job...
[2025-03-10 03:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:25:01] Production.INFO: neon service started
[2025-03-10 03:25:01] Production.INFO: neon service started
[2025-03-10 03:25:01] Production.INFO: ==6044== Releasing lock...
[2025-03-10 03:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:25:02] Production.INFO: ==6046== Lock acquired, processing the job...
[2025-03-09 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:25:02] Production.INFO: ==6048== Lock acquired, processing the job...
[2025-03-10 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:25:02] Production.INFO: ==6048== Releasing lock...
[2025-03-10 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:25:02] Production.INFO: ==6046== Releasing lock...
[2025-03-09 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:25:03] Production.INFO: ==6055== Lock acquired, processing the job...
[2025-03-09 23:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:25:03] Production.INFO: ==6053== Lock acquired, processing the job...
[2025-03-09 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:25:03] Production.INFO: ==6059== Lock acquired, processing the job...
[2025-03-09 23:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:25:03] Production.INFO: ==6051== Lock acquired, processing the job...
[2025-03-09 23:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:25:03] Production.INFO: ==6053== Releasing lock...
[2025-03-09 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:25:03] Production.INFO: ==6057== Lock acquired, processing the job...
[2025-03-09 23:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:25:04] Production.INFO: ==6061== Lock acquired, processing the job...
[2025-03-09 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:25:04] Production.INFO: Account Balance Start.
[2025-03-09 23:25:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:25:04] Production.INFO: 117
[2025-03-09 23:25:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:25:04] Production.INFO: Reseller ==> 0
[2025-03-09 23: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-03-09 23:25:04] Production.INFO: count ==13
[2025-03-09 23:25:04] Production.ERROR: done
[2025-03-09 23:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:25:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:25:04] Production.INFO: Reseller ==> 0
[2025-03-09 23: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-03-09 23:25:04] Production.INFO: count ==21
[2025-03-09 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645521') start
[2025-03-09 23:25:04] Production.INFO: Total Charge 0
[2025-03-09 23:25:04] Production.INFO: CreateAllLog End
[2025-03-09 23:25:04] Production.ERROR: done
[2025-03-09 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645521') end
[2025-03-09 23:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:25:04] Production.INFO: 1
[2025-03-09 23:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:25:04] Production.INFO: ==6061== Releasing lock...
[2025-03-09 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:25:04] Production.INFO: Account Balance End.
[2025-03-09 23:25:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:25:04] Production.INFO: ==6057== Releasing lock...
[2025-03-09 23:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:25:05
[end_date_ymd] => 2025-03-09 23:25:05
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:25:05' and `end` < '2025-03-09 23: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-03-09 23:25:12] Production.ERROR: CronJobId end10
[2025-03-09 23:25:12] Production.INFO: ==6055== Releasing lock...
[2025-03-09 23:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:25:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:25:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:25:15] Production.INFO: call_cost start
[2025-03-09 23:25:15] Production.INFO: call_cost end
[2025-03-09 23:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:25:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:25:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:25:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:25:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:25:16] Production.INFO: ==6051== Releasing lock...
[2025-03-09 23:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:25:17] Production.INFO: count ==724
[2025-03-09 23:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:25:05 - End Time 2025-03-09 23:25:05
[2025-03-09 23:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645522', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645522', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645522', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645522', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:25:17] Production.INFO: ProcessCDR(1,14645522,1,1,2)
[2025-03-09 23:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645522', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645522', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:25:21] Production.INFO: ==6059== Releasing lock...
[2025-03-09 23:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:25:21] Production.INFO: 33 MB #Memory Used#
[2025-03-10 03:26:01] Production.INFO: ==6115== Lock acquired, processing the job...
[2025-03-10 03:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:26:01] Production.INFO: neon service started
[2025-03-10 03:26:01] Production.INFO: neon service started
[2025-03-10 03:26:01] Production.INFO: ==6115== Releasing lock...
[2025-03-10 03:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:26:01] Production.INFO: ==6117== Lock acquired, processing the job...
[2025-03-09 23:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:26:02] Production.INFO: ==6117== Releasing lock...
[2025-03-09 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:26:02] Production.INFO: ==6119== Lock acquired, processing the job...
[2025-03-10 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:26:02] Production.INFO: ==6119== Releasing lock...
[2025-03-10 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:26:03] Production.INFO: ==6125== Lock acquired, processing the job...
[2025-03-09 23:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:26:03] Production.INFO: ==6131== Lock acquired, processing the job...
[2025-03-09 23:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:26:03] Production.INFO: ==6121== Lock acquired, processing the job...
[2025-03-09 23:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:26:03] Production.INFO: ==6123== Lock acquired, processing the job...
[2025-03-09 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23: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-03-09 23:26:03] Production.INFO: count ==13
[2025-03-09 23:26:03] Production.INFO: ==6127== Lock acquired, processing the job...
[2025-03-09 23:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23: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-03-09 23:26:03] Production.INFO: count ==21
[2025-03-09 23:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645523') start
[2025-03-09 23:26:03] Production.INFO: ==6129== Lock acquired, processing the job...
[2025-03-09 23:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645523') end
[2025-03-09 23:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:26:03] Production.INFO: 1
[2025-03-09 23:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:26:03] Production.INFO: ==6131== Releasing lock...
[2025-03-09 23:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:26:03] Production.INFO: Account Balance Start.
[2025-03-09 23:26:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:26:03] Production.INFO: 117
[2025-03-09 23:26:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:26:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:26:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:26:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:26:03] Production.INFO: Total Charge 0
[2025-03-09 23:26:03] Production.INFO: ==6123== Releasing lock...
[2025-03-09 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:26:03] Production.INFO: CreateAllLog End
[2025-03-09 23:26:03] Production.ERROR: done
[2025-03-09 23:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:26:03] Production.ERROR: done
[2025-03-09 23:26:04] Production.INFO: Account Balance End.
[2025-03-09 23:26:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:26:04] Production.INFO: ==6127== Releasing lock...
[2025-03-09 23:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:26:04
[end_date_ymd] => 2025-03-09 23:26:04
[RateCDR] => 1
)
[2025-03-09 23:26: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-03-09 20:26:04' and `end` < '2025-03-09 23:26: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-03-09 23:26:11] Production.ERROR: CronJobId end10
[2025-03-09 23:26:11] Production.INFO: ==6125== Releasing lock...
[2025-03-09 23:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:26:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:26:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:26:13] Production.INFO: call_cost start
[2025-03-09 23:26:13] Production.INFO: call_cost end
[2025-03-09 23:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:26:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:26:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:26:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:26:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:26:14] Production.INFO: ==6121== Releasing lock...
[2025-03-09 23:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:26:16] Production.INFO: count ==723
[2025-03-09 23:26:16] Production.ERROR: pbx CDR StartTime 2025-03-09 20:26:04 - End Time 2025-03-09 23:26:04
[2025-03-09 23:26:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645527', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645527', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645527', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645527', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:26:16] Production.INFO: ProcessCDR(1,14645527,1,1,2)
[2025-03-09 23:26:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:26:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:26:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645527', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645527', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:26:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:26:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:26:20] Production.INFO: ==6129== Releasing lock...
[2025-03-09 23:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:26:20] Production.INFO: 32.75 MB #Memory Used#
[2025-03-10 03:27:01] Production.INFO: ==6186== Lock acquired, processing the job...
[2025-03-10 03:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:27:01] Production.INFO: neon service started
[2025-03-10 03:27:01] Production.INFO: neon service started
[2025-03-10 03:27:01] Production.INFO: ==6186== Releasing lock...
[2025-03-10 03:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:27:02] Production.INFO: ==6188== Lock acquired, processing the job...
[2025-03-09 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:27:02] Production.INFO: ==6188== Releasing lock...
[2025-03-09 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:27:02] Production.INFO: ==6190== Lock acquired, processing the job...
[2025-03-10 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:27:02] Production.INFO: ==6190== Releasing lock...
[2025-03-10 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:27:03] Production.INFO: ==6198== Lock acquired, processing the job...
[2025-03-09 23:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:27:03] Production.INFO: Account Balance Start.
[2025-03-09 23:27:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:27:03] Production.INFO: 117
[2025-03-09 23:27:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:27:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:27:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:27:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:27:03] Production.INFO: Total Charge 0
[2025-03-09 23:27:03] Production.INFO: CreateAllLog End
[2025-03-09 23:27:03] Production.INFO: Account Balance End.
[2025-03-09 23:27:03] Production.INFO: ==6202== Lock acquired, processing the job...
[2025-03-09 23:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:27:03] Production.ERROR: CronJobId end 12
[2025-03-09 23:27:03] Production.INFO: ==6198== Releasing lock...
[2025-03-09 23:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:27:03] Production.INFO: ==6194== Lock acquired, processing the job...
[2025-03-09 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:27:03] Production.INFO: ==6196== Lock acquired, processing the job...
[2025-03-09 23:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:27:03] Production.INFO: ==6192== Lock acquired, processing the job...
[2025-03-09 23:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:27:03] Production.INFO: ==6200== Lock acquired, processing the job...
[2025-03-09 23:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 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-03-09 23:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:27:03] Production.INFO: count ==13
[2025-03-09 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-03-09 23:27:03] Production.INFO: count ==21
[2025-03-09 23:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645529') start
[2025-03-09 23:27:03] Production.INFO: ==6194== Releasing lock...
[2025-03-09 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645529') end
[2025-03-09 23:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:27:04] Production.INFO: 1
[2025-03-09 23:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:27:04] Production.INFO: ==6202== Releasing lock...
[2025-03-09 23:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:27:04] Production.ERROR: done
[2025-03-09 23:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:27:04] Production.ERROR: done
[2025-03-09 23:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:27:05
[end_date_ymd] => 2025-03-09 23:27:05
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:27:05' and `end` < '2025-03-09 23: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-03-09 23:27:12] Production.ERROR: CronJobId end10
[2025-03-09 23:27:12] Production.INFO: ==6196== Releasing lock...
[2025-03-09 23:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:27:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:27:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:27:13] Production.INFO: call_cost start
[2025-03-09 23:27:13] Production.INFO: call_cost end
[2025-03-09 23:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:27:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:27:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:27:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:27:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:27:14] Production.INFO: ==6192== Releasing lock...
[2025-03-09 23:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:27:17] Production.INFO: count ==724
[2025-03-09 23:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:27:05 - End Time 2025-03-09 23:27:05
[2025-03-09 23:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645532', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645532', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645532', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645532', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:27:17] Production.INFO: ProcessCDR(1,14645532,1,1,2)
[2025-03-09 23:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645532', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645532', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:27:22] Production.INFO: ==6200== Releasing lock...
[2025-03-09 23:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:27:22] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:28:02] Production.INFO: ==6257== Lock acquired, processing the job...
[2025-03-10 03:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:28:02] Production.INFO: neon service started
[2025-03-10 03:28:02] Production.INFO: neon service started
[2025-03-10 03:28:02] Production.INFO: ==6257== Releasing lock...
[2025-03-10 03:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:28:02] Production.INFO: ==6261== Lock acquired, processing the job...
[2025-03-10 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:28:02] Production.INFO: ==6261== Releasing lock...
[2025-03-10 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:28:02] Production.INFO: ==6259== Lock acquired, processing the job...
[2025-03-09 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:28:03] Production.INFO: ==6259== Releasing lock...
[2025-03-09 23:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:28:03] Production.INFO: ==6264== Lock acquired, processing the job...
[2025-03-09 23:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:28:03] Production.INFO: ==6272== Lock acquired, processing the job...
[2025-03-09 23:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:28:03] Production.INFO: ==6266== Lock acquired, processing the job...
[2025-03-09 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:28:04] Production.INFO: ==6268== Lock acquired, processing the job...
[2025-03-09 23:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:28:04] Production.INFO: ==6270== Lock acquired, processing the job...
[2025-03-09 23:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:28:04] Production.INFO: ==6274== Lock acquired, processing the job...
[2025-03-09 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:28:04] Production.ERROR: done
[2025-03-09 23:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:28:04] Production.INFO: Account Balance Start.
[2025-03-09 23:28:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:28:04] Production.INFO: 117
[2025-03-09 23: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-03-09 23:28:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:28:04] Production.INFO: ==6266== Releasing lock...
[2025-03-09 23:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:28:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:28:04] Production.INFO: count ==13
[2025-03-09 23:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:28:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23: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-03-09 23:28:04] Production.INFO: count ==21
[2025-03-09 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645535') start
[2025-03-09 23:28:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:28:04] Production.INFO: Total Charge 0
[2025-03-09 23:28:04] Production.INFO: CreateAllLog End
[2025-03-09 23:28:04] Production.ERROR: done
[2025-03-09 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645535') end
[2025-03-09 23:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:28:04] Production.INFO: 1
[2025-03-09 23:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:28:04] Production.INFO: ==6274== Releasing lock...
[2025-03-09 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:28:04] Production.INFO: Account Balance End.
[2025-03-09 23:28:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:28:04] Production.INFO: ==6270== Releasing lock...
[2025-03-09 23:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:28:05
[end_date_ymd] => 2025-03-09 23:28:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:28:05' and `end` < '2025-03-09 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-03-09 23: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: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-03-09 23:28:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:28:11] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:28:11] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:28:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:28:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:28:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:28:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:28:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:28:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:28:11] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:28:11] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:28:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:28:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:28:11] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:28:11] Production.INFO: call_cost start
[2025-03-09 23:28:11] Production.INFO: call_cost end
[2025-03-09 23:28:12] Production.ERROR: CronJobId end10
[2025-03-09 23:28:12] Production.INFO: ==6268== Releasing lock...
[2025-03-09 23:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:28:12] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:28:12] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:28:12] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:28:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:28:13] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:28:13] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:28:13] Production.INFO: ==6264== Releasing lock...
[2025-03-09 23:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:28:17] Production.INFO: count ==724
[2025-03-09 23:28:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:28:05 - End Time 2025-03-09 23:28:05
[2025-03-09 23:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645537', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645537', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645537', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645537', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:28:18] Production.INFO: ProcessCDR(1,14645537,1,1,2)
[2025-03-09 23:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645537', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645537', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:28:21] Production.INFO: ==6272== Releasing lock...
[2025-03-09 23:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:28:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:29:01] Production.INFO: ==6326== Lock acquired, processing the job...
[2025-03-10 03:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:29:01] Production.INFO: neon service started
[2025-03-10 03:29:01] Production.INFO: neon service started
[2025-03-10 03:29:01] Production.INFO: ==6326== Releasing lock...
[2025-03-10 03:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:29:02] Production.INFO: ==6330== Lock acquired, processing the job...
[2025-03-10 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:29:02] Production.INFO: ==6330== Releasing lock...
[2025-03-10 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:29:02] Production.INFO: ==6328== Lock acquired, processing the job...
[2025-03-09 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:29:02] Production.INFO: ==6328== Releasing lock...
[2025-03-09 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:29:03] Production.INFO: ==6333== Lock acquired, processing the job...
[2025-03-09 23:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:29:03] Production.INFO: ==6335== Lock acquired, processing the job...
[2025-03-09 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:29:03] Production.INFO: ==6339== Lock acquired, processing the job...
[2025-03-09 23:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:29:03] Production.INFO: Account Balance Start.
[2025-03-09 23:29:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:29:03] Production.INFO: 117
[2025-03-09 23:29:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:29:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:29:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:29:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:29:03] Production.INFO: Total Charge 0
[2025-03-09 23:29:03] Production.INFO: CreateAllLog End
[2025-03-09 23:29:03] Production.INFO: ==6337== Lock acquired, processing the job...
[2025-03-09 23:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:29:03] Production.INFO: ==6341== Lock acquired, processing the job...
[2025-03-09 23:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:29:03] Production.INFO: ==6343== Lock acquired, processing the job...
[2025-03-09 23:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:29:03] Production.INFO: ==6335== Releasing lock...
[2025-03-09 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:29:03] Production.INFO: Account Balance End.
[2025-03-09 23:29:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:29:04] Production.INFO: ==6339== Releasing lock...
[2025-03-09 23:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23: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-03-09 23:29:04] Production.INFO: count ==13
[2025-03-09 23:29:04] Production.ERROR: done
[2025-03-09 23:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23: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-03-09 23:29:04] Production.INFO: count ==21
[2025-03-09 23:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645541') start
[2025-03-09 23:29:04] Production.ERROR: done
[2025-03-09 23:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645541') end
[2025-03-09 23:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:29:04] Production.INFO: 1
[2025-03-09 23:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:29:04] Production.INFO: ==6343== Releasing lock...
[2025-03-09 23:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:29:05
[end_date_ymd] => 2025-03-09 23:29:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:29:05' and `end` < '2025-03-09 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-03-09 23:29:10] Production.ERROR: CronJobId end10
[2025-03-09 23:29:10] Production.INFO: ==6337== Releasing lock...
[2025-03-09 23:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:29:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:29:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:29:13] Production.INFO: call_cost start
[2025-03-09 23:29:13] Production.INFO: call_cost end
[2025-03-09 23:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:29:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:29:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:29:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:29:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:29:14] Production.INFO: ==6333== Releasing lock...
[2025-03-09 23:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:29:17] Production.INFO: count ==724
[2025-03-09 23:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:29:05 - End Time 2025-03-09 23:29:05
[2025-03-09 23:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645542', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645542', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645542', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645542', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:29:17] Production.INFO: ProcessCDR(1,14645542,1,1,2)
[2025-03-09 23:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645542', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645542', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:29:20] Production.INFO: ==6341== Releasing lock...
[2025-03-09 23:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:29:20] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:30:02] Production.INFO: ==6399== Lock acquired, processing the job...
[2025-03-10 03:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:30:02] Production.INFO: neon service started
[2025-03-10 03:30:02] Production.INFO: neon service started
[2025-03-10 03:30:02] Production.INFO: ==6399== Releasing lock...
[2025-03-10 03:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:30:02] Production.INFO: ==6401== Lock acquired, processing the job...
[2025-03-09 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:30:02] Production.INFO: ==6401== Releasing lock...
[2025-03-09 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:30:03] Production.INFO: ==6403== Lock acquired, processing the job...
[2025-03-10 03:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:30:03] Production.INFO: ==6403== Releasing lock...
[2025-03-10 03:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:30:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:30:04] Production.INFO: ==6410== Lock acquired, processing the job...
[2025-03-09 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:30:04] Production.INFO: ==6406== Lock acquired, processing the job...
[2025-03-09 23:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 23:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 23:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 23:30:04] Production.INFO: ==6406== Releasing lock...
[2025-03-09 23:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 23:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 23:30:04] Production.INFO: ==6408== Lock acquired, processing the job...
[2025-03-09 23:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:30:04] Production.INFO: ==6416== Lock acquired, processing the job...
[2025-03-09 23:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:30:04] Production.INFO: ==6420== Lock acquired, processing the job...
[2025-03-09 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:30:04] Production.INFO: ==6412== Lock acquired, processing the job...
[2025-03-09 23:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:30:04] Production.INFO: ==6410== Releasing lock...
[2025-03-09 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:30:04] Production.INFO: ==6418== Lock acquired, processing the job...
[2025-03-09 23:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 23:30:04] Production.INFO: ==6414== Lock acquired, processing the job...
[2025-03-09 23:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 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-03-09 23:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:30:04] Production.INFO: count ==13
[2025-03-09 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-03-09 23:30:04] Production.INFO: count ==21
[2025-03-09 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645545') start
[2025-03-09 23:30:04] Production.INFO: Account Balance Start.
[2025-03-09 23:30:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:30:04] Production.INFO: 117
[2025-03-09 23:30:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:30:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:30:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:30:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:30:04] Production.INFO: Total Charge 0
[2025-03-09 23:30:04] Production.INFO: CreateAllLog End
[2025-03-09 23:30:04] Production.ERROR: done
[2025-03-09 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645545') end
[2025-03-09 23:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:30:04] Production.INFO: 1
[2025-03-09 23:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:30:05] Production.INFO: ==6420== Releasing lock...
[2025-03-09 23:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:30:05] Production.ERROR: done
[2025-03-09 23:30:05] Production.ERROR: done
[2025-03-09 23:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 23:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645547', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 23:30:05] Production.INFO: Account Balance End.
[2025-03-09 23:30:05] Production.ERROR: CronJobId end 12
[2025-03-09 23:30:05] Production.INFO: ==6414== Releasing lock...
[2025-03-09 23:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:30:06
[end_date_ymd] => 2025-03-09 23:30:06
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:30:06' and `end` < '2025-03-09 23: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-03-09 23:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645547', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 23:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 23:30:09] Production.INFO: ProcessCDR(1,14645547,1,1,2)
[2025-03-09 23:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645547,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645547,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:30:09] Production.INFO: ==6418== Releasing lock...
[2025-03-09 23:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 23:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 23:30:15] Production.ERROR: CronJobId end10
[2025-03-09 23:30:15] Production.INFO: ==6412== Releasing lock...
[2025-03-09 23:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:30:16] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:30:16] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:30:16] Production.INFO: call_cost start
[2025-03-09 23:30:16] Production.INFO: call_cost end
[2025-03-09 23:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:30:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:30:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:30:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:30:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:30:17] Production.INFO: ==6408== Releasing lock...
[2025-03-09 23:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:30:18] Production.INFO: count ==727
[2025-03-09 23:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:30:06 - End Time 2025-03-09 23:30:06
[2025-03-09 23:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645548', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645548', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645548', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645548', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:30:18] Production.INFO: ProcessCDR(1,14645548,1,1,2)
[2025-03-09 23:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645548', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645548', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:30:21] Production.INFO: ==6416== Releasing lock...
[2025-03-09 23:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:30:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:31:01] Production.INFO: ==6472== Lock acquired, processing the job...
[2025-03-10 03:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:31:01] Production.INFO: neon service started
[2025-03-10 03:31:01] Production.INFO: neon service started
[2025-03-10 03:31:01] Production.INFO: ==6472== Releasing lock...
[2025-03-10 03:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:31:01] Production.INFO: ==6476== Lock acquired, processing the job...
[2025-03-10 03:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:31:01] Production.INFO: ==6476== Releasing lock...
[2025-03-10 03:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:31:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:31:02] Production.INFO: ==6474== Lock acquired, processing the job...
[2025-03-09 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:31:02] Production.INFO: ==6474== Releasing lock...
[2025-03-09 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:31:03] Production.INFO: ==6481== Lock acquired, processing the job...
[2025-03-09 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:31:03] Production.INFO: ==6483== Lock acquired, processing the job...
[2025-03-09 23:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:31:03] Production.INFO: ==6478== Lock acquired, processing the job...
[2025-03-09 23:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:31:03] Production.INFO: ==6485== Lock acquired, processing the job...
[2025-03-09 23:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:31:03] Production.INFO: ==6487== Lock acquired, processing the job...
[2025-03-09 23:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:31:03] Production.INFO: ==6489== Lock acquired, processing the job...
[2025-03-09 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:31:03] Production.INFO: Account Balance Start.
[2025-03-09 23:31:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:31:03] Production.INFO: 117
[2025-03-09 23:31:03] Production.INFO: ==6481== Releasing lock...
[2025-03-09 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:31:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:31:03] Production.INFO: Reseller ==> 0
[2025-03-09 23: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-03-09 23:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:31:03] Production.INFO: count ==13
[2025-03-09 23:31:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:31:03] Production.INFO: Reseller ==> 0
[2025-03-09 23: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-03-09 23:31:03] Production.INFO: count ==21
[2025-03-09 23:31:03] Production.INFO: Total Charge 0
[2025-03-09 23:31:03] Production.INFO: CreateAllLog End
[2025-03-09 23:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645552') start
[2025-03-09 23:31:04] Production.ERROR: done
[2025-03-09 23:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645552') end
[2025-03-09 23:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:31:04] Production.INFO: 1
[2025-03-09 23:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:31:04] Production.INFO: ==6489== Releasing lock...
[2025-03-09 23:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:31:04] Production.ERROR: done
[2025-03-09 23:31:04] Production.INFO: Account Balance End.
[2025-03-09 23:31:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:31:04] Production.INFO: ==6485== Releasing lock...
[2025-03-09 23:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:31:05
[end_date_ymd] => 2025-03-09 23:31:05
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:31:05' and `end` < '2025-03-09 23: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-03-09 23:31:12] Production.ERROR: CronJobId end10
[2025-03-09 23:31:12] Production.INFO: ==6483== Releasing lock...
[2025-03-09 23:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:31:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:31:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:31:14] Production.INFO: call_cost start
[2025-03-09 23:31:14] Production.INFO: call_cost end
[2025-03-09 23:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:31:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:31:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:31:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:31:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:31:15] Production.INFO: ==6478== Releasing lock...
[2025-03-09 23:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:31:17] Production.INFO: count ==708
[2025-03-09 23:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:31:05 - End Time 2025-03-09 23:31:05
[2025-03-09 23:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645553', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645553', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645553', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645553', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:31:17] Production.INFO: ProcessCDR(1,14645553,1,1,2)
[2025-03-09 23:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645553', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645553', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:31:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:31:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:31:20] Production.INFO: ==6487== Releasing lock...
[2025-03-09 23:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:31:20] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:32:02] Production.INFO: ==6545== Lock acquired, processing the job...
[2025-03-10 03:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:32:02] Production.INFO: neon service started
[2025-03-10 03:32:02] Production.INFO: neon service started
[2025-03-10 03:32:02] Production.INFO: ==6545== Releasing lock...
[2025-03-10 03:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:32:02] Production.INFO: ==6550== Lock acquired, processing the job...
[2025-03-10 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:32:02] Production.INFO: ==6550== Releasing lock...
[2025-03-10 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:32:02] Production.INFO: ==6548== Lock acquired, processing the job...
[2025-03-09 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:32:03] Production.INFO: ==6548== Releasing lock...
[2025-03-09 23:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:32:03] Production.INFO: ==6556== Lock acquired, processing the job...
[2025-03-09 23:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:32:04] Production.INFO: ==6562== Lock acquired, processing the job...
[2025-03-09 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:32:04] Production.INFO: ==6552== Lock acquired, processing the job...
[2025-03-09 23:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:32:04] Production.INFO: ==6554== Lock acquired, processing the job...
[2025-03-09 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23: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-03-09 23:32:04] Production.INFO: ==6558== Lock acquired, processing the job...
[2025-03-09 23:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:32:04] Production.INFO: ==6560== Lock acquired, processing the job...
[2025-03-09 23:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:32:04] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:32:04] Production.INFO: count ==21
[2025-03-09 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645554') start
[2025-03-09 23:32:04] Production.INFO: Account Balance Start.
[2025-03-09 23:32:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:32:04] Production.INFO: 117
[2025-03-09 23:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:32:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:32:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:32:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:32:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645554') end
[2025-03-09 23:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:32:04] Production.INFO: 1
[2025-03-09 23:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:32:04] Production.INFO: Total Charge 0
[2025-03-09 23:32:04] Production.INFO: CreateAllLog End
[2025-03-09 23:32:04] Production.INFO: ==6562== Releasing lock...
[2025-03-09 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:32:04] Production.INFO: ==6554== Releasing lock...
[2025-03-09 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:32:04] Production.ERROR: done
[2025-03-09 23:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:32:04] Production.INFO: Account Balance End.
[2025-03-09 23:32:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:32:04] Production.INFO: ==6558== Releasing lock...
[2025-03-09 23:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:32:04] Production.ERROR: done
[2025-03-09 23:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:32:05
[end_date_ymd] => 2025-03-09 23:32:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:32:05' and `end` < '2025-03-09 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-03-09 23:32:13] Production.ERROR: CronJobId end10
[2025-03-09 23:32:13] Production.INFO: ==6556== Releasing lock...
[2025-03-09 23:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:32:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:32:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:32:15] Production.INFO: call_cost start
[2025-03-09 23:32:15] Production.INFO: call_cost end
[2025-03-09 23:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:32:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:32:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:32:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:32:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:32:16] Production.INFO: ==6552== Releasing lock...
[2025-03-09 23:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:32:18] Production.INFO: count ==708
[2025-03-09 23:32:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:32:05 - End Time 2025-03-09 23:32:05
[2025-03-09 23:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645558', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645558', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645558', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645558', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:32:18] Production.INFO: ProcessCDR(1,14645558,1,1,2)
[2025-03-09 23:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645558', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645558', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:32:21] Production.INFO: ==6560== Releasing lock...
[2025-03-09 23:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:32:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:33:01] Production.INFO: ==6619== Lock acquired, processing the job...
[2025-03-10 03:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:33:01] Production.INFO: neon service started
[2025-03-10 03:33:01] Production.INFO: neon service started
[2025-03-10 03:33:01] Production.INFO: ==6619== Releasing lock...
[2025-03-10 03:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:33:01] Production.INFO: ==6621== Lock acquired, processing the job...
[2025-03-09 23:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:33:02] Production.INFO: ==6621== Releasing lock...
[2025-03-09 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:33:02] Production.INFO: ==6623== Lock acquired, processing the job...
[2025-03-10 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:33:02] Production.INFO: ==6623== Releasing lock...
[2025-03-10 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:33:03] Production.INFO: ==6625== Lock acquired, processing the job...
[2025-03-09 23:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:33:03] Production.INFO: ==6627== Lock acquired, processing the job...
[2025-03-09 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:33:03] Production.INFO: ==6629== Lock acquired, processing the job...
[2025-03-09 23:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:33:03] Production.INFO: ==6635== Lock acquired, processing the job...
[2025-03-09 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:33:03] Production.INFO: ==6631== Lock acquired, processing the job...
[2025-03-09 23:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:33:03] Production.INFO: ==6633== Lock acquired, processing the job...
[2025-03-09 23:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 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-03-09 23:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:33:03] Production.INFO: Account Balance Start.
[2025-03-09 23:33:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:33:03] Production.INFO: 117
[2025-03-09 23:33:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:33:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:33:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:33:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:33:03] Production.INFO: count ==13
[2025-03-09 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-03-09 23:33:03] Production.INFO: count ==21
[2025-03-09 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645561') start
[2025-03-09 23:33:03] Production.INFO: Total Charge 0
[2025-03-09 23:33:03] Production.INFO: ==6627== Releasing lock...
[2025-03-09 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:33:03] Production.INFO: CreateAllLog End
[2025-03-09 23:33:03] Production.ERROR: done
[2025-03-09 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645561') end
[2025-03-09 23:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:33:03] Production.INFO: 1
[2025-03-09 23:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:33:03] Production.INFO: ==6635== Releasing lock...
[2025-03-09 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:33:04] Production.ERROR: done
[2025-03-09 23:33:04] Production.INFO: Account Balance End.
[2025-03-09 23:33:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:33:04] Production.INFO: ==6631== Releasing lock...
[2025-03-09 23:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:33:05
[end_date_ymd] => 2025-03-09 23:33:05
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:33:05' and `end` < '2025-03-09 23: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-03-09 23:33:13] Production.ERROR: CronJobId end10
[2025-03-09 23:33:13] Production.INFO: ==6629== Releasing lock...
[2025-03-09 23:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:33:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:33:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:33:14] Production.INFO: call_cost start
[2025-03-09 23:33:14] Production.INFO: call_cost end
[2025-03-09 23:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:33:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:33:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:33:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:33:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:33:15] Production.INFO: ==6625== Releasing lock...
[2025-03-09 23:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:33:17] Production.INFO: count ==713
[2025-03-09 23:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:33:05 - End Time 2025-03-09 23:33:05
[2025-03-09 23:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645563', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645563', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645563', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645563', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:33:17] Production.INFO: ProcessCDR(1,14645563,1,1,2)
[2025-03-09 23:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645563', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645563', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:33:21] Production.INFO: ==6633== Releasing lock...
[2025-03-09 23:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:33:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:34:01] Production.INFO: ==6695== Lock acquired, processing the job...
[2025-03-10 03:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:34:02] Production.INFO: neon service started
[2025-03-10 03:34:02] Production.INFO: neon service started
[2025-03-10 03:34:02] Production.INFO: ==6695== Releasing lock...
[2025-03-10 03:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:34:02] Production.INFO: ==6697== Lock acquired, processing the job...
[2025-03-09 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:34:02] Production.INFO: ==6697== Releasing lock...
[2025-03-09 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:34:02] Production.INFO: ==6699== Lock acquired, processing the job...
[2025-03-10 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:34:02] Production.INFO: ==6699== Releasing lock...
[2025-03-10 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:34:03] Production.INFO: ==6701== Lock acquired, processing the job...
[2025-03-09 23:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:34:03] Production.INFO: ==6711== Lock acquired, processing the job...
[2025-03-09 23:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:34:03] Production.INFO: ==6703== Lock acquired, processing the job...
[2025-03-09 23:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:34:03] Production.INFO: ==6707== Lock acquired, processing the job...
[2025-03-09 23:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:34:03] Production.INFO: ==6709== Lock acquired, processing the job...
[2025-03-09 23:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:34:03] Production.INFO: ==6713== Lock acquired, processing the job...
[2025-03-09 23:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:34:04] Production.ERROR: done
[2025-03-09 23:34:04] Production.INFO: ==6703== Releasing lock...
[2025-03-09 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:34:04] Production.INFO: Account Balance Start.
[2025-03-09 23:34:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:34:04] Production.INFO: 117
[2025-03-09 23:34:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:34:04] Production.INFO: Reseller ==> 0
[2025-03-09 23: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-03-09 23:34:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:34:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:34:04] Production.INFO: count ==13
[2025-03-09 23:34:04] Production.ERROR: done
[2025-03-09 23: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-03-09 23:34:04] Production.INFO: count ==21
[2025-03-09 23:34:04] Production.INFO: Total Charge 0
[2025-03-09 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645567') start
[2025-03-09 23:34:04] Production.INFO: CreateAllLog End
[2025-03-09 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645567') end
[2025-03-09 23:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:34:04] Production.INFO: 1
[2025-03-09 23:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:34:04] Production.INFO: ==6713== Releasing lock...
[2025-03-09 23:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:34:04] Production.INFO: Account Balance End.
[2025-03-09 23:34:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:34:04] Production.INFO: ==6709== Releasing lock...
[2025-03-09 23:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:34:05
[end_date_ymd] => 2025-03-09 23:34:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:34:05' and `end` < '2025-03-09 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-03-09 23:34:11] Production.ERROR: CronJobId end10
[2025-03-09 23:34:11] Production.INFO: ==6707== Releasing lock...
[2025-03-09 23:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:34:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:34:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:34:14] Production.INFO: call_cost start
[2025-03-09 23:34:14] Production.INFO: call_cost end
[2025-03-09 23:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:34:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:34:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:34:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:34:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:34:15] Production.INFO: ==6701== Releasing lock...
[2025-03-09 23:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:34:17] Production.INFO: count ==713
[2025-03-09 23:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:34:05 - End Time 2025-03-09 23:34:05
[2025-03-09 23:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645568', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645568', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645568', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645568', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:34:17] Production.INFO: ProcessCDR(1,14645568,1,1,2)
[2025-03-09 23:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645568', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645568', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:34:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:34:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:34:20] Production.INFO: ==6711== Releasing lock...
[2025-03-09 23:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:34:20] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:35:01] Production.INFO: ==6769== Lock acquired, processing the job...
[2025-03-10 03:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:35:01] Production.INFO: neon service started
[2025-03-10 03:35:01] Production.INFO: neon service started
[2025-03-10 03:35:01] Production.INFO: ==6769== Releasing lock...
[2025-03-10 03:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:35:01] Production.INFO: ==6773== Lock acquired, processing the job...
[2025-03-10 03:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:35:01] Production.INFO: ==6773== Releasing lock...
[2025-03-10 03:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:35:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:35:01] Production.INFO: ==6771== Lock acquired, processing the job...
[2025-03-09 23:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:35:02] Production.INFO: ==6771== Releasing lock...
[2025-03-09 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:35:03] Production.INFO: ==6781== Lock acquired, processing the job...
[2025-03-09 23:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:35:03] Production.INFO: ==6777== Lock acquired, processing the job...
[2025-03-09 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:35:03] Production.INFO: Account Balance Start.
[2025-03-09 23:35:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:35:03] Production.INFO: 117
[2025-03-09 23:35:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:35:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:35:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:35:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:35:03] Production.INFO: Total Charge 0
[2025-03-09 23:35:03] Production.INFO: CreateAllLog End
[2025-03-09 23:35:03] Production.INFO: ==6779== Lock acquired, processing the job...
[2025-03-09 23:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:35:03] Production.INFO: ==6775== Lock acquired, processing the job...
[2025-03-09 23:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:35:03] Production.INFO: Account Balance End.
[2025-03-09 23:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:35:03] Production.ERROR: CronJobId end 12
[2025-03-09 23:35:03] Production.INFO: ==6781== Releasing lock...
[2025-03-09 23:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:35:03] Production.INFO: ==6783== Lock acquired, processing the job...
[2025-03-09 23:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:35:03] Production.INFO: ==6785== Lock acquired, processing the job...
[2025-03-09 23:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:35:03] Production.INFO: ==6777== Releasing lock...
[2025-03-09 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23: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-03-09 23:35:03] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:35:03] Production.INFO: count ==21
[2025-03-09 23:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645572') start
[2025-03-09 23:35:03] Production.ERROR: done
[2025-03-09 23:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645572') end
[2025-03-09 23:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:35:03] Production.INFO: 1
[2025-03-09 23:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:35:03] Production.INFO: ==6785== Releasing lock...
[2025-03-09 23:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:35:04] Production.ERROR: done
[2025-03-09 23:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:35:04
[end_date_ymd] => 2025-03-09 23:35:04
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:35:04' and `end` < '2025-03-09 23: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-03-09 23:35:11] Production.ERROR: CronJobId end10
[2025-03-09 23:35:11] Production.INFO: ==6779== Releasing lock...
[2025-03-09 23:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:35:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:35:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:35:13] Production.INFO: call_cost start
[2025-03-09 23:35:13] Production.INFO: call_cost end
[2025-03-09 23:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:35:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:35:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:35:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:35:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:35:14] Production.INFO: ==6775== Releasing lock...
[2025-03-09 23:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:35:17] Production.INFO: count ==717
[2025-03-09 23:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:35:04 - End Time 2025-03-09 23:35:04
[2025-03-09 23:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645573', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645573', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645573', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645573', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:35:17] Production.INFO: ProcessCDR(1,14645573,1,1,2)
[2025-03-09 23:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645573', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645573', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:35:22] Production.INFO: ==6783== Releasing lock...
[2025-03-09 23:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:35:22] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:36:02] Production.INFO: ==6877== Lock acquired, processing the job...
[2025-03-10 03:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:36:02] Production.INFO: neon service started
[2025-03-10 03:36:02] Production.INFO: neon service started
[2025-03-10 03:36:02] Production.INFO: ==6877== Releasing lock...
[2025-03-10 03:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:36:02] Production.INFO: ==6880== Lock acquired, processing the job...
[2025-03-09 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:36:02] Production.INFO: ==6880== Releasing lock...
[2025-03-09 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:36:02] Production.INFO: ==6882== Lock acquired, processing the job...
[2025-03-10 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:36:02] Production.INFO: ==6882== Releasing lock...
[2025-03-10 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:36:03] Production.INFO: ==6884== Lock acquired, processing the job...
[2025-03-09 23:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:36:03] Production.INFO: ==6886== Lock acquired, processing the job...
[2025-03-09 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:36:03] Production.INFO: ==6888== Lock acquired, processing the job...
[2025-03-09 23:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:36:03] Production.INFO: ==6890== Lock acquired, processing the job...
[2025-03-09 23:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:36:04] Production.INFO: ==6892== Lock acquired, processing the job...
[2025-03-09 23:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:36:04] Production.INFO: Account Balance Start.
[2025-03-09 23:36:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:36:04] Production.INFO: 117
[2025-03-09 23:36:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:36:04] Production.INFO: ==6894== Lock acquired, processing the job...
[2025-03-09 23:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:36:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:36:04] Production.INFO: ==6886== Releasing lock...
[2025-03-09 23:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:36:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:36:04] Production.INFO: Reseller ==> 0
[2025-03-09 23: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-03-09 23:36:04] Production.INFO: Total Charge 0
[2025-03-09 23:36:04] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:36:04] Production.INFO: count ==21
[2025-03-09 23:36:04] Production.INFO: CreateAllLog End
[2025-03-09 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645577') start
[2025-03-09 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645577') end
[2025-03-09 23:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:36:04] Production.INFO: 1
[2025-03-09 23:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:36:04] Production.INFO: ==6894== Releasing lock...
[2025-03-09 23:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:36:04] Production.INFO: Account Balance End.
[2025-03-09 23:36:04] Production.ERROR: done
[2025-03-09 23:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:36:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:36:04] Production.INFO: ==6890== Releasing lock...
[2025-03-09 23:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:36:04] Production.ERROR: done
[2025-03-09 23:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:36:05
[end_date_ymd] => 2025-03-09 23:36:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:36:05' and `end` < '2025-03-09 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-03-09 23:36:13] Production.ERROR: CronJobId end10
[2025-03-09 23:36:13] Production.INFO: ==6888== Releasing lock...
[2025-03-09 23:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:36:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:36:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:36:14] Production.INFO: call_cost start
[2025-03-09 23:36:14] Production.INFO: call_cost end
[2025-03-09 23:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:36:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:36:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:36:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:36:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:36:15] Production.INFO: ==6884== Releasing lock...
[2025-03-09 23:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:36:17] Production.INFO: count ==718
[2025-03-09 23:36:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:36:05 - End Time 2025-03-09 23:36:05
[2025-03-09 23:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645578', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645578', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645578', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645578', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:36:18] Production.INFO: ProcessCDR(1,14645578,1,1,2)
[2025-03-09 23:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645578', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645578', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:36:22] Production.INFO: ==6892== Releasing lock...
[2025-03-09 23:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:36:22] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:37:01] Production.INFO: ==6950== Lock acquired, processing the job...
[2025-03-10 03:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:37:01] Production.INFO: neon service started
[2025-03-10 03:37:01] Production.INFO: neon service started
[2025-03-10 03:37:01] Production.INFO: ==6950== Releasing lock...
[2025-03-10 03:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:37:02] Production.INFO: ==6954== Lock acquired, processing the job...
[2025-03-09 23:37:02] Production.INFO: ==6952== Lock acquired, processing the job...
[2025-03-10 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:37:02] Production.INFO: ==6954== Releasing lock...
[2025-03-10 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:37:02] Production.INFO: ==6952== Releasing lock...
[2025-03-09 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:37:03] Production.INFO: ==6957== Lock acquired, processing the job...
[2025-03-09 23:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:37:03] Production.INFO: ==6965== Lock acquired, processing the job...
[2025-03-09 23:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:37:03] Production.INFO: ==6959== Lock acquired, processing the job...
[2025-03-09 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:37:03] Production.INFO: ==6961== Lock acquired, processing the job...
[2025-03-09 23:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:37:03] Production.INFO: ==6963== Lock acquired, processing the job...
[2025-03-09 23:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:37:03] Production.INFO: ==6967== Lock acquired, processing the job...
[2025-03-09 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:37:03] Production.ERROR: done
[2025-03-09 23:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:37:03] Production.INFO: Account Balance Start.
[2025-03-09 23:37:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:37:03] Production.INFO: 117
[2025-03-09 23:37:03] Production.INFO: ==6959== Releasing lock...
[2025-03-09 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:37:03] Production.INFO: Date 2025-03-08
[2025-03-09 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-03-09 23:37:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:37:03] Production.INFO: count ==13
[2025-03-09 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-03-09 23:37:03] Production.INFO: count ==21
[2025-03-09 23:37:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:37:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645582') start
[2025-03-09 23:37:04] Production.INFO: Total Charge 0
[2025-03-09 23:37:04] Production.ERROR: done
[2025-03-09 23:37:04] Production.INFO: CreateAllLog End
[2025-03-09 23:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645582') end
[2025-03-09 23:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:37:04] Production.INFO: 1
[2025-03-09 23:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:37:04] Production.INFO: Account Balance End.
[2025-03-09 23:37:04] Production.INFO: ==6967== Releasing lock...
[2025-03-09 23:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:37:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:37:04] Production.INFO: ==6963== Releasing lock...
[2025-03-09 23:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:37:05
[end_date_ymd] => 2025-03-09 23:37:05
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:37:05' and `end` < '2025-03-09 23: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-03-09 23:37:11] Production.ERROR: CronJobId end10
[2025-03-09 23:37:11] Production.INFO: ==6961== Releasing lock...
[2025-03-09 23:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:37:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:37:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:37:13] Production.INFO: call_cost start
[2025-03-09 23:37:13] Production.INFO: call_cost end
[2025-03-09 23:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:37:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:37:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:37:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:37:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:37:14] Production.INFO: ==6957== Releasing lock...
[2025-03-09 23:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:37:17] Production.INFO: count ==721
[2025-03-09 23:37:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:37:05 - End Time 2025-03-09 23:37:05
[2025-03-09 23:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645583', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645583', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645583', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645583', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:37:17] Production.INFO: ProcessCDR(1,14645583,1,1,2)
[2025-03-09 23:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645583', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645583', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:37:21] Production.INFO: ==6965== Releasing lock...
[2025-03-09 23:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:37:21] Production.INFO: 34 MB #Memory Used#
[2025-03-10 03:38:02] Production.INFO: ==7030== Lock acquired, processing the job...
[2025-03-10 03:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:38:02] Production.INFO: neon service started
[2025-03-10 03:38:02] Production.INFO: neon service started
[2025-03-10 03:38:02] Production.INFO: ==7030== Releasing lock...
[2025-03-10 03:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:38:02] Production.INFO: ==7032== Lock acquired, processing the job...
[2025-03-09 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:38:02] Production.INFO: ==7032== Releasing lock...
[2025-03-09 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:38:02] Production.INFO: ==7034== Lock acquired, processing the job...
[2025-03-10 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:38:02] Production.INFO: ==7034== Releasing lock...
[2025-03-10 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:38:03] Production.INFO: ==7036== Lock acquired, processing the job...
[2025-03-09 23:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:38:03] Production.INFO: ==7038== Lock acquired, processing the job...
[2025-03-09 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:38:03] Production.INFO: ==7042== Lock acquired, processing the job...
[2025-03-09 23:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:38:03] Production.INFO: ==7040== Lock acquired, processing the job...
[2025-03-09 23:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:38:03] Production.INFO: ==7046== Lock acquired, processing the job...
[2025-03-09 23:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:38:03] Production.INFO: ==7044== Lock acquired, processing the job...
[2025-03-09 23:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:38:03] Production.INFO: Account Balance Start.
[2025-03-09 23:38:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:38:03] Production.INFO: 117
[2025-03-09 23:38:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:38:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:38:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:38:03] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 23:38:03] Production.INFO: Total Charge 0
[2025-03-09 23:38:04] Production.INFO: CreateAllLog End
[2025-03-09 23:38:04] Production.INFO: count ==13
[2025-03-09 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-03-09 23:38:04] Production.INFO: count ==21
[2025-03-09 23:38:04] Production.INFO: ==7038== Releasing lock...
[2025-03-09 23:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645587') start
[2025-03-09 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645587') end
[2025-03-09 23:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:38:04] Production.INFO: 1
[2025-03-09 23:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:38:04] Production.INFO: ==7046== Releasing lock...
[2025-03-09 23:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:38:04] Production.ERROR: done
[2025-03-09 23:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:38:04] Production.ERROR: done
[2025-03-09 23:38:04] Production.INFO: Account Balance End.
[2025-03-09 23:38:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:38:04] Production.INFO: ==7042== Releasing lock...
[2025-03-09 23:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:38:05
[end_date_ymd] => 2025-03-09 23:38:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:38:05' and `end` < '2025-03-09 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-03-09 23:38:11] Production.ERROR: CronJobId end10
[2025-03-09 23:38:11] Production.INFO: ==7040== Releasing lock...
[2025-03-09 23:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:38:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:38:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:38:15] Production.INFO: call_cost start
[2025-03-09 23:38:15] Production.INFO: call_cost end
[2025-03-09 23:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:38:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:38:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:38:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:38:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:38:16] Production.INFO: ==7036== Releasing lock...
[2025-03-09 23:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:38:17] Production.INFO: count ==720
[2025-03-09 23:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:38:05 - End Time 2025-03-09 23:38:05
[2025-03-09 23:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645588', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645588', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645588', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645588', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:38:17] Production.INFO: ProcessCDR(1,14645588,1,1,2)
[2025-03-09 23:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645588', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645588', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:38:21] Production.INFO: ==7044== Releasing lock...
[2025-03-09 23:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:38:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:39:01] Production.INFO: ==7102== Lock acquired, processing the job...
[2025-03-10 03:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:39:01] Production.INFO: neon service started
[2025-03-10 03:39:01] Production.INFO: neon service started
[2025-03-10 03:39:01] Production.INFO: ==7102== Releasing lock...
[2025-03-10 03:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:39:01] Production.INFO: ==7106== Lock acquired, processing the job...
[2025-03-10 03:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:39:01] Production.INFO: ==7106== Releasing lock...
[2025-03-10 03:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:39:01] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:39:02] Production.INFO: ==7104== Lock acquired, processing the job...
[2025-03-09 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:39:02] Production.INFO: ==7104== Releasing lock...
[2025-03-09 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:39:03] Production.INFO: ==7116== Lock acquired, processing the job...
[2025-03-09 23:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:39:03] Production.INFO: ==7119== Lock acquired, processing the job...
[2025-03-09 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:39:03] Production.INFO: ==7108== Lock acquired, processing the job...
[2025-03-09 23:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23: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-03-09 23:39:03] Production.INFO: ==7110== Lock acquired, processing the job...
[2025-03-09 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:39:03] Production.INFO: ==7112== Lock acquired, processing the job...
[2025-03-09 23:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:39:03] Production.INFO: count ==13
[2025-03-09 23:39:03] Production.INFO: ==7114== Lock acquired, processing the job...
[2025-03-09 23:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23: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-03-09 23:39:03] Production.INFO: count ==21
[2025-03-09 23:39:03] Production.ERROR: done
[2025-03-09 23:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645589') start
[2025-03-09 23:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:39:03] Production.ERROR: done
[2025-03-09 23:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645589') end
[2025-03-09 23:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:39:03] Production.INFO: 1
[2025-03-09 23:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:39:03] Production.INFO: Account Balance Start.
[2025-03-09 23:39:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:39:03] Production.INFO: 117
[2025-03-09 23:39:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:39:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:39:03] Production.INFO: ==7119== Releasing lock...
[2025-03-09 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:39:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:39:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:39:03] Production.INFO: Total Charge 0
[2025-03-09 23:39:03] Production.INFO: CreateAllLog End
[2025-03-09 23:39:03] Production.INFO: ==7110== Releasing lock...
[2025-03-09 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:39:04] Production.INFO: Account Balance End.
[2025-03-09 23:39:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:39:04] Production.INFO: ==7114== Releasing lock...
[2025-03-09 23:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:39:05
[end_date_ymd] => 2025-03-09 23:39:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:39:05' and `end` < '2025-03-09 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-03-09 23:39:12] Production.ERROR: CronJobId end10
[2025-03-09 23:39:12] Production.INFO: ==7112== Releasing lock...
[2025-03-09 23:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:39:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:39:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:39:13] Production.INFO: call_cost start
[2025-03-09 23:39:13] Production.INFO: call_cost end
[2025-03-09 23:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:39:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:39:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:39:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:39:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:39:14] Production.INFO: ==7108== Releasing lock...
[2025-03-09 23:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:39:17] Production.INFO: count ==720
[2025-03-09 23:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:39:05 - End Time 2025-03-09 23:39:05
[2025-03-09 23:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645593', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645593', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645593', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645593', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:39:17] Production.INFO: ProcessCDR(1,14645593,1,1,2)
[2025-03-09 23:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645593', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645593', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:39:20] Production.INFO: ==7116== Releasing lock...
[2025-03-09 23:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:39:20] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:40:01] Production.INFO: ==7174== Lock acquired, processing the job...
[2025-03-10 03:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:40:01] Production.INFO: neon service started
[2025-03-10 03:40:01] Production.INFO: neon service started
[2025-03-10 03:40:01] Production.INFO: ==7174== Releasing lock...
[2025-03-10 03:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:40:02] Production.INFO: ==7176== Lock acquired, processing the job...
[2025-03-09 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:40:02] Production.INFO: ==7176== Releasing lock...
[2025-03-09 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:40:02] Production.INFO: ==7178== Lock acquired, processing the job...
[2025-03-10 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:40:03] Production.INFO: ==7178== Releasing lock...
[2025-03-10 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:40:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:40:03] Production.INFO: ==7180== Lock acquired, processing the job...
[2025-03-09 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 23:40:04] Production.INFO: ==7182== Lock acquired, processing the job...
[2025-03-09 23:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 23:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 23:40:04] Production.INFO: ==7180== Releasing lock...
[2025-03-09 23:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 23:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 23:40:04] Production.INFO: ==7186== Lock acquired, processing the job...
[2025-03-09 23:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:40:04] Production.INFO: ==7192== Lock acquired, processing the job...
[2025-03-09 23:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 23:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:40:04] Production.INFO: ==7184== Lock acquired, processing the job...
[2025-03-09 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:40:04] Production.INFO: ==7188== Lock acquired, processing the job...
[2025-03-09 23:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:40:04] Production.INFO: Account Balance Start.
[2025-03-09 23:40:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:40:04] Production.INFO: 117
[2025-03-09 23:40:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:40:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:40:04] Production.INFO: ==7190== Lock acquired, processing the job...
[2025-03-09 23:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:40:04] Production.INFO: ==7194== Lock acquired, processing the job...
[2025-03-09 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:40:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:40:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:40:04] Production.INFO: Total Charge 0
[2025-03-09 23:40:04] Production.INFO: CreateAllLog End
[2025-03-09 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-03-09 23:40:04] Production.INFO: count ==13
[2025-03-09 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-03-09 23:40:04] Production.INFO: count ==21
[2025-03-09 23:40:04] Production.INFO: ==7184== Releasing lock...
[2025-03-09 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645597') start
[2025-03-09 23:40:04] Production.ERROR: done
[2025-03-09 23:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 23:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645598', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645597') end
[2025-03-09 23:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:40:04] Production.INFO: 1
[2025-03-09 23:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:40:04] Production.INFO: ==7194== Releasing lock...
[2025-03-09 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:40:04] Production.ERROR: done
[2025-03-09 23:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:40:04] Production.INFO: Account Balance End.
[2025-03-09 23:40:05] Production.ERROR: done
[2025-03-09 23:40:05] Production.ERROR: CronJobId end 12
[2025-03-09 23:40:05] Production.INFO: ==7188== Releasing lock...
[2025-03-09 23:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:40:06
[end_date_ymd] => 2025-03-09 23:40:06
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:40:06' and `end` < '2025-03-09 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-03-09 23:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645598', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 23:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 23:40:08] Production.INFO: ProcessCDR(1,14645598,1,1,2)
[2025-03-09 23:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645598,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645598,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:40:09] Production.INFO: ==7192== Releasing lock...
[2025-03-09 23:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 23:40:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 23:40:14] Production.ERROR: CronJobId end10
[2025-03-09 23:40:14] Production.INFO: ==7186== Releasing lock...
[2025-03-09 23:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:40:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:40:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:40:16] Production.INFO: call_cost start
[2025-03-09 23:40:16] Production.INFO: call_cost end
[2025-03-09 23:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:40:17] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:40:17] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:40:17] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:40:17] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:40:17] Production.INFO: ==7182== Releasing lock...
[2025-03-09 23:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:40:18] Production.INFO: count ==719
[2025-03-09 23:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:40:06 - End Time 2025-03-09 23:40:06
[2025-03-09 23:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645599', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645599', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645599', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645599', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:40:18] Production.INFO: ProcessCDR(1,14645599,1,1,2)
[2025-03-09 23:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645599', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645599', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:40:21] Production.INFO: ==7190== Releasing lock...
[2025-03-09 23:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:40:21] Production.INFO: 32.75 MB #Memory Used#
[2025-03-10 03:41:02] Production.INFO: ==7250== Lock acquired, processing the job...
[2025-03-10 03:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:41:02] Production.INFO: neon service started
[2025-03-10 03:41:02] Production.INFO: neon service started
[2025-03-10 03:41:02] Production.INFO: ==7250== Releasing lock...
[2025-03-10 03:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:41:02] Production.INFO: ==7253== Lock acquired, processing the job...
[2025-03-09 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:41:02] Production.INFO: ==7255== Lock acquired, processing the job...
[2025-03-10 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:41:02] Production.INFO: ==7255== Releasing lock...
[2025-03-10 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:41:03] Production.INFO: ==7253== Releasing lock...
[2025-03-09 23:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:41:03] Production.INFO: ==7261== Lock acquired, processing the job...
[2025-03-09 23:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:41:03] Production.INFO: ==7265== Lock acquired, processing the job...
[2025-03-09 23:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:41:04] Production.INFO: ==7257== Lock acquired, processing the job...
[2025-03-09 23:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:41:04] Production.INFO: ==7259== Lock acquired, processing the job...
[2025-03-09 23:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:41:04] Production.INFO: ==7263== Lock acquired, processing the job...
[2025-03-09 23:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:41:04] Production.INFO: ==7267== Lock acquired, processing the job...
[2025-03-09 23:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23: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-03-09 23:41:04] Production.INFO: Account Balance Start.
[2025-03-09 23:41:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:41:04] Production.INFO: 117
[2025-03-09 23:41:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:41:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:41:04] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:41:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:41:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:41:04] Production.INFO: count ==21
[2025-03-09 23:41:04] Production.INFO: Total Charge 0
[2025-03-09 23:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645602') start
[2025-03-09 23:41:04] Production.INFO: CreateAllLog End
[2025-03-09 23:41:04] Production.ERROR: done
[2025-03-09 23:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:41:04] Production.INFO: ==7259== Releasing lock...
[2025-03-09 23:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645602') end
[2025-03-09 23:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:41:04] Production.INFO: 1
[2025-03-09 23:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:41:04] Production.INFO: Account Balance End.
[2025-03-09 23:41:04] Production.INFO: ==7267== Releasing lock...
[2025-03-09 23:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:41:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:41:04] Production.INFO: ==7263== Releasing lock...
[2025-03-09 23:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:41:04] Production.ERROR: done
[2025-03-09 23:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:41:05
[end_date_ymd] => 2025-03-09 23:41:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:41:05' and `end` < '2025-03-09 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-03-09 23:41:11] Production.ERROR: CronJobId end10
[2025-03-09 23:41:11] Production.INFO: ==7261== Releasing lock...
[2025-03-09 23:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:41:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:41:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:41:14] Production.INFO: call_cost start
[2025-03-09 23:41:14] Production.INFO: call_cost end
[2025-03-09 23:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:41:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:41:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:41:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:41:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:41:15] Production.INFO: ==7257== Releasing lock...
[2025-03-09 23:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:41:17] Production.INFO: count ==689
[2025-03-09 23:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:41:05 - End Time 2025-03-09 23:41:05
[2025-03-09 23:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645604', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645604', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645604', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645604', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:41:17] Production.INFO: ProcessCDR(1,14645604,1,1,2)
[2025-03-09 23:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645604', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645604', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:41:21] Production.INFO: ==7265== Releasing lock...
[2025-03-09 23:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:41:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:42:01] Production.INFO: ==7320== Lock acquired, processing the job...
[2025-03-10 03:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:42:01] Production.INFO: neon service started
[2025-03-10 03:42:01] Production.INFO: neon service started
[2025-03-10 03:42:01] Production.INFO: ==7320== Releasing lock...
[2025-03-10 03:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:42:02] Production.INFO: ==7325== Lock acquired, processing the job...
[2025-03-10 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:42:02] Production.INFO: ==7325== Releasing lock...
[2025-03-10 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:42:02] Production.INFO: ==7323== Lock acquired, processing the job...
[2025-03-09 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:42:02] Production.INFO: ==7323== Releasing lock...
[2025-03-09 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:42:03] Production.INFO: ==7337== Lock acquired, processing the job...
[2025-03-09 23:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:42:03] Production.INFO: ==7327== Lock acquired, processing the job...
[2025-03-09 23:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:42:03] Production.INFO: ==7335== Lock acquired, processing the job...
[2025-03-09 23:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:42:03] Production.INFO: ==7329== Lock acquired, processing the job...
[2025-03-09 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 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-03-09 23:42:03] Production.INFO: ==7331== Lock acquired, processing the job...
[2025-03-09 23:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:42:03] Production.INFO: ==7333== Lock acquired, processing the job...
[2025-03-09 23:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:42:03] Production.INFO: count ==13
[2025-03-09 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-03-09 23:42:03] Production.INFO: count ==21
[2025-03-09 23:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645605') start
[2025-03-09 23:42:03] Production.INFO: Account Balance Start.
[2025-03-09 23:42:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:42:03] Production.INFO: 117
[2025-03-09 23:42:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:42:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:42:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:42:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:42:04] Production.INFO: Total Charge 0
[2025-03-09 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645605') end
[2025-03-09 23:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:42:04] Production.INFO: 1
[2025-03-09 23:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:42:04] Production.INFO: CreateAllLog End
[2025-03-09 23:42:04] Production.ERROR: done
[2025-03-09 23:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:42:04] Production.INFO: ==7337== Releasing lock...
[2025-03-09 23:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:42:04] Production.INFO: ==7329== Releasing lock...
[2025-03-09 23:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:42:04] Production.INFO: Account Balance End.
[2025-03-09 23:42:04] Production.ERROR: done
[2025-03-09 23:42:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:42:04] Production.INFO: ==7333== Releasing lock...
[2025-03-09 23:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:42:05
[end_date_ymd] => 2025-03-09 23:42:05
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:42:05' and `end` < '2025-03-09 23: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-03-09 23:42:11] Production.ERROR: CronJobId end10
[2025-03-09 23:42:11] Production.INFO: ==7331== Releasing lock...
[2025-03-09 23:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:42:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:42:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:42:13] Production.INFO: call_cost start
[2025-03-09 23:42:13] Production.INFO: call_cost end
[2025-03-09 23:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:42:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:42:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:42:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:42:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:42:14] Production.INFO: ==7327== Releasing lock...
[2025-03-09 23:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:42:17] Production.INFO: count ==688
[2025-03-09 23:42:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:42:05 - End Time 2025-03-09 23:42:05
[2025-03-09 23:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645609', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645609', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645609', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645609', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:42:17] Production.INFO: ProcessCDR(1,14645609,1,1,2)
[2025-03-09 23:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645609', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645609', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:42:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:42:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:42:20] Production.INFO: ==7335== Releasing lock...
[2025-03-09 23:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:42:20] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:43:02] Production.INFO: ==7392== Lock acquired, processing the job...
[2025-03-10 03:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:43:02] Production.INFO: neon service started
[2025-03-10 03:43:02] Production.INFO: neon service started
[2025-03-10 03:43:02] Production.INFO: ==7392== Releasing lock...
[2025-03-10 03:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:43:02] Production.INFO: ==7394== Lock acquired, processing the job...
[2025-03-09 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:43:02] Production.INFO: ==7394== Releasing lock...
[2025-03-09 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:43:03] Production.INFO: ==7396== Lock acquired, processing the job...
[2025-03-10 03:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:43:03] Production.INFO: ==7396== Releasing lock...
[2025-03-10 03:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:43:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:43:03] Production.INFO: ==7401== Lock acquired, processing the job...
[2025-03-09 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:43:03] Production.INFO: ==7398== Lock acquired, processing the job...
[2025-03-09 23:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:43:03] Production.INFO: ==7407== Lock acquired, processing the job...
[2025-03-09 23:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:43:03] Production.INFO: ==7403== Lock acquired, processing the job...
[2025-03-09 23:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:43:04] Production.INFO: ==7405== Lock acquired, processing the job...
[2025-03-09 23:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:43:04] Production.INFO: ==7401== Releasing lock...
[2025-03-09 23:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:43:04] Production.INFO: ==7409== Lock acquired, processing the job...
[2025-03-09 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:43:04] Production.INFO: Account Balance Start.
[2025-03-09 23:43:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:43:04] Production.INFO: 117
[2025-03-09 23:43:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:43:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:43:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:43:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 23:43:04] Production.INFO: Total Charge 0
[2025-03-09 23:43:04] Production.INFO: CreateAllLog End
[2025-03-09 23:43:04] Production.INFO: count ==13
[2025-03-09 23:43:04] Production.ERROR: done
[2025-03-09 23:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 23:43:04] Production.INFO: count ==21
[2025-03-09 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645613') start
[2025-03-09 23:43:04] Production.INFO: Account Balance End.
[2025-03-09 23:43:04] Production.ERROR: done
[2025-03-09 23:43:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:43:04] Production.INFO: ==7405== Releasing lock...
[2025-03-09 23:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645613') end
[2025-03-09 23:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:43:04] Production.INFO: 1
[2025-03-09 23:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:43:04] Production.INFO: ==7409== Releasing lock...
[2025-03-09 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:43:05
[end_date_ymd] => 2025-03-09 23:43:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:43:05' and `end` < '2025-03-09 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-03-09 23:43:11] Production.ERROR: CronJobId end10
[2025-03-09 23:43:11] Production.INFO: ==7403== Releasing lock...
[2025-03-09 23:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:43:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:43:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:43:13] Production.INFO: call_cost start
[2025-03-09 23:43:13] Production.INFO: call_cost end
[2025-03-09 23:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:43:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:43:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:43:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:43:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:43:14] Production.INFO: ==7398== Releasing lock...
[2025-03-09 23:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:43:18] Production.INFO: count ==688
[2025-03-09 23:43:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:43:05 - End Time 2025-03-09 23:43:05
[2025-03-09 23:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645614', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645614', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645614', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645614', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:43:18] Production.INFO: ProcessCDR(1,14645614,1,1,2)
[2025-03-09 23:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645614', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645614', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:43:21] Production.INFO: ==7407== Releasing lock...
[2025-03-09 23:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:43:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:44:01] Production.INFO: ==7462== Lock acquired, processing the job...
[2025-03-10 03:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:44:01] Production.INFO: neon service started
[2025-03-10 03:44:01] Production.INFO: neon service started
[2025-03-10 03:44:01] Production.INFO: ==7462== Releasing lock...
[2025-03-10 03:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:44:02] Production.INFO: ==7464== Lock acquired, processing the job...
[2025-03-09 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:44:02] Production.INFO: ==7464== Releasing lock...
[2025-03-09 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:44:02] Production.INFO: ==7466== Lock acquired, processing the job...
[2025-03-10 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:44:02] Production.INFO: ==7466== Releasing lock...
[2025-03-10 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:44:03] Production.INFO: ==7474== Lock acquired, processing the job...
[2025-03-09 23:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:44:03] Production.INFO: Account Balance Start.
[2025-03-09 23:44:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:44:03] Production.INFO: 117
[2025-03-09 23:44:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:44:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:44:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:44:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:44:03] Production.INFO: Total Charge 0
[2025-03-09 23:44:03] Production.INFO: CreateAllLog End
[2025-03-09 23:44:03] Production.INFO: ==7468== Lock acquired, processing the job...
[2025-03-09 23:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:44:03] Production.INFO: ==7470== Lock acquired, processing the job...
[2025-03-09 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:44:03] Production.INFO: ==7478== Lock acquired, processing the job...
[2025-03-09 23:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:44:03] Production.INFO: ==7472== Lock acquired, processing the job...
[2025-03-09 23:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:44:03] Production.INFO: Account Balance End.
[2025-03-09 23:44:03] Production.INFO: ==7476== Lock acquired, processing the job...
[2025-03-09 23:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:44:03] Production.ERROR: CronJobId end 12
[2025-03-09 23:44:03] Production.INFO: ==7474== Releasing lock...
[2025-03-09 23:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:44:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23: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-03-09 23:44:03] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:44:03] Production.INFO: count ==21
[2025-03-09 23:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645617') start
[2025-03-09 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645617') end
[2025-03-09 23:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:44:04] Production.INFO: 1
[2025-03-09 23:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:44:04] Production.INFO: ==7478== Releasing lock...
[2025-03-09 23:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:44:04] Production.INFO: ==7470== Releasing lock...
[2025-03-09 23:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:44:04] Production.ERROR: done
[2025-03-09 23:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:44:04] Production.ERROR: done
[2025-03-09 23:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:44:05
[end_date_ymd] => 2025-03-09 23:44:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:44:05' and `end` < '2025-03-09 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-03-09 23:44:11] Production.ERROR: CronJobId end10
[2025-03-09 23:44:11] Production.INFO: ==7472== Releasing lock...
[2025-03-09 23:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:44:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:44:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:44:14] Production.INFO: call_cost start
[2025-03-09 23:44:14] Production.INFO: call_cost end
[2025-03-09 23:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:44:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:44:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:44:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:44:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:44:15] Production.INFO: ==7468== Releasing lock...
[2025-03-09 23:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:44:17] Production.INFO: count ==688
[2025-03-09 23:44:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:44:05 - End Time 2025-03-09 23:44:05
[2025-03-09 23:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645619', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645619', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645619', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645619', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:44:17] Production.INFO: ProcessCDR(1,14645619,1,1,2)
[2025-03-09 23:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645619', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645619', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:44:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:44:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:44:20] Production.INFO: ==7476== Releasing lock...
[2025-03-09 23:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:44:20] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:45:02] Production.INFO: ==7534== Lock acquired, processing the job...
[2025-03-10 03:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:45:02] Production.INFO: neon service started
[2025-03-10 03:45:02] Production.INFO: neon service started
[2025-03-10 03:45:02] Production.INFO: ==7534== Releasing lock...
[2025-03-10 03:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:45:02] Production.INFO: ==7536== Lock acquired, processing the job...
[2025-03-09 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:45:02] Production.INFO: ==7538== Lock acquired, processing the job...
[2025-03-10 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:45:02] Production.INFO: ==7538== Releasing lock...
[2025-03-10 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:45:03] Production.INFO: ==7536== Releasing lock...
[2025-03-09 23:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:45:03] Production.INFO: ==7541== Lock acquired, processing the job...
[2025-03-09 23:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:45:03] Production.INFO: ==7543== Lock acquired, processing the job...
[2025-03-09 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:45:03] Production.INFO: ==7547== Lock acquired, processing the job...
[2025-03-09 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:45:04] Production.INFO: Account Balance Start.
[2025-03-09 23:45:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:45:04] Production.INFO: 117
[2025-03-09 23:45:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:45:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:45:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:45:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:45:04] Production.INFO: Total Charge 0
[2025-03-09 23:45:04] Production.INFO: CreateAllLog End
[2025-03-09 23:45:04] Production.INFO: ==7545== Lock acquired, processing the job...
[2025-03-09 23:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:45:04] Production.INFO: ==7543== Releasing lock...
[2025-03-09 23:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:45:04] Production.INFO: Account Balance End.
[2025-03-09 23:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:45:04] Production.INFO: ==7549== Lock acquired, processing the job...
[2025-03-09 23:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:45:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:45:04] Production.INFO: ==7547== Releasing lock...
[2025-03-09 23:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:45:04] Production.INFO: ==7551== Lock acquired, processing the job...
[2025-03-09 23:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23: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-03-09 23:45:04] Production.ERROR: done
[2025-03-09 23:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:45:04] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:45:04] Production.INFO: count ==21
[2025-03-09 23:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645623') start
[2025-03-09 23:45:05] Production.ERROR: done
[2025-03-09 23:45:05] Production.ERROR: PBX CALL prc_importPBXExtension('14645623') end
[2025-03-09 23:45:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:45:05] Production.INFO: 1
[2025-03-09 23:45:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:45:05] Production.INFO: ==7551== Releasing lock...
[2025-03-09 23:45:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:45:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:45:06
[end_date_ymd] => 2025-03-09 23:45:06
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:45:06' and `end` < '2025-03-09 23: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-03-09 23:45:12] Production.ERROR: CronJobId end10
[2025-03-09 23:45:12] Production.INFO: ==7545== Releasing lock...
[2025-03-09 23:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:45:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:45:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:45:14] Production.INFO: call_cost start
[2025-03-09 23:45:14] Production.INFO: call_cost end
[2025-03-09 23:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:45:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:45:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:45:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:45:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:45:15] Production.INFO: ==7541== Releasing lock...
[2025-03-09 23:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:45:18] Production.INFO: count ==688
[2025-03-09 23:45:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:45:06 - End Time 2025-03-09 23:45:06
[2025-03-09 23:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645624', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645624', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645624', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645624', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:45:18] Production.INFO: ProcessCDR(1,14645624,1,1,2)
[2025-03-09 23:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645624', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645624', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:45:21] Production.INFO: ==7549== Releasing lock...
[2025-03-09 23:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:45:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:46:01] Production.INFO: ==7608== Lock acquired, processing the job...
[2025-03-10 03:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:46:01] Production.INFO: neon service started
[2025-03-10 03:46:01] Production.INFO: neon service started
[2025-03-10 03:46:01] Production.INFO: ==7608== Releasing lock...
[2025-03-10 03:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:46:02] Production.INFO: ==7610== Lock acquired, processing the job...
[2025-03-09 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:46:02] Production.INFO: ==7612== Lock acquired, processing the job...
[2025-03-10 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:46:02] Production.INFO: ==7612== Releasing lock...
[2025-03-10 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:46:02] Production.INFO: ==7610== Releasing lock...
[2025-03-09 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:46:03] Production.INFO: ==7617== Lock acquired, processing the job...
[2025-03-09 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:46:03] Production.INFO: ==7625== Lock acquired, processing the job...
[2025-03-09 23:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:46:03] Production.INFO: ==7615== Lock acquired, processing the job...
[2025-03-09 23:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23: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-03-09 23:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:46:03] Production.INFO: count ==13
[2025-03-09 23:46:03] Production.INFO: ==7617== Releasing lock...
[2025-03-09 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:46:03] Production.INFO: ==7619== Lock acquired, processing the job...
[2025-03-09 23:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23: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-03-09 23:46:03] Production.INFO: count ==21
[2025-03-09 23:46:03] Production.INFO: ==7623== Lock acquired, processing the job...
[2025-03-09 23:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645626') start
[2025-03-09 23:46:03] Production.INFO: ==7621== Lock acquired, processing the job...
[2025-03-09 23:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:46:04] Production.INFO: Account Balance Start.
[2025-03-09 23:46:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645626') end
[2025-03-09 23:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:46:04] Production.INFO: 1
[2025-03-09 23:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:46:04] Production.INFO: 117
[2025-03-09 23:46:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:46:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:46:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:46:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:46:04] Production.INFO: ==7625== Releasing lock...
[2025-03-09 23:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:46:04] Production.INFO: Total Charge 0
[2025-03-09 23:46:04] Production.INFO: CreateAllLog End
[2025-03-09 23:46:04] Production.ERROR: done
[2025-03-09 23:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:46:04] Production.INFO: Account Balance End.
[2025-03-09 23:46:04] Production.ERROR: done
[2025-03-09 23:46:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:46:04] Production.INFO: ==7621== Releasing lock...
[2025-03-09 23:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:46:05
[end_date_ymd] => 2025-03-09 23:46:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:46:05' and `end` < '2025-03-09 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-03-09 23:46:12] Production.ERROR: CronJobId end10
[2025-03-09 23:46:12] Production.INFO: ==7619== Releasing lock...
[2025-03-09 23:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:46:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:46:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:46:14] Production.INFO: call_cost start
[2025-03-09 23:46:14] Production.INFO: call_cost end
[2025-03-09 23:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:46:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:46:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:46:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:46:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:46:15] Production.INFO: ==7615== Releasing lock...
[2025-03-09 23:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:46:17] Production.INFO: count ==688
[2025-03-09 23:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:46:05 - End Time 2025-03-09 23:46:05
[2025-03-09 23:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645629', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645629', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645629', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645629', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:46:17] Production.INFO: ProcessCDR(1,14645629,1,1,2)
[2025-03-09 23:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645629', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645629', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:46:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:46:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:46:20] Production.INFO: ==7623== Releasing lock...
[2025-03-09 23:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:46:20] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:47:02] Production.INFO: ==7679== Lock acquired, processing the job...
[2025-03-10 03:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:47:02] Production.INFO: neon service started
[2025-03-10 03:47:02] Production.INFO: neon service started
[2025-03-10 03:47:02] Production.INFO: ==7679== Releasing lock...
[2025-03-10 03:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:47:02] Production.INFO: ==7681== Lock acquired, processing the job...
[2025-03-09 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:47:02] Production.INFO: ==7681== Releasing lock...
[2025-03-09 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:47:02] Production.INFO: ==7683== Lock acquired, processing the job...
[2025-03-10 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:47:03] Production.INFO: ==7683== Releasing lock...
[2025-03-10 03:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:47:03] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:47:03] Production.INFO: ==7685== Lock acquired, processing the job...
[2025-03-09 23:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:47:03] Production.INFO: ==7691== Lock acquired, processing the job...
[2025-03-09 23:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:47:03] Production.INFO: ==7687== Lock acquired, processing the job...
[2025-03-09 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:47:03] Production.INFO: ==7695== Lock acquired, processing the job...
[2025-03-09 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:47:03] Production.INFO: Account Balance Start.
[2025-03-09 23:47:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:47:03] Production.INFO: 117
[2025-03-09 23:47:03] Production.INFO: ==7689== Lock acquired, processing the job...
[2025-03-09 23:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:47:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:47:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 23:47:04] Production.INFO: count ==13
[2025-03-09 23:47:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:47:04] Production.INFO: ==7693== Lock acquired, processing the job...
[2025-03-09 23:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 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-03-09 23:47:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:47:04] Production.INFO: count ==21
[2025-03-09 23:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645632') start
[2025-03-09 23:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:47:04] Production.INFO: Total Charge 0
[2025-03-09 23:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:47:04] Production.INFO: CreateAllLog End
[2025-03-09 23:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645632') end
[2025-03-09 23:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:47:04] Production.INFO: 1
[2025-03-09 23:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:47:04] Production.INFO: ==7695== Releasing lock...
[2025-03-09 23:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:47:04] Production.INFO: ==7687== Releasing lock...
[2025-03-09 23:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:47:04] Production.INFO: Account Balance End.
[2025-03-09 23:47:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:47:04] Production.INFO: ==7691== Releasing lock...
[2025-03-09 23:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:47:04] Production.ERROR: done
[2025-03-09 23:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:47:04] Production.ERROR: done
[2025-03-09 23:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:47:06
[end_date_ymd] => 2025-03-09 23:47:06
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:47:06' and `end` < '2025-03-09 23: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-03-09 23:47:12] Production.ERROR: CronJobId end10
[2025-03-09 23:47:12] Production.INFO: ==7689== Releasing lock...
[2025-03-09 23:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:47:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:47:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:47:14] Production.INFO: call_cost start
[2025-03-09 23:47:14] Production.INFO: call_cost end
[2025-03-09 23:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:47:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:47:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:47:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:47:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:47:15] Production.INFO: ==7685== Releasing lock...
[2025-03-09 23:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:47:18] Production.INFO: count ==681
[2025-03-09 23:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:47:06 - End Time 2025-03-09 23:47:06
[2025-03-09 23:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645634', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645634', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645634', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645634', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:47:18] Production.INFO: ProcessCDR(1,14645634,1,1,2)
[2025-03-09 23:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645634', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645634', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:47:21] Production.INFO: ==7693== Releasing lock...
[2025-03-09 23:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:47:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:48:01] Production.INFO: ==7748== Lock acquired, processing the job...
[2025-03-10 03:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:48:01] Production.INFO: neon service started
[2025-03-10 03:48:01] Production.INFO: neon service started
[2025-03-10 03:48:01] Production.INFO: ==7748== Releasing lock...
[2025-03-10 03:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:48:01] Production.INFO: ==7750== Lock acquired, processing the job...
[2025-03-09 23:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:48:02] Production.INFO: ==7752== Lock acquired, processing the job...
[2025-03-10 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 23:48:02] Production.INFO: ==7750== Releasing lock...
[2025-03-09 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:48:02] Production.INFO: ==7752== Releasing lock...
[2025-03-10 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:48:03] Production.INFO: ==7756== Lock acquired, processing the job...
[2025-03-09 23:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:48:03] Production.INFO: ==7762== Lock acquired, processing the job...
[2025-03-09 23:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:48:03] Production.INFO: ==7765== Lock acquired, processing the job...
[2025-03-09 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:48:03] Production.INFO: ==7754== Lock acquired, processing the job...
[2025-03-09 23:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:48:03] Production.INFO: ==7756== Releasing lock...
[2025-03-09 23:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:48:03] Production.INFO: ==7758== Lock acquired, processing the job...
[2025-03-09 23:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:48:03] Production.ERROR: done
[2025-03-09 23:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23: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-03-09 23:48:03] Production.INFO: ==7760== Lock acquired, processing the job...
[2025-03-09 23:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:48:03] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:48:03] Production.INFO: count ==21
[2025-03-09 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645636') start
[2025-03-09 23:48:03] Production.ERROR: done
[2025-03-09 23:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:48:03] Production.INFO: Account Balance Start.
[2025-03-09 23:48:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:48:03] Production.INFO: 117
[2025-03-09 23:48:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:48:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645636') end
[2025-03-09 23:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:48:03] Production.INFO: 1
[2025-03-09 23:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:48:03] Production.INFO: ==7765== Releasing lock...
[2025-03-09 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:48:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:48:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:48:03] Production.INFO: Total Charge 0
[2025-03-09 23:48:03] Production.INFO: CreateAllLog End
[2025-03-09 23:48:04] Production.INFO: Account Balance End.
[2025-03-09 23:48:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:48:04] Production.INFO: ==7760== Releasing lock...
[2025-03-09 23:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:48:04
[end_date_ymd] => 2025-03-09 23:48:04
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:48:04' and `end` < '2025-03-09 23: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-03-09 23:48:12] Production.ERROR: CronJobId end10
[2025-03-09 23:48:12] Production.INFO: ==7758== Releasing lock...
[2025-03-09 23:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:48:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:48:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:48:14] Production.INFO: call_cost start
[2025-03-09 23:48:14] Production.INFO: call_cost end
[2025-03-09 23:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:48:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:48:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:48:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:48:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:48:15] Production.INFO: ==7754== Releasing lock...
[2025-03-09 23:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:48:17] Production.INFO: count ==680
[2025-03-09 23:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:48:04 - End Time 2025-03-09 23:48:04
[2025-03-09 23:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645638', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645638', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645638', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645638', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:48:17] Production.INFO: ProcessCDR(1,14645638,1,1,2)
[2025-03-09 23:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645638', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645638', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:48:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:48:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:48:20] Production.INFO: ==7762== Releasing lock...
[2025-03-09 23:48:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:48:20] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:49:02] Production.INFO: ==7821== Lock acquired, processing the job...
[2025-03-10 03:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:49:02] Production.INFO: neon service started
[2025-03-10 03:49:02] Production.INFO: neon service started
[2025-03-10 03:49:02] Production.INFO: ==7821== Releasing lock...
[2025-03-10 03:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:49:02] Production.INFO: ==7823== Lock acquired, processing the job...
[2025-03-09 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:49:02] Production.INFO: ==7823== Releasing lock...
[2025-03-09 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:49:02] Production.INFO: ==7825== Lock acquired, processing the job...
[2025-03-10 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:49:02] Production.INFO: ==7825== Releasing lock...
[2025-03-10 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:49:03] Production.INFO: ==7829== Lock acquired, processing the job...
[2025-03-09 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:49:03] Production.INFO: ==7837== Lock acquired, processing the job...
[2025-03-09 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:49:03] Production.INFO: ==7827== Lock acquired, processing the job...
[2025-03-09 23:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 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-03-09 23:49:03] Production.INFO: ==7831== Lock acquired, processing the job...
[2025-03-09 23:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:49:03] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:49:03] Production.INFO: ==7829== Releasing lock...
[2025-03-09 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:49:03] Production.INFO: count ==21
[2025-03-09 23:49:03] Production.INFO: ==7833== Lock acquired, processing the job...
[2025-03-09 23:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:49:04] Production.INFO: ==7835== Lock acquired, processing the job...
[2025-03-09 23:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645641') start
[2025-03-09 23:49:04] Production.INFO: Account Balance Start.
[2025-03-09 23:49:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645641') end
[2025-03-09 23:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:49:04] Production.INFO: 1
[2025-03-09 23:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:49:04] Production.INFO: 117
[2025-03-09 23:49:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:49:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:49:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:49:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:49:04] Production.INFO: Total Charge 0
[2025-03-09 23:49:04] Production.INFO: CreateAllLog End
[2025-03-09 23:49:04] Production.INFO: ==7837== Releasing lock...
[2025-03-09 23:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:49:04] Production.ERROR: done
[2025-03-09 23:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:49:04] Production.INFO: Account Balance End.
[2025-03-09 23:49:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:49:04] Production.INFO: ==7833== Releasing lock...
[2025-03-09 23:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:49:04] Production.ERROR: done
[2025-03-09 23:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:49:06
[end_date_ymd] => 2025-03-09 23:49:06
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:49:06' and `end` < '2025-03-09 23: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-03-09 23:49: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-03-09 23:49:11] Production.ERROR: CronJobId end10
[2025-03-09 23:49:11] Production.INFO: ==7831== Releasing lock...
[2025-03-09 23:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:49:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:49:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:49:14] Production.INFO: call_cost start
[2025-03-09 23:49:14] Production.INFO: call_cost end
[2025-03-09 23:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:49:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:49:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:49:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:49:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:49:15] Production.INFO: ==7827== Releasing lock...
[2025-03-09 23:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:49:18] Production.INFO: count ==676
[2025-03-09 23:49:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:49:06 - End Time 2025-03-09 23:49:06
[2025-03-09 23:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645644', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645644', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645644', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645644', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:49:18] Production.INFO: ProcessCDR(1,14645644,1,1,2)
[2025-03-09 23:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645644', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645644', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:49:22] Production.INFO: ==7835== Releasing lock...
[2025-03-09 23:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:49:22] Production.INFO: 33 MB #Memory Used#
[2025-03-10 03:50:01] Production.INFO: ==7892== Lock acquired, processing the job...
[2025-03-10 03:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:50:01] Production.INFO: neon service started
[2025-03-10 03:50:01] Production.INFO: neon service started
[2025-03-10 03:50:01] Production.INFO: ==7892== Releasing lock...
[2025-03-10 03:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:50:01] Production.INFO: ==7894== Lock acquired, processing the job...
[2025-03-09 23:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:50:02] Production.INFO: ==7894== Releasing lock...
[2025-03-09 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:50:02] Production.INFO: ==7896== Lock acquired, processing the job...
[2025-03-10 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:50:02] Production.INFO: ==7896== Releasing lock...
[2025-03-10 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:50:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:50:03] Production.INFO: ==7900== Lock acquired, processing the job...
[2025-03-09 23:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:50:03] Production.INFO: ==7904== Lock acquired, processing the job...
[2025-03-09 23:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:50:03] Production.INFO: ==7898== Lock acquired, processing the job...
[2025-03-09 23:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-09 23:50:03] Production.INFO: ==7910== Lock acquired, processing the job...
[2025-03-09 23:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-09 23:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:50:03] Production.INFO: ==7902== Lock acquired, processing the job...
[2025-03-09 23:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-09 23:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 23:50:03] Production.ERROR: CronJob PID - 7900
[2025-03-09 23:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-09 23:50:03] Production.ERROR: CronJob ID - 5
[2025-03-09 23:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 23:50:00
[2025-03-09 23:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 23:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 23:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 23:50:03] Production.ERROR: CronJob PID - 7904
[2025-03-09 23:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-09 23:50:03] Production.ERROR: CronJob ID - 10
[2025-03-09 23:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 23:50:00
[2025-03-09 23:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 23:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 23:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-09 23:50:03] Production.ERROR: CronJob PID - 7910
[2025-03-09 23:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-09 23:50:03] Production.ERROR: CronJob ID - 17
[2025-03-09 23:50:03] Production.ERROR: CronJob Last Run Time 2025-03-09 23:50:00
[2025-03-09 23:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-09 23:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-09 23:50:03] Production.INFO: ==7906== Lock acquired, processing the job...
[2025-03-09 23:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:50:03] Production.INFO: ==7913== Lock acquired, processing the job...
[2025-03-09 23:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-09 23:50:03] Production.INFO: ==7898== Releasing lock...
[2025-03-09 23:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-09 23:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-09 23:50:03] Production.INFO: ==7908== Lock acquired, processing the job...
[2025-03-09 23:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:50:03] Production.INFO: Account Balance Start.
[2025-03-09 23:50:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:50:03] Production.INFO: 117
[2025-03-09 23:50:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:50:04] Production.INFO: Reseller ==> 0
[2025-03-09 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-03-09 23:50:04] Production.INFO: count ==13
[2025-03-09 23:50:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:50:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:50:04] Production.ERROR: done
[2025-03-09 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-03-09 23:50:04] Production.INFO: count ==21
[2025-03-09 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645647') start
[2025-03-09 23:50:04] Production.INFO: Total Charge 0
[2025-03-09 23:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-09 23:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645649', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) start
[2025-03-09 23:50:04] Production.INFO: CreateAllLog End
[2025-03-09 23:50:04] Production.ERROR: done
[2025-03-09 23:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645647') end
[2025-03-09 23:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:50:04] Production.INFO: 1
[2025-03-09 23:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:50:04] Production.INFO: ==7913== Releasing lock...
[2025-03-09 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:50:04] Production.ERROR: done
[2025-03-09 23:50:04] Production.INFO: ==7902== Releasing lock...
[2025-03-09 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:50:04] Production.INFO: Account Balance End.
[2025-03-09 23:50:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:50:04] Production.INFO: ==7906== Releasing lock...
[2025-03-09 23:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:50:05
[end_date_ymd] => 2025-03-09 23:50:05
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:50:05' and `end` < '2025-03-09 23: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-03-09 23:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645649', 'tblTempUsageDetail_20reseller','2025-03-09','2025-03-09','1' ) end
[2025-03-09 23:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-09 23:50:08] Production.INFO: ProcessCDR(1,14645649,1,1,2)
[2025-03-09 23:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645649,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645649,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:50:09] Production.INFO: ==7910== Releasing lock...
[2025-03-09 23:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-09 23:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-09 23:50:14] Production.ERROR: CronJobId end10
[2025-03-09 23:50:14] Production.INFO: ==7904== Releasing lock...
[2025-03-09 23:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:50:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:50:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:50:15] Production.INFO: call_cost start
[2025-03-09 23:50:15] Production.INFO: call_cost end
[2025-03-09 23:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:50:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:50:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:50:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:50:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:50:16] Production.INFO: ==7900== Releasing lock...
[2025-03-09 23:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:50:17] Production.INFO: count ==675
[2025-03-09 23:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:50:05 - End Time 2025-03-09 23:50:05
[2025-03-09 23:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645650', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645650', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645650', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645650', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:50:18] Production.INFO: ProcessCDR(1,14645650,1,1,2)
[2025-03-09 23:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645650', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645650', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:50:21] Production.INFO: ==7908== Releasing lock...
[2025-03-09 23:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:50:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:51:01] Production.INFO: ==7968== Lock acquired, processing the job...
[2025-03-10 03:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:51:01] Production.INFO: neon service started
[2025-03-10 03:51:01] Production.INFO: neon service started
[2025-03-10 03:51:01] Production.INFO: ==7968== Releasing lock...
[2025-03-10 03:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:51:02] Production.INFO: ==7970== Lock acquired, processing the job...
[2025-03-09 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:51:02] Production.INFO: ==7972== Lock acquired, processing the job...
[2025-03-10 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:51:02] Production.INFO: ==7972== Releasing lock...
[2025-03-10 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:51:02] Production.INFO: ==7970== Releasing lock...
[2025-03-09 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:51:03] Production.INFO: ==7975== Lock acquired, processing the job...
[2025-03-09 23:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:51:03] Production.INFO: ==7981== Lock acquired, processing the job...
[2025-03-09 23:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:51:03] Production.INFO: ==7979== Lock acquired, processing the job...
[2025-03-09 23:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:51:03] Production.INFO: ==7977== Lock acquired, processing the job...
[2025-03-09 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:51:03] Production.INFO: Account Balance Start.
[2025-03-09 23:51:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:51:03] Production.INFO: 117
[2025-03-09 23:51:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:51:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:51:03] Production.INFO: ==7983== Lock acquired, processing the job...
[2025-03-09 23:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:51:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:51:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:51:03] Production.INFO: Total Charge 0
[2025-03-09 23:51:04] Production.INFO: ==7985== Lock acquired, processing the job...
[2025-03-09 23:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:51:04] Production.INFO: CreateAllLog End
[2025-03-09 23: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-03-09 23:51:04] Production.INFO: ==7977== Releasing lock...
[2025-03-09 23:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:51:04] Production.ERROR: done
[2025-03-09 23:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:51:04] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:51:04] Production.INFO: count ==21
[2025-03-09 23:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645654') start
[2025-03-09 23:51:04] Production.ERROR: done
[2025-03-09 23:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645654') end
[2025-03-09 23:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:51:04] Production.INFO: 1
[2025-03-09 23:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:51:04] Production.INFO: Account Balance End.
[2025-03-09 23:51:04] Production.INFO: ==7985== Releasing lock...
[2025-03-09 23:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:51:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:51:04] Production.INFO: ==7981== Releasing lock...
[2025-03-09 23:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:51:05
[end_date_ymd] => 2025-03-09 23:51:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:51:05' and `end` < '2025-03-09 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-03-09 23:51:11] Production.ERROR: CronJobId end10
[2025-03-09 23:51:11] Production.INFO: ==7979== Releasing lock...
[2025-03-09 23:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:51:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:51:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:51:14] Production.INFO: call_cost start
[2025-03-09 23:51:14] Production.INFO: call_cost end
[2025-03-09 23:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:51:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:51:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:51:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:51:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:51:15] Production.INFO: ==7975== Releasing lock...
[2025-03-09 23:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:51:17] Production.INFO: count ==640
[2025-03-09 23:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:51:05 - End Time 2025-03-09 23:51:05
[2025-03-09 23:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645655', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645655', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645655', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645655', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:51:17] Production.INFO: ProcessCDR(1,14645655,1,1,2)
[2025-03-09 23:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645655', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645655', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:51:21] Production.INFO: ==7983== Releasing lock...
[2025-03-09 23:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:51:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:52:01] Production.INFO: ==8084== Lock acquired, processing the job...
[2025-03-10 03:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:52:01] Production.INFO: neon service started
[2025-03-10 03:52:01] Production.INFO: neon service started
[2025-03-10 03:52:01] Production.INFO: ==8084== Releasing lock...
[2025-03-10 03:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:52:02] Production.INFO: ==8086== Lock acquired, processing the job...
[2025-03-09 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:52:02] Production.INFO: ==8088== Lock acquired, processing the job...
[2025-03-10 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:52:02] Production.INFO: ==8088== Releasing lock...
[2025-03-10 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:52:02] Production.INFO: ==8086== Releasing lock...
[2025-03-09 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:52:03] Production.INFO: ==8093== Lock acquired, processing the job...
[2025-03-09 23:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:52:03] Production.INFO: ==8099== Lock acquired, processing the job...
[2025-03-09 23:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:52:03] Production.INFO: ==8095== Lock acquired, processing the job...
[2025-03-09 23:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:52:03] Production.INFO: ==8091== Lock acquired, processing the job...
[2025-03-09 23:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:52:03] Production.INFO: ==8097== Lock acquired, processing the job...
[2025-03-09 23:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:52:03] Production.INFO: ==8093== Releasing lock...
[2025-03-09 23:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:52:03] Production.INFO: ==8101== Lock acquired, processing the job...
[2025-03-09 23:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:52:03] Production.INFO: Account Balance Start.
[2025-03-09 23:52:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:52:03] Production.INFO: 117
[2025-03-09 23:52:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:52:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:52:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:52:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:52:03] Production.ERROR: done
[2025-03-09 23:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 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-03-09 23:52:04] Production.INFO: Total Charge 0
[2025-03-09 23:52:04] Production.INFO: CreateAllLog End
[2025-03-09 23:52:04] Production.INFO: count ==13
[2025-03-09 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-03-09 23:52:04] Production.INFO: count ==21
[2025-03-09 23:52:04] Production.ERROR: done
[2025-03-09 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645659') start
[2025-03-09 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645659') end
[2025-03-09 23:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:52:04] Production.INFO: 1
[2025-03-09 23:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:52:04] Production.INFO: Account Balance End.
[2025-03-09 23:52:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:52:04] Production.INFO: ==8097== Releasing lock...
[2025-03-09 23:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:52:04] Production.INFO: ==8101== Releasing lock...
[2025-03-09 23:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:52:05
[end_date_ymd] => 2025-03-09 23:52:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:52:05' and `end` < '2025-03-09 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-03-09 23:52:12] Production.ERROR: CronJobId end10
[2025-03-09 23:52:12] Production.INFO: ==8095== Releasing lock...
[2025-03-09 23:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:52:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:52:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:52:14] Production.INFO: call_cost start
[2025-03-09 23:52:14] Production.INFO: call_cost end
[2025-03-09 23:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:52:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:52:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:52:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:52:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:52:15] Production.INFO: ==8091== Releasing lock...
[2025-03-09 23:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:52:17] Production.INFO: count ==640
[2025-03-09 23:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:52:05 - End Time 2025-03-09 23:52:05
[2025-03-09 23:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645660', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645660', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645660', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645660', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:52:17] Production.INFO: ProcessCDR(1,14645660,1,1,2)
[2025-03-09 23:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645660', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645660', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:52:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:52:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:52:20] Production.INFO: ==8099== Releasing lock...
[2025-03-09 23:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:52:20] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:53:01] Production.INFO: ==8163== Lock acquired, processing the job...
[2025-03-10 03:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:53:02] Production.INFO: neon service started
[2025-03-10 03:53:02] Production.INFO: neon service started
[2025-03-10 03:53:02] Production.INFO: ==8163== Releasing lock...
[2025-03-10 03:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:53:02] Production.INFO: ==8165== Lock acquired, processing the job...
[2025-03-09 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:53:02] Production.INFO: ==8167== Lock acquired, processing the job...
[2025-03-10 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:53:02] Production.INFO: ==8167== Releasing lock...
[2025-03-10 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:53:02] Production.INFO: ==8165== Releasing lock...
[2025-03-09 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:53:03] Production.INFO: ==8174== Lock acquired, processing the job...
[2025-03-09 23:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:53:03] Production.INFO: ==8172== Lock acquired, processing the job...
[2025-03-09 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:53:03] Production.INFO: ==8170== Lock acquired, processing the job...
[2025-03-09 23:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:53:03] Production.INFO: ==8176== Lock acquired, processing the job...
[2025-03-09 23:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:53:03] Production.INFO: ==8180== Lock acquired, processing the job...
[2025-03-09 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:53:03] Production.INFO: ==8178== Lock acquired, processing the job...
[2025-03-09 23:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:53:03] Production.INFO: Account Balance Start.
[2025-03-09 23:53:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:53:03] Production.INFO: 117
[2025-03-09 23:53:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:53:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:53:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:53:04] Production.INFO: Reseller ==> 0
[2025-03-09 23: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-03-09 23:53:04] Production.INFO: Total Charge 0
[2025-03-09 23:53:04] Production.INFO: CreateAllLog End
[2025-03-09 23:53:04] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:53:04] Production.INFO: count ==21
[2025-03-09 23:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645664') start
[2025-03-09 23:53:04] Production.INFO: ==8172== Releasing lock...
[2025-03-09 23:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645664') end
[2025-03-09 23:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:53:04] Production.INFO: 1
[2025-03-09 23:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:53:04] Production.INFO: Account Balance End.
[2025-03-09 23:53:04] Production.INFO: ==8180== Releasing lock...
[2025-03-09 23:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:53:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:53:04] Production.INFO: ==8176== Releasing lock...
[2025-03-09 23:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:53:04] Production.ERROR: done
[2025-03-09 23:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:53:04] Production.ERROR: done
[2025-03-09 23:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:53:05
[end_date_ymd] => 2025-03-09 23:53:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:53:05' and `end` < '2025-03-09 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-03-09 23:53:12] Production.ERROR: CronJobId end10
[2025-03-09 23:53:12] Production.INFO: ==8174== Releasing lock...
[2025-03-09 23:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:53:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:53:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:53:14] Production.INFO: call_cost start
[2025-03-09 23:53:14] Production.INFO: call_cost end
[2025-03-09 23:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:53:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:53:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:53:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:53:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:53:15] Production.INFO: ==8170== Releasing lock...
[2025-03-09 23:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:53:18] Production.INFO: count ==639
[2025-03-09 23:53:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:53:05 - End Time 2025-03-09 23:53:05
[2025-03-09 23:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645665', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645665', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645665', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645665', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:53:18] Production.INFO: ProcessCDR(1,14645665,1,1,2)
[2025-03-09 23:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645665', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645665', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:53:21] Production.INFO: ==8178== Releasing lock...
[2025-03-09 23:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:53:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:54:01] Production.INFO: ==8235== Lock acquired, processing the job...
[2025-03-10 03:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:54:01] Production.INFO: neon service started
[2025-03-10 03:54:01] Production.INFO: neon service started
[2025-03-10 03:54:01] Production.INFO: ==8235== Releasing lock...
[2025-03-10 03:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:54:02] Production.INFO: ==8237== Lock acquired, processing the job...
[2025-03-09 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:54:02] Production.INFO: ==8239== Lock acquired, processing the job...
[2025-03-10 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:54:02] Production.INFO: ==8239== Releasing lock...
[2025-03-10 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:54:02] Production.INFO: ==8237== Releasing lock...
[2025-03-09 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:54:03] Production.INFO: ==8246== Lock acquired, processing the job...
[2025-03-09 23:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:54:03] Production.INFO: ==8250== Lock acquired, processing the job...
[2025-03-09 23:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:54:03] Production.INFO: ==8242== Lock acquired, processing the job...
[2025-03-09 23:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:54:03] Production.INFO: ==8244== Lock acquired, processing the job...
[2025-03-09 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:54:03] Production.INFO: ==8248== Lock acquired, processing the job...
[2025-03-09 23:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:54:03] Production.INFO: ==8252== Lock acquired, processing the job...
[2025-03-09 23:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 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-03-09 23:54:04] Production.INFO: Account Balance Start.
[2025-03-09 23:54:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:54:04] Production.INFO: 117
[2025-03-09 23:54:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:54:04] Production.INFO: count ==13
[2025-03-09 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-03-09 23:54:04] Production.INFO: count ==21
[2025-03-09 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645667') start
[2025-03-09 23:54:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:54:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:54:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:54:04] Production.INFO: Total Charge 0
[2025-03-09 23:54:04] Production.INFO: CreateAllLog End
[2025-03-09 23:54:04] Production.ERROR: done
[2025-03-09 23:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:54:04] Production.INFO: ==8244== Releasing lock...
[2025-03-09 23:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645667') end
[2025-03-09 23:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:54:04] Production.INFO: 1
[2025-03-09 23:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:54:04] Production.INFO: ==8252== Releasing lock...
[2025-03-09 23:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:54:04] Production.ERROR: done
[2025-03-09 23:54:04] Production.INFO: Account Balance End.
[2025-03-09 23:54:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:54:04] Production.INFO: ==8248== Releasing lock...
[2025-03-09 23:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:54:05
[end_date_ymd] => 2025-03-09 23:54:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:54:05' and `end` < '2025-03-09 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-03-09 23:54:12] Production.ERROR: CronJobId end10
[2025-03-09 23:54:12] Production.INFO: ==8246== Releasing lock...
[2025-03-09 23:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:54:14] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:54:14] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:54:14] Production.INFO: call_cost start
[2025-03-09 23:54:14] Production.INFO: call_cost end
[2025-03-09 23:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:54:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:54:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:54:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:54:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:54:15] Production.INFO: ==8242== Releasing lock...
[2025-03-09 23:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:54:17] Production.INFO: count ==641
[2025-03-09 23:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:54:05 - End Time 2025-03-09 23:54:05
[2025-03-09 23:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645670', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645670', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645670', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645670', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:54:17] Production.INFO: ProcessCDR(1,14645670,1,1,2)
[2025-03-09 23:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645670', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645670', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:54:22] Production.INFO: ==8250== Releasing lock...
[2025-03-09 23:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:54:22] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:55:02] Production.INFO: ==8308== Lock acquired, processing the job...
[2025-03-10 03:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:55:02] Production.INFO: neon service started
[2025-03-10 03:55:02] Production.INFO: neon service started
[2025-03-10 03:55:02] Production.INFO: ==8308== Releasing lock...
[2025-03-10 03:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:55:02] Production.INFO: ==8310== Lock acquired, processing the job...
[2025-03-09 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:55:02] Production.INFO: ==8312== Lock acquired, processing the job...
[2025-03-10 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:55:02] Production.INFO: ==8312== Releasing lock...
[2025-03-10 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:55:03] Production.INFO: ==8310== Releasing lock...
[2025-03-09 23:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:55:03] Production.INFO: ==8315== Lock acquired, processing the job...
[2025-03-09 23:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:55:04] Production.INFO: ==8319== Lock acquired, processing the job...
[2025-03-09 23:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:55:04] Production.INFO: ==8321== Lock acquired, processing the job...
[2025-03-09 23:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:55:04] Production.INFO: ==8317== Lock acquired, processing the job...
[2025-03-09 23:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:55:04] Production.INFO: Account Balance Start.
[2025-03-09 23:55:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:55:04] Production.INFO: 117
[2025-03-09 23:55:04] Production.INFO: Date 2025-03-08
[2025-03-09 23:55:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:55:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:55:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:55:04] Production.INFO: ==8323== Lock acquired, processing the job...
[2025-03-09 23:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:55:04] Production.INFO: ==8325== Lock acquired, processing the job...
[2025-03-09 23:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:55:04] Production.INFO: Total Charge 0
[2025-03-09 23:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:55:04] Production.INFO: CreateAllLog End
[2025-03-09 23: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-03-09 23:55:04] Production.INFO: count ==13
[2025-03-09 23: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-03-09 23:55:04] Production.INFO: count ==21
[2025-03-09 23:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645674') start
[2025-03-09 23:55:04] Production.INFO: ==8317== Releasing lock...
[2025-03-09 23:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645674') end
[2025-03-09 23:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:55:04] Production.INFO: 1
[2025-03-09 23:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:55:04] Production.INFO: Account Balance End.
[2025-03-09 23:55:05] Production.INFO: ==8325== Releasing lock...
[2025-03-09 23:55:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:55:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:55:05] Production.ERROR: done
[2025-03-09 23:55:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:55:05] Production.ERROR: CronJobId end 12
[2025-03-09 23:55:05] Production.INFO: ==8321== Releasing lock...
[2025-03-09 23:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:55:05] Production.ERROR: done
[2025-03-09 23:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:55:06
[end_date_ymd] => 2025-03-09 23:55:06
[RateCDR] => 1
)
[2025-03-09 23: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-03-09 20:55:06' and `end` < '2025-03-09 23: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-03-09 23:55:12] Production.ERROR: CronJobId end10
[2025-03-09 23:55:12] Production.INFO: ==8319== Releasing lock...
[2025-03-09 23:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:55:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:55:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:55:15] Production.INFO: call_cost start
[2025-03-09 23:55:15] Production.INFO: call_cost end
[2025-03-09 23:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:55:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:55:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:55:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:55:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:55:16] Production.INFO: ==8315== Releasing lock...
[2025-03-09 23:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:55:18] Production.INFO: count ==645
[2025-03-09 23:55:18] Production.ERROR: pbx CDR StartTime 2025-03-09 20:55:06 - End Time 2025-03-09 23:55:06
[2025-03-09 23:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645675', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645675', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645675', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645675', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:55:18] Production.INFO: ProcessCDR(1,14645675,1,1,2)
[2025-03-09 23:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645675', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645675', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:55:22] Production.INFO: ==8323== Releasing lock...
[2025-03-09 23:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:55:22] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:56:01] Production.INFO: ==8379== Lock acquired, processing the job...
[2025-03-10 03:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:56:01] Production.INFO: neon service started
[2025-03-10 03:56:01] Production.INFO: neon service started
[2025-03-10 03:56:01] Production.INFO: ==8379== Releasing lock...
[2025-03-10 03:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:56:02] Production.INFO: ==8383== Lock acquired, processing the job...
[2025-03-10 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:56:02] Production.INFO: ==8383== Releasing lock...
[2025-03-10 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:56:02] Production.INFO: ==8381== Lock acquired, processing the job...
[2025-03-09 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:56:02] Production.INFO: ==8381== Releasing lock...
[2025-03-09 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:56:03] Production.INFO: ==8386== Lock acquired, processing the job...
[2025-03-09 23:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:56:03] Production.INFO: ==8394== Lock acquired, processing the job...
[2025-03-09 23:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:56:03] Production.INFO: ==8392== Lock acquired, processing the job...
[2025-03-09 23:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:56:03] Production.INFO: ==8388== Lock acquired, processing the job...
[2025-03-09 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:56:03] Production.INFO: ==8390== Lock acquired, processing the job...
[2025-03-09 23:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:56:03] Production.INFO: Account Balance Start.
[2025-03-09 23:56:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:56:03] Production.INFO: 117
[2025-03-09 23:56:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:56:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:56:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:56:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:56:03] Production.INFO: Total Charge 0
[2025-03-09 23:56:03] Production.INFO: CreateAllLog End
[2025-03-09 23:56:03] Production.INFO: ==8396== Lock acquired, processing the job...
[2025-03-09 23:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:56:03] Production.INFO: Account Balance End.
[2025-03-09 23:56:04] Production.INFO: ==8388== Releasing lock...
[2025-03-09 23:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23: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-03-09 23:56:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:56:04] Production.INFO: ==8392== Releasing lock...
[2025-03-09 23:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:56:04] Production.INFO: count ==13
[2025-03-09 23:56:04] Production.ERROR: done
[2025-03-09 23:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23: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-03-09 23:56:04] Production.INFO: count ==21
[2025-03-09 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645679') start
[2025-03-09 23:56:04] Production.ERROR: done
[2025-03-09 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645679') end
[2025-03-09 23:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:56:04] Production.INFO: 1
[2025-03-09 23:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:56:04] Production.INFO: ==8396== Releasing lock...
[2025-03-09 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:56:05
[end_date_ymd] => 2025-03-09 23:56:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:56:05' and `end` < '2025-03-09 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-03-09 23:56:12] Production.ERROR: CronJobId end10
[2025-03-09 23:56:12] Production.INFO: ==8390== Releasing lock...
[2025-03-09 23:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:56:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:56:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:56:14] Production.INFO: call_cost start
[2025-03-09 23:56:14] Production.INFO: call_cost end
[2025-03-09 23:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:56:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:56:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:56:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:56:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:56:15] Production.INFO: ==8386== Releasing lock...
[2025-03-09 23:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:56:17] Production.INFO: count ==642
[2025-03-09 23:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:56:05 - End Time 2025-03-09 23:56:05
[2025-03-09 23:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645680', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645680', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645680', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645680', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:56:17] Production.INFO: ProcessCDR(1,14645680,1,1,2)
[2025-03-09 23:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645680', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645680', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:56:21] Production.INFO: ==8394== Releasing lock...
[2025-03-09 23:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:56:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 03:57:02] Production.INFO: ==8454== Lock acquired, processing the job...
[2025-03-10 03:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:57:02] Production.INFO: neon service started
[2025-03-10 03:57:02] Production.INFO: neon service started
[2025-03-10 03:57:02] Production.INFO: ==8454== Releasing lock...
[2025-03-10 03:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:57:02] Production.INFO: ==8456== Lock acquired, processing the job...
[2025-03-09 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:57:02] Production.INFO: ==8456== Releasing lock...
[2025-03-09 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:57:02] Production.INFO: ==8458== Lock acquired, processing the job...
[2025-03-10 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:57:02] Production.INFO: ==8458== Releasing lock...
[2025-03-10 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:57:03] Production.INFO: ==8460== Lock acquired, processing the job...
[2025-03-09 23:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:57:03] Production.INFO: ==8462== Lock acquired, processing the job...
[2025-03-09 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:57:03] Production.INFO: ==8466== Lock acquired, processing the job...
[2025-03-09 23:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:57:03] Production.INFO: Account Balance Start.
[2025-03-09 23:57:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:57:03] Production.INFO: 117
[2025-03-09 23:57:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:57:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:57:03] Production.INFO: ==8464== Lock acquired, processing the job...
[2025-03-09 23:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:57:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:57:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:57:03] Production.INFO: ==8468== Lock acquired, processing the job...
[2025-03-09 23:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:57:03] Production.INFO: Total Charge 0
[2025-03-09 23:57:03] Production.INFO: CreateAllLog End
[2025-03-09 23:57:03] Production.INFO: ==8470== Lock acquired, processing the job...
[2025-03-09 23:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:57:03] Production.INFO: ==8462== Releasing lock...
[2025-03-09 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 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-03-09 23:57:04] Production.INFO: Account Balance End.
[2025-03-09 23:57:04] Production.INFO: count ==13
[2025-03-09 23:57:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:57:04] Production.INFO: ==8466== Releasing lock...
[2025-03-09 23:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 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-03-09 23:57:04] Production.INFO: count ==21
[2025-03-09 23:57:04] Production.ERROR: done
[2025-03-09 23:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645684') start
[2025-03-09 23:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645684') end
[2025-03-09 23:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:57:04] Production.INFO: 1
[2025-03-09 23:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:57:04] Production.INFO: ==8470== Releasing lock...
[2025-03-09 23:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:57:04] Production.ERROR: done
[2025-03-09 23:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:57:05
[end_date_ymd] => 2025-03-09 23:57:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:57:05' and `end` < '2025-03-09 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-03-09 23:57:11] Production.ERROR: CronJobId end10
[2025-03-09 23:57:11] Production.INFO: ==8464== Releasing lock...
[2025-03-09 23:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:57:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:57:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:57:14] Production.INFO: call_cost start
[2025-03-09 23:57:14] Production.INFO: call_cost end
[2025-03-09 23:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:57:15] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:57:15] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:57:15] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:57:15] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:57:15] Production.INFO: ==8460== Releasing lock...
[2025-03-09 23:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:57:17] Production.INFO: count ==641
[2025-03-09 23:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:57:05 - End Time 2025-03-09 23:57:05
[2025-03-09 23:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645685', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645685', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645685', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645685', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:57:17] Production.INFO: ProcessCDR(1,14645685,1,1,2)
[2025-03-09 23:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645685', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645685', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:57:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:57:20] Production.INFO: ==8468== Releasing lock...
[2025-03-09 23:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:57:20] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:58:01] Production.INFO: ==8524== Lock acquired, processing the job...
[2025-03-10 03:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:58:01] Production.INFO: neon service started
[2025-03-10 03:58:01] Production.INFO: neon service started
[2025-03-10 03:58:01] Production.INFO: ==8524== Releasing lock...
[2025-03-10 03:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-09 23:58:01] Production.INFO: ==8526== Lock acquired, processing the job...
[2025-03-09 23:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:58:02] Production.INFO: ==8528== Lock acquired, processing the job...
[2025-03-10 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-09 23:58:02] Production.INFO: ==8526== Releasing lock...
[2025-03-09 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:58:02] Production.INFO: ==8528== Releasing lock...
[2025-03-10 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:58:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:58:02] Production.INFO: ==8530== Lock acquired, processing the job...
[2025-03-09 23:58:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:58:02] Production.INFO: ==8532== Lock acquired, processing the job...
[2025-03-09 23:58:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:58:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:58:03] Production.INFO: ==8534== Lock acquired, processing the job...
[2025-03-09 23:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:58:03] Production.INFO: ==8536== Lock acquired, processing the job...
[2025-03-09 23:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:58:03] Production.INFO: ==8532== Releasing lock...
[2025-03-09 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:58:03] Production.INFO: ==8538== Lock acquired, processing the job...
[2025-03-09 23:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:58:03] Production.INFO: ==8540== Lock acquired, processing the job...
[2025-03-09 23:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:58:03] Production.INFO: Account Balance Start.
[2025-03-09 23:58:03] Production.INFO: CreateAllLog Start
[2025-03-09 23:58:03] Production.INFO: 117
[2025-03-09 23:58:03] Production.INFO: Date 2025-03-08
[2025-03-09 23:58:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:58:03] Production.INFO: Date 2025-03-09
[2025-03-09 23:58:03] Production.INFO: Reseller ==> 0
[2025-03-09 23:58:03] Production.INFO: Total Charge 0
[2025-03-09 23:58:03] Production.INFO: CreateAllLog End
[2025-03-09 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-03-09 23:58:03] Production.INFO: count ==13
[2025-03-09 23:58:03] Production.ERROR: done
[2025-03-09 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-03-09 23:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:58:03] Production.INFO: count ==21
[2025-03-09 23:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645689') start
[2025-03-09 23:58:03] Production.INFO: Account Balance End.
[2025-03-09 23:58:03] Production.ERROR: CronJobId end 12
[2025-03-09 23:58:03] Production.INFO: ==8536== Releasing lock...
[2025-03-09 23:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:58:03] Production.ERROR: done
[2025-03-09 23:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645689') end
[2025-03-09 23:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:58:04] Production.INFO: 1
[2025-03-09 23:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:58:04] Production.INFO: ==8540== Releasing lock...
[2025-03-09 23:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:58:04
[end_date_ymd] => 2025-03-09 23:58:04
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:58:04' and `end` < '2025-03-09 23: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-03-09 23:58:11] Production.ERROR: CronJobId end10
[2025-03-09 23:58:11] Production.INFO: ==8534== Releasing lock...
[2025-03-09 23:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:58:13] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:58:13] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:58:13] Production.INFO: call_cost start
[2025-03-09 23:58:13] Production.INFO: call_cost end
[2025-03-09 23:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:58:14] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:58:14] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:58:14] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:58:14] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:58:14] Production.INFO: ==8530== Releasing lock...
[2025-03-09 23:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:58:17] Production.INFO: count ==637
[2025-03-09 23:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:58:04 - End Time 2025-03-09 23:58:04
[2025-03-09 23:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645690', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645690', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645690', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645690', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:58:17] Production.INFO: ProcessCDR(1,14645690,1,1,2)
[2025-03-09 23:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645690', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645690', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:58:22] Production.INFO: ==8538== Releasing lock...
[2025-03-09 23:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:58:22] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 03:59:02] Production.INFO: ==8597== Lock acquired, processing the job...
[2025-03-10 03:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 03:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 03:59:02] Production.INFO: neon service started
[2025-03-10 03:59:02] Production.INFO: neon service started
[2025-03-10 03:59:02] Production.INFO: ==8597== Releasing lock...
[2025-03-10 03:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 03:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:59:02] Production.INFO: ==8601== Lock acquired, processing the job...
[2025-03-10 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:59:02] Production.INFO: ==8601== Releasing lock...
[2025-03-10 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 03:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-09 23:59:02] Production.INFO: ==8599== Lock acquired, processing the job...
[2025-03-09 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-09 23:59:02] Production.INFO: ==8599== Releasing lock...
[2025-03-09 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-09 23:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-09 23:59:03] Production.INFO: ==8604== Lock acquired, processing the job...
[2025-03-09 23:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-09 23:59:03] Production.INFO: ==8606== Lock acquired, processing the job...
[2025-03-09 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-09 23:59:03] Production.INFO: ==8612== Lock acquired, processing the job...
[2025-03-09 23:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-09 23:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-09 23:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-09 23:59:03] Production.INFO: ==8608== Lock acquired, processing the job...
[2025-03-09 23:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-09 23:59:03] Production.INFO: ==8610== Lock acquired, processing the job...
[2025-03-09 23:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-09 23:59:04] Production.INFO: ==8606== Releasing lock...
[2025-03-09 23:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-09 23:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-09 23:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250309Live done
[2025-03-09 23:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309Live done
[2025-03-09 23:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250309Live)
[2025-03-09 23:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-09','2025-03-09','120250309Live')
[2025-03-09 23:59:04] Production.INFO: ==8614== Lock acquired, processing the job...
[2025-03-09 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-09 23:59:04] Production.ERROR: done
[2025-03-09 23:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-09 23:59:04] Production.INFO: Account Balance Start.
[2025-03-09 23:59:04] Production.INFO: CreateAllLog Start
[2025-03-09 23:59:04] Production.INFO: 117
[2025-03-09 23:59:04] Production.INFO: Date 2025-03-08
[2025-03-09 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-03-09 23:59:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:59:04] Production.INFO: count ==13
[2025-03-09 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-03-09 23:59:04] Production.INFO: count ==21
[2025-03-09 23:59:04] Production.INFO: Date 2025-03-09
[2025-03-09 23:59:04] Production.INFO: Reseller ==> 0
[2025-03-09 23:59:04] Production.INFO: Total Charge 0
[2025-03-09 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645694') start
[2025-03-09 23:59:04] Production.INFO: CreateAllLog End
[2025-03-09 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645694') end
[2025-03-09 23:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-09 23:59:04] Production.INFO: 1
[2025-03-09 23:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-09 23:59:04] Production.ERROR: done
[2025-03-09 23:59:04] Production.INFO: ==8614== Releasing lock...
[2025-03-09 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-09 23:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-09 23:59:04] Production.INFO: Account Balance End.
[2025-03-09 23:59:04] Production.ERROR: CronJobId end 12
[2025-03-09 23:59:04] Production.INFO: ==8610== Releasing lock...
[2025-03-09 23:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-09 23:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-09 23:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 20:59:05
[end_date_ymd] => 2025-03-09 23:59:05
[RateCDR] => 1
)
[2025-03-09 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-03-09 20:59:05' and `end` < '2025-03-09 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-03-09 23:59:12] Production.ERROR: CronJobId end10
[2025-03-09 23:59:12] Production.INFO: ==8608== Releasing lock...
[2025-03-09 23:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-09 23:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-09 23:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-09 23:59:15] Production.INFO: ============== Balance Warning START===========
[2025-03-09 23:59:15] Production.INFO: ============== Balance Warning END===========
[2025-03-09 23:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-09 23:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-09 23:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-09 23:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-09 23:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-09 23:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-09 23:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-09 23:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-09 23:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-09 23:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-09 23:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-09 23:59:15] Production.INFO: call_cost start
[2025-03-09 23:59:15] Production.INFO: call_cost end
[2025-03-09 23:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-09 23:59:16] Production.INFO: ============== Report Schedule START===========
[2025-03-09 23:59:16] Production.INFO: ============== Report Schedule END===========
[2025-03-09 23:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-09 23:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-09 23:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-09 23:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-09 23:59:16] Production.INFO: ============== Deal alert START===========
[2025-03-09 23:59:16] Production.INFO: ============== Deal alert END===========
[2025-03-09 23:59:16] Production.INFO: ==8604== Releasing lock...
[2025-03-09 23:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-09 23:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-09 23:59:17] Production.INFO: count ==634
[2025-03-09 23:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 20:59:05 - End Time 2025-03-09 23:59:05
[2025-03-09 23:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-09 23:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645695', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645695', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645695', 'tblTempVendorCDR_20' ) start
[2025-03-09 23:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645695', 'tblTempVendorCDR_20' ) end
[2025-03-09 23:59:17] Production.INFO: ProcessCDR(1,14645695,1,1,2)
[2025-03-09 23:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-09 23:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-09 23:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645695', 'tblTempUsageDetail_20' ) start
[2025-03-09 23:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645695', 'tblTempUsageDetail_20' ) end
[2025-03-09 23:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-09 23:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-09 23:59:21] Production.INFO: ==8612== Releasing lock...
[2025-03-09 23:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-09 23:59:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 04:00:01] Production.INFO: ==8668== Lock acquired, processing the job...
[2025-03-10 04:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:00:01] Production.INFO: neon service started
[2025-03-10 04:00:01] Production.INFO: neon service started
[2025-03-10 04:00:01] Production.INFO: ==8668== Releasing lock...
[2025-03-10 04:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:00:02] Production.INFO: ==8670== Lock acquired, processing the job...
[2025-03-10 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:00:02] Production.INFO: ==8672== Lock acquired, processing the job...
[2025-03-10 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:00:02] Production.INFO: ==8672== Releasing lock...
[2025-03-10 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:00:02] Production.INFO: ==8670== Releasing lock...
[2025-03-10 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:00:03] Production.INFO: ==8675== Lock acquired, processing the job...
[2025-03-10 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 00:00:03] Production.INFO: ==8683== Lock acquired, processing the job...
[2025-03-10 00:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:00:03] Production.INFO: ==8687== Lock acquired, processing the job...
[2025-03-10 00:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 00:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 00:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 00:00:03] Production.ERROR: CronJob PID - 8683
[2025-03-10 00:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 00:00:03] Production.ERROR: CronJob ID - 12
[2025-03-10 00:00:03] Production.ERROR: CronJob Last Run Time 2025-03-10 00:00:00
[2025-03-10 00:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 00:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 00:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 00:00:03] Production.INFO: ==8675== Releasing lock...
[2025-03-10 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 00:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 00:00:03] Production.INFO: ==8689== Lock acquired, processing the job...
[2025-03-10 00:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:00:03] Production.INFO: Account Balance Start.
[2025-03-10 00:00:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:00:04] Production.INFO: 117
[2025-03-10 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:00:04] Production.INFO: ==8677== Lock acquired, processing the job...
[2025-03-10 00:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:00:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:00:04] Production.INFO: ==8679== Lock acquired, processing the job...
[2025-03-10 00:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:00:04] Production.INFO: ==8685== Lock acquired, processing the job...
[2025-03-10 00:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:00:04] Production.INFO: ==8681== Lock acquired, processing the job...
[2025-03-10 00:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 00:00:04] Production.INFO: Total Charge 0
[2025-03-10 00:00:04] Production.INFO: count ==13
[2025-03-10 00:00:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 00:00:04] Production.INFO: count ==21
[2025-03-10 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645697') start
[2025-03-10 00:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:00:04] Production.ERROR: done
[2025-03-10 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645697') end
[2025-03-10 00:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:00:04] Production.INFO: 1
[2025-03-10 00:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:00:04] Production.INFO: ==8689== Releasing lock...
[2025-03-10 00:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 00:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645700', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 00:00:04] Production.ERROR: done
[2025-03-10 00:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:00:04] Production.INFO: Account Balance End.
[2025-03-10 00:00:04] Production.ERROR: done
[2025-03-10 00:00:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:00:04] Production.INFO: ==8683== Releasing lock...
[2025-03-10 00:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:00:04] Production.INFO: ==8679== Releasing lock...
[2025-03-10 00:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:00:06
[end_date_ymd] => 2025-03-10 00:00:06
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:00:06' and `end` < '2025-03-10 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-03-10 00:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645700', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 00:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 00:00:09] Production.INFO: ProcessCDR(1,14645700,1,1,2)
[2025-03-10 00:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645700,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645700,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:00:09] Production.INFO: ==8687== Releasing lock...
[2025-03-10 00:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 00:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 00:00:13] Production.ERROR: CronJobId end10
[2025-03-10 00:00:13] Production.INFO: ==8681== Releasing lock...
[2025-03-10 00:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:00:13] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:00:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:00:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:00:15] Production.INFO: call_cost start
[2025-03-10 00:00:15] Production.INFO: call_cost end
[2025-03-10 00:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:00:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:00:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:00:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:00:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:00:16] Production.INFO: ==8677== Releasing lock...
[2025-03-10 00:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:00:18] Production.INFO: count ==633
[2025-03-10 00:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:00:06 - End Time 2025-03-10 00:00:06
[2025-03-10 00:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645701', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645701', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645701', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645701', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:00:18] Production.INFO: ProcessCDR(1,14645701,1,1,2)
[2025-03-10 00:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645701', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645701', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:00:23] Production.INFO: ==8685== Releasing lock...
[2025-03-10 00:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:00:23] Production.INFO: 33.75 MB #Memory Used#
[2025-03-10 04:01:02] Production.INFO: ==8745== Lock acquired, processing the job...
[2025-03-10 04:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:01:02] Production.INFO: neon service started
[2025-03-10 04:01:02] Production.INFO: neon service started
[2025-03-10 04:01:02] Production.INFO: ==8745== Releasing lock...
[2025-03-10 04:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:01:02] Production.INFO: ==8760== Lock acquired, processing the job...
[2025-03-10 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:01:02] Production.INFO: ==8762== Lock acquired, processing the job...
[2025-03-10 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:01:02] Production.INFO: ==8762== Releasing lock...
[2025-03-10 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:01:03] Production.INFO: ==8760== Releasing lock...
[2025-03-10 00:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:01:04] Production.INFO: ==8765== Lock acquired, processing the job...
[2025-03-10 00:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:01:04] Production.INFO: ==8767== Lock acquired, processing the job...
[2025-03-10 00:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:01:04] Production.INFO: ==8773== Lock acquired, processing the job...
[2025-03-10 00:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:01:04] Production.INFO: ==8771== Lock acquired, processing the job...
[2025-03-10 00:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:01:04] Production.INFO: ==8769== Lock acquired, processing the job...
[2025-03-10 00:01:04] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Starts#
[2025-03-10 00:01:04] Production.INFO: ==8775== Lock acquired, processing the job...
[2025-03-10 00:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:01:04] Production.INFO: ==8777== Lock acquired, processing the job...
[2025-03-10 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:01:04] Production.INFO: Account Balance Start.
[2025-03-10 00:01:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:01:04] Production.INFO: 117
[2025-03-10 00:01:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 00:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:01:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:01:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:01:04] Production.INFO: count ==21
[2025-03-10 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645705') start
[2025-03-10 00:01:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:01:04] Production.INFO: Total Charge 0
[2025-03-10 00:01:04] Production.INFO: CreateAllLog End
[2025-03-10 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645705') end
[2025-03-10 00:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:01:04] Production.INFO: 1
[2025-03-10 00:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:01:04] Production.INFO: ==8767== Releasing lock...
[2025-03-10 00:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:01:05] Production.INFO: ==8777== Releasing lock...
[2025-03-10 00:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:01:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:01:05] Production.ERROR: done
[2025-03-10 00:01:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:01:05] Production.ERROR: done
[2025-03-10 00:01:05] Production.INFO: Account Balance End.
[2025-03-10 00:01:05] Production.ERROR: CronJobId end 12
[2025-03-10 00:01:05] Production.INFO: ==8773== Releasing lock...
[2025-03-10 00:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:01:06
[end_date_ymd] => 2025-03-10 00:01:06
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:01:06' and `end` < '2025-03-10 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-03-10 00:01:11] Production.ERROR: tmp_tblUsageDetailsReport_120250306 done
[2025-03-10 00:01:12] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250306 done
[2025-03-10 00:01:12] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250306
[2025-03-10 00:01:13] Production.INFO: call prc_generateSummary(1,'2025-03-06','2025-03-06','120250306')
[2025-03-10 00:01:17] Production.INFO: call prc_generateVendorSummary(1,'2025-03-06','2025-03-06','120250306')
[2025-03-10 00:01:18] Production.INFO: count ==623
[2025-03-10 00:01:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:01:06 - End Time 2025-03-10 00:01:06
[2025-03-10 00:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645706', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645706', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645706', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645706', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:01:19] Production.INFO: ProcessCDR(1,14645706,1,1,2)
[2025-03-10 00:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:01:19] Production.ERROR: CronJobId end10
[2025-03-10 00:01:19] Production.INFO: ==8771== Releasing lock...
[2025-03-10 00:01:19] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:01:19] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:01:19] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:01:19] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:01:19] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:01:19] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:01:19] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:01:19] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:01:19] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:01:19] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:01:19] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:01:19] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:01:19] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:01:19] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:01:19] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:01:19] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:01:20] Production.INFO: call_cost start
[2025-03-10 00:01:20] Production.INFO: call_cost end
[2025-03-10 00:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:01:21] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:01:21] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:01:21] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:01:21] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:01:21] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:01:21] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:01:21] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:01:21] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:01:21] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:01:21] Production.INFO: ==8765== Releasing lock...
[2025-03-10 00:01:21] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:01:21] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:01:23] Production.ERROR: tmp_tblUsageDetailsReport_120250307 done
[2025-03-10 00:01:23] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250307 done
[2025-03-10 00:01:23] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250307
[2025-03-10 00:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645706', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645706', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:01:24] Production.INFO: ==8775== Releasing lock...
[2025-03-10 00:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:01:24] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 00:01:24] Production.INFO: call prc_generateSummary(1,'2025-03-07','2025-03-07','120250307')
[2025-03-10 00:01:27] Production.INFO: call prc_generateVendorSummary(1,'2025-03-07','2025-03-07','120250307')
[2025-03-10 00:01:30] Production.ERROR: tmp_tblUsageDetailsReport_120250308 done
[2025-03-10 00:01:30] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250308 done
[2025-03-10 00:01:30] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250308
[2025-03-10 00:01:31] Production.INFO: call prc_generateSummary(1,'2025-03-08','2025-03-08','120250308')
[2025-03-10 00:01:34] Production.INFO: call prc_generateVendorSummary(1,'2025-03-08','2025-03-08','120250308')
[2025-03-10 00:01:37] Production.ERROR: tmp_tblUsageDetailsReport_120250309 done
[2025-03-10 00:01:37] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250309 done
[2025-03-10 00:01:37] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250309
[2025-03-10 00:01:37] Production.INFO: call prc_generateSummary(1,'2025-03-09','2025-03-09','120250309')
[2025-03-10 00:01:40] Production.INFO: call prc_generateVendorSummary(1,'2025-03-09','2025-03-09','120250309')
[2025-03-10 00:01:43] Production.ERROR: CronJobId end9
[2025-03-10 00:01:43] Production.INFO: ==8769== Releasing lock...
[2025-03-10 00:01:43] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Stops#
[2025-03-10 00:01:43] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:02:01] Production.INFO: ==8832== Lock acquired, processing the job...
[2025-03-10 04:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:02:01] Production.INFO: neon service started
[2025-03-10 04:02:01] Production.INFO: neon service started
[2025-03-10 04:02:01] Production.INFO: ==8832== Releasing lock...
[2025-03-10 04:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:02:02] Production.INFO: ==8837== Lock acquired, processing the job...
[2025-03-10 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:02:02] Production.INFO: ==8837== Releasing lock...
[2025-03-10 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:02:02] Production.INFO: ==8835== Lock acquired, processing the job...
[2025-03-10 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:02:02] Production.INFO: ==8835== Releasing lock...
[2025-03-10 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:02:03] Production.INFO: ==8839== Lock acquired, processing the job...
[2025-03-10 00:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:02:03] Production.INFO: ==8847== Lock acquired, processing the job...
[2025-03-10 00:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:02:03] Production.INFO: ==8841== Lock acquired, processing the job...
[2025-03-10 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:02:03] Production.INFO: ==8843== Lock acquired, processing the job...
[2025-03-10 00:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:02:03] Production.INFO: ==8845== Lock acquired, processing the job...
[2025-03-10 00:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:02:03] Production.INFO: ==8849== Lock acquired, processing the job...
[2025-03-10 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:02:03] Production.INFO: Account Balance Start.
[2025-03-10 00:02:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:02:03] Production.INFO: 117
[2025-03-10 00:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 00:02:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:02:03] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:02:04] Production.INFO: count ==21
[2025-03-10 00:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645710') start
[2025-03-10 00:02:04] Production.ERROR: done
[2025-03-10 00:02:04] Production.INFO: ==8841== Releasing lock...
[2025-03-10 00:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:02:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:02:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645710') end
[2025-03-10 00:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:02:04] Production.INFO: 1
[2025-03-10 00:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:02:04] Production.INFO: ==8849== Releasing lock...
[2025-03-10 00:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:02:04] Production.ERROR: done
[2025-03-10 00:02:04] Production.INFO: Total Charge 0
[2025-03-10 00:02:04] Production.INFO: CreateAllLog End
[2025-03-10 00:02:04] Production.INFO: Account Balance End.
[2025-03-10 00:02:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:02:04] Production.INFO: ==8845== Releasing lock...
[2025-03-10 00:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:02:05
[end_date_ymd] => 2025-03-10 00:02:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:02:05' and `end` < '2025-03-10 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-03-10 00:02:12] Production.ERROR: CronJobId end10
[2025-03-10 00:02:12] Production.INFO: ==8843== Releasing lock...
[2025-03-10 00:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:02:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:02:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:02:15] Production.INFO: call_cost start
[2025-03-10 00:02:15] Production.INFO: call_cost end
[2025-03-10 00:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:02:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:02:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:02:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:02:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:02:16] Production.INFO: ==8839== Releasing lock...
[2025-03-10 00:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:02:17] Production.INFO: count ==298
[2025-03-10 00:02:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:02:05 - End Time 2025-03-10 00:02:05
[2025-03-10 00:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645711', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645711', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645711', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645711', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:02:17] Production.INFO: ProcessCDR(1,14645711,1,1,2)
[2025-03-10 00:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645711', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645711', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:02:21] Production.INFO: ==8847== Releasing lock...
[2025-03-10 00:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:02:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 04:03:02] Production.INFO: ==8908== Lock acquired, processing the job...
[2025-03-10 04:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:03:02] Production.INFO: neon service started
[2025-03-10 04:03:02] Production.INFO: neon service started
[2025-03-10 04:03:02] Production.INFO: ==8908== Releasing lock...
[2025-03-10 04:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:03:02] Production.INFO: ==8910== Lock acquired, processing the job...
[2025-03-10 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:03:02] Production.INFO: ==8912== Lock acquired, processing the job...
[2025-03-10 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:03:02] Production.INFO: ==8912== Releasing lock...
[2025-03-10 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:03:03] Production.INFO: ==8910== Releasing lock...
[2025-03-10 00:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:03:04] Production.INFO: ==8918== Lock acquired, processing the job...
[2025-03-10 00:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:03:04] Production.INFO: ==8920== Lock acquired, processing the job...
[2025-03-10 00:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:03:04] Production.INFO: ==8922== Lock acquired, processing the job...
[2025-03-10 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:03:04] Production.INFO: Account Balance Start.
[2025-03-10 00:03:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:03:04] Production.INFO: 117
[2025-03-10 00:03:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:03:04] Production.INFO: ==8916== Lock acquired, processing the job...
[2025-03-10 00:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:03:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:03:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:03:04] Production.INFO: ==8924== Lock acquired, processing the job...
[2025-03-10 00:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:03:04] Production.INFO: Total Charge 0
[2025-03-10 00:03:04] Production.INFO: CreateAllLog End
[2025-03-10 00:03:04] Production.INFO: ==8926== Lock acquired, processing the job...
[2025-03-10 00:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 00:03:04] Production.INFO: ==8918== Releasing lock...
[2025-03-10 00:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:03:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:03:04] Production.INFO: count ==21
[2025-03-10 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645715') start
[2025-03-10 00:03:04] Production.INFO: Account Balance End.
[2025-03-10 00:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:03:04] Production.INFO: ==8922== Releasing lock...
[2025-03-10 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:03:04] Production.ERROR: done
[2025-03-10 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645715') end
[2025-03-10 00:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:03:04] Production.INFO: 1
[2025-03-10 00:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:03:05] Production.INFO: ==8926== Releasing lock...
[2025-03-10 00:03:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:03:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:03:05] Production.ERROR: done
[2025-03-10 00:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:03:06
[end_date_ymd] => 2025-03-10 00:03:06
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:03:06' and `end` < '2025-03-10 00: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-03-10 00:03:11] Production.ERROR: CronJobId end10
[2025-03-10 00:03:11] Production.INFO: ==8920== Releasing lock...
[2025-03-10 00:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:03:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:03:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:03:15] Production.INFO: call_cost start
[2025-03-10 00:03:15] Production.INFO: call_cost end
[2025-03-10 00:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:03:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:03:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:03:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:03:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:03:16] Production.INFO: ==8916== Releasing lock...
[2025-03-10 00:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:03:18] Production.INFO: count ==292
[2025-03-10 00:03:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:03:06 - End Time 2025-03-10 00:03:06
[2025-03-10 00:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645716', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645716', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645716', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645716', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:03:18] Production.INFO: ProcessCDR(1,14645716,1,1,2)
[2025-03-10 00:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645716', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645716', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:03:21] Production.INFO: ==8924== Releasing lock...
[2025-03-10 00:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:03:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 04:04:01] Production.INFO: ==8982== Lock acquired, processing the job...
[2025-03-10 04:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:04:01] Production.INFO: neon service started
[2025-03-10 04:04:01] Production.INFO: neon service started
[2025-03-10 04:04:01] Production.INFO: ==8982== Releasing lock...
[2025-03-10 04:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:04:01] Production.INFO: ==8984== Lock acquired, processing the job...
[2025-03-10 00:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:04:02] Production.INFO: ==8984== Releasing lock...
[2025-03-10 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:04:02] Production.INFO: ==8986== Lock acquired, processing the job...
[2025-03-10 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:04:02] Production.INFO: ==8986== Releasing lock...
[2025-03-10 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:04:03] Production.INFO: ==8993== Lock acquired, processing the job...
[2025-03-10 00:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:04:03] Production.INFO: ==8989== Lock acquired, processing the job...
[2025-03-10 00:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:04:03] Production.INFO: ==8997== Lock acquired, processing the job...
[2025-03-10 00:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:04:03] Production.INFO: ==8991== Lock acquired, processing the job...
[2025-03-10 00:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:04:03] Production.INFO: ==8999== Lock acquired, processing the job...
[2025-03-10 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:04:03] Production.INFO: ==8995== Lock acquired, processing the job...
[2025-03-10 00:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:04:03] Production.INFO: Account Balance Start.
[2025-03-10 00:04:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:04:03] Production.INFO: 117
[2025-03-10 00:04:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 00:04:03] Production.INFO: count ==13
[2025-03-10 00:04:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:04:03] Production.INFO: Date 2025-03-10
[2025-03-10 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-03-10 00:04:03] Production.INFO: count ==21
[2025-03-10 00:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645718') start
[2025-03-10 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645718') end
[2025-03-10 00:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:04:03] Production.INFO: 1
[2025-03-10 00:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:04:03] Production.ERROR: done
[2025-03-10 00:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:04:03] Production.INFO: ==8999== Releasing lock...
[2025-03-10 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:04:03] Production.INFO: Total Charge 0
[2025-03-10 00:04:03] Production.INFO: CreateAllLog End
[2025-03-10 00:04:04] Production.ERROR: done
[2025-03-10 00:04:04] Production.INFO: ==8991== Releasing lock...
[2025-03-10 00:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:04:04] Production.INFO: Account Balance End.
[2025-03-10 00:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:04:04] Production.INFO: ==8995== Releasing lock...
[2025-03-10 00:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:04:05
[end_date_ymd] => 2025-03-10 00:04:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:04:05' and `end` < '2025-03-10 00: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-03-10 00:04:10] Production.ERROR: CronJobId end10
[2025-03-10 00:04:10] Production.INFO: ==8993== Releasing lock...
[2025-03-10 00:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:04:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:04:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:04:13] Production.INFO: call_cost start
[2025-03-10 00:04:13] Production.INFO: call_cost end
[2025-03-10 00:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:04:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:04:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:04:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:04:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:04:14] Production.INFO: ==8989== Releasing lock...
[2025-03-10 00:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:04:17] Production.INFO: count ==291
[2025-03-10 00:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:04:05 - End Time 2025-03-10 00:04:05
[2025-03-10 00:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645721', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645721', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645721', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645721', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:04:17] Production.INFO: ProcessCDR(1,14645721,1,1,2)
[2025-03-10 00:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645721', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645721', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:04:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:04:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:04:20] Production.INFO: ==8997== Releasing lock...
[2025-03-10 00:04:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:04:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:05:02] Production.INFO: ==9060== Lock acquired, processing the job...
[2025-03-10 04:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:05:02] Production.INFO: neon service started
[2025-03-10 04:05:02] Production.INFO: neon service started
[2025-03-10 04:05:02] Production.INFO: ==9060== Releasing lock...
[2025-03-10 04:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:05:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 00:05:02] Production.INFO: ==9062== Lock acquired, processing the job...
[2025-03-10 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:05:02] Production.INFO: ==9062== Releasing lock...
[2025-03-10 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:05:02] Production.INFO: ==9064== Lock acquired, processing the job...
[2025-03-10 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:05:02] Production.INFO: ==9064== Releasing lock...
[2025-03-10 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:05:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:05:03] Production.INFO: ==9066== Lock acquired, processing the job...
[2025-03-10 00:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:05:03] Production.INFO: ==9070== Lock acquired, processing the job...
[2025-03-10 00:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:05:03] Production.INFO: ==9068== Lock acquired, processing the job...
[2025-03-10 00:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:05:03] Production.INFO: ==9074== Lock acquired, processing the job...
[2025-03-10 00:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:05:03] Production.INFO: ==9072== Lock acquired, processing the job...
[2025-03-10 00:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:05:03] Production.INFO: Account Balance Start.
[2025-03-10 00:05:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:05:03] Production.INFO: 117
[2025-03-10 00:05:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:05:03] Production.INFO: ==9076== Lock acquired, processing the job...
[2025-03-10 00:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:05:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:05:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 00:05:04] Production.INFO: Total Charge 0
[2025-03-10 00:05:04] Production.INFO: count ==13
[2025-03-10 00:05:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 00:05:04] Production.INFO: count ==21
[2025-03-10 00:05:04] Production.INFO: ==9068== Releasing lock...
[2025-03-10 00:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645725') start
[2025-03-10 00:05:04] Production.ERROR: done
[2025-03-10 00:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645725') end
[2025-03-10 00:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:05:04] Production.INFO: 1
[2025-03-10 00:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:05:04] Production.ERROR: done
[2025-03-10 00:05:04] Production.INFO: ==9076== Releasing lock...
[2025-03-10 00:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:05:04] Production.INFO: Account Balance End.
[2025-03-10 00:05:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:05:04] Production.INFO: ==9072== Releasing lock...
[2025-03-10 00:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:05:05
[end_date_ymd] => 2025-03-10 00:05:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:05:05' and `end` < '2025-03-10 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-03-10 00:05:12] Production.ERROR: CronJobId end10
[2025-03-10 00:05:12] Production.INFO: ==9070== Releasing lock...
[2025-03-10 00:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:05:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:05:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:05:15] Production.INFO: call_cost start
[2025-03-10 00:05:15] Production.INFO: call_cost end
[2025-03-10 00:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:05:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:05:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:05:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:05:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:05:15] Production.INFO: ==9066== Releasing lock...
[2025-03-10 00:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:05:17] Production.INFO: count ==291
[2025-03-10 00:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:05:05 - End Time 2025-03-10 00:05:05
[2025-03-10 00:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645726', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645726', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645726', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645726', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:05:17] Production.INFO: ProcessCDR(1,14645726,1,1,2)
[2025-03-10 00:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645726', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645726', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:05:20] Production.INFO: ==9074== Releasing lock...
[2025-03-10 00:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:05:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:06:01] Production.INFO: ==9130== Lock acquired, processing the job...
[2025-03-10 04:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:06:01] Production.INFO: neon service started
[2025-03-10 04:06:01] Production.INFO: neon service started
[2025-03-10 04:06:01] Production.INFO: ==9130== Releasing lock...
[2025-03-10 04:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:06:01] Production.INFO: ==9132== Lock acquired, processing the job...
[2025-03-10 00:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:06:02] Production.INFO: ==9134== Lock acquired, processing the job...
[2025-03-10 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:06:02] Production.INFO: ==9132== Releasing lock...
[2025-03-10 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:06:02] Production.INFO: ==9134== Releasing lock...
[2025-03-10 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:06:03] Production.INFO: ==9137== Lock acquired, processing the job...
[2025-03-10 00:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:06:03] Production.INFO: ==9141== Lock acquired, processing the job...
[2025-03-10 00:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:06:03] Production.INFO: ==9143== Lock acquired, processing the job...
[2025-03-10 00:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:06:03] Production.INFO: Account Balance Start.
[2025-03-10 00:06:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:06:03] Production.INFO: 117
[2025-03-10 00:06:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:06:03] Production.INFO: ==9139== Lock acquired, processing the job...
[2025-03-10 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:06:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:06:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:06:03] Production.INFO: ==9145== Lock acquired, processing the job...
[2025-03-10 00:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:06:03] Production.INFO: Total Charge 0
[2025-03-10 00:06:03] Production.INFO: ==9147== Lock acquired, processing the job...
[2025-03-10 00:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:06:03] Production.INFO: CreateAllLog End
[2025-03-10 00:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 00:06:03] Production.INFO: count ==13
[2025-03-10 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-03-10 00:06:03] Production.INFO: count ==21
[2025-03-10 00:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645730') start
[2025-03-10 00:06:03] Production.INFO: ==9139== Releasing lock...
[2025-03-10 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:06:03] Production.INFO: Account Balance End.
[2025-03-10 00:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645730') end
[2025-03-10 00:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:06:03] Production.INFO: 1
[2025-03-10 00:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:06:03] Production.ERROR: CronJobId end 12
[2025-03-10 00:06:03] Production.INFO: ==9143== Releasing lock...
[2025-03-10 00:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:06:03] Production.ERROR: done
[2025-03-10 00:06:03] Production.INFO: ==9147== Releasing lock...
[2025-03-10 00:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:06:04] Production.ERROR: done
[2025-03-10 00:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:06:05
[end_date_ymd] => 2025-03-10 00:06:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:06:05' and `end` < '2025-03-10 00: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-03-10 00:06:11] Production.ERROR: CronJobId end10
[2025-03-10 00:06:11] Production.INFO: ==9141== Releasing lock...
[2025-03-10 00:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:06:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:06:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:06:13] Production.INFO: call_cost start
[2025-03-10 00:06:13] Production.INFO: call_cost end
[2025-03-10 00:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:06:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:06:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:06:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:06:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:06:14] Production.INFO: ==9137== Releasing lock...
[2025-03-10 00:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:06:17] Production.INFO: count ==291
[2025-03-10 00:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:06:05 - End Time 2025-03-10 00:06:05
[2025-03-10 00:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645731', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645731', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645731', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645731', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:06:17] Production.INFO: ProcessCDR(1,14645731,1,1,2)
[2025-03-10 00:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:06:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645731', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645731', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:06:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:06:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:06:20] Production.INFO: ==9145== Releasing lock...
[2025-03-10 00:06:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:06:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:07:01] Production.INFO: ==9242== Lock acquired, processing the job...
[2025-03-10 04:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:07:01] Production.INFO: neon service started
[2025-03-10 04:07:01] Production.INFO: neon service started
[2025-03-10 04:07:01] Production.INFO: ==9242== Releasing lock...
[2025-03-10 04:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:07:02] Production.INFO: ==9244== Lock acquired, processing the job...
[2025-03-10 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:07:02] Production.INFO: ==9244== Releasing lock...
[2025-03-10 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:07:02] Production.INFO: ==9246== Lock acquired, processing the job...
[2025-03-10 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:07:02] Production.INFO: ==9246== Releasing lock...
[2025-03-10 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:07:03] Production.INFO: ==9250== Lock acquired, processing the job...
[2025-03-10 00:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:07:03] Production.INFO: ==9248== Lock acquired, processing the job...
[2025-03-10 00:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:07:03] Production.INFO: ==9252== Lock acquired, processing the job...
[2025-03-10 00:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:07:03] Production.INFO: ==9256== Lock acquired, processing the job...
[2025-03-10 00:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:07:03] Production.INFO: ==9254== Lock acquired, processing the job...
[2025-03-10 00:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:07:03] Production.INFO: ==9258== Lock acquired, processing the job...
[2025-03-10 00:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:07:03] Production.INFO: Account Balance Start.
[2025-03-10 00:07:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:07:03] Production.INFO: 117
[2025-03-10 00:07:03] Production.INFO: ==9250== Releasing lock...
[2025-03-10 00:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:07:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 00: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-03-10 00:07:03] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:07:03] Production.INFO: count ==21
[2025-03-10 00:07:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645735') start
[2025-03-10 00:07:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:07:04] Production.INFO: Total Charge 0
[2025-03-10 00:07:04] Production.INFO: CreateAllLog End
[2025-03-10 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645735') end
[2025-03-10 00:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:07:04] Production.INFO: 1
[2025-03-10 00:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:07:04] Production.ERROR: done
[2025-03-10 00:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:07:04] Production.INFO: ==9258== Releasing lock...
[2025-03-10 00:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:07:04] Production.ERROR: done
[2025-03-10 00:07:04] Production.INFO: Account Balance End.
[2025-03-10 00:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:07:04] Production.INFO: ==9254== Releasing lock...
[2025-03-10 00:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:07:05
[end_date_ymd] => 2025-03-10 00:07:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:07:05' and `end` < '2025-03-10 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-03-10 00:07:11] Production.ERROR: CronJobId end10
[2025-03-10 00:07:11] Production.INFO: ==9252== Releasing lock...
[2025-03-10 00:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:07:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:07:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:07:14] Production.INFO: call_cost start
[2025-03-10 00:07:14] Production.INFO: call_cost end
[2025-03-10 00:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:07:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:07:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:07:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:07:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:07:15] Production.INFO: ==9248== Releasing lock...
[2025-03-10 00:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:07:17] Production.INFO: count ==290
[2025-03-10 00:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:07:05 - End Time 2025-03-10 00:07:05
[2025-03-10 00:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645736', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645736', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645736', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645736', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:07:17] Production.INFO: ProcessCDR(1,14645736,1,1,2)
[2025-03-10 00:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645736', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645736', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:07:21] Production.INFO: ==9256== Releasing lock...
[2025-03-10 00:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:07:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:08:02] Production.INFO: ==9319== Lock acquired, processing the job...
[2025-03-10 04:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:08:02] Production.INFO: neon service started
[2025-03-10 04:08:02] Production.INFO: neon service started
[2025-03-10 04:08:02] Production.INFO: ==9319== Releasing lock...
[2025-03-10 04:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:08:02] Production.INFO: ==9321== Lock acquired, processing the job...
[2025-03-10 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:08:02] Production.INFO: ==9321== Releasing lock...
[2025-03-10 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:08:03] Production.INFO: ==9323== Lock acquired, processing the job...
[2025-03-10 04:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:08:03] Production.INFO: ==9323== Releasing lock...
[2025-03-10 04:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:08:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:08:03] Production.INFO: ==9327== Lock acquired, processing the job...
[2025-03-10 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:08:03] Production.INFO: ==9329== Lock acquired, processing the job...
[2025-03-10 00:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:08:03] Production.INFO: ==9331== Lock acquired, processing the job...
[2025-03-10 00:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:08:04] Production.INFO: ==9327== Releasing lock...
[2025-03-10 00:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:08:04] Production.INFO: ==9325== Lock acquired, processing the job...
[2025-03-10 00:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:08:04] Production.INFO: Account Balance Start.
[2025-03-10 00:08:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:08:04] Production.INFO: 117
[2025-03-10 00:08:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:08:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:08:04] Production.INFO: ==9333== Lock acquired, processing the job...
[2025-03-10 00:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:08:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:08:04] Production.INFO: ==9335== Lock acquired, processing the job...
[2025-03-10 00:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:08:04] Production.INFO: Total Charge 0
[2025-03-10 00:08:04] Production.INFO: CreateAllLog End
[2025-03-10 00: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-03-10 00:08:04] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:08:04] Production.INFO: count ==21
[2025-03-10 00:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645740') start
[2025-03-10 00:08:04] Production.ERROR: done
[2025-03-10 00:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:08:04] Production.INFO: Account Balance End.
[2025-03-10 00:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:08:04] Production.INFO: ==9331== Releasing lock...
[2025-03-10 00:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645740') end
[2025-03-10 00:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:08:04] Production.INFO: 1
[2025-03-10 00:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:08:04] Production.ERROR: done
[2025-03-10 00:08:04] Production.INFO: ==9335== Releasing lock...
[2025-03-10 00:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:08:06
[end_date_ymd] => 2025-03-10 00:08:06
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:08:06' and `end` < '2025-03-10 00: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-03-10 00:08:12] Production.ERROR: CronJobId end10
[2025-03-10 00:08:12] Production.INFO: ==9329== Releasing lock...
[2025-03-10 00:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:08:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:08:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:08:15] Production.INFO: call_cost start
[2025-03-10 00:08:15] Production.INFO: call_cost end
[2025-03-10 00:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:08:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:08:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:08:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:08:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:08:16] Production.INFO: ==9325== Releasing lock...
[2025-03-10 00:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:08:18] Production.INFO: count ==291
[2025-03-10 00:08:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:08:06 - End Time 2025-03-10 00:08:06
[2025-03-10 00:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645741', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645741', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645741', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645741', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:08:18] Production.INFO: ProcessCDR(1,14645741,1,1,2)
[2025-03-10 00:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645741', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645741', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:08:21] Production.INFO: ==9333== Releasing lock...
[2025-03-10 00:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:08:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:09:01] Production.INFO: ==9407== Lock acquired, processing the job...
[2025-03-10 04:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:09:01] Production.INFO: neon service started
[2025-03-10 04:09:01] Production.INFO: neon service started
[2025-03-10 04:09:01] Production.INFO: ==9407== Releasing lock...
[2025-03-10 04:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:09:02] Production.INFO: ==9411== Lock acquired, processing the job...
[2025-03-10 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:09:02] Production.INFO: ==9411== Releasing lock...
[2025-03-10 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:09:02] Production.INFO: ==9409== Lock acquired, processing the job...
[2025-03-10 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:09:02] Production.INFO: ==9409== Releasing lock...
[2025-03-10 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:09:03] Production.INFO: ==9418== Lock acquired, processing the job...
[2025-03-10 00:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:09:03] Production.INFO: ==9424== Lock acquired, processing the job...
[2025-03-10 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 00:09:03] Production.INFO: count ==13
[2025-03-10 00:09:03] Production.INFO: ==9414== Lock acquired, processing the job...
[2025-03-10 00:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 00:09:03] Production.INFO: count ==21
[2025-03-10 00:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645742') start
[2025-03-10 00:09:03] Production.INFO: ==9416== Lock acquired, processing the job...
[2025-03-10 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:09:03] Production.INFO: ==9420== Lock acquired, processing the job...
[2025-03-10 00:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645742') end
[2025-03-10 00:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:09:03] Production.INFO: 1
[2025-03-10 00:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:09:03] Production.INFO: ==9422== Lock acquired, processing the job...
[2025-03-10 00:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:09:03] Production.INFO: ==9424== Releasing lock...
[2025-03-10 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:09:04] Production.INFO: Account Balance Start.
[2025-03-10 00:09:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:09:04] Production.INFO: 117
[2025-03-10 00:09:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:09:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:09:04] Production.INFO: ==9416== Releasing lock...
[2025-03-10 00:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:09:04] Production.ERROR: done
[2025-03-10 00:09:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:09:04] Production.INFO: Total Charge 0
[2025-03-10 00:09:04] Production.INFO: CreateAllLog End
[2025-03-10 00:09:04] Production.ERROR: done
[2025-03-10 00:09:04] Production.INFO: Account Balance End.
[2025-03-10 00:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:09:04] Production.INFO: ==9420== Releasing lock...
[2025-03-10 00:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:09:05
[end_date_ymd] => 2025-03-10 00:09:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:09:05' and `end` < '2025-03-10 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-03-10 00:09:12] Production.ERROR: CronJobId end10
[2025-03-10 00:09:12] Production.INFO: ==9418== Releasing lock...
[2025-03-10 00:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:09:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:09:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:09:14] Production.INFO: call_cost start
[2025-03-10 00:09:14] Production.INFO: call_cost end
[2025-03-10 00:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:09:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:09:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:09:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:09:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:09:15] Production.INFO: ==9414== Releasing lock...
[2025-03-10 00:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:09:17] Production.INFO: count ==290
[2025-03-10 00:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:09:05 - End Time 2025-03-10 00:09:05
[2025-03-10 00:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645746', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645746', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645746', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645746', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:09:17] Production.INFO: ProcessCDR(1,14645746,1,1,2)
[2025-03-10 00:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645746', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645746', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:09:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:09:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:09:20] Production.INFO: ==9422== Releasing lock...
[2025-03-10 00:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:09:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:10:02] Production.INFO: ==9532== Lock acquired, processing the job...
[2025-03-10 04:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:10:02] Production.INFO: neon service started
[2025-03-10 04:10:02] Production.INFO: neon service started
[2025-03-10 04:10:02] Production.INFO: ==9532== Releasing lock...
[2025-03-10 04:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:10:02] Production.INFO: ==9534== Lock acquired, processing the job...
[2025-03-10 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:10:02] Production.INFO: ==9534== Releasing lock...
[2025-03-10 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:10:02] Production.INFO: ==9536== Lock acquired, processing the job...
[2025-03-10 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:10:02] Production.INFO: ==9536== Releasing lock...
[2025-03-10 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:10:03] Production.INFO: ==9538== Lock acquired, processing the job...
[2025-03-10 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 00:10:03] Production.INFO: ==9540== Lock acquired, processing the job...
[2025-03-10 00:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:10:03] Production.INFO: ==9548== Lock acquired, processing the job...
[2025-03-10 00:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 00:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 00:10:04] Production.ERROR: CronJob PID - 9540
[2025-03-10 00:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 00:10:04] Production.ERROR: CronJob ID - 5
[2025-03-10 00:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 00:10:00
[2025-03-10 00:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 00:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 00:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 00:10:04] Production.ERROR: CronJob PID - 9548
[2025-03-10 00:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 00:10:04] Production.ERROR: CronJob ID - 16
[2025-03-10 00:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 00:10:00
[2025-03-10 00:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 00:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 00:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:10:04] Production.INFO: ==9551== Lock acquired, processing the job...
[2025-03-10 00:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 00:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 00:10:04] Production.INFO: ==9538== Releasing lock...
[2025-03-10 00:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 00:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 00:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:10:04] Production.INFO: ==9542== Lock acquired, processing the job...
[2025-03-10 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:10:04] Production.INFO: ==9544== Lock acquired, processing the job...
[2025-03-10 00:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:10:04] Production.INFO: ==9546== Lock acquired, processing the job...
[2025-03-10 00:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:10:04] Production.INFO: ==9553== Lock acquired, processing the job...
[2025-03-10 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:10:04] Production.ERROR: done
[2025-03-10 00:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:10:04] Production.INFO: Account Balance Start.
[2025-03-10 00:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:10:04] Production.INFO: 117
[2025-03-10 00: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-03-10 00:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:10:04] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:10:04] Production.INFO: count ==21
[2025-03-10 00:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645749') start
[2025-03-10 00:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:10:04] Production.ERROR: done
[2025-03-10 00:10:04] Production.ERROR: done
[2025-03-10 00:10:04] Production.INFO: ==9542== Releasing lock...
[2025-03-10 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:10:04] Production.INFO: Total Charge 0
[2025-03-10 00:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645749') end
[2025-03-10 00:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:10:04] Production.INFO: 1
[2025-03-10 00:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:10:04] Production.INFO: CreateAllLog End
[2025-03-10 00:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 00:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645751', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 00:10:05] Production.INFO: ==9553== Releasing lock...
[2025-03-10 00:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:10:05] Production.INFO: Account Balance End.
[2025-03-10 00:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 00:10:05] Production.INFO: ==9546== Releasing lock...
[2025-03-10 00:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:10:06
[end_date_ymd] => 2025-03-10 00:10:06
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:10:06' and `end` < '2025-03-10 00: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-03-10 00:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645751', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 00:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 00:10:09] Production.INFO: ProcessCDR(1,14645751,1,1,2)
[2025-03-10 00:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645751,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645751,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:10:09] Production.INFO: ==9551== Releasing lock...
[2025-03-10 00:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 00:10:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 00:10:14] Production.ERROR: CronJobId end10
[2025-03-10 00:10:14] Production.INFO: ==9544== Releasing lock...
[2025-03-10 00:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:10:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:10:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:10:16] Production.INFO: call_cost start
[2025-03-10 00:10:16] Production.INFO: call_cost end
[2025-03-10 00:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:10:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:10:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:10:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:10:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:10:17] Production.INFO: ==9540== Releasing lock...
[2025-03-10 00:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:10:18] Production.INFO: count ==298
[2025-03-10 00:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:10:06 - End Time 2025-03-10 00:10:06
[2025-03-10 00:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645752', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645752', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645752', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645752', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:10:18] Production.INFO: ProcessCDR(1,14645752,1,1,2)
[2025-03-10 00:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645752', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645752', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:10:21] Production.INFO: ==9548== Releasing lock...
[2025-03-10 00:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:10:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 04:11:01] Production.INFO: ==9659== Lock acquired, processing the job...
[2025-03-10 04:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:11:01] Production.INFO: neon service started
[2025-03-10 04:11:01] Production.INFO: neon service started
[2025-03-10 04:11:01] Production.INFO: ==9659== Releasing lock...
[2025-03-10 04:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:11:01] Production.INFO: ==9663== Lock acquired, processing the job...
[2025-03-10 04:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:11:01] Production.INFO: ==9663== Releasing lock...
[2025-03-10 04:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:11:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:11:02] Production.INFO: ==9661== Lock acquired, processing the job...
[2025-03-10 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:11:02] Production.INFO: ==9661== Releasing lock...
[2025-03-10 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:11:03] Production.INFO: ==9670== Lock acquired, processing the job...
[2025-03-10 00:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:11:03] Production.INFO: ==9666== Lock acquired, processing the job...
[2025-03-10 00:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:11:03] Production.INFO: ==9676== Lock acquired, processing the job...
[2025-03-10 00:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:11:03] Production.INFO: ==9668== Lock acquired, processing the job...
[2025-03-10 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:11:03] Production.INFO: ==9672== Lock acquired, processing the job...
[2025-03-10 00:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:11:03] Production.INFO: ==9674== Lock acquired, processing the job...
[2025-03-10 00:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 00:11:03] Production.INFO: Account Balance Start.
[2025-03-10 00:11:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:11:03] Production.INFO: 117
[2025-03-10 00:11:03] Production.INFO: count ==13
[2025-03-10 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-03-10 00:11:03] Production.INFO: count ==21
[2025-03-10 00:11:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645754') start
[2025-03-10 00:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:11:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:11:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:11:03] Production.INFO: Total Charge 0
[2025-03-10 00:11:03] Production.INFO: CreateAllLog End
[2025-03-10 00:11:03] Production.INFO: ==9668== Releasing lock...
[2025-03-10 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645754') end
[2025-03-10 00:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:11:03] Production.INFO: 1
[2025-03-10 00:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:11:03] Production.ERROR: done
[2025-03-10 00:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:11:03] Production.INFO: ==9676== Releasing lock...
[2025-03-10 00:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:11:04] Production.ERROR: done
[2025-03-10 00:11:04] Production.INFO: Account Balance End.
[2025-03-10 00:11:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:11:04] Production.INFO: ==9672== Releasing lock...
[2025-03-10 00:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:11:05
[end_date_ymd] => 2025-03-10 00:11:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:11:05' and `end` < '2025-03-10 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-03-10 00:11:12] Production.ERROR: CronJobId end10
[2025-03-10 00:11:12] Production.INFO: ==9670== Releasing lock...
[2025-03-10 00:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:11:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:11:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:11:15] Production.INFO: call_cost start
[2025-03-10 00:11:15] Production.INFO: call_cost end
[2025-03-10 00:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:11:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:11:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:11:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:11:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:11:16] Production.INFO: ==9666== Releasing lock...
[2025-03-10 00:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:11:17] Production.INFO: count ==298
[2025-03-10 00:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:11:05 - End Time 2025-03-10 00:11:05
[2025-03-10 00:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645757', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645757', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645757', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645757', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:11:17] Production.INFO: ProcessCDR(1,14645757,1,1,2)
[2025-03-10 00:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645757', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645757', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:11:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:11:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:11:20] Production.INFO: ==9674== Releasing lock...
[2025-03-10 00:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:11:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 04:12:01] Production.INFO: ==9784== Lock acquired, processing the job...
[2025-03-10 04:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:12:01] Production.INFO: neon service started
[2025-03-10 04:12:01] Production.INFO: neon service started
[2025-03-10 04:12:01] Production.INFO: ==9784== Releasing lock...
[2025-03-10 04:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:12:02] Production.INFO: ==9786== Lock acquired, processing the job...
[2025-03-10 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:12:02] Production.INFO: ==9788== Lock acquired, processing the job...
[2025-03-10 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:12:02] Production.INFO: ==9788== Releasing lock...
[2025-03-10 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:12:03] Production.INFO: ==9786== Releasing lock...
[2025-03-10 00:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:12:03] Production.INFO: ==9797== Lock acquired, processing the job...
[2025-03-10 00:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:12:03] Production.INFO: ==9793== Lock acquired, processing the job...
[2025-03-10 00:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:12:04] Production.INFO: ==9801== Lock acquired, processing the job...
[2025-03-10 00:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:12:04] Production.INFO: ==9795== Lock acquired, processing the job...
[2025-03-10 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:12:04] Production.INFO: ==9799== Lock acquired, processing the job...
[2025-03-10 00:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:12:04] Production.INFO: ==9803== Lock acquired, processing the job...
[2025-03-10 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:12:04] Production.ERROR: done
[2025-03-10 00:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 00:12:04] Production.INFO: Account Balance Start.
[2025-03-10 00:12:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:12:04] Production.INFO: 117
[2025-03-10 00:12:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:12:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:12:04] Production.INFO: count ==13
[2025-03-10 00:12:04] Production.ERROR: done
[2025-03-10 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-03-10 00:12:04] Production.INFO: count ==21
[2025-03-10 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645761') start
[2025-03-10 00:12:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:12:04] Production.INFO: ==9795== Releasing lock...
[2025-03-10 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:12:04] Production.INFO: Total Charge 0
[2025-03-10 00:12:04] Production.INFO: CreateAllLog End
[2025-03-10 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645761') end
[2025-03-10 00:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:12:04] Production.INFO: 1
[2025-03-10 00:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:12:04] Production.INFO: Account Balance End.
[2025-03-10 00:12:04] Production.INFO: ==9803== Releasing lock...
[2025-03-10 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:12:05] Production.ERROR: CronJobId end 12
[2025-03-10 00:12:05] Production.INFO: ==9799== Releasing lock...
[2025-03-10 00:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:12:05
[end_date_ymd] => 2025-03-10 00:12:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:12:05' and `end` < '2025-03-10 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-03-10 00:12:11] Production.ERROR: CronJobId end10
[2025-03-10 00:12:11] Production.INFO: ==9797== Releasing lock...
[2025-03-10 00:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:12:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:12:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:12:15] Production.INFO: call_cost start
[2025-03-10 00:12:15] Production.INFO: call_cost end
[2025-03-10 00:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:12:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:12:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:12:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:12:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:12:16] Production.INFO: ==9793== Releasing lock...
[2025-03-10 00:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:12:24] Production.INFO: count ==301
[2025-03-10 00:12:24] Production.ERROR: pbx CDR StartTime 2025-03-09 21:12:05 - End Time 2025-03-10 00:12:05
[2025-03-10 00:12:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645762', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645762', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645762', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:12:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645762', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:12:24] Production.INFO: ProcessCDR(1,14645762,1,1,2)
[2025-03-10 00:12:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:12:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:12:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:12:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645762', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645762', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:12:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:12:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:12:28] Production.INFO: ==9801== Releasing lock...
[2025-03-10 00:12:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:12:28] Production.INFO: 31 MB #Memory Used#
[2025-03-10 04:13:01] Production.INFO: ==9911== Lock acquired, processing the job...
[2025-03-10 04:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:13:01] Production.INFO: neon service started
[2025-03-10 04:13:01] Production.INFO: neon service started
[2025-03-10 04:13:01] Production.INFO: ==9911== Releasing lock...
[2025-03-10 04:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:13:01] Production.INFO: ==9913== Lock acquired, processing the job...
[2025-03-10 00:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:13:02] Production.INFO: ==9913== Releasing lock...
[2025-03-10 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:13:02] Production.INFO: ==9915== Lock acquired, processing the job...
[2025-03-10 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:13:02] Production.INFO: ==9915== Releasing lock...
[2025-03-10 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:13:02] Production.INFO: ==9926== Lock acquired, processing the job...
[2025-03-10 00:13:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:13:03] Production.INFO: ==9924== Lock acquired, processing the job...
[2025-03-10 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:13:03] Production.INFO: ==9918== Lock acquired, processing the job...
[2025-03-10 00:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:13:03] Production.INFO: Account Balance Start.
[2025-03-10 00:13:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:13:03] Production.INFO: 117
[2025-03-10 00:13:03] Production.INFO: ==9922== Lock acquired, processing the job...
[2025-03-10 00:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:13:03] Production.INFO: ==9920== Lock acquired, processing the job...
[2025-03-10 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:13:03] Production.INFO: ==9928== Lock acquired, processing the job...
[2025-03-10 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:13:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:13:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:13:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:13:03] Production.ERROR: done
[2025-03-10 00:13:03] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 00:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:13:03] Production.INFO: count ==13
[2025-03-10 00:13:03] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 00:13:03] Production.INFO: count ==21
[2025-03-10 00:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645765') start
[2025-03-10 00:13:03] Production.ERROR: done
[2025-03-10 00:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645765') end
[2025-03-10 00:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:13:03] Production.INFO: 1
[2025-03-10 00:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:13:03] Production.INFO: Account Balance End.
[2025-03-10 00:13:03] Production.INFO: ==9928== Releasing lock...
[2025-03-10 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:13:03] Production.ERROR: CronJobId end 12
[2025-03-10 00:13:03] Production.INFO: ==9924== Releasing lock...
[2025-03-10 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:13:03] Production.INFO: ==9920== Releasing lock...
[2025-03-10 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:13:04
[end_date_ymd] => 2025-03-10 00:13:04
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:13:04' and `end` < '2025-03-10 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-03-10 00:13:12] Production.ERROR: CronJobId end10
[2025-03-10 00:13:12] Production.INFO: ==9922== Releasing lock...
[2025-03-10 00:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:13:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:13:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:13:14] Production.INFO: call_cost start
[2025-03-10 00:13:14] Production.INFO: call_cost end
[2025-03-10 00:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:13:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:13:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:13:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:13:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:13:15] Production.INFO: ==9918== Releasing lock...
[2025-03-10 00:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:13:17] Production.INFO: count ==297
[2025-03-10 00:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:13:04 - End Time 2025-03-10 00:13:04
[2025-03-10 00:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645767', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645767', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645767', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645767', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:13:17] Production.INFO: ProcessCDR(1,14645767,1,1,2)
[2025-03-10 00:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645767', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645767', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:13:20] Production.INFO: ==9926== Releasing lock...
[2025-03-10 00:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:13:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:14:01] Production.INFO: ==10068== Lock acquired, processing the job...
[2025-03-10 04:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:14:01] Production.INFO: neon service started
[2025-03-10 04:14:01] Production.INFO: neon service started
[2025-03-10 04:14:01] Production.INFO: ==10068== Releasing lock...
[2025-03-10 04:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:14:02] Production.INFO: ==10070== Lock acquired, processing the job...
[2025-03-10 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:14:02] Production.INFO: ==10070== Releasing lock...
[2025-03-10 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:14:02] Production.INFO: ==10072== Lock acquired, processing the job...
[2025-03-10 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:14:02] Production.INFO: ==10072== Releasing lock...
[2025-03-10 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:14:03] Production.INFO: ==10076== Lock acquired, processing the job...
[2025-03-10 00:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:14:03] Production.INFO: ==10074== Lock acquired, processing the job...
[2025-03-10 00:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:14:03] Production.INFO: ==10078== Lock acquired, processing the job...
[2025-03-10 00:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:14:03] Production.INFO: ==10084== Lock acquired, processing the job...
[2025-03-10 00:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:14:03] Production.INFO: ==10080== Lock acquired, processing the job...
[2025-03-10 00:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:14:03] Production.INFO: ==10082== Lock acquired, processing the job...
[2025-03-10 00:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00: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-03-10 00:14:03] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:14:03] Production.INFO: count ==21
[2025-03-10 00:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645770') start
[2025-03-10 00:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:14:03] Production.INFO: Account Balance Start.
[2025-03-10 00:14:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:14:03] Production.INFO: 117
[2025-03-10 00:14:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645770') end
[2025-03-10 00:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:14:03] Production.INFO: 1
[2025-03-10 00:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:14:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:14:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:14:03] Production.INFO: Total Charge 0
[2025-03-10 00:14:03] Production.INFO: CreateAllLog End
[2025-03-10 00:14:03] Production.INFO: ==10084== Releasing lock...
[2025-03-10 00:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:14:04] Production.INFO: ==10076== Releasing lock...
[2025-03-10 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:14:04] Production.INFO: Account Balance End.
[2025-03-10 00:14:04] Production.ERROR: done
[2025-03-10 00:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:14:04] Production.INFO: ==10080== Releasing lock...
[2025-03-10 00:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:14:04] Production.ERROR: done
[2025-03-10 00:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:14:05
[end_date_ymd] => 2025-03-10 00:14:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:14:05' and `end` < '2025-03-10 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-03-10 00:14:12] Production.ERROR: CronJobId end10
[2025-03-10 00:14:12] Production.INFO: ==10078== Releasing lock...
[2025-03-10 00:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:14:14] Production.INFO: call_cost start
[2025-03-10 00:14:14] Production.INFO: call_cost end
[2025-03-10 00:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:14:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:14:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:14:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:14:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:14:15] Production.INFO: ==10074== Releasing lock...
[2025-03-10 00:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:14:17] Production.INFO: count ==296
[2025-03-10 00:14:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:14:05 - End Time 2025-03-10 00:14:05
[2025-03-10 00:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645772', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645772', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645772', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645772', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:14:17] Production.INFO: ProcessCDR(1,14645772,1,1,2)
[2025-03-10 00:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645772', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645772', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:14:21] Production.INFO: ==10082== Releasing lock...
[2025-03-10 00:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:14:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 04:15:02] Production.INFO: ==10226== Lock acquired, processing the job...
[2025-03-10 04:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:15:02] Production.INFO: neon service started
[2025-03-10 04:15:02] Production.INFO: neon service started
[2025-03-10 04:15:02] Production.INFO: ==10226== Releasing lock...
[2025-03-10 04:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:15:02] Production.INFO: ==10228== Lock acquired, processing the job...
[2025-03-10 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:15:02] Production.INFO: ==10230== Lock acquired, processing the job...
[2025-03-10 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:15:02] Production.INFO: ==10230== Releasing lock...
[2025-03-10 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:15:03] Production.INFO: ==10228== Releasing lock...
[2025-03-10 00:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:15:03] Production.INFO: ==10232== Lock acquired, processing the job...
[2025-03-10 00:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:15:03] Production.INFO: ==10234== Lock acquired, processing the job...
[2025-03-10 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:15:03] Production.INFO: ==10236== Lock acquired, processing the job...
[2025-03-10 00:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:15:04] Production.INFO: ==10241== Lock acquired, processing the job...
[2025-03-10 00:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:15:04] Production.INFO: ==10238== Lock acquired, processing the job...
[2025-03-10 00:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:15:04] Production.INFO: ==10243== Lock acquired, processing the job...
[2025-03-10 00:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00: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-03-10 00:15:04] Production.INFO: ==10234== Releasing lock...
[2025-03-10 00:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:15:04] Production.INFO: count ==13
[2025-03-10 00:15:04] Production.INFO: Account Balance Start.
[2025-03-10 00:15:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:15:04] Production.INFO: 117
[2025-03-10 00: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-03-10 00:15:04] Production.INFO: count ==21
[2025-03-10 00:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645775') start
[2025-03-10 00:15:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:15:04] Production.ERROR: done
[2025-03-10 00:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645775') end
[2025-03-10 00:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:15:04] Production.INFO: 1
[2025-03-10 00:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:15:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:15:04] Production.INFO: ==10243== Releasing lock...
[2025-03-10 00:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:15:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:15:04] Production.INFO: Total Charge 0
[2025-03-10 00:15:04] Production.INFO: CreateAllLog End
[2025-03-10 00:15:04] Production.ERROR: done
[2025-03-10 00:15:04] Production.INFO: Account Balance End.
[2025-03-10 00:15:05] Production.ERROR: CronJobId end 12
[2025-03-10 00:15:05] Production.INFO: ==10238== Releasing lock...
[2025-03-10 00:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:15:05
[end_date_ymd] => 2025-03-10 00:15:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:15:05' and `end` < '2025-03-10 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-03-10 00:15:12] Production.ERROR: CronJobId end10
[2025-03-10 00:15:12] Production.INFO: ==10236== Releasing lock...
[2025-03-10 00:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:15:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:15:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:15:14] Production.INFO: call_cost start
[2025-03-10 00:15:14] Production.INFO: call_cost end
[2025-03-10 00:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:15:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:15:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:15:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:15:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:15:15] Production.INFO: ==10232== Releasing lock...
[2025-03-10 00:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:15:17] Production.INFO: count ==296
[2025-03-10 00:15:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:15:05 - End Time 2025-03-10 00:15:05
[2025-03-10 00:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645777', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645777', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645777', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645777', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:15:18] Production.INFO: ProcessCDR(1,14645777,1,1,2)
[2025-03-10 00:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645777', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645777', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:15:21] Production.INFO: ==10241== Releasing lock...
[2025-03-10 00:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:15:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 04:16:01] Production.INFO: ==10378== Lock acquired, processing the job...
[2025-03-10 04:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:16:01] Production.INFO: neon service started
[2025-03-10 04:16:01] Production.INFO: neon service started
[2025-03-10 04:16:01] Production.INFO: ==10378== Releasing lock...
[2025-03-10 04:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:16:02] Production.INFO: ==10382== Lock acquired, processing the job...
[2025-03-10 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:16:02] Production.INFO: ==10384== Lock acquired, processing the job...
[2025-03-10 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:16:02] Production.INFO: ==10382== Releasing lock...
[2025-03-10 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:16:02] Production.INFO: ==10384== Releasing lock...
[2025-03-10 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:16:03] Production.INFO: ==10389== Lock acquired, processing the job...
[2025-03-10 00:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:16:03] Production.INFO: ==10391== Lock acquired, processing the job...
[2025-03-10 00:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:16:03] Production.INFO: ==10395== Lock acquired, processing the job...
[2025-03-10 00:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:16:03] Production.INFO: Account Balance Start.
[2025-03-10 00:16:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:16:03] Production.INFO: 117
[2025-03-10 00:16:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:16:03] Production.INFO: ==10393== Lock acquired, processing the job...
[2025-03-10 00:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:16:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:16:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:16:03] Production.INFO: ==10397== Lock acquired, processing the job...
[2025-03-10 00:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:16:03] Production.INFO: Total Charge 0
[2025-03-10 00:16:03] Production.INFO: ==10391== Releasing lock...
[2025-03-10 00:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:16:03] Production.INFO: CreateAllLog End
[2025-03-10 00:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:16:03] Production.INFO: ==10399== Lock acquired, processing the job...
[2025-03-10 00:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 00:16:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:16:04] Production.INFO: count ==21
[2025-03-10 00:16:04] Production.ERROR: done
[2025-03-10 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645781') start
[2025-03-10 00:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:16:04] Production.INFO: Account Balance End.
[2025-03-10 00:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645781') end
[2025-03-10 00:16:04] Production.INFO: ==10395== Releasing lock...
[2025-03-10 00:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:16:04] Production.INFO: 1
[2025-03-10 00:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:16:04] Production.INFO: ==10399== Releasing lock...
[2025-03-10 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:16:04] Production.ERROR: done
[2025-03-10 00:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:16:05
[end_date_ymd] => 2025-03-10 00:16:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:16:05' and `end` < '2025-03-10 00: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-03-10 00:16:13] Production.ERROR: CronJobId end10
[2025-03-10 00:16:13] Production.INFO: ==10393== Releasing lock...
[2025-03-10 00:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:16:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:16:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:16:15] Production.INFO: call_cost start
[2025-03-10 00:16:15] Production.INFO: call_cost end
[2025-03-10 00:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:16:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:16:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:16:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:16:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:16:16] Production.INFO: ==10389== Releasing lock...
[2025-03-10 00:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:16:17] Production.INFO: count ==295
[2025-03-10 00:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:16:05 - End Time 2025-03-10 00:16:05
[2025-03-10 00:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645782', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645782', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645782', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645782', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:16:17] Production.INFO: ProcessCDR(1,14645782,1,1,2)
[2025-03-10 00:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645782', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645782', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:16:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:16:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:16:21] Production.INFO: ==10397== Releasing lock...
[2025-03-10 00:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:16:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:17:02] Production.INFO: ==10547== Lock acquired, processing the job...
[2025-03-10 04:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:17:02] Production.INFO: neon service started
[2025-03-10 04:17:02] Production.INFO: neon service started
[2025-03-10 04:17:02] Production.INFO: ==10547== Releasing lock...
[2025-03-10 04:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:17:02] Production.INFO: ==10552== Lock acquired, processing the job...
[2025-03-10 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:17:02] Production.INFO: ==10554== Lock acquired, processing the job...
[2025-03-10 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:17:02] Production.INFO: ==10554== Releasing lock...
[2025-03-10 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:17:03] Production.INFO: ==10552== Releasing lock...
[2025-03-10 00:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:17:03] Production.INFO: ==10558== Lock acquired, processing the job...
[2025-03-10 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:17:03] Production.INFO: ==10566== Lock acquired, processing the job...
[2025-03-10 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:17:03] Production.INFO: ==10556== Lock acquired, processing the job...
[2025-03-10 00:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00: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-03-10 00:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:17:04] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:17:04] Production.INFO: count ==21
[2025-03-10 00:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645784') start
[2025-03-10 00:17:04] Production.INFO: ==10560== Lock acquired, processing the job...
[2025-03-10 00:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:17:04] Production.INFO: ==10558== Releasing lock...
[2025-03-10 00:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:17:04] Production.INFO: ==10562== Lock acquired, processing the job...
[2025-03-10 00:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645784') end
[2025-03-10 00:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:17:04] Production.INFO: 1
[2025-03-10 00:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:17:04] Production.INFO: ==10564== Lock acquired, processing the job...
[2025-03-10 00:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:17:04] Production.INFO: ==10566== Releasing lock...
[2025-03-10 00:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:17:04] Production.INFO: Account Balance Start.
[2025-03-10 00:17:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:17:04] Production.INFO: 117
[2025-03-10 00:17:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:17:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:17:04] Production.ERROR: done
[2025-03-10 00:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:17:04] Production.INFO: Total Charge 0
[2025-03-10 00:17:04] Production.INFO: CreateAllLog End
[2025-03-10 00:17:04] Production.ERROR: done
[2025-03-10 00:17:05] Production.INFO: Account Balance End.
[2025-03-10 00:17:05] Production.ERROR: CronJobId end 12
[2025-03-10 00:17:05] Production.INFO: ==10562== Releasing lock...
[2025-03-10 00:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:17:06
[end_date_ymd] => 2025-03-10 00:17:06
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:17:06' and `end` < '2025-03-10 00: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-03-10 00:17:12] Production.ERROR: CronJobId end10
[2025-03-10 00:17:12] Production.INFO: ==10560== Releasing lock...
[2025-03-10 00:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:17:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:17:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:17:15] Production.INFO: call_cost start
[2025-03-10 00:17:15] Production.INFO: call_cost end
[2025-03-10 00:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:17:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:17:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:17:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:17:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:17:16] Production.INFO: ==10556== Releasing lock...
[2025-03-10 00:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:17:18] Production.INFO: count ==295
[2025-03-10 00:17:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:17:06 - End Time 2025-03-10 00:17:06
[2025-03-10 00:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645787', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645787', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645787', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645787', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:17:18] Production.INFO: ProcessCDR(1,14645787,1,1,2)
[2025-03-10 00:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645787', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645787', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:17:21] Production.INFO: ==10564== Releasing lock...
[2025-03-10 00:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:17:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:18:01] Production.INFO: ==10708== Lock acquired, processing the job...
[2025-03-10 04:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:18:01] Production.INFO: neon service started
[2025-03-10 04:18:01] Production.INFO: neon service started
[2025-03-10 04:18:01] Production.INFO: ==10708== Releasing lock...
[2025-03-10 04:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:18:02] Production.INFO: ==10710== Lock acquired, processing the job...
[2025-03-10 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:18:02] Production.INFO: ==10710== Releasing lock...
[2025-03-10 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:18:02] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:18:02] Production.INFO: ==10712== Lock acquired, processing the job...
[2025-03-10 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:18:02] Production.INFO: ==10712== Releasing lock...
[2025-03-10 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:18:03] Production.INFO: ==10715== Lock acquired, processing the job...
[2025-03-10 00:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:18:03] Production.INFO: ==10717== Lock acquired, processing the job...
[2025-03-10 00:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:18:03] Production.INFO: ==10725== Lock acquired, processing the job...
[2025-03-10 00:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:18:03] Production.INFO: ==10717== Releasing lock...
[2025-03-10 00:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00: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-03-10 00:18:03] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:18:03] Production.INFO: count ==21
[2025-03-10 00:18:03] Production.INFO: ==10719== Lock acquired, processing the job...
[2025-03-10 00:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645790') start
[2025-03-10 00:18:03] Production.INFO: ==10721== Lock acquired, processing the job...
[2025-03-10 00:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645790') end
[2025-03-10 00:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:18:03] Production.INFO: 1
[2025-03-10 00:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:18:03] Production.INFO: ==10723== Lock acquired, processing the job...
[2025-03-10 00:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:18:03] Production.INFO: ==10725== Releasing lock...
[2025-03-10 00:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:18:03] Production.INFO: Account Balance Start.
[2025-03-10 00:18:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:18:03] Production.INFO: 117
[2025-03-10 00:18:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:18:04] Production.INFO: Total Charge 0
[2025-03-10 00:18:04] Production.INFO: CreateAllLog End
[2025-03-10 00:18:04] Production.ERROR: done
[2025-03-10 00:18:04] Production.INFO: Account Balance End.
[2025-03-10 00:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:18:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:18:04] Production.INFO: ==10721== Releasing lock...
[2025-03-10 00:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:18:04] Production.ERROR: done
[2025-03-10 00:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:18:05
[end_date_ymd] => 2025-03-10 00:18:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:18:05' and `end` < '2025-03-10 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-03-10 00:18:12] Production.ERROR: CronJobId end10
[2025-03-10 00:18:12] Production.INFO: ==10719== Releasing lock...
[2025-03-10 00:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:18:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:18:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:18:14] Production.INFO: call_cost start
[2025-03-10 00:18:14] Production.INFO: call_cost end
[2025-03-10 00:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:18:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:18:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:18:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:18:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:18:15] Production.INFO: ==10715== Releasing lock...
[2025-03-10 00:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:18:17] Production.INFO: count ==294
[2025-03-10 00:18:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:18:05 - End Time 2025-03-10 00:18:05
[2025-03-10 00:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645792', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645792', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645792', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645792', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:18:17] Production.INFO: ProcessCDR(1,14645792,1,1,2)
[2025-03-10 00:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645792', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645792', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:18:21] Production.INFO: ==10723== Releasing lock...
[2025-03-10 00:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:18:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:19:02] Production.INFO: ==10868== Lock acquired, processing the job...
[2025-03-10 04:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:19:02] Production.INFO: neon service started
[2025-03-10 04:19:02] Production.INFO: neon service started
[2025-03-10 04:19:02] Production.INFO: ==10868== Releasing lock...
[2025-03-10 04:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:19:02] Production.INFO: ==10870== Lock acquired, processing the job...
[2025-03-10 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:19:02] Production.INFO: ==10870== Releasing lock...
[2025-03-10 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:19:03] Production.INFO: ==10872== Lock acquired, processing the job...
[2025-03-10 04:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:19:03] Production.INFO: ==10872== Releasing lock...
[2025-03-10 04:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:19:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:19:03] Production.INFO: ==10875== Lock acquired, processing the job...
[2025-03-10 00:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:19:03] Production.INFO: ==10877== Lock acquired, processing the job...
[2025-03-10 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:19:04] Production.INFO: ==10881== Lock acquired, processing the job...
[2025-03-10 00:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:19:04] Production.INFO: ==10885== Lock acquired, processing the job...
[2025-03-10 00:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:19:04] Production.INFO: ==10879== Lock acquired, processing the job...
[2025-03-10 00:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:19:04] Production.INFO: ==10883== Lock acquired, processing the job...
[2025-03-10 00:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:19:04] Production.INFO: Account Balance Start.
[2025-03-10 00:19:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:19:04] Production.INFO: 117
[2025-03-10 00:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00: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-03-10 00:19:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:19:04] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:19:04] Production.INFO: count ==21
[2025-03-10 00:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645795') start
[2025-03-10 00:19:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:19:04] Production.INFO: ==10877== Releasing lock...
[2025-03-10 00:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:19:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:19:04] Production.INFO: Total Charge 0
[2025-03-10 00:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645795') end
[2025-03-10 00:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:19:04] Production.INFO: 1
[2025-03-10 00:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:19:04] Production.INFO: CreateAllLog End
[2025-03-10 00:19:04] Production.INFO: ==10885== Releasing lock...
[2025-03-10 00:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:19:04] Production.ERROR: done
[2025-03-10 00:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:19:04] Production.INFO: Account Balance End.
[2025-03-10 00:19:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:19:04] Production.INFO: ==10881== Releasing lock...
[2025-03-10 00:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:19:04] Production.ERROR: done
[2025-03-10 00:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:19:05
[end_date_ymd] => 2025-03-10 00:19:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:19:05' and `end` < '2025-03-10 00: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-03-10 00:19:12] Production.ERROR: CronJobId end10
[2025-03-10 00:19:12] Production.INFO: ==10879== Releasing lock...
[2025-03-10 00:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:19:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:19:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:19:15] Production.INFO: call_cost start
[2025-03-10 00:19:15] Production.INFO: call_cost end
[2025-03-10 00:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:19:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:19:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:19:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:19:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:19:16] Production.INFO: ==10875== Releasing lock...
[2025-03-10 00:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:19:18] Production.INFO: count ==293
[2025-03-10 00:19:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:19:05 - End Time 2025-03-10 00:19:05
[2025-03-10 00:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645797', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645797', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645797', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645797', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:19:18] Production.INFO: ProcessCDR(1,14645797,1,1,2)
[2025-03-10 00:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645797', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645797', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:19:21] Production.INFO: ==10883== Releasing lock...
[2025-03-10 00:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:19:21] Production.INFO: 31.5 MB #Memory Used#
[2025-03-10 04:20:01] Production.INFO: ==10997== Lock acquired, processing the job...
[2025-03-10 04:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:20:01] Production.INFO: neon service started
[2025-03-10 04:20:01] Production.INFO: neon service started
[2025-03-10 04:20:01] Production.INFO: ==10997== Releasing lock...
[2025-03-10 04:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:20:02] Production.INFO: ==11000== Lock acquired, processing the job...
[2025-03-10 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:20:02] Production.INFO: ==11002== Lock acquired, processing the job...
[2025-03-10 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:20:02] Production.INFO: ==11000== Releasing lock...
[2025-03-10 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:20:02] Production.INFO: ==11002== Releasing lock...
[2025-03-10 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:20:03] Production.INFO: ==11011== Lock acquired, processing the job...
[2025-03-10 00:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:20:04] Production.INFO: ==11013== Lock acquired, processing the job...
[2025-03-10 00:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:20:04] Production.INFO: ==11005== Lock acquired, processing the job...
[2025-03-10 00:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 00:20:04] Production.INFO: ==11019== Lock acquired, processing the job...
[2025-03-10 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:20:04] Production.INFO: Account Balance Start.
[2025-03-10 00:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:20:04] Production.INFO: 117
[2025-03-10 00:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 00:20:04] Production.INFO: ==11009== Lock acquired, processing the job...
[2025-03-10 00:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 00:20:04] Production.ERROR: CronJob PID - 11011
[2025-03-10 00:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 00:20:04] Production.ERROR: CronJob ID - 10
[2025-03-10 00:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 00:20:00
[2025-03-10 00:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 00:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 00:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 00:20:04] Production.ERROR: CronJob PID - 11013
[2025-03-10 00:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 00:20:04] Production.ERROR: CronJob ID - 12
[2025-03-10 00:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 00:20:00
[2025-03-10 00:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 00:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 00:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 00:20:04] Production.ERROR: CronJob PID - 11019
[2025-03-10 00:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 00:20:04] Production.ERROR: CronJob ID - 19
[2025-03-10 00:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 00:20:00
[2025-03-10 00:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 00:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 00:20:04] Production.INFO: ==11007== Lock acquired, processing the job...
[2025-03-10 00:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 00:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 00:20:04] Production.INFO: ==11005== Releasing lock...
[2025-03-10 00:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 00:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 00:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:20:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:20:04] Production.INFO: count ==21
[2025-03-10 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645799') start
[2025-03-10 00:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:20:04] Production.INFO: Total Charge 0
[2025-03-10 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645799') end
[2025-03-10 00:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:20:04] Production.INFO: 1
[2025-03-10 00:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:20:04] Production.INFO: CreateAllLog End
[2025-03-10 00:20:04] Production.INFO: ==11019== Releasing lock...
[2025-03-10 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:20:04] Production.INFO: ==11015== Lock acquired, processing the job...
[2025-03-10 00:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:20:04] Production.INFO: ==11017== Lock acquired, processing the job...
[2025-03-10 00:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 00:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:20:04] Production.INFO: ==11009== Releasing lock...
[2025-03-10 00:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:20:04] Production.INFO: Account Balance End.
[2025-03-10 00:20:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:20:04] Production.INFO: ==11013== Releasing lock...
[2025-03-10 00:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:20:05] Production.ERROR: done
[2025-03-10 00:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:20:05] Production.ERROR: done
[2025-03-10 00:20:05] Production.ERROR: done
[2025-03-10 00:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 00:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645803', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 00:20:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:20:07
[end_date_ymd] => 2025-03-10 00:20:07
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:20:07' and `end` < '2025-03-10 00: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-03-10 00:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645803', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 00:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 00:20:10] Production.INFO: ProcessCDR(1,14645803,1,1,2)
[2025-03-10 00:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645803,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645803,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:20:10] Production.INFO: ==11017== Releasing lock...
[2025-03-10 00:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 00:20:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 00:20:16] Production.ERROR: CronJobId end10
[2025-03-10 00:20:16] Production.INFO: ==11011== Releasing lock...
[2025-03-10 00:20:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:20:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:20:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:20:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:20:17] Production.INFO: call_cost start
[2025-03-10 00:20:17] Production.INFO: call_cost end
[2025-03-10 00:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:20:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:20:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:20:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:20:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:20:18] Production.INFO: ==11007== Releasing lock...
[2025-03-10 00:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:20:19] Production.INFO: count ==302
[2025-03-10 00:20:19] Production.ERROR: pbx CDR StartTime 2025-03-09 21:20:07 - End Time 2025-03-10 00:20:07
[2025-03-10 00:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645802', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645802', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645802', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645802', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:20:19] Production.INFO: ProcessCDR(1,14645802,1,1,2)
[2025-03-10 00:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645802', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645802', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:20:22] Production.INFO: ==11015== Releasing lock...
[2025-03-10 00:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:20:22] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:21:01] Production.INFO: ==11094== Lock acquired, processing the job...
[2025-03-10 04:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:21:01] Production.INFO: neon service started
[2025-03-10 04:21:01] Production.INFO: neon service started
[2025-03-10 04:21:01] Production.INFO: ==11094== Releasing lock...
[2025-03-10 04:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:21:01] Production.INFO: ==11096== Lock acquired, processing the job...
[2025-03-10 00:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:21:02] Production.INFO: ==11096== Releasing lock...
[2025-03-10 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:21:02] Production.INFO: ==11098== Lock acquired, processing the job...
[2025-03-10 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:21:02] Production.INFO: ==11098== Releasing lock...
[2025-03-10 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:21:02] Production.INFO: ==11100== Lock acquired, processing the job...
[2025-03-10 00:21:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:21:02] Production.INFO: ==11102== Lock acquired, processing the job...
[2025-03-10 00:21:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:21:02] Production.INFO: ==11106== Lock acquired, processing the job...
[2025-03-10 00:21:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:21:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:21:02] Production.INFO: Account Balance Start.
[2025-03-10 00:21:02] Production.INFO: CreateAllLog Start
[2025-03-10 00:21:02] Production.INFO: 117
[2025-03-10 00:21:02] Production.INFO: Date 2025-03-08
[2025-03-10 00:21:02] Production.INFO: Reseller ==> 0
[2025-03-10 00:21:02] Production.INFO: Date 2025-03-09
[2025-03-10 00:21:02] Production.INFO: Reseller ==> 0
[2025-03-10 00:21:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:21:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:21:03] Production.INFO: Total Charge 0
[2025-03-10 00:21:03] Production.INFO: CreateAllLog End
[2025-03-10 00:21:03] Production.INFO: ==11104== Lock acquired, processing the job...
[2025-03-10 00:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:21:03] Production.INFO: ==11108== Lock acquired, processing the job...
[2025-03-10 00:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:21:03] Production.INFO: ==11102== Releasing lock...
[2025-03-10 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:21:03] Production.INFO: Account Balance End.
[2025-03-10 00:21:03] Production.ERROR: CronJobId end 12
[2025-03-10 00:21:03] Production.INFO: ==11106== Releasing lock...
[2025-03-10 00:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:21:03] Production.INFO: ==11111== Lock acquired, processing the job...
[2025-03-10 00:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00: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-03-10 00:21:03] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:21:03] Production.INFO: count ==21
[2025-03-10 00:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645807') start
[2025-03-10 00:21:03] Production.ERROR: done
[2025-03-10 00:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645807') end
[2025-03-10 00:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:21:03] Production.INFO: 1
[2025-03-10 00:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:21:03] Production.INFO: ==11111== Releasing lock...
[2025-03-10 00:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:21:03] Production.ERROR: done
[2025-03-10 00:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:21:04
[end_date_ymd] => 2025-03-10 00:21:04
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:21:04' and `end` < '2025-03-10 00: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-03-10 00:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:21:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:21:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:21:13] Production.ERROR: CronJobId end10
[2025-03-10 00:21:13] Production.INFO: ==11104== Releasing lock...
[2025-03-10 00:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:21:14] Production.INFO: call_cost start
[2025-03-10 00:21:14] Production.INFO: call_cost end
[2025-03-10 00:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:21:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:21:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:21:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:21:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:21:14] Production.INFO: ==11100== Releasing lock...
[2025-03-10 00:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:21:17] Production.INFO: count ==306
[2025-03-10 00:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:21:04 - End Time 2025-03-10 00:21:04
[2025-03-10 00:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645808', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645808', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645808', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645808', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:21:17] Production.INFO: ProcessCDR(1,14645808,1,1,2)
[2025-03-10 00:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645808', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645808', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:21:20] Production.INFO: ==11108== Releasing lock...
[2025-03-10 00:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:21:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:22:01] Production.INFO: ==11190== Lock acquired, processing the job...
[2025-03-10 04:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:22:01] Production.INFO: neon service started
[2025-03-10 04:22:01] Production.INFO: neon service started
[2025-03-10 04:22:01] Production.INFO: ==11190== Releasing lock...
[2025-03-10 04:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:22:02] Production.INFO: ==11192== Lock acquired, processing the job...
[2025-03-10 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:22:02] Production.INFO: ==11194== Lock acquired, processing the job...
[2025-03-10 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:22:02] Production.INFO: ==11194== Releasing lock...
[2025-03-10 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:22:02] Production.INFO: ==11192== Releasing lock...
[2025-03-10 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:22:03] Production.INFO: ==11197== Lock acquired, processing the job...
[2025-03-10 00:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:22:03] Production.INFO: ==11199== Lock acquired, processing the job...
[2025-03-10 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:22:03] Production.INFO: ==11207== Lock acquired, processing the job...
[2025-03-10 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 00:22:04] Production.INFO: ==11201== Lock acquired, processing the job...
[2025-03-10 00:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:22:04] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:22:04] Production.INFO: ==11203== Lock acquired, processing the job...
[2025-03-10 00:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:22:04] Production.INFO: ==11199== Releasing lock...
[2025-03-10 00:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:22:04] Production.INFO: count ==21
[2025-03-10 00:22:04] Production.INFO: ==11205== Lock acquired, processing the job...
[2025-03-10 00:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645811') start
[2025-03-10 00:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645811') end
[2025-03-10 00:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:22:04] Production.INFO: 1
[2025-03-10 00:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:22:04] Production.INFO: Account Balance Start.
[2025-03-10 00:22:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:22:04] Production.INFO: 117
[2025-03-10 00:22:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:22:04] Production.INFO: ==11207== Releasing lock...
[2025-03-10 00:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:22:04] Production.ERROR: done
[2025-03-10 00:22:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:22:04] Production.INFO: Total Charge 0
[2025-03-10 00:22:04] Production.ERROR: done
[2025-03-10 00:22:04] Production.INFO: CreateAllLog End
[2025-03-10 00:22:04] Production.INFO: Account Balance End.
[2025-03-10 00:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:22:04] Production.INFO: ==11203== Releasing lock...
[2025-03-10 00:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:22:05
[end_date_ymd] => 2025-03-10 00:22:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:22:05' and `end` < '2025-03-10 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-03-10 00:22:12] Production.ERROR: CronJobId end10
[2025-03-10 00:22:12] Production.INFO: ==11201== Releasing lock...
[2025-03-10 00:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:22:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:22:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:22:14] Production.INFO: call_cost start
[2025-03-10 00:22:14] Production.INFO: call_cost end
[2025-03-10 00:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:22:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:22:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:22:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:22:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:22:15] Production.INFO: ==11197== Releasing lock...
[2025-03-10 00:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:22:17] Production.INFO: count ==310
[2025-03-10 00:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:22:05 - End Time 2025-03-10 00:22:05
[2025-03-10 00:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645813', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645813', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645813', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645813', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:22:17] Production.INFO: ProcessCDR(1,14645813,1,1,2)
[2025-03-10 00:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645813', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645813', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:22:21] Production.INFO: ==11205== Releasing lock...
[2025-03-10 00:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:22:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 04:23:02] Production.INFO: ==11328== Lock acquired, processing the job...
[2025-03-10 04:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:23:02] Production.INFO: neon service started
[2025-03-10 04:23:02] Production.INFO: neon service started
[2025-03-10 04:23:02] Production.INFO: ==11328== Releasing lock...
[2025-03-10 04:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:23:02] Production.INFO: ==11332== Lock acquired, processing the job...
[2025-03-10 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:23:02] Production.INFO: ==11332== Releasing lock...
[2025-03-10 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:23:02] Production.INFO: ==11330== Lock acquired, processing the job...
[2025-03-10 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:23:03] Production.INFO: ==11330== Releasing lock...
[2025-03-10 00:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:23:04] Production.INFO: ==11339== Lock acquired, processing the job...
[2025-03-10 00:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:23:04] Production.INFO: ==11345== Lock acquired, processing the job...
[2025-03-10 00:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:23:04] Production.INFO: ==11335== Lock acquired, processing the job...
[2025-03-10 00:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 00:23:04] Production.INFO: ==11337== Lock acquired, processing the job...
[2025-03-10 00:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:23:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:23:04] Production.INFO: count ==21
[2025-03-10 00:23:04] Production.INFO: ==11341== Lock acquired, processing the job...
[2025-03-10 00:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645814') start
[2025-03-10 00:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:23:04] Production.INFO: ==11343== Lock acquired, processing the job...
[2025-03-10 00:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:23:04] Production.INFO: Account Balance Start.
[2025-03-10 00:23:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:23:04] Production.INFO: 117
[2025-03-10 00:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645814') end
[2025-03-10 00:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:23:04] Production.INFO: 1
[2025-03-10 00:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:23:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:23:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:23:04] Production.INFO: ==11345== Releasing lock...
[2025-03-10 00:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:23:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:23:04] Production.INFO: Total Charge 0
[2025-03-10 00:23:04] Production.INFO: CreateAllLog End
[2025-03-10 00:23:04] Production.INFO: ==11337== Releasing lock...
[2025-03-10 00:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:23:04] Production.ERROR: done
[2025-03-10 00:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:23:04] Production.INFO: Account Balance End.
[2025-03-10 00:23:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:23:04] Production.INFO: ==11341== Releasing lock...
[2025-03-10 00:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:23:05] Production.ERROR: done
[2025-03-10 00:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:23:06
[end_date_ymd] => 2025-03-10 00:23:06
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:23:06' and `end` < '2025-03-10 00: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-03-10 00:23:12] Production.ERROR: CronJobId end10
[2025-03-10 00:23:12] Production.INFO: ==11339== Releasing lock...
[2025-03-10 00:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:23:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:23:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:23:15] Production.INFO: call_cost start
[2025-03-10 00:23:15] Production.INFO: call_cost end
[2025-03-10 00:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:23:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:23:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:23:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:23:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:23:16] Production.INFO: ==11335== Releasing lock...
[2025-03-10 00:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:23:18] Production.INFO: count ==306
[2025-03-10 00:23:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:23:06 - End Time 2025-03-10 00:23:06
[2025-03-10 00:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645818', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645818', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645818', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645818', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:23:18] Production.INFO: ProcessCDR(1,14645818,1,1,2)
[2025-03-10 00:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645818', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645818', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:23:21] Production.INFO: ==11343== Releasing lock...
[2025-03-10 00:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:23:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:24:01] Production.INFO: ==11441== Lock acquired, processing the job...
[2025-03-10 04:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:24:01] Production.INFO: neon service started
[2025-03-10 04:24:01] Production.INFO: neon service started
[2025-03-10 04:24:01] Production.INFO: ==11441== Releasing lock...
[2025-03-10 04:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:24:02] Production.INFO: ==11447== Lock acquired, processing the job...
[2025-03-10 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:24:02] Production.INFO: ==11447== Releasing lock...
[2025-03-10 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:24:02] Production.INFO: ==11445== Lock acquired, processing the job...
[2025-03-10 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:24:02] Production.INFO: ==11445== Releasing lock...
[2025-03-10 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:24:03] Production.INFO: ==11450== Lock acquired, processing the job...
[2025-03-10 00:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:24:03] Production.INFO: ==11456== Lock acquired, processing the job...
[2025-03-10 00:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:24:03] Production.INFO: ==11458== Lock acquired, processing the job...
[2025-03-10 00:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:24:03] Production.INFO: Account Balance Start.
[2025-03-10 00:24:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:24:03] Production.INFO: 117
[2025-03-10 00:24:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:24:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:24:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:24:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:24:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:24:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:24:03] Production.INFO: Total Charge 0
[2025-03-10 00:24:03] Production.INFO: ==11452== Lock acquired, processing the job...
[2025-03-10 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:24:03] Production.INFO: CreateAllLog End
[2025-03-10 00:24:03] Production.INFO: ==11460== Lock acquired, processing the job...
[2025-03-10 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:24:03] Production.INFO: ==11454== Lock acquired, processing the job...
[2025-03-10 00:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:24:03] Production.ERROR: done
[2025-03-10 00:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 00:24:03] Production.INFO: Account Balance End.
[2025-03-10 00:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:24:03] Production.INFO: count ==13
[2025-03-10 00:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 00:24:03] Production.INFO: count ==21
[2025-03-10 00:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645821') start
[2025-03-10 00:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:24:04] Production.INFO: ==11456== Releasing lock...
[2025-03-10 00:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645821') end
[2025-03-10 00:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:24:04] Production.INFO: 1
[2025-03-10 00:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:24:04] Production.ERROR: done
[2025-03-10 00:24:04] Production.INFO: ==11460== Releasing lock...
[2025-03-10 00:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:24:04] Production.INFO: ==11452== Releasing lock...
[2025-03-10 00:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:24:05
[end_date_ymd] => 2025-03-10 00:24:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:24:05' and `end` < '2025-03-10 00: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-03-10 00:24:11] Production.ERROR: CronJobId end10
[2025-03-10 00:24:11] Production.INFO: ==11454== Releasing lock...
[2025-03-10 00:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:24:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:24:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:24:14] Production.INFO: call_cost start
[2025-03-10 00:24:14] Production.INFO: call_cost end
[2025-03-10 00:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:24:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:24:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:24:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:24:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:24:15] Production.INFO: ==11450== Releasing lock...
[2025-03-10 00:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:24:17] Production.INFO: count ==304
[2025-03-10 00:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:24:05 - End Time 2025-03-10 00:24:05
[2025-03-10 00:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645823', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645823', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645823', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645823', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:24:17] Production.INFO: ProcessCDR(1,14645823,1,1,2)
[2025-03-10 00:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645823', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645823', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:24:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:24:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:24:20] Production.INFO: ==11458== Releasing lock...
[2025-03-10 00:24:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:24:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:25:02] Production.INFO: ==11553== Lock acquired, processing the job...
[2025-03-10 04:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:25:02] Production.INFO: neon service started
[2025-03-10 04:25:02] Production.INFO: neon service started
[2025-03-10 04:25:02] Production.INFO: ==11553== Releasing lock...
[2025-03-10 04:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:25:02] Production.INFO: ==11557== Lock acquired, processing the job...
[2025-03-10 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:25:02] Production.INFO: ==11557== Releasing lock...
[2025-03-10 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:25:02] Production.INFO: ==11555== Lock acquired, processing the job...
[2025-03-10 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:25:02] Production.INFO: ==11555== Releasing lock...
[2025-03-10 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:25:03] Production.INFO: ==11565== Lock acquired, processing the job...
[2025-03-10 00:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:25:03] Production.INFO: ==11571== Lock acquired, processing the job...
[2025-03-10 00:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00: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-03-10 00:25:04] Production.INFO: count ==13
[2025-03-10 00:25:04] Production.INFO: ==11561== Lock acquired, processing the job...
[2025-03-10 00:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 00:25:04] Production.INFO: count ==21
[2025-03-10 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645824') start
[2025-03-10 00:25:04] Production.INFO: ==11563== Lock acquired, processing the job...
[2025-03-10 00:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:25:04] Production.INFO: ==11567== Lock acquired, processing the job...
[2025-03-10 00:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:25:04] Production.INFO: ==11569== Lock acquired, processing the job...
[2025-03-10 00:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:25:04] Production.INFO: Account Balance Start.
[2025-03-10 00:25:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645824') end
[2025-03-10 00:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:25:04] Production.INFO: 1
[2025-03-10 00:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:25:04] Production.INFO: 117
[2025-03-10 00:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:25:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:25:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:25:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:25:04] Production.INFO: Total Charge 0
[2025-03-10 00:25:04] Production.INFO: CreateAllLog End
[2025-03-10 00:25:04] Production.INFO: ==11571== Releasing lock...
[2025-03-10 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:25:04] Production.INFO: ==11563== Releasing lock...
[2025-03-10 00:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:25:04] Production.INFO: Account Balance End.
[2025-03-10 00:25:04] Production.ERROR: done
[2025-03-10 00:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:25:04] Production.INFO: ==11567== Releasing lock...
[2025-03-10 00:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:25:05] Production.ERROR: done
[2025-03-10 00:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:25:05
[end_date_ymd] => 2025-03-10 00:25:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:25:05' and `end` < '2025-03-10 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-03-10 00:25:12] Production.ERROR: CronJobId end10
[2025-03-10 00:25:12] Production.INFO: ==11565== Releasing lock...
[2025-03-10 00:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:25:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:25:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:25:14] Production.INFO: call_cost start
[2025-03-10 00:25:14] Production.INFO: call_cost end
[2025-03-10 00:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:25:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:25:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:25:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:25:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:25:15] Production.INFO: ==11561== Releasing lock...
[2025-03-10 00:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:25:18] Production.INFO: count ==309
[2025-03-10 00:25:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:25:05 - End Time 2025-03-10 00:25:05
[2025-03-10 00:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645828', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645828', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645828', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645828', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:25:18] Production.INFO: ProcessCDR(1,14645828,1,1,2)
[2025-03-10 00:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645828', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645828', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:25:21] Production.INFO: ==11569== Releasing lock...
[2025-03-10 00:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:25:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:26:01] Production.INFO: ==11659== Lock acquired, processing the job...
[2025-03-10 04:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:26:01] Production.INFO: neon service started
[2025-03-10 04:26:01] Production.INFO: neon service started
[2025-03-10 04:26:01] Production.INFO: ==11659== Releasing lock...
[2025-03-10 04:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:26:01] Production.INFO: ==11661== Lock acquired, processing the job...
[2025-03-10 00:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:26:02] Production.INFO: ==11661== Releasing lock...
[2025-03-10 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:26:02] Production.INFO: ==11663== Lock acquired, processing the job...
[2025-03-10 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:26:02] Production.INFO: ==11663== Releasing lock...
[2025-03-10 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:26:03] Production.INFO: ==11665== Lock acquired, processing the job...
[2025-03-10 00:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:26:03] Production.INFO: ==11669== Lock acquired, processing the job...
[2025-03-10 00:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:26:03] Production.INFO: ==11673== Lock acquired, processing the job...
[2025-03-10 00:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:26:03] Production.INFO: ==11667== Lock acquired, processing the job...
[2025-03-10 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:26:03] Production.INFO: ==11671== Lock acquired, processing the job...
[2025-03-10 00:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:26:03] Production.INFO: ==11675== Lock acquired, processing the job...
[2025-03-10 00:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:26:03] Production.INFO: Account Balance Start.
[2025-03-10 00:26:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:26:03] Production.INFO: 117
[2025-03-10 00:26:03] Production.ERROR: done
[2025-03-10 00:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:26:03] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 00:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:26:03] Production.INFO: count ==13
[2025-03-10 00:26:03] Production.ERROR: done
[2025-03-10 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-03-10 00:26:03] Production.INFO: count ==21
[2025-03-10 00:26:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645832') start
[2025-03-10 00:26:04] Production.INFO: Total Charge 0
[2025-03-10 00:26:04] Production.INFO: CreateAllLog End
[2025-03-10 00:26:04] Production.INFO: ==11667== Releasing lock...
[2025-03-10 00:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645832') end
[2025-03-10 00:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:26:04] Production.INFO: 1
[2025-03-10 00:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:26:04] Production.INFO: ==11675== Releasing lock...
[2025-03-10 00:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:26:04] Production.INFO: Account Balance End.
[2025-03-10 00:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:26:04] Production.INFO: ==11671== Releasing lock...
[2025-03-10 00:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:26:04
[end_date_ymd] => 2025-03-10 00:26:04
[RateCDR] => 1
)
[2025-03-10 00:26: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-03-09 21:26:04' and `end` < '2025-03-10 00:26: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-03-10 00:26:11] Production.ERROR: CronJobId end10
[2025-03-10 00:26:11] Production.INFO: ==11669== Releasing lock...
[2025-03-10 00:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:26:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:26:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:26:14] Production.INFO: call_cost start
[2025-03-10 00:26:14] Production.INFO: call_cost end
[2025-03-10 00:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:26:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:26:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:26:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:26:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:26:15] Production.INFO: ==11665== Releasing lock...
[2025-03-10 00:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:26:16] Production.INFO: count ==313
[2025-03-10 00:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:26:04 - End Time 2025-03-10 00:26:04
[2025-03-10 00:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645833', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645833', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645833', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645833', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:26:17] Production.INFO: ProcessCDR(1,14645833,1,1,2)
[2025-03-10 00:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645833', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645833', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:26:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:26:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:26:20] Production.INFO: ==11673== Releasing lock...
[2025-03-10 00:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:26:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 04:27:02] Production.INFO: ==11750== Lock acquired, processing the job...
[2025-03-10 04:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:27:02] Production.INFO: neon service started
[2025-03-10 04:27:02] Production.INFO: neon service started
[2025-03-10 04:27:02] Production.INFO: ==11750== Releasing lock...
[2025-03-10 04:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:27:02] Production.INFO: ==11755== Lock acquired, processing the job...
[2025-03-10 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:27:02] Production.INFO: ==11755== Releasing lock...
[2025-03-10 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:27:02] Production.INFO: ==11753== Lock acquired, processing the job...
[2025-03-10 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:27:02] Production.INFO: ==11753== Releasing lock...
[2025-03-10 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:27:03] Production.INFO: ==11757== Lock acquired, processing the job...
[2025-03-10 00:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:27:03] Production.INFO: ==11759== Lock acquired, processing the job...
[2025-03-10 00:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:27:03] Production.INFO: ==11765== Lock acquired, processing the job...
[2025-03-10 00:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:27:03] Production.INFO: ==11761== Lock acquired, processing the job...
[2025-03-10 00:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:27:03] Production.INFO: ==11763== Lock acquired, processing the job...
[2025-03-10 00:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:27:04] Production.INFO: ==11767== Lock acquired, processing the job...
[2025-03-10 00:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:27:04] Production.INFO: ==11759== Releasing lock...
[2025-03-10 00:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:27:04] Production.INFO: Account Balance Start.
[2025-03-10 00:27:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:27:04] Production.INFO: 117
[2025-03-10 00:27:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 00:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:27:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:27:04] Production.INFO: count ==21
[2025-03-10 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645836') start
[2025-03-10 00:27:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:27:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:27:04] Production.INFO: Total Charge 0
[2025-03-10 00:27:04] Production.INFO: CreateAllLog End
[2025-03-10 00:27:04] Production.ERROR: done
[2025-03-10 00:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645836') end
[2025-03-10 00:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:27:04] Production.INFO: 1
[2025-03-10 00:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:27:04] Production.INFO: ==11767== Releasing lock...
[2025-03-10 00:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:27:04] Production.ERROR: done
[2025-03-10 00:27:04] Production.INFO: Account Balance End.
[2025-03-10 00:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:27:04] Production.INFO: ==11763== Releasing lock...
[2025-03-10 00:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:27:05
[end_date_ymd] => 2025-03-10 00:27:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:27:05' and `end` < '2025-03-10 00: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-03-10 00:27:12] Production.ERROR: CronJobId end10
[2025-03-10 00:27:12] Production.INFO: ==11761== Releasing lock...
[2025-03-10 00:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:27:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:27:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:27:14] Production.INFO: call_cost start
[2025-03-10 00:27:14] Production.INFO: call_cost end
[2025-03-10 00:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:27:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:27:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:27:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:27:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:27:15] Production.INFO: ==11757== Releasing lock...
[2025-03-10 00:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:27:17] Production.INFO: count ==316
[2025-03-10 00:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:27:05 - End Time 2025-03-10 00:27:05
[2025-03-10 00:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645838', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645838', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645838', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645838', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:27:17] Production.INFO: ProcessCDR(1,14645838,1,1,2)
[2025-03-10 00:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645838', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645838', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:27:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:27:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:27:20] Production.INFO: ==11765== Releasing lock...
[2025-03-10 00:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:27:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:28:01] Production.INFO: ==11824== Lock acquired, processing the job...
[2025-03-10 04:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:28:01] Production.INFO: neon service started
[2025-03-10 04:28:01] Production.INFO: neon service started
[2025-03-10 04:28:01] Production.INFO: ==11824== Releasing lock...
[2025-03-10 04:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:28:01] Production.INFO: ==11826== Lock acquired, processing the job...
[2025-03-10 00:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:28:02] Production.INFO: ==11826== Releasing lock...
[2025-03-10 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:28:02] Production.INFO: ==11828== Lock acquired, processing the job...
[2025-03-10 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:28:02] Production.INFO: ==11828== Releasing lock...
[2025-03-10 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:28:03] Production.INFO: ==11832== Lock acquired, processing the job...
[2025-03-10 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:28:03] Production.INFO: ==11838== Lock acquired, processing the job...
[2025-03-10 00:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:28:03] Production.INFO: ==11836== Lock acquired, processing the job...
[2025-03-10 00:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:28:03] Production.INFO: ==11834== Lock acquired, processing the job...
[2025-03-10 00:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:28:03] Production.INFO: ==11830== Lock acquired, processing the job...
[2025-03-10 00:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:28:03] Production.INFO: ==11840== Lock acquired, processing the job...
[2025-03-10 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:28:03] Production.INFO: Account Balance Start.
[2025-03-10 00:28:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:28:03] Production.INFO: 117
[2025-03-10 00:28:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:28:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 00:28:03] Production.INFO: count ==13
[2025-03-10 00:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 00:28:03] Production.INFO: count ==21
[2025-03-10 00:28:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:28:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:28:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:28:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645841') start
[2025-03-10 00:28:03] Production.INFO: Total Charge 0
[2025-03-10 00:28:03] Production.INFO: CreateAllLog End
[2025-03-10 00:28:03] Production.INFO: ==11832== Releasing lock...
[2025-03-10 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:28:03] Production.ERROR: done
[2025-03-10 00:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645841') end
[2025-03-10 00:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:28:03] Production.INFO: 1
[2025-03-10 00:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:28:03] Production.INFO: ==11840== Releasing lock...
[2025-03-10 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:28:03] Production.ERROR: done
[2025-03-10 00:28:03] Production.INFO: Account Balance End.
[2025-03-10 00:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:28:04] Production.INFO: ==11836== Releasing lock...
[2025-03-10 00:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:28:05
[end_date_ymd] => 2025-03-10 00:28:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:28:05' and `end` < '2025-03-10 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-03-10 00:28:12] Production.ERROR: CronJobId end10
[2025-03-10 00:28:12] Production.INFO: ==11834== Releasing lock...
[2025-03-10 00:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:28:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:28:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:28:15] Production.INFO: call_cost start
[2025-03-10 00:28:15] Production.INFO: call_cost end
[2025-03-10 00:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:28:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:28:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:28:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:28:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:28:16] Production.INFO: ==11830== Releasing lock...
[2025-03-10 00:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:28:17] Production.INFO: count ==323
[2025-03-10 00:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:28:05 - End Time 2025-03-10 00:28:05
[2025-03-10 00:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645843', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645843', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645843', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645843', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:28:17] Production.INFO: ProcessCDR(1,14645843,1,1,2)
[2025-03-10 00:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645843', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645843', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:28:20] Production.INFO: ==11838== Releasing lock...
[2025-03-10 00:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:28:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 04:29:02] Production.INFO: ==11901== Lock acquired, processing the job...
[2025-03-10 04:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:29:02] Production.INFO: neon service started
[2025-03-10 04:29:02] Production.INFO: neon service started
[2025-03-10 04:29:02] Production.INFO: ==11901== Releasing lock...
[2025-03-10 04:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:29:02] Production.INFO: ==11905== Lock acquired, processing the job...
[2025-03-10 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:29:02] Production.INFO: ==11905== Releasing lock...
[2025-03-10 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:29:02] Production.INFO: ==11903== Lock acquired, processing the job...
[2025-03-10 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:29:02] Production.INFO: ==11903== Releasing lock...
[2025-03-10 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:29:03] Production.INFO: ==11908== Lock acquired, processing the job...
[2025-03-10 00:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:29:03] Production.INFO: ==11910== Lock acquired, processing the job...
[2025-03-10 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:29:03] Production.INFO: ==11916== Lock acquired, processing the job...
[2025-03-10 00:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:29:04] Production.INFO: ==11912== Lock acquired, processing the job...
[2025-03-10 00:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:29:04] Production.INFO: ==11910== Releasing lock...
[2025-03-10 00:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:29:04] Production.INFO: ==11914== Lock acquired, processing the job...
[2025-03-10 00:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:29:04] Production.INFO: ==11918== Lock acquired, processing the job...
[2025-03-10 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:29:04] Production.ERROR: done
[2025-03-10 00:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 00:29:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:29:04] Production.INFO: Account Balance Start.
[2025-03-10 00:29:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:29:04] Production.INFO: count ==21
[2025-03-10 00:29:04] Production.INFO: 117
[2025-03-10 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645846') start
[2025-03-10 00:29:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:29:04] Production.ERROR: done
[2025-03-10 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645846') end
[2025-03-10 00:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:29:04] Production.INFO: 1
[2025-03-10 00:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:29:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:29:04] Production.INFO: ==11918== Releasing lock...
[2025-03-10 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:29:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:29:04] Production.INFO: Total Charge 0
[2025-03-10 00:29:04] Production.INFO: CreateAllLog End
[2025-03-10 00:29:04] Production.INFO: Account Balance End.
[2025-03-10 00:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:29:04] Production.INFO: ==11914== Releasing lock...
[2025-03-10 00:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:29:05
[end_date_ymd] => 2025-03-10 00:29:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:29:05' and `end` < '2025-03-10 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-03-10 00:29:11] Production.ERROR: CronJobId end10
[2025-03-10 00:29:11] Production.INFO: ==11912== Releasing lock...
[2025-03-10 00:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:29:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:29:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:29:13] Production.INFO: call_cost start
[2025-03-10 00:29:13] Production.INFO: call_cost end
[2025-03-10 00:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:29:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:29:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:29:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:29:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:29:14] Production.INFO: ==11908== Releasing lock...
[2025-03-10 00:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:29:17] Production.INFO: count ==325
[2025-03-10 00:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:29:05 - End Time 2025-03-10 00:29:05
[2025-03-10 00:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645848', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645848', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645848', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645848', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:29:17] Production.INFO: ProcessCDR(1,14645848,1,1,2)
[2025-03-10 00:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645848', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645848', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:29:20] Production.INFO: ==11916== Releasing lock...
[2025-03-10 00:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:29:20] Production.INFO: 31.5 MB #Memory Used#
[2025-03-10 04:30:01] Production.INFO: ==11982== Lock acquired, processing the job...
[2025-03-10 04:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:30:01] Production.INFO: neon service started
[2025-03-10 04:30:01] Production.INFO: neon service started
[2025-03-10 04:30:01] Production.INFO: ==11982== Releasing lock...
[2025-03-10 04:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:30:02] Production.INFO: ==11984== Lock acquired, processing the job...
[2025-03-10 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:30:02] Production.INFO: ==11986== Lock acquired, processing the job...
[2025-03-10 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:30:02] Production.INFO: ==11986== Releasing lock...
[2025-03-10 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:30:02] Production.INFO: ==11984== Releasing lock...
[2025-03-10 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:30:03] Production.INFO: ==11995== Lock acquired, processing the job...
[2025-03-10 00:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:30:03] Production.INFO: ==11989== Lock acquired, processing the job...
[2025-03-10 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 00:30:03] Production.INFO: ==11999== Lock acquired, processing the job...
[2025-03-10 00:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 00:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 00:30:03] Production.ERROR: CronJob PID - 11995
[2025-03-10 00:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 00:30:03] Production.ERROR: CronJob ID - 10
[2025-03-10 00:30:03] Production.ERROR: CronJob Last Run Time 2025-03-10 00:30:00
[2025-03-10 00:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 00:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 00:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 00:30:03] Production.ERROR: CronJob PID - 11999
[2025-03-10 00:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 00:30:03] Production.ERROR: CronJob ID - 16
[2025-03-10 00:30:03] Production.ERROR: CronJob Last Run Time 2025-03-10 00:30:00
[2025-03-10 00:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 00:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 00:30:03] Production.INFO: ==11991== Lock acquired, processing the job...
[2025-03-10 00:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:30:03] Production.INFO: ==11993== Lock acquired, processing the job...
[2025-03-10 00:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 00:30:03] Production.INFO: ==11989== Releasing lock...
[2025-03-10 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 00:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 00:30:03] Production.INFO: ==12003== Lock acquired, processing the job...
[2025-03-10 00:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:30:04] Production.INFO: ==11997== Lock acquired, processing the job...
[2025-03-10 00:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:30:04] Production.INFO: ==12001== Lock acquired, processing the job...
[2025-03-10 00:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 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-03-10 00:30:04] Production.INFO: Account Balance Start.
[2025-03-10 00:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:30:04] Production.INFO: 117
[2025-03-10 00:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:30:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:30:04] Production.INFO: count ==21
[2025-03-10 00:30:04] Production.ERROR: done
[2025-03-10 00:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645851') start
[2025-03-10 00:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:30:04] Production.ERROR: done
[2025-03-10 00:30:04] Production.INFO: ==11993== Releasing lock...
[2025-03-10 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645851') end
[2025-03-10 00:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:30:04] Production.INFO: 1
[2025-03-10 00:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:30:04] Production.INFO: Total Charge 0
[2025-03-10 00:30:04] Production.INFO: CreateAllLog End
[2025-03-10 00:30:04] Production.INFO: ==12003== Releasing lock...
[2025-03-10 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:30:04] Production.ERROR: done
[2025-03-10 00:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 00:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645854', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 00:30:04] Production.INFO: Account Balance End.
[2025-03-10 00:30:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:30:04] Production.INFO: ==11997== Releasing lock...
[2025-03-10 00:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:30:05
[end_date_ymd] => 2025-03-10 00:30:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:30:05' and `end` < '2025-03-10 00: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-03-10 00:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645854', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 00:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 00:30:08] Production.INFO: ProcessCDR(1,14645854,1,1,2)
[2025-03-10 00:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645854,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645854,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:30:08] Production.INFO: ==12001== Releasing lock...
[2025-03-10 00:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 00:30:08] Production.INFO: 26 MB #Memory Used#
[2025-03-10 00:30:13] Production.ERROR: CronJobId end10
[2025-03-10 00:30:13] Production.INFO: ==11995== Releasing lock...
[2025-03-10 00:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:30:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:30:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:30:16] Production.INFO: call_cost start
[2025-03-10 00:30:16] Production.INFO: call_cost end
[2025-03-10 00:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:30:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:30:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:30:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:30:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:30:17] Production.INFO: ==11991== Releasing lock...
[2025-03-10 00:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:30:17] Production.INFO: count ==331
[2025-03-10 00:30:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:30:05 - End Time 2025-03-10 00:30:05
[2025-03-10 00:30:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645853', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645853', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645853', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645853', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:30:18] Production.INFO: ProcessCDR(1,14645853,1,1,2)
[2025-03-10 00:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:30:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:30:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:30:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:30:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645853', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645853', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:30:21] Production.INFO: ==11999== Releasing lock...
[2025-03-10 00:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:30:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:31:01] Production.INFO: ==12066== Lock acquired, processing the job...
[2025-03-10 04:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:31:01] Production.INFO: neon service started
[2025-03-10 04:31:01] Production.INFO: neon service started
[2025-03-10 04:31:01] Production.INFO: ==12066== Releasing lock...
[2025-03-10 04:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:31:02] Production.INFO: ==12068== Lock acquired, processing the job...
[2025-03-10 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:31:02] Production.INFO: ==12068== Releasing lock...
[2025-03-10 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:31:02] Production.INFO: ==12070== Lock acquired, processing the job...
[2025-03-10 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:31:02] Production.INFO: ==12070== Releasing lock...
[2025-03-10 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:31:03] Production.INFO: ==12081== Lock acquired, processing the job...
[2025-03-10 00:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:31:03] Production.INFO: ==12073== Lock acquired, processing the job...
[2025-03-10 00:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:31:03] Production.INFO: ==12079== Lock acquired, processing the job...
[2025-03-10 00:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:31:03] Production.INFO: Account Balance Start.
[2025-03-10 00:31:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:31:03] Production.INFO: 117
[2025-03-10 00:31:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:31:03] Production.INFO: ==12075== Lock acquired, processing the job...
[2025-03-10 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:31:03] Production.INFO: ==12077== Lock acquired, processing the job...
[2025-03-10 00:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:31:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:31:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:31:03] Production.INFO: Total Charge 0
[2025-03-10 00:31:03] Production.INFO: CreateAllLog End
[2025-03-10 00:31:03] Production.INFO: ==12083== Lock acquired, processing the job...
[2025-03-10 00:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:31:03] Production.INFO: Account Balance End.
[2025-03-10 00:31:03] Production.ERROR: done
[2025-03-10 00:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:31:03] Production.ERROR: CronJobId end 12
[2025-03-10 00:31:03] Production.INFO: ==12079== Releasing lock...
[2025-03-10 00:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00: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-03-10 00:31:04] Production.ERROR: done
[2025-03-10 00:31:04] Production.INFO: ==12075== Releasing lock...
[2025-03-10 00:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:31:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:31:04] Production.INFO: count ==21
[2025-03-10 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645858') start
[2025-03-10 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645858') end
[2025-03-10 00:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:31:04] Production.INFO: 1
[2025-03-10 00:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:31:04] Production.INFO: ==12083== Releasing lock...
[2025-03-10 00:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:31:05
[end_date_ymd] => 2025-03-10 00:31:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:31:05' and `end` < '2025-03-10 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-03-10 00:31:13] Production.ERROR: CronJobId end10
[2025-03-10 00:31:13] Production.INFO: ==12077== Releasing lock...
[2025-03-10 00:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:31:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:31:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:31:14] Production.INFO: call_cost start
[2025-03-10 00:31:14] Production.INFO: call_cost end
[2025-03-10 00:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:31:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:31:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:31:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:31:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:31:15] Production.INFO: ==12073== Releasing lock...
[2025-03-10 00:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:31:17] Production.INFO: count ==327
[2025-03-10 00:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:31:05 - End Time 2025-03-10 00:31:05
[2025-03-10 00:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645859', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645859', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645859', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645859', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:31:17] Production.INFO: ProcessCDR(1,14645859,1,1,2)
[2025-03-10 00:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645859', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645859', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:31:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:31:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:31:20] Production.INFO: ==12081== Releasing lock...
[2025-03-10 00:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:31:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:32:02] Production.INFO: ==12139== Lock acquired, processing the job...
[2025-03-10 04:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:32:02] Production.INFO: neon service started
[2025-03-10 04:32:02] Production.INFO: neon service started
[2025-03-10 04:32:02] Production.INFO: ==12139== Releasing lock...
[2025-03-10 04:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:32:02] Production.INFO: ==12143== Lock acquired, processing the job...
[2025-03-10 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:32:02] Production.INFO: ==12143== Releasing lock...
[2025-03-10 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:32:02] Production.INFO: ==12141== Lock acquired, processing the job...
[2025-03-10 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:32:03] Production.INFO: ==12141== Releasing lock...
[2025-03-10 00:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:32:04] Production.INFO: ==12150== Lock acquired, processing the job...
[2025-03-10 00:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:32:04] Production.INFO: ==12152== Lock acquired, processing the job...
[2025-03-10 00:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:32:04] Production.INFO: ==12154== Lock acquired, processing the job...
[2025-03-10 00:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:32:04] Production.INFO: Account Balance Start.
[2025-03-10 00:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:32:04] Production.INFO: 117
[2025-03-10 00:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:32:04] Production.INFO: ==12146== Lock acquired, processing the job...
[2025-03-10 00:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:32:04] Production.INFO: ==12148== Lock acquired, processing the job...
[2025-03-10 00:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:32:04] Production.INFO: ==12156== Lock acquired, processing the job...
[2025-03-10 00:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:32:04] Production.INFO: Total Charge 0
[2025-03-10 00:32:04] Production.INFO: CreateAllLog End
[2025-03-10 00:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 00:32:04] Production.ERROR: done
[2025-03-10 00:32:04] Production.INFO: count ==13
[2025-03-10 00:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 00:32:04] Production.INFO: count ==21
[2025-03-10 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645863') start
[2025-03-10 00:32:04] Production.INFO: Account Balance End.
[2025-03-10 00:32:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:32:04] Production.INFO: ==12152== Releasing lock...
[2025-03-10 00:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:32:04] Production.ERROR: done
[2025-03-10 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645863') end
[2025-03-10 00:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:32:04] Production.INFO: 1
[2025-03-10 00:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:32:04] Production.INFO: ==12148== Releasing lock...
[2025-03-10 00:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:32:05] Production.INFO: ==12156== Releasing lock...
[2025-03-10 00:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:32:05
[end_date_ymd] => 2025-03-10 00:32:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:32:05' and `end` < '2025-03-10 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-03-10 00:32:12] Production.ERROR: CronJobId end10
[2025-03-10 00:32:12] Production.INFO: ==12150== Releasing lock...
[2025-03-10 00:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:32:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:32:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:32:16] Production.INFO: call_cost start
[2025-03-10 00:32:16] Production.INFO: call_cost end
[2025-03-10 00:32:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:32:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:32:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:32:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:32:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:32:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:32:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:32:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:32:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:32:17] Production.INFO: ==12146== Releasing lock...
[2025-03-10 00:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:32:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:32:17] Production.INFO: count ==321
[2025-03-10 00:32:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:32:05 - End Time 2025-03-10 00:32:05
[2025-03-10 00:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645864', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645864', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645864', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645864', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:32:18] Production.INFO: ProcessCDR(1,14645864,1,1,2)
[2025-03-10 00:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645864', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645864', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:32:21] Production.INFO: ==12154== Releasing lock...
[2025-03-10 00:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:32:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:33:01] Production.INFO: ==12214== Lock acquired, processing the job...
[2025-03-10 04:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:33:01] Production.INFO: neon service started
[2025-03-10 04:33:01] Production.INFO: neon service started
[2025-03-10 04:33:01] Production.INFO: ==12214== Releasing lock...
[2025-03-10 04:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:33:02] Production.INFO: ==12216== Lock acquired, processing the job...
[2025-03-10 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:33:02] Production.INFO: ==12218== Lock acquired, processing the job...
[2025-03-10 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:33:02] Production.INFO: ==12218== Releasing lock...
[2025-03-10 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:33:02] Production.INFO: ==12216== Releasing lock...
[2025-03-10 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:33:03] Production.INFO: ==12223== Lock acquired, processing the job...
[2025-03-10 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:33:03] Production.INFO: ==12225== Lock acquired, processing the job...
[2025-03-10 00:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:33:03] Production.INFO: ==12231== Lock acquired, processing the job...
[2025-03-10 00:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 00:33:03] Production.INFO: ==12223== Releasing lock...
[2025-03-10 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:33:03] Production.INFO: count ==13
[2025-03-10 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-03-10 00:33:03] Production.INFO: count ==21
[2025-03-10 00:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645866') start
[2025-03-10 00:33:03] Production.INFO: ==12221== Lock acquired, processing the job...
[2025-03-10 00:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645866') end
[2025-03-10 00:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:33:03] Production.INFO: 1
[2025-03-10 00:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:33:04] Production.INFO: ==12231== Releasing lock...
[2025-03-10 00:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:33:04] Production.INFO: ==12229== Lock acquired, processing the job...
[2025-03-10 00:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:33:04] Production.INFO: ==12227== Lock acquired, processing the job...
[2025-03-10 00:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:33:04] Production.INFO: Account Balance Start.
[2025-03-10 00:33:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:33:04] Production.INFO: 117
[2025-03-10 00:33:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:33:04] Production.INFO: Total Charge 0
[2025-03-10 00:33:04] Production.INFO: CreateAllLog End
[2025-03-10 00:33:04] Production.ERROR: done
[2025-03-10 00:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:33:04] Production.ERROR: done
[2025-03-10 00:33:04] Production.INFO: Account Balance End.
[2025-03-10 00:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:33:04] Production.INFO: ==12227== Releasing lock...
[2025-03-10 00:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:33:05
[end_date_ymd] => 2025-03-10 00:33:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:33:05' and `end` < '2025-03-10 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-03-10 00:33:11] Production.ERROR: CronJobId end10
[2025-03-10 00:33:11] Production.INFO: ==12225== Releasing lock...
[2025-03-10 00:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:33:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:33:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:33:14] Production.INFO: call_cost start
[2025-03-10 00:33:14] Production.INFO: call_cost end
[2025-03-10 00:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:33:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:33:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:33:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:33:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:33:15] Production.INFO: ==12221== Releasing lock...
[2025-03-10 00:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:33:17] Production.INFO: count ==319
[2025-03-10 00:33:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:33:05 - End Time 2025-03-10 00:33:05
[2025-03-10 00:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645869', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645869', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645869', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645869', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:33:18] Production.INFO: ProcessCDR(1,14645869,1,1,2)
[2025-03-10 00:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645869', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645869', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:33:21] Production.INFO: ==12229== Releasing lock...
[2025-03-10 00:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:33:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:34:01] Production.INFO: ==12289== Lock acquired, processing the job...
[2025-03-10 04:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:34:01] Production.INFO: neon service started
[2025-03-10 04:34:01] Production.INFO: neon service started
[2025-03-10 04:34:01] Production.INFO: ==12289== Releasing lock...
[2025-03-10 04:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:34:01] Production.INFO: ==12291== Lock acquired, processing the job...
[2025-03-10 00:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:34:02] Production.INFO: ==12291== Releasing lock...
[2025-03-10 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:34:02] Production.INFO: ==12293== Lock acquired, processing the job...
[2025-03-10 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:34:02] Production.INFO: ==12293== Releasing lock...
[2025-03-10 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:34:02] Production.INFO: ==12295== Lock acquired, processing the job...
[2025-03-10 00:34:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:34:03] Production.INFO: ==12297== Lock acquired, processing the job...
[2025-03-10 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:34:03] Production.INFO: ==12302== Lock acquired, processing the job...
[2025-03-10 00:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:34:03] Production.INFO: Account Balance Start.
[2025-03-10 00:34:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:34:03] Production.INFO: 117
[2025-03-10 00:34:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:34:03] Production.INFO: ==12304== Lock acquired, processing the job...
[2025-03-10 00:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:34:03] Production.INFO: ==12299== Lock acquired, processing the job...
[2025-03-10 00:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:34:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:34:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:34:03] Production.INFO: ==12297== Releasing lock...
[2025-03-10 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:34:03] Production.INFO: Total Charge 0
[2025-03-10 00:34:03] Production.INFO: CreateAllLog End
[2025-03-10 00:34:03] Production.INFO: ==12306== Lock acquired, processing the job...
[2025-03-10 00:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00: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-03-10 00:34:03] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:34:03] Production.INFO: count ==21
[2025-03-10 00:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645873') start
[2025-03-10 00:34:03] Production.ERROR: done
[2025-03-10 00:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645873') end
[2025-03-10 00:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:34:04] Production.INFO: 1
[2025-03-10 00:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:34:04] Production.INFO: ==12306== Releasing lock...
[2025-03-10 00:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:34:04] Production.INFO: Account Balance End.
[2025-03-10 00:34:04] Production.ERROR: done
[2025-03-10 00:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:34:04] Production.INFO: ==12302== Releasing lock...
[2025-03-10 00:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:34:05
[end_date_ymd] => 2025-03-10 00:34:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:34:05' and `end` < '2025-03-10 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-03-10 00:34:11] Production.ERROR: CronJobId end10
[2025-03-10 00:34:11] Production.INFO: ==12299== Releasing lock...
[2025-03-10 00:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:34:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:34:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:34:13] Production.INFO: call_cost start
[2025-03-10 00:34:13] Production.INFO: call_cost end
[2025-03-10 00:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:34:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:34:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:34:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:34:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:34:14] Production.INFO: ==12295== Releasing lock...
[2025-03-10 00:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:34:17] Production.INFO: count ==321
[2025-03-10 00:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:34:05 - End Time 2025-03-10 00:34:05
[2025-03-10 00:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645874', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645874', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645874', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645874', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:34:17] Production.INFO: ProcessCDR(1,14645874,1,1,2)
[2025-03-10 00:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645874', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645874', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:34:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:34:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:34:20] Production.INFO: ==12304== Releasing lock...
[2025-03-10 00:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:34:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:35:01] Production.INFO: ==12365== Lock acquired, processing the job...
[2025-03-10 04:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:35:01] Production.INFO: neon service started
[2025-03-10 04:35:01] Production.INFO: neon service started
[2025-03-10 04:35:01] Production.INFO: ==12365== Releasing lock...
[2025-03-10 04:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:35:02] Production.INFO: ==12367== Lock acquired, processing the job...
[2025-03-10 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:35:02] Production.INFO: ==12369== Lock acquired, processing the job...
[2025-03-10 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:35:02] Production.INFO: ==12367== Releasing lock...
[2025-03-10 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:35:02] Production.INFO: ==12369== Releasing lock...
[2025-03-10 00:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:35:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:35:03] Production.INFO: ==12377== Lock acquired, processing the job...
[2025-03-10 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:35:03] Production.INFO: Account Balance Start.
[2025-03-10 00:35:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:35:03] Production.INFO: ==12381== Lock acquired, processing the job...
[2025-03-10 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:35:03] Production.INFO: 117
[2025-03-10 00:35:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:35:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:35:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:35:03] Production.INFO: ==12371== Lock acquired, processing the job...
[2025-03-10 00:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:35:03] Production.INFO: Total Charge 0
[2025-03-10 00:35:03] Production.INFO: CreateAllLog End
[2025-03-10 00:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 00:35:03] Production.INFO: ==12373== Lock acquired, processing the job...
[2025-03-10 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:35:03] Production.INFO: ==12375== Lock acquired, processing the job...
[2025-03-10 00:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:35:03] Production.INFO: count ==13
[2025-03-10 00:35:03] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 00:35:03] Production.INFO: count ==21
[2025-03-10 00:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645876') start
[2025-03-10 00:35:03] Production.ERROR: CronJobId end 12
[2025-03-10 00:35:03] Production.INFO: ==12377== Releasing lock...
[2025-03-10 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:35:03] Production.INFO: ==12379== Lock acquired, processing the job...
[2025-03-10 00:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645876') end
[2025-03-10 00:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:35:03] Production.INFO: 1
[2025-03-10 00:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:35:03] Production.INFO: ==12381== Releasing lock...
[2025-03-10 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:35:04] Production.INFO: ==12373== Releasing lock...
[2025-03-10 00:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:35:04] Production.ERROR: done
[2025-03-10 00:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:35:04] Production.ERROR: done
[2025-03-10 00:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:35:05
[end_date_ymd] => 2025-03-10 00:35:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:35:05' and `end` < '2025-03-10 00: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-03-10 00:35:12] Production.ERROR: CronJobId end10
[2025-03-10 00:35:12] Production.INFO: ==12375== Releasing lock...
[2025-03-10 00:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:35:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:35:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:35:14] Production.INFO: call_cost start
[2025-03-10 00:35:14] Production.INFO: call_cost end
[2025-03-10 00:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:35:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:35:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:35:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:35:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:35:15] Production.INFO: ==12371== Releasing lock...
[2025-03-10 00:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:35:17] Production.INFO: count ==317
[2025-03-10 00:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:35:05 - End Time 2025-03-10 00:35:05
[2025-03-10 00:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645879', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645879', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645879', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645879', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:35:17] Production.INFO: ProcessCDR(1,14645879,1,1,2)
[2025-03-10 00:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645879', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645879', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:35:20] Production.INFO: ==12379== Releasing lock...
[2025-03-10 00:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:35:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:36:02] Production.INFO: ==12450== Lock acquired, processing the job...
[2025-03-10 04:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:36:02] Production.INFO: neon service started
[2025-03-10 04:36:02] Production.INFO: neon service started
[2025-03-10 04:36:02] Production.INFO: ==12450== Releasing lock...
[2025-03-10 04:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:36:02] Production.INFO: ==12452== Lock acquired, processing the job...
[2025-03-10 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:36:02] Production.INFO: ==12454== Lock acquired, processing the job...
[2025-03-10 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:36:02] Production.INFO: ==12452== Releasing lock...
[2025-03-10 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:36:03] Production.INFO: ==12454== Releasing lock...
[2025-03-10 04:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:36:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:36:03] Production.INFO: ==12459== Lock acquired, processing the job...
[2025-03-10 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:36:03] Production.INFO: ==12463== Lock acquired, processing the job...
[2025-03-10 00:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:36:03] Production.INFO: ==12467== Lock acquired, processing the job...
[2025-03-10 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:36:03] Production.INFO: Account Balance Start.
[2025-03-10 00:36:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:36:03] Production.INFO: 117
[2025-03-10 00:36:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:36:03] Production.INFO: ==12456== Lock acquired, processing the job...
[2025-03-10 00:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:36:03] Production.INFO: Reseller ==> 0
[2025-03-10 00: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-03-10 00:36:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:36:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:36:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:36:04] Production.INFO: count ==21
[2025-03-10 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645882') start
[2025-03-10 00:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:36:04] Production.INFO: ==12461== Lock acquired, processing the job...
[2025-03-10 00:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:36:04] Production.INFO: ==12465== Lock acquired, processing the job...
[2025-03-10 00:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:36:04] Production.INFO: Total Charge 0
[2025-03-10 00:36:04] Production.INFO: CreateAllLog End
[2025-03-10 00:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645882') end
[2025-03-10 00:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:36:04] Production.INFO: 1
[2025-03-10 00:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:36:04] Production.INFO: ==12459== Releasing lock...
[2025-03-10 00:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:36:04] Production.INFO: ==12467== Releasing lock...
[2025-03-10 00:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:36:04] Production.INFO: Account Balance End.
[2025-03-10 00:36:04] Production.ERROR: done
[2025-03-10 00:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:36:04] Production.INFO: ==12463== Releasing lock...
[2025-03-10 00:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:36:04] Production.ERROR: done
[2025-03-10 00:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:36:05
[end_date_ymd] => 2025-03-10 00:36:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:36:05' and `end` < '2025-03-10 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-03-10 00:36:13] Production.ERROR: CronJobId end10
[2025-03-10 00:36:13] Production.INFO: ==12461== Releasing lock...
[2025-03-10 00:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:36:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:36:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:36:14] Production.INFO: call_cost start
[2025-03-10 00:36:14] Production.INFO: call_cost end
[2025-03-10 00:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:36:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:36:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:36:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:36:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:36:15] Production.INFO: ==12456== Releasing lock...
[2025-03-10 00:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:36:17] Production.INFO: count ==317
[2025-03-10 00:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:36:05 - End Time 2025-03-10 00:36:05
[2025-03-10 00:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645884', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645884', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645884', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645884', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:36:17] Production.INFO: ProcessCDR(1,14645884,1,1,2)
[2025-03-10 00:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645884', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645884', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:36:21] Production.INFO: ==12465== Releasing lock...
[2025-03-10 00:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:36:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:37:01] Production.INFO: ==12525== Lock acquired, processing the job...
[2025-03-10 04:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:37:01] Production.INFO: neon service started
[2025-03-10 04:37:01] Production.INFO: neon service started
[2025-03-10 04:37:01] Production.INFO: ==12525== Releasing lock...
[2025-03-10 04:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:37:02] Production.INFO: ==12527== Lock acquired, processing the job...
[2025-03-10 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:37:02] Production.INFO: ==12527== Releasing lock...
[2025-03-10 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:37:02] Production.INFO: ==12529== Lock acquired, processing the job...
[2025-03-10 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:37:02] Production.INFO: ==12529== Releasing lock...
[2025-03-10 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:37:03] Production.INFO: ==12537== Lock acquired, processing the job...
[2025-03-10 00:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:37:03] Production.INFO: ==12542== Lock acquired, processing the job...
[2025-03-10 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:37:03] Production.INFO: Account Balance Start.
[2025-03-10 00:37:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:37:03] Production.INFO: 117
[2025-03-10 00:37:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 00:37:03] Production.INFO: ==12533== Lock acquired, processing the job...
[2025-03-10 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:37:03] Production.INFO: ==12531== Lock acquired, processing the job...
[2025-03-10 00:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:37:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:37:03] Production.INFO: count ==13
[2025-03-10 00:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:37:03] Production.INFO: ==12535== Lock acquired, processing the job...
[2025-03-10 00:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 00:37:03] Production.INFO: count ==21
[2025-03-10 00:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645886') start
[2025-03-10 00:37:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:37:03] Production.INFO: ==12539== Lock acquired, processing the job...
[2025-03-10 00:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:37:03] Production.INFO: Total Charge 0
[2025-03-10 00:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:37:03] Production.INFO: CreateAllLog End
[2025-03-10 00:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645886') end
[2025-03-10 00:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:37:03] Production.INFO: 1
[2025-03-10 00:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:37:03] Production.INFO: ==12542== Releasing lock...
[2025-03-10 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:37:03] Production.INFO: Account Balance End.
[2025-03-10 00:37:03] Production.ERROR: CronJobId end 12
[2025-03-10 00:37:03] Production.INFO: ==12537== Releasing lock...
[2025-03-10 00:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:37:03] Production.INFO: ==12533== Releasing lock...
[2025-03-10 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:37:03] Production.ERROR: done
[2025-03-10 00:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:37:04] Production.ERROR: done
[2025-03-10 00:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:37:05
[end_date_ymd] => 2025-03-10 00:37:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:37:05' and `end` < '2025-03-10 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-03-10 00:37:11] Production.ERROR: CronJobId end10
[2025-03-10 00:37:11] Production.INFO: ==12535== Releasing lock...
[2025-03-10 00:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:37:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:37:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:37:14] Production.INFO: call_cost start
[2025-03-10 00:37:14] Production.INFO: call_cost end
[2025-03-10 00:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:37:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:37:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:37:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:37:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:37:15] Production.INFO: ==12531== Releasing lock...
[2025-03-10 00:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:37:17] Production.INFO: count ==320
[2025-03-10 00:37:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:37:05 - End Time 2025-03-10 00:37:05
[2025-03-10 00:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645889', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645889', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645889', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645889', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:37:17] Production.INFO: ProcessCDR(1,14645889,1,1,2)
[2025-03-10 00:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645889', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645889', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:37:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:37:20] Production.INFO: ==12539== Releasing lock...
[2025-03-10 00:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:37:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:38:02] Production.INFO: ==12645== Lock acquired, processing the job...
[2025-03-10 04:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:38:02] Production.INFO: neon service started
[2025-03-10 04:38:02] Production.INFO: neon service started
[2025-03-10 04:38:02] Production.INFO: ==12645== Releasing lock...
[2025-03-10 04:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:38:02] Production.INFO: ==12647== Lock acquired, processing the job...
[2025-03-10 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:38:02] Production.INFO: ==12647== Releasing lock...
[2025-03-10 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:38:03] Production.INFO: ==12649== Lock acquired, processing the job...
[2025-03-10 04:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:38:03] Production.INFO: ==12649== Releasing lock...
[2025-03-10 04:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:38:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:38:03] Production.INFO: ==12655== Lock acquired, processing the job...
[2025-03-10 00:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:38:03] Production.INFO: ==12659== Lock acquired, processing the job...
[2025-03-10 00:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:38:04] Production.INFO: ==12653== Lock acquired, processing the job...
[2025-03-10 00:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:38:04] Production.INFO: ==12651== Lock acquired, processing the job...
[2025-03-10 00:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:38:04] Production.INFO: ==12661== Lock acquired, processing the job...
[2025-03-10 00:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:38:04] Production.INFO: ==12657== Lock acquired, processing the job...
[2025-03-10 00:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:38:04] Production.INFO: Account Balance Start.
[2025-03-10 00:38:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:38:04] Production.INFO: 117
[2025-03-10 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-03-10 00:38:04] Production.INFO: count ==13
[2025-03-10 00:38:04] Production.ERROR: done
[2025-03-10 00:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 00:38:04] Production.INFO: count ==21
[2025-03-10 00:38:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645892') start
[2025-03-10 00:38:04] Production.ERROR: done
[2025-03-10 00:38:04] Production.INFO: ==12653== Releasing lock...
[2025-03-10 00:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:38:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:38:04] Production.INFO: Total Charge 0
[2025-03-10 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645892') end
[2025-03-10 00:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:38:04] Production.INFO: 1
[2025-03-10 00:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:38:04] Production.INFO: CreateAllLog End
[2025-03-10 00:38:04] Production.INFO: ==12661== Releasing lock...
[2025-03-10 00:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:38:04] Production.INFO: Account Balance End.
[2025-03-10 00:38:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:38:04] Production.INFO: ==12657== Releasing lock...
[2025-03-10 00:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:38:05
[end_date_ymd] => 2025-03-10 00:38:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:38:05' and `end` < '2025-03-10 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-03-10 00:38:12] Production.ERROR: CronJobId end10
[2025-03-10 00:38:12] Production.INFO: ==12655== Releasing lock...
[2025-03-10 00:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:38:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:38:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:38:14] Production.INFO: call_cost start
[2025-03-10 00:38:14] Production.INFO: call_cost end
[2025-03-10 00:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:38:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:38:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:38:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:38:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:38:15] Production.INFO: ==12651== Releasing lock...
[2025-03-10 00:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:38:17] Production.INFO: count ==318
[2025-03-10 00:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:38:05 - End Time 2025-03-10 00:38:05
[2025-03-10 00:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645894', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645894', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645894', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645894', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:38:17] Production.INFO: ProcessCDR(1,14645894,1,1,2)
[2025-03-10 00:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645894', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645894', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:38:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:38:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:38:20] Production.INFO: ==12659== Releasing lock...
[2025-03-10 00:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:38:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:39:01] Production.INFO: ==12722== Lock acquired, processing the job...
[2025-03-10 04:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:39:01] Production.INFO: neon service started
[2025-03-10 04:39:01] Production.INFO: neon service started
[2025-03-10 04:39:01] Production.INFO: ==12722== Releasing lock...
[2025-03-10 04:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:39:02] Production.INFO: ==12726== Lock acquired, processing the job...
[2025-03-10 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:39:02] Production.INFO: ==12726== Releasing lock...
[2025-03-10 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:39:02] Production.INFO: ==12724== Lock acquired, processing the job...
[2025-03-10 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:39:02] Production.INFO: ==12724== Releasing lock...
[2025-03-10 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:39:03] Production.INFO: ==12737== Lock acquired, processing the job...
[2025-03-10 00:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:39:03] Production.INFO: ==12733== Lock acquired, processing the job...
[2025-03-10 00:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:39:03] Production.INFO: ==12729== Lock acquired, processing the job...
[2025-03-10 00:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:39:03] Production.INFO: ==12731== Lock acquired, processing the job...
[2025-03-10 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:39:03] Production.INFO: ==12735== Lock acquired, processing the job...
[2025-03-10 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:39:03] Production.INFO: ==12739== Lock acquired, processing the job...
[2025-03-10 00:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:39:04] Production.ERROR: done
[2025-03-10 00:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00: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-03-10 00:39:04] Production.INFO: Account Balance Start.
[2025-03-10 00:39:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:39:04] Production.INFO: count ==13
[2025-03-10 00:39:04] Production.INFO: 117
[2025-03-10 00: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-03-10 00:39:04] Production.INFO: count ==21
[2025-03-10 00:39:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645898') start
[2025-03-10 00:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:39:04] Production.INFO: ==12731== Releasing lock...
[2025-03-10 00:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:39:04] Production.ERROR: done
[2025-03-10 00:39:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:39:04] Production.INFO: Total Charge 0
[2025-03-10 00:39:04] Production.INFO: CreateAllLog End
[2025-03-10 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645898') end
[2025-03-10 00:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:39:04] Production.INFO: 1
[2025-03-10 00:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:39:04] Production.INFO: ==12739== Releasing lock...
[2025-03-10 00:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:39:04] Production.INFO: Account Balance End.
[2025-03-10 00:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:39:04] Production.INFO: ==12735== Releasing lock...
[2025-03-10 00:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:39:05
[end_date_ymd] => 2025-03-10 00:39:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:39:05' and `end` < '2025-03-10 00: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-03-10 00:39:11] Production.ERROR: CronJobId end10
[2025-03-10 00:39:11] Production.INFO: ==12733== Releasing lock...
[2025-03-10 00:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:39:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:39:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:39:14] Production.INFO: call_cost start
[2025-03-10 00:39:14] Production.INFO: call_cost end
[2025-03-10 00:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:39:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:39:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:39:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:39:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:39:15] Production.INFO: ==12729== Releasing lock...
[2025-03-10 00:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:39:17] Production.INFO: count ==315
[2025-03-10 00:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:39:05 - End Time 2025-03-10 00:39:05
[2025-03-10 00:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645899', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645899', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645899', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645899', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:39:17] Production.INFO: ProcessCDR(1,14645899,1,1,2)
[2025-03-10 00:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645899', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645899', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:39:20] Production.INFO: ==12737== Releasing lock...
[2025-03-10 00:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:39:20] Production.INFO: 31.5 MB #Memory Used#
[2025-03-10 04:40:02] Production.INFO: ==12801== Lock acquired, processing the job...
[2025-03-10 04:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:40:02] Production.INFO: neon service started
[2025-03-10 04:40:02] Production.INFO: neon service started
[2025-03-10 04:40:02] Production.INFO: ==12801== Releasing lock...
[2025-03-10 04:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:40:02] Production.INFO: ==12803== Lock acquired, processing the job...
[2025-03-10 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:40:02] Production.INFO: ==12803== Releasing lock...
[2025-03-10 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:40:03] Production.INFO: ==12805== Lock acquired, processing the job...
[2025-03-10 04:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:40:03] Production.INFO: ==12805== Releasing lock...
[2025-03-10 04:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:40:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:40:03] Production.INFO: ==12808== Lock acquired, processing the job...
[2025-03-10 00:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 00:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 00:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 00:40:04] Production.INFO: ==12808== Releasing lock...
[2025-03-10 00:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 00:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 00:40:04] Production.INFO: ==12822== Lock acquired, processing the job...
[2025-03-10 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:40:04] Production.INFO: ==12820== Lock acquired, processing the job...
[2025-03-10 00:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 00:40:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:40:04] Production.INFO: count ==21
[2025-03-10 00:40:04] Production.INFO: ==12812== Lock acquired, processing the job...
[2025-03-10 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:40:04] Production.INFO: ==12810== Lock acquired, processing the job...
[2025-03-10 00:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645900') start
[2025-03-10 00:40:04] Production.INFO: ==12814== Lock acquired, processing the job...
[2025-03-10 00:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:40:04] Production.INFO: ==12818== Lock acquired, processing the job...
[2025-03-10 00:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:40:04] Production.INFO: ==12816== Lock acquired, processing the job...
[2025-03-10 00:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645900') end
[2025-03-10 00:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:40:04] Production.INFO: 1
[2025-03-10 00:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:40:04] Production.INFO: ==12822== Releasing lock...
[2025-03-10 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:40:04] Production.INFO: Account Balance Start.
[2025-03-10 00:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:40:04] Production.INFO: 117
[2025-03-10 00:40:04] Production.ERROR: done
[2025-03-10 00:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 00:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645904', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 00:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:40:04] Production.INFO: ==12812== Releasing lock...
[2025-03-10 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:40:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:40:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:40:04] Production.INFO: Total Charge 0
[2025-03-10 00:40:05] Production.INFO: CreateAllLog End
[2025-03-10 00:40:05] Production.ERROR: done
[2025-03-10 00:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:40:05] Production.INFO: Account Balance End.
[2025-03-10 00:40:05] Production.ERROR: done
[2025-03-10 00:40:05] Production.ERROR: CronJobId end 12
[2025-03-10 00:40:05] Production.INFO: ==12816== Releasing lock...
[2025-03-10 00:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:40:06
[end_date_ymd] => 2025-03-10 00:40:06
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:40:06' and `end` < '2025-03-10 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-03-10 00:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645904', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 00:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 00:40:08] Production.INFO: ProcessCDR(1,14645904,1,1,2)
[2025-03-10 00:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645904,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645904,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:40:09] Production.INFO: ==12820== Releasing lock...
[2025-03-10 00:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 00:40:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 00:40:13] Production.ERROR: CronJobId end10
[2025-03-10 00:40:13] Production.INFO: ==12814== Releasing lock...
[2025-03-10 00:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:40:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:40:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:40:16] Production.INFO: call_cost start
[2025-03-10 00:40:16] Production.INFO: call_cost end
[2025-03-10 00:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:40:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:40:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:40:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:40:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:40:17] Production.INFO: ==12810== Releasing lock...
[2025-03-10 00:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:40:18] Production.INFO: count ==315
[2025-03-10 00:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:40:06 - End Time 2025-03-10 00:40:06
[2025-03-10 00:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645905', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645905', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645905', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645905', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:40:18] Production.INFO: ProcessCDR(1,14645905,1,1,2)
[2025-03-10 00:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645905', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645905', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:40:23] Production.INFO: ==12818== Releasing lock...
[2025-03-10 00:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:40:23] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:41:01] Production.INFO: ==12878== Lock acquired, processing the job...
[2025-03-10 04:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:41:01] Production.INFO: neon service started
[2025-03-10 04:41:01] Production.INFO: neon service started
[2025-03-10 04:41:01] Production.INFO: ==12878== Releasing lock...
[2025-03-10 04:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:41:02] Production.INFO: ==12882== Lock acquired, processing the job...
[2025-03-10 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:41:02] Production.INFO: ==12882== Releasing lock...
[2025-03-10 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:41:02] Production.INFO: ==12880== Lock acquired, processing the job...
[2025-03-10 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:41:02] Production.INFO: ==12880== Releasing lock...
[2025-03-10 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:41:03] Production.INFO: ==12891== Lock acquired, processing the job...
[2025-03-10 00:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:41:03] Production.INFO: ==12893== Lock acquired, processing the job...
[2025-03-10 00:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:41:03] Production.INFO: Account Balance Start.
[2025-03-10 00:41:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:41:03] Production.INFO: 117
[2025-03-10 00:41:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:41:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:41:03] Production.INFO: ==12885== Lock acquired, processing the job...
[2025-03-10 00:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:41:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:41:03] Production.INFO: ==12887== Lock acquired, processing the job...
[2025-03-10 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:41:03] Production.INFO: ==12889== Lock acquired, processing the job...
[2025-03-10 00:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:41:03] Production.INFO: Total Charge 0
[2025-03-10 00:41:03] Production.INFO: CreateAllLog End
[2025-03-10 00:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:41:03] Production.INFO: ==12895== Lock acquired, processing the job...
[2025-03-10 00:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:41:03] Production.ERROR: done
[2025-03-10 00:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:41:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 00:41:04] Production.INFO: count ==13
[2025-03-10 00:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:41:04] Production.INFO: ==12891== Releasing lock...
[2025-03-10 00:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:41:04] Production.INFO: ==12887== Releasing lock...
[2025-03-10 00:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 00:41:04] Production.ERROR: done
[2025-03-10 00:41:04] Production.INFO: count ==21
[2025-03-10 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645909') start
[2025-03-10 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645909') end
[2025-03-10 00:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:41:04] Production.INFO: 1
[2025-03-10 00:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:41:04] Production.INFO: ==12895== Releasing lock...
[2025-03-10 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:41:05
[end_date_ymd] => 2025-03-10 00:41:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:41:05' and `end` < '2025-03-10 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-03-10 00:41:11] Production.ERROR: CronJobId end10
[2025-03-10 00:41:11] Production.INFO: ==12889== Releasing lock...
[2025-03-10 00:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:41:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:41:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:41:14] Production.INFO: call_cost start
[2025-03-10 00:41:14] Production.INFO: call_cost end
[2025-03-10 00:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:41:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:41:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:41:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:41:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:41:15] Production.INFO: ==12885== Releasing lock...
[2025-03-10 00:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:41:17] Production.INFO: count ==315
[2025-03-10 00:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:41:05 - End Time 2025-03-10 00:41:05
[2025-03-10 00:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645910', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645910', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645910', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645910', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:41:17] Production.INFO: ProcessCDR(1,14645910,1,1,2)
[2025-03-10 00:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645910', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645910', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:41:21] Production.INFO: ==12893== Releasing lock...
[2025-03-10 00:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:41:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:42:02] Production.INFO: ==12962== Lock acquired, processing the job...
[2025-03-10 04:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:42:02] Production.INFO: neon service started
[2025-03-10 04:42:02] Production.INFO: neon service started
[2025-03-10 04:42:02] Production.INFO: ==12962== Releasing lock...
[2025-03-10 04:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:42:02] Production.INFO: ==12964== Lock acquired, processing the job...
[2025-03-10 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:42:02] Production.INFO: ==12966== Lock acquired, processing the job...
[2025-03-10 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:42:02] Production.INFO: ==12966== Releasing lock...
[2025-03-10 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:42:03] Production.INFO: ==12964== Releasing lock...
[2025-03-10 00:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:42:03] Production.INFO: ==12973== Lock acquired, processing the job...
[2025-03-10 00:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:42:04] Production.INFO: ==12979== Lock acquired, processing the job...
[2025-03-10 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:42:04] Production.INFO: ==12969== Lock acquired, processing the job...
[2025-03-10 00:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00: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-03-10 00:42:04] Production.INFO: count ==13
[2025-03-10 00:42:04] Production.INFO: ==12971== Lock acquired, processing the job...
[2025-03-10 00:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00: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-03-10 00:42:04] Production.INFO: count ==21
[2025-03-10 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645911') start
[2025-03-10 00:42:04] Production.INFO: ==12975== Lock acquired, processing the job...
[2025-03-10 00:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:42:04] Production.INFO: ==12977== Lock acquired, processing the job...
[2025-03-10 00:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:42:04] Production.INFO: Account Balance Start.
[2025-03-10 00:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:42:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:42:04] Production.INFO: 117
[2025-03-10 00:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645911') end
[2025-03-10 00:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:42:04] Production.INFO: 1
[2025-03-10 00:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:42:04] Production.INFO: Total Charge 0
[2025-03-10 00:42:04] Production.INFO: CreateAllLog End
[2025-03-10 00:42:04] Production.INFO: ==12979== Releasing lock...
[2025-03-10 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:42:04] Production.ERROR: done
[2025-03-10 00:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:42:04] Production.INFO: ==12971== Releasing lock...
[2025-03-10 00:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:42:04] Production.INFO: Account Balance End.
[2025-03-10 00:42:05] Production.ERROR: CronJobId end 12
[2025-03-10 00:42:05] Production.INFO: ==12975== Releasing lock...
[2025-03-10 00:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:42:05] Production.ERROR: done
[2025-03-10 00:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:42:06
[end_date_ymd] => 2025-03-10 00:42:06
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:42:06' and `end` < '2025-03-10 00: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-03-10 00:42:11] Production.ERROR: CronJobId end10
[2025-03-10 00:42:11] Production.INFO: ==12973== Releasing lock...
[2025-03-10 00:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:42:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:42:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:42:14] Production.INFO: call_cost start
[2025-03-10 00:42:14] Production.INFO: call_cost end
[2025-03-10 00:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:42:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:42:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:42:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:42:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:42:15] Production.INFO: ==12969== Releasing lock...
[2025-03-10 00:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:42:18] Production.INFO: count ==316
[2025-03-10 00:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:42:06 - End Time 2025-03-10 00:42:06
[2025-03-10 00:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645915', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645915', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645915', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645915', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:42:18] Production.INFO: ProcessCDR(1,14645915,1,1,2)
[2025-03-10 00:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645915', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645915', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:42:22] Production.INFO: ==12977== Releasing lock...
[2025-03-10 00:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:42:22] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:43:01] Production.INFO: ==13036== Lock acquired, processing the job...
[2025-03-10 04:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:43:01] Production.INFO: neon service started
[2025-03-10 04:43:01] Production.INFO: neon service started
[2025-03-10 04:43:01] Production.INFO: ==13036== Releasing lock...
[2025-03-10 04:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:43:02] Production.INFO: ==13038== Lock acquired, processing the job...
[2025-03-10 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:43:02] Production.INFO: ==13040== Lock acquired, processing the job...
[2025-03-10 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:43:02] Production.INFO: ==13040== Releasing lock...
[2025-03-10 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:43:02] Production.INFO: ==13038== Releasing lock...
[2025-03-10 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:43:03] Production.INFO: ==13047== Lock acquired, processing the job...
[2025-03-10 00:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:43:03] Production.INFO: ==13049== Lock acquired, processing the job...
[2025-03-10 00:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:43:03] Production.INFO: ==13043== Lock acquired, processing the job...
[2025-03-10 00:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:43:03] Production.INFO: Account Balance Start.
[2025-03-10 00:43:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:43:03] Production.INFO: 117
[2025-03-10 00:43:03] Production.INFO: ==13045== Lock acquired, processing the job...
[2025-03-10 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:43:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:43:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:43:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:43:03] Production.INFO: Total Charge 0
[2025-03-10 00:43:03] Production.INFO: CreateAllLog End
[2025-03-10 00:43:03] Production.INFO: ==13053== Lock acquired, processing the job...
[2025-03-10 00:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:43:03] Production.INFO: ==13051== Lock acquired, processing the job...
[2025-03-10 00:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:43:03] Production.INFO: ==13045== Releasing lock...
[2025-03-10 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00: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-03-10 00:43:04] Production.INFO: Account Balance End.
[2025-03-10 00:43:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:43:04] Production.INFO: count ==21
[2025-03-10 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645919') start
[2025-03-10 00:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:43:04] Production.INFO: ==13049== Releasing lock...
[2025-03-10 00:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645919') end
[2025-03-10 00:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:43:04] Production.INFO: 1
[2025-03-10 00:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:43:04] Production.INFO: ==13053== Releasing lock...
[2025-03-10 00:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:43:04] Production.ERROR: done
[2025-03-10 00:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:43:04] Production.ERROR: done
[2025-03-10 00:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:43:05
[end_date_ymd] => 2025-03-10 00:43:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:43:05' and `end` < '2025-03-10 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-03-10 00:43:11] Production.ERROR: CronJobId end10
[2025-03-10 00:43:11] Production.INFO: ==13047== Releasing lock...
[2025-03-10 00:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:43:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:43:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:43:14] Production.INFO: call_cost start
[2025-03-10 00:43:14] Production.INFO: call_cost end
[2025-03-10 00:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:43:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:43:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:43:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:43:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:43:15] Production.INFO: ==13043== Releasing lock...
[2025-03-10 00:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:43:17] Production.INFO: count ==317
[2025-03-10 00:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:43:05 - End Time 2025-03-10 00:43:05
[2025-03-10 00:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645920', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645920', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645920', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645920', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:43:17] Production.INFO: ProcessCDR(1,14645920,1,1,2)
[2025-03-10 00:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645920', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645920', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:43:22] Production.INFO: ==13051== Releasing lock...
[2025-03-10 00:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:43:22] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:44:02] Production.INFO: ==13121== Lock acquired, processing the job...
[2025-03-10 04:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:44:02] Production.INFO: neon service started
[2025-03-10 04:44:02] Production.INFO: neon service started
[2025-03-10 04:44:02] Production.INFO: ==13121== Releasing lock...
[2025-03-10 04:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:44:02] Production.INFO: ==13123== Lock acquired, processing the job...
[2025-03-10 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:44:02] Production.INFO: ==13123== Releasing lock...
[2025-03-10 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:44:02] Production.INFO: ==13125== Lock acquired, processing the job...
[2025-03-10 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:44:03] Production.INFO: ==13125== Releasing lock...
[2025-03-10 04:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:44:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:44:03] Production.INFO: ==13132== Lock acquired, processing the job...
[2025-03-10 00:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:44:03] Production.INFO: ==13128== Lock acquired, processing the job...
[2025-03-10 00:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:44:04] Production.INFO: ==13130== Lock acquired, processing the job...
[2025-03-10 00:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:44:04] Production.INFO: ==13138== Lock acquired, processing the job...
[2025-03-10 00:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:44:04] Production.INFO: ==13136== Lock acquired, processing the job...
[2025-03-10 00:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:44:04] Production.INFO: ==13134== Lock acquired, processing the job...
[2025-03-10 00:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00: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-03-10 00:44:04] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:44:04] Production.INFO: Account Balance Start.
[2025-03-10 00:44:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:44:04] Production.INFO: 117
[2025-03-10 00:44:04] Production.INFO: count ==21
[2025-03-10 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645923') start
[2025-03-10 00:44:04] Production.INFO: ==13130== Releasing lock...
[2025-03-10 00:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:44:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645923') end
[2025-03-10 00:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:44:04] Production.INFO: 1
[2025-03-10 00:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:44:04] Production.INFO: Total Charge 0
[2025-03-10 00:44:04] Production.INFO: CreateAllLog End
[2025-03-10 00:44:04] Production.INFO: ==13138== Releasing lock...
[2025-03-10 00:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:44:04] Production.ERROR: done
[2025-03-10 00:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:44:04] Production.ERROR: done
[2025-03-10 00:44:04] Production.INFO: Account Balance End.
[2025-03-10 00:44:05] Production.ERROR: CronJobId end 12
[2025-03-10 00:44:05] Production.INFO: ==13134== Releasing lock...
[2025-03-10 00:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:44:05
[end_date_ymd] => 2025-03-10 00:44:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:44:05' and `end` < '2025-03-10 00: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-03-10 00:44:12] Production.ERROR: CronJobId end10
[2025-03-10 00:44:12] Production.INFO: ==13132== Releasing lock...
[2025-03-10 00:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:44:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:44:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:44:14] Production.INFO: call_cost start
[2025-03-10 00:44:14] Production.INFO: call_cost end
[2025-03-10 00:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:44:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:44:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:44:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:44:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:44:15] Production.INFO: ==13128== Releasing lock...
[2025-03-10 00:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:44:18] Production.INFO: count ==317
[2025-03-10 00:44:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:44:05 - End Time 2025-03-10 00:44:05
[2025-03-10 00:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645925', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645925', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645925', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645925', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:44:18] Production.INFO: ProcessCDR(1,14645925,1,1,2)
[2025-03-10 00:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645925', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645925', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:44:21] Production.INFO: ==13136== Releasing lock...
[2025-03-10 00:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:44:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:45:01] Production.INFO: ==13198== Lock acquired, processing the job...
[2025-03-10 04:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:45:01] Production.INFO: neon service started
[2025-03-10 04:45:01] Production.INFO: neon service started
[2025-03-10 04:45:01] Production.INFO: ==13198== Releasing lock...
[2025-03-10 04:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:45:01] Production.INFO: ==13201== Lock acquired, processing the job...
[2025-03-10 00:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:45:02] Production.INFO: ==13201== Releasing lock...
[2025-03-10 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:45:02] Production.INFO: ==13203== Lock acquired, processing the job...
[2025-03-10 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:45:02] Production.INFO: ==13203== Releasing lock...
[2025-03-10 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:45:03] Production.INFO: ==13211== Lock acquired, processing the job...
[2025-03-10 00:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:45:03] Production.INFO: ==13215== Lock acquired, processing the job...
[2025-03-10 00:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:45:03] Production.INFO: ==13205== Lock acquired, processing the job...
[2025-03-10 00:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:45:03] Production.INFO: Account Balance Start.
[2025-03-10 00:45:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:45:03] Production.INFO: 117
[2025-03-10 00:45:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:45:03] Production.INFO: ==13207== Lock acquired, processing the job...
[2025-03-10 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 00:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:45:03] Production.INFO: ==13209== Lock acquired, processing the job...
[2025-03-10 00:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:45:03] Production.INFO: count ==13
[2025-03-10 00:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00: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-03-10 00:45:03] Production.INFO: count ==21
[2025-03-10 00:45:03] Production.INFO: ==13213== Lock acquired, processing the job...
[2025-03-10 00:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645927') start
[2025-03-10 00:45:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:45:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645927') end
[2025-03-10 00:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:45:03] Production.INFO: 1
[2025-03-10 00:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:45:03] Production.INFO: Total Charge 0
[2025-03-10 00:45:03] Production.INFO: CreateAllLog End
[2025-03-10 00:45:03] Production.INFO: ==13215== Releasing lock...
[2025-03-10 00:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:45:04] Production.INFO: ==13207== Releasing lock...
[2025-03-10 00:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:45:04] Production.INFO: Account Balance End.
[2025-03-10 00:45:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:45:04] Production.INFO: ==13211== Releasing lock...
[2025-03-10 00:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:45:04] Production.ERROR: done
[2025-03-10 00:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:45:04] Production.ERROR: done
[2025-03-10 00:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:45:05
[end_date_ymd] => 2025-03-10 00:45:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:45:05' and `end` < '2025-03-10 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-03-10 00:45:11] Production.ERROR: CronJobId end10
[2025-03-10 00:45:11] Production.INFO: ==13209== Releasing lock...
[2025-03-10 00:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:45:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:45:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:45:14] Production.INFO: call_cost start
[2025-03-10 00:45:14] Production.INFO: call_cost end
[2025-03-10 00:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:45:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:45:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:45:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:45:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:45:15] Production.INFO: ==13205== Releasing lock...
[2025-03-10 00:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:45:17] Production.INFO: count ==312
[2025-03-10 00:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:45:05 - End Time 2025-03-10 00:45:05
[2025-03-10 00:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645930', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645930', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645930', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645930', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:45:17] Production.INFO: ProcessCDR(1,14645930,1,1,2)
[2025-03-10 00:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645930', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645930', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:45:20] Production.INFO: ==13213== Releasing lock...
[2025-03-10 00:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:45:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 04:46:02] Production.INFO: ==13271== Lock acquired, processing the job...
[2025-03-10 04:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:46:02] Production.INFO: neon service started
[2025-03-10 04:46:02] Production.INFO: neon service started
[2025-03-10 04:46:02] Production.INFO: ==13271== Releasing lock...
[2025-03-10 04:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:46:02] Production.INFO: ==13273== Lock acquired, processing the job...
[2025-03-10 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:46:02] Production.INFO: ==13275== Lock acquired, processing the job...
[2025-03-10 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:46:02] Production.INFO: ==13275== Releasing lock...
[2025-03-10 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:46:02] Production.INFO: ==13273== Releasing lock...
[2025-03-10 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:46:03] Production.INFO: ==13284== Lock acquired, processing the job...
[2025-03-10 00:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:46:03] Production.INFO: ==13280== Lock acquired, processing the job...
[2025-03-10 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:46:03] Production.INFO: Account Balance Start.
[2025-03-10 00:46:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:46:03] Production.INFO: 117
[2025-03-10 00:46:03] Production.INFO: ==13288== Lock acquired, processing the job...
[2025-03-10 00:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:46:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:46:04] Production.INFO: ==13278== Lock acquired, processing the job...
[2025-03-10 00:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:46:04] Production.INFO: Date 2025-03-10
[2025-03-10 00: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-03-10 00:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:46:04] Production.INFO: ==13282== Lock acquired, processing the job...
[2025-03-10 00:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:46:04] Production.INFO: count ==13
[2025-03-10 00:46:04] Production.INFO: Total Charge 0
[2025-03-10 00: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-03-10 00:46:04] Production.INFO: count ==21
[2025-03-10 00:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645933') start
[2025-03-10 00:46:04] Production.INFO: CreateAllLog End
[2025-03-10 00:46:04] Production.INFO: ==13286== Lock acquired, processing the job...
[2025-03-10 00:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:46:04] Production.INFO: ==13280== Releasing lock...
[2025-03-10 00:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645933') end
[2025-03-10 00:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:46:04] Production.INFO: 1
[2025-03-10 00:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:46:04] Production.INFO: ==13288== Releasing lock...
[2025-03-10 00:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:46:04] Production.INFO: Account Balance End.
[2025-03-10 00:46:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:46:04] Production.INFO: ==13284== Releasing lock...
[2025-03-10 00:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:46:04] Production.ERROR: done
[2025-03-10 00:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:46:05] Production.ERROR: done
[2025-03-10 00:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:46:06
[end_date_ymd] => 2025-03-10 00:46:06
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:46:06' and `end` < '2025-03-10 00: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-03-10 00:46:11] Production.ERROR: CronJobId end10
[2025-03-10 00:46:11] Production.INFO: ==13282== Releasing lock...
[2025-03-10 00:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:46:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:46:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:46:14] Production.INFO: call_cost start
[2025-03-10 00:46:14] Production.INFO: call_cost end
[2025-03-10 00:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:46:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:46:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:46:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:46:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:46:15] Production.INFO: ==13278== Releasing lock...
[2025-03-10 00:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:46:18] Production.INFO: count ==315
[2025-03-10 00:46:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:46:06 - End Time 2025-03-10 00:46:06
[2025-03-10 00:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645935', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645935', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645935', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645935', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:46:18] Production.INFO: ProcessCDR(1,14645935,1,1,2)
[2025-03-10 00:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645935', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645935', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:46:21] Production.INFO: ==13286== Releasing lock...
[2025-03-10 00:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:46:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:47:01] Production.INFO: ==13343== Lock acquired, processing the job...
[2025-03-10 04:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:47:01] Production.INFO: neon service started
[2025-03-10 04:47:01] Production.INFO: neon service started
[2025-03-10 04:47:01] Production.INFO: ==13343== Releasing lock...
[2025-03-10 04:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:47:01] Production.INFO: ==13345== Lock acquired, processing the job...
[2025-03-10 00:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:47:02] Production.INFO: ==13347== Lock acquired, processing the job...
[2025-03-10 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 00:47:02] Production.INFO: ==13345== Releasing lock...
[2025-03-10 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:47:02] Production.INFO: ==13347== Releasing lock...
[2025-03-10 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:47:03] Production.INFO: ==13349== Lock acquired, processing the job...
[2025-03-10 00:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:47:03] Production.INFO: ==13351== Lock acquired, processing the job...
[2025-03-10 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:47:03] Production.INFO: ==13357== Lock acquired, processing the job...
[2025-03-10 00:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:47:03] Production.INFO: ==13355== Lock acquired, processing the job...
[2025-03-10 00:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:47:03] Production.INFO: ==13353== Lock acquired, processing the job...
[2025-03-10 00:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:47:03] Production.INFO: ==13360== Lock acquired, processing the job...
[2025-03-10 00:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:47:03] Production.INFO: ==13351== Releasing lock...
[2025-03-10 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:47:03] Production.INFO: Account Balance Start.
[2025-03-10 00:47:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:47:03] Production.INFO: 117
[2025-03-10 00:47:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:47:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 00:47:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:47:03] Production.INFO: Total Charge 0
[2025-03-10 00:47:03] Production.INFO: count ==13
[2025-03-10 00:47:03] Production.INFO: CreateAllLog End
[2025-03-10 00: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-03-10 00:47:03] Production.INFO: count ==21
[2025-03-10 00:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645939') start
[2025-03-10 00:47:03] Production.ERROR: done
[2025-03-10 00:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:47:04] Production.ERROR: done
[2025-03-10 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645939') end
[2025-03-10 00:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:47:04] Production.INFO: 1
[2025-03-10 00:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:47:04] Production.INFO: Account Balance End.
[2025-03-10 00:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:47:04] Production.INFO: ==13355== Releasing lock...
[2025-03-10 00:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:47:04] Production.INFO: ==13360== Releasing lock...
[2025-03-10 00:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:47:05
[end_date_ymd] => 2025-03-10 00:47:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:47:05' and `end` < '2025-03-10 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-03-10 00:47:11] Production.ERROR: CronJobId end10
[2025-03-10 00:47:11] Production.INFO: ==13353== Releasing lock...
[2025-03-10 00:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:47:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:47:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:47:13] Production.INFO: call_cost start
[2025-03-10 00:47:13] Production.INFO: call_cost end
[2025-03-10 00:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:47:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:47:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:47:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:47:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:47:14] Production.INFO: ==13349== Releasing lock...
[2025-03-10 00:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:47:17] Production.INFO: count ==316
[2025-03-10 00:47:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:47:05 - End Time 2025-03-10 00:47:05
[2025-03-10 00:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645940', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645940', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645940', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645940', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:47:17] Production.INFO: ProcessCDR(1,14645940,1,1,2)
[2025-03-10 00:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645940', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645940', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:47:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:47:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:47:20] Production.INFO: ==13357== Releasing lock...
[2025-03-10 00:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:47:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:48:01] Production.INFO: ==13416== Lock acquired, processing the job...
[2025-03-10 04:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:48:02] Production.INFO: neon service started
[2025-03-10 04:48:02] Production.INFO: neon service started
[2025-03-10 04:48:02] Production.INFO: ==13416== Releasing lock...
[2025-03-10 04:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:48:02] Production.INFO: ==13418== Lock acquired, processing the job...
[2025-03-10 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:48:02] Production.INFO: ==13418== Releasing lock...
[2025-03-10 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:48:02] Production.INFO: ==13420== Lock acquired, processing the job...
[2025-03-10 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:48:02] Production.INFO: ==13420== Releasing lock...
[2025-03-10 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:48:03] Production.INFO: ==13423== Lock acquired, processing the job...
[2025-03-10 00:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:48:03] Production.INFO: ==13425== Lock acquired, processing the job...
[2025-03-10 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:48:03] Production.INFO: ==13429== Lock acquired, processing the job...
[2025-03-10 00:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:48:03] Production.INFO: ==13427== Lock acquired, processing the job...
[2025-03-10 00:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:48:03] Production.INFO: ==13433== Lock acquired, processing the job...
[2025-03-10 00:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:48:03] Production.INFO: ==13431== Lock acquired, processing the job...
[2025-03-10 00:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:48:03] Production.INFO: Account Balance Start.
[2025-03-10 00:48:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:48:03] Production.INFO: 117
[2025-03-10 00:48:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:48:03] Production.INFO: ==13425== Releasing lock...
[2025-03-10 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:48:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 00:48:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:48:04] Production.INFO: count ==13
[2025-03-10 00:48:04] Production.INFO: Total Charge 0
[2025-03-10 00:48:04] Production.INFO: CreateAllLog End
[2025-03-10 00: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-03-10 00:48:04] Production.INFO: count ==21
[2025-03-10 00:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645944') start
[2025-03-10 00:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645944') end
[2025-03-10 00:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:48:04] Production.INFO: 1
[2025-03-10 00:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:48:04] Production.INFO: ==13433== Releasing lock...
[2025-03-10 00:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:48:04] Production.ERROR: done
[2025-03-10 00:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:48:04] Production.ERROR: done
[2025-03-10 00:48:04] Production.INFO: Account Balance End.
[2025-03-10 00:48:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:48:04] Production.INFO: ==13429== Releasing lock...
[2025-03-10 00:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:48:05
[end_date_ymd] => 2025-03-10 00:48:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:48:05' and `end` < '2025-03-10 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-03-10 00:48:12] Production.ERROR: CronJobId end10
[2025-03-10 00:48:12] Production.INFO: ==13427== Releasing lock...
[2025-03-10 00:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:48:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:48:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:48:14] Production.INFO: call_cost start
[2025-03-10 00:48:14] Production.INFO: call_cost end
[2025-03-10 00:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:48:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:48:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:48:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:48:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:48:15] Production.INFO: ==13423== Releasing lock...
[2025-03-10 00:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:48:17] Production.INFO: count ==316
[2025-03-10 00:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:48:05 - End Time 2025-03-10 00:48:05
[2025-03-10 00:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645945', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645945', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645945', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645945', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:48:17] Production.INFO: ProcessCDR(1,14645945,1,1,2)
[2025-03-10 00:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645945', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645945', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:48:21] Production.INFO: ==13431== Releasing lock...
[2025-03-10 00:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:48:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:49:01] Production.INFO: ==13490== Lock acquired, processing the job...
[2025-03-10 04:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:49:01] Production.INFO: neon service started
[2025-03-10 04:49:01] Production.INFO: neon service started
[2025-03-10 04:49:01] Production.INFO: ==13490== Releasing lock...
[2025-03-10 04:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:49:02] Production.INFO: ==13494== Lock acquired, processing the job...
[2025-03-10 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:49:02] Production.INFO: ==13494== Releasing lock...
[2025-03-10 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:49:02] Production.INFO: ==13492== Lock acquired, processing the job...
[2025-03-10 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:49:02] Production.INFO: ==13492== Releasing lock...
[2025-03-10 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:49:03] Production.INFO: ==13501== Lock acquired, processing the job...
[2025-03-10 00:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:49:03] Production.INFO: ==13505== Lock acquired, processing the job...
[2025-03-10 00:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:49:03] Production.INFO: ==13497== Lock acquired, processing the job...
[2025-03-10 00:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:49:03] Production.INFO: ==13499== Lock acquired, processing the job...
[2025-03-10 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:49:03] Production.INFO: ==13507== Lock acquired, processing the job...
[2025-03-10 00:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:49:03] Production.INFO: ==13503== Lock acquired, processing the job...
[2025-03-10 00:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 00:49:03] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:49:03] Production.INFO: count ==21
[2025-03-10 00:49:04] Production.INFO: Account Balance Start.
[2025-03-10 00:49:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645948') start
[2025-03-10 00:49:04] Production.INFO: 117
[2025-03-10 00:49:04] Production.ERROR: done
[2025-03-10 00:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:49:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:49:04] Production.INFO: ==13499== Releasing lock...
[2025-03-10 00:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645948') end
[2025-03-10 00:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:49:04] Production.INFO: 1
[2025-03-10 00:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:49:04] Production.INFO: ==13507== Releasing lock...
[2025-03-10 00:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:49:04] Production.ERROR: done
[2025-03-10 00:49:04] Production.INFO: Total Charge 0
[2025-03-10 00:49:04] Production.INFO: CreateAllLog End
[2025-03-10 00:49:04] Production.INFO: Account Balance End.
[2025-03-10 00:49:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:49:04] Production.INFO: ==13503== Releasing lock...
[2025-03-10 00:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:49:05
[end_date_ymd] => 2025-03-10 00:49:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:49:05' and `end` < '2025-03-10 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-03-10 00:49:13] Production.ERROR: CronJobId end10
[2025-03-10 00:49:13] Production.INFO: ==13501== Releasing lock...
[2025-03-10 00:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:49:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:49:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:49:15] Production.INFO: call_cost start
[2025-03-10 00:49:15] Production.INFO: call_cost end
[2025-03-10 00:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:49:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:49:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:49:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:49:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:49:16] Production.INFO: ==13497== Releasing lock...
[2025-03-10 00:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:49:17] Production.INFO: count ==315
[2025-03-10 00:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:49:05 - End Time 2025-03-10 00:49:05
[2025-03-10 00:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645950', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645950', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645950', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645950', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:49:17] Production.INFO: ProcessCDR(1,14645950,1,1,2)
[2025-03-10 00:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645950', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645950', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:49:20] Production.INFO: ==13505== Releasing lock...
[2025-03-10 00:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:49:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:50:02] Production.INFO: ==13570== Lock acquired, processing the job...
[2025-03-10 04:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:50:02] Production.INFO: neon service started
[2025-03-10 04:50:02] Production.INFO: neon service started
[2025-03-10 04:50:02] Production.INFO: ==13570== Releasing lock...
[2025-03-10 04:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:50:02] Production.INFO: ==13575== Lock acquired, processing the job...
[2025-03-10 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:50:02] Production.INFO: ==13575== Releasing lock...
[2025-03-10 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:50:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:50:02] Production.INFO: ==13573== Lock acquired, processing the job...
[2025-03-10 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:50:03] Production.INFO: ==13573== Releasing lock...
[2025-03-10 00:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:50:04] Production.INFO: ==13577== Lock acquired, processing the job...
[2025-03-10 00:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 00:50:04] Production.INFO: ==13579== Lock acquired, processing the job...
[2025-03-10 00:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 00:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 00:50:04] Production.INFO: ==13577== Releasing lock...
[2025-03-10 00:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 00:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 00:50:04] Production.INFO: ==13581== Lock acquired, processing the job...
[2025-03-10 00:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:50:04] Production.INFO: ==13588== Lock acquired, processing the job...
[2025-03-10 00:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:50:04] Production.INFO: ==13583== Lock acquired, processing the job...
[2025-03-10 00:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:50:04] Production.INFO: ==13585== Lock acquired, processing the job...
[2025-03-10 00:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:50:04] Production.INFO: ==13581== Releasing lock...
[2025-03-10 00:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:50:04] Production.INFO: ==13591== Lock acquired, processing the job...
[2025-03-10 00:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 00:50:04] Production.INFO: ==13593== Lock acquired, processing the job...
[2025-03-10 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:50:04] Production.ERROR: done
[2025-03-10 00:50:04] Production.INFO: Account Balance Start.
[2025-03-10 00:50:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:50:04] Production.INFO: 117
[2025-03-10 00:50:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 00:50:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:50:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:50:04] Production.INFO: count ==13
[2025-03-10 00:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 00:50:04] Production.INFO: count ==21
[2025-03-10 00:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14645954') start
[2025-03-10 00:50:05] Production.ERROR: done
[2025-03-10 00:50:05] Production.INFO: Total Charge 0
[2025-03-10 00:50:05] Production.INFO: CreateAllLog End
[2025-03-10 00:50:05] Production.ERROR: done
[2025-03-10 00:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14645954') end
[2025-03-10 00:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:50:05] Production.INFO: 1
[2025-03-10 00:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:50:05] Production.INFO: Account Balance End.
[2025-03-10 00:50:05] Production.INFO: ==13593== Releasing lock...
[2025-03-10 00:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 00:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645956', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 00:50:05] Production.ERROR: CronJobId end 12
[2025-03-10 00:50:05] Production.INFO: ==13585== Releasing lock...
[2025-03-10 00:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:50:06
[end_date_ymd] => 2025-03-10 00:50:06
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:50:06' and `end` < '2025-03-10 00: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-03-10 00:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14645956', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 00:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 00:50:09] Production.INFO: ProcessCDR(1,14645956,1,1,2)
[2025-03-10 00:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14645956,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14645956,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:50:10] Production.INFO: ==13591== Releasing lock...
[2025-03-10 00:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 00:50:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 00:50:13] Production.ERROR: CronJobId end10
[2025-03-10 00:50:13] Production.INFO: ==13583== Releasing lock...
[2025-03-10 00:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:50:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:50:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:50:16] Production.INFO: call_cost start
[2025-03-10 00:50:16] Production.INFO: call_cost end
[2025-03-10 00:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:50:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:50:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:50:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:50:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:50:17] Production.INFO: ==13579== Releasing lock...
[2025-03-10 00:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:50:18] Production.INFO: count ==324
[2025-03-10 00:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:50:06 - End Time 2025-03-10 00:50:06
[2025-03-10 00:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645955', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645955', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645955', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645955', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:50:18] Production.INFO: ProcessCDR(1,14645955,1,1,2)
[2025-03-10 00:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645955', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645955', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:50:21] Production.INFO: ==13588== Releasing lock...
[2025-03-10 00:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:50:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:51:01] Production.INFO: ==13647== Lock acquired, processing the job...
[2025-03-10 04:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:51:01] Production.INFO: neon service started
[2025-03-10 04:51:01] Production.INFO: neon service started
[2025-03-10 04:51:01] Production.INFO: ==13647== Releasing lock...
[2025-03-10 04:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:51:01] Production.INFO: ==13651== Lock acquired, processing the job...
[2025-03-10 04:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:51:01] Production.INFO: ==13651== Releasing lock...
[2025-03-10 04:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:51:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:51:01] Production.INFO: ==13649== Lock acquired, processing the job...
[2025-03-10 00:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:51:02] Production.INFO: ==13649== Releasing lock...
[2025-03-10 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:51:03] Production.INFO: ==13653== Lock acquired, processing the job...
[2025-03-10 00:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:51:03] Production.INFO: ==13655== Lock acquired, processing the job...
[2025-03-10 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:51:03] Production.INFO: ==13659== Lock acquired, processing the job...
[2025-03-10 00:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:51:03] Production.INFO: Account Balance Start.
[2025-03-10 00:51:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:51:03] Production.INFO: 117
[2025-03-10 00:51:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:51:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:51:03] Production.INFO: ==13657== Lock acquired, processing the job...
[2025-03-10 00:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:51:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:51:03] Production.INFO: Total Charge 0
[2025-03-10 00:51:03] Production.INFO: ==13661== Lock acquired, processing the job...
[2025-03-10 00:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:51:03] Production.INFO: CreateAllLog End
[2025-03-10 00:51:03] Production.INFO: ==13663== Lock acquired, processing the job...
[2025-03-10 00:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:51:03] Production.INFO: ==13655== Releasing lock...
[2025-03-10 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:51:03] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 00:51:03] Production.INFO: count ==13
[2025-03-10 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-03-10 00:51:03] Production.INFO: count ==21
[2025-03-10 00:51:03] Production.ERROR: CronJobId end 12
[2025-03-10 00:51:03] Production.INFO: ==13659== Releasing lock...
[2025-03-10 00:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645960') start
[2025-03-10 00:51:03] Production.ERROR: done
[2025-03-10 00:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645960') end
[2025-03-10 00:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:51:03] Production.INFO: 1
[2025-03-10 00:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:51:03] Production.INFO: ==13663== Releasing lock...
[2025-03-10 00:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:51:04] Production.ERROR: done
[2025-03-10 00:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:51:04
[end_date_ymd] => 2025-03-10 00:51:04
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:51:04' and `end` < '2025-03-10 00: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-03-10 00:51:11] Production.ERROR: CronJobId end10
[2025-03-10 00:51:11] Production.INFO: ==13657== Releasing lock...
[2025-03-10 00:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:51:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:51:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:51:13] Production.INFO: call_cost start
[2025-03-10 00:51:13] Production.INFO: call_cost end
[2025-03-10 00:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:51:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:51:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:51:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:51:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:51:14] Production.INFO: ==13653== Releasing lock...
[2025-03-10 00:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:51:16] Production.INFO: count ==327
[2025-03-10 00:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:51:04 - End Time 2025-03-10 00:51:04
[2025-03-10 00:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645961', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645961', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645961', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645961', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:51:17] Production.INFO: ProcessCDR(1,14645961,1,1,2)
[2025-03-10 00:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645961', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645961', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:51:20] Production.INFO: ==13661== Releasing lock...
[2025-03-10 00:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:51:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:52:01] Production.INFO: ==13722== Lock acquired, processing the job...
[2025-03-10 04:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:52:01] Production.INFO: neon service started
[2025-03-10 04:52:01] Production.INFO: neon service started
[2025-03-10 04:52:01] Production.INFO: ==13722== Releasing lock...
[2025-03-10 04:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:52:02] Production.INFO: ==13724== Lock acquired, processing the job...
[2025-03-10 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:52:02] Production.INFO: ==13724== Releasing lock...
[2025-03-10 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:52:02] Production.INFO: ==13726== Lock acquired, processing the job...
[2025-03-10 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:52:02] Production.INFO: ==13726== Releasing lock...
[2025-03-10 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:52:03] Production.INFO: ==13730== Lock acquired, processing the job...
[2025-03-10 00:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:52:03] Production.INFO: ==13739== Lock acquired, processing the job...
[2025-03-10 00:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00: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-03-10 00:52:03] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:52:03] Production.INFO: count ==21
[2025-03-10 00:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645962') start
[2025-03-10 00:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645962') end
[2025-03-10 00:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:52:03] Production.INFO: 1
[2025-03-10 00:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:52:03] Production.INFO: ==13739== Releasing lock...
[2025-03-10 00:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:52:03] Production.INFO: ==13728== Lock acquired, processing the job...
[2025-03-10 00:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:52:03] Production.INFO: ==13732== Lock acquired, processing the job...
[2025-03-10 00:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:52:03] Production.INFO: ==13730== Releasing lock...
[2025-03-10 00:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:52:03] Production.INFO: ==13734== Lock acquired, processing the job...
[2025-03-10 00:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:52:03] Production.INFO: ==13736== Lock acquired, processing the job...
[2025-03-10 00:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:52:04] Production.INFO: Account Balance Start.
[2025-03-10 00:52:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:52:04] Production.INFO: 117
[2025-03-10 00:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:52:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:52:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:52:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:52:04] Production.INFO: Total Charge 0
[2025-03-10 00:52:04] Production.INFO: CreateAllLog End
[2025-03-10 00:52:04] Production.ERROR: done
[2025-03-10 00:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:52:04] Production.INFO: Account Balance End.
[2025-03-10 00:52:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:52:04] Production.INFO: ==13734== Releasing lock...
[2025-03-10 00:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:52:04] Production.ERROR: done
[2025-03-10 00:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:52:05
[end_date_ymd] => 2025-03-10 00:52:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:52:05' and `end` < '2025-03-10 00: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-03-10 00:52:12] Production.ERROR: CronJobId end10
[2025-03-10 00:52:12] Production.INFO: ==13732== Releasing lock...
[2025-03-10 00:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:52:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:52:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:52:14] Production.INFO: call_cost start
[2025-03-10 00:52:14] Production.INFO: call_cost end
[2025-03-10 00:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:52:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:52:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:52:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:52:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:52:15] Production.INFO: ==13728== Releasing lock...
[2025-03-10 00:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:52:17] Production.INFO: count ==327
[2025-03-10 00:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:52:05 - End Time 2025-03-10 00:52:05
[2025-03-10 00:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645966', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645966', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645966', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645966', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:52:17] Production.INFO: ProcessCDR(1,14645966,1,1,2)
[2025-03-10 00:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645966', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645966', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:52:21] Production.INFO: ==13736== Releasing lock...
[2025-03-10 00:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:52:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:53:02] Production.INFO: ==13799== Lock acquired, processing the job...
[2025-03-10 04:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:53:02] Production.INFO: neon service started
[2025-03-10 04:53:02] Production.INFO: neon service started
[2025-03-10 04:53:02] Production.INFO: ==13799== Releasing lock...
[2025-03-10 04:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:53:02] Production.INFO: ==13802== Lock acquired, processing the job...
[2025-03-10 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:53:03] Production.INFO: ==13802== Releasing lock...
[2025-03-10 00:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:53:03] Production.INFO: ==13804== Lock acquired, processing the job...
[2025-03-10 04:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:53:03] Production.INFO: ==13804== Releasing lock...
[2025-03-10 04:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:53:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:53:03] Production.INFO: ==13812== Lock acquired, processing the job...
[2025-03-10 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:53:03] Production.INFO: ==13816== Lock acquired, processing the job...
[2025-03-10 00:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:53:04] Production.INFO: Account Balance Start.
[2025-03-10 00:53:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:53:04] Production.INFO: 117
[2025-03-10 00: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-03-10 00:53:04] Production.INFO: count ==13
[2025-03-10 00:53:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 00: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-03-10 00:53:04] Production.INFO: count ==21
[2025-03-10 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645967') start
[2025-03-10 00:53:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:53:04] Production.INFO: ==13806== Lock acquired, processing the job...
[2025-03-10 00:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:53:04] Production.INFO: ==13808== Lock acquired, processing the job...
[2025-03-10 00:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645967') end
[2025-03-10 00:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:53:04] Production.INFO: 1
[2025-03-10 00:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:53:04] Production.INFO: ==13810== Lock acquired, processing the job...
[2025-03-10 00:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:53:04] Production.INFO: ==13816== Releasing lock...
[2025-03-10 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:53:04] Production.INFO: Total Charge 0
[2025-03-10 00:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:53:04] Production.INFO: CreateAllLog End
[2025-03-10 00:53:04] Production.INFO: ==13814== Lock acquired, processing the job...
[2025-03-10 00:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:53:04] Production.INFO: ==13808== Releasing lock...
[2025-03-10 00:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:53:04] Production.INFO: Account Balance End.
[2025-03-10 00:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:53:04] Production.INFO: ==13812== Releasing lock...
[2025-03-10 00:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:53:04] Production.ERROR: done
[2025-03-10 00:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:53:05] Production.ERROR: done
[2025-03-10 00:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:53:05
[end_date_ymd] => 2025-03-10 00:53:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:53:05' and `end` < '2025-03-10 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-03-10 00:53:12] Production.ERROR: CronJobId end10
[2025-03-10 00:53:12] Production.INFO: ==13810== Releasing lock...
[2025-03-10 00:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:53:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:53:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:53:15] Production.INFO: call_cost start
[2025-03-10 00:53:15] Production.INFO: call_cost end
[2025-03-10 00:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:53:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:53:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:53:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:53:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:53:16] Production.INFO: ==13806== Releasing lock...
[2025-03-10 00:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:53:18] Production.INFO: count ==328
[2025-03-10 00:53:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:53:05 - End Time 2025-03-10 00:53:05
[2025-03-10 00:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645971', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645971', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645971', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645971', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:53:18] Production.INFO: ProcessCDR(1,14645971,1,1,2)
[2025-03-10 00:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645971', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645971', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:53:21] Production.INFO: ==13814== Releasing lock...
[2025-03-10 00:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:53:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:54:01] Production.INFO: ==13916== Lock acquired, processing the job...
[2025-03-10 04:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:54:01] Production.INFO: neon service started
[2025-03-10 04:54:01] Production.INFO: neon service started
[2025-03-10 04:54:01] Production.INFO: ==13916== Releasing lock...
[2025-03-10 04:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:54:02] Production.INFO: ==13920== Lock acquired, processing the job...
[2025-03-10 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:54:02] Production.INFO: ==13920== Releasing lock...
[2025-03-10 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:54:02] Production.INFO: ==13918== Lock acquired, processing the job...
[2025-03-10 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:54:02] Production.INFO: ==13918== Releasing lock...
[2025-03-10 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:54:03] Production.INFO: ==13922== Lock acquired, processing the job...
[2025-03-10 00:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:54:03] Production.INFO: ==13927== Lock acquired, processing the job...
[2025-03-10 00:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:54:03] Production.INFO: ==13924== Lock acquired, processing the job...
[2025-03-10 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:54:03] Production.INFO: ==13929== Lock acquired, processing the job...
[2025-03-10 00:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:54:03] Production.INFO: ==13931== Lock acquired, processing the job...
[2025-03-10 00:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:54:03] Production.INFO: Account Balance Start.
[2025-03-10 00:54:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:54:03] Production.INFO: 117
[2025-03-10 00:54:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:54:03] Production.INFO: ==13933== Lock acquired, processing the job...
[2025-03-10 00:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:54:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:54:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 00:54:04] Production.INFO: Total Charge 0
[2025-03-10 00:54:04] Production.INFO: CreateAllLog End
[2025-03-10 00:54:04] Production.INFO: ==13924== Releasing lock...
[2025-03-10 00:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:54:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:54:04] Production.INFO: count ==21
[2025-03-10 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645975') start
[2025-03-10 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645975') end
[2025-03-10 00:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:54:04] Production.INFO: 1
[2025-03-10 00:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:54:04] Production.ERROR: done
[2025-03-10 00:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:54:04] Production.INFO: ==13933== Releasing lock...
[2025-03-10 00:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:54:04] Production.ERROR: done
[2025-03-10 00:54:04] Production.INFO: Account Balance End.
[2025-03-10 00:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:54:04] Production.INFO: ==13929== Releasing lock...
[2025-03-10 00:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:54:05
[end_date_ymd] => 2025-03-10 00:54:05
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:54:05' and `end` < '2025-03-10 00: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-03-10 00:54:11] Production.ERROR: CronJobId end10
[2025-03-10 00:54:11] Production.INFO: ==13927== Releasing lock...
[2025-03-10 00:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:54:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:54:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:54:14] Production.INFO: call_cost start
[2025-03-10 00:54:14] Production.INFO: call_cost end
[2025-03-10 00:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:54:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:54:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:54:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:54:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:54:15] Production.INFO: ==13922== Releasing lock...
[2025-03-10 00:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:54:17] Production.INFO: count ==328
[2025-03-10 00:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:54:05 - End Time 2025-03-10 00:54:05
[2025-03-10 00:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645976', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645976', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645976', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645976', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:54:17] Production.INFO: ProcessCDR(1,14645976,1,1,2)
[2025-03-10 00:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645976', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645976', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:54:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:54:20] Production.INFO: ==13931== Releasing lock...
[2025-03-10 00:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:54:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:55:02] Production.INFO: ==13995== Lock acquired, processing the job...
[2025-03-10 04:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:55:02] Production.INFO: neon service started
[2025-03-10 04:55:02] Production.INFO: neon service started
[2025-03-10 04:55:02] Production.INFO: ==13995== Releasing lock...
[2025-03-10 04:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:55:02] Production.INFO: ==13997== Lock acquired, processing the job...
[2025-03-10 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:55:02] Production.INFO: ==13997== Releasing lock...
[2025-03-10 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:55:03] Production.INFO: ==13999== Lock acquired, processing the job...
[2025-03-10 04:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:55:03] Production.INFO: ==13999== Releasing lock...
[2025-03-10 04:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:55:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:55:03] Production.INFO: ==14008== Lock acquired, processing the job...
[2025-03-10 00:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:55:03] Production.INFO: Account Balance Start.
[2025-03-10 00:55:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:55:03] Production.INFO: 117
[2025-03-10 00:55:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:55:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:55:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:55:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:55:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:55:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:55:04] Production.INFO: Total Charge 0
[2025-03-10 00:55:04] Production.INFO: CreateAllLog End
[2025-03-10 00:55:04] Production.INFO: ==14002== Lock acquired, processing the job...
[2025-03-10 00:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:55:04] Production.INFO: ==14004== Lock acquired, processing the job...
[2025-03-10 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:55:04] Production.INFO: Account Balance End.
[2025-03-10 00:55:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:55:04] Production.INFO: ==14008== Releasing lock...
[2025-03-10 00:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:55:04] Production.INFO: ==14006== Lock acquired, processing the job...
[2025-03-10 00:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:55:04] Production.INFO: ==14010== Lock acquired, processing the job...
[2025-03-10 00:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:55:04] Production.INFO: ==14012== Lock acquired, processing the job...
[2025-03-10 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:55:04] Production.INFO: ==14004== Releasing lock...
[2025-03-10 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00: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-03-10 00:55:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:55:04] Production.INFO: count ==21
[2025-03-10 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645980') start
[2025-03-10 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645980') end
[2025-03-10 00:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:55:04] Production.INFO: 1
[2025-03-10 00:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:55:04] Production.INFO: ==14012== Releasing lock...
[2025-03-10 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:55:04] Production.ERROR: done
[2025-03-10 00:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:55:04] Production.ERROR: done
[2025-03-10 00:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:55:06
[end_date_ymd] => 2025-03-10 00:55:06
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:55:06' and `end` < '2025-03-10 00: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-03-10 00:55:11] Production.ERROR: CronJobId end10
[2025-03-10 00:55:11] Production.INFO: ==14006== Releasing lock...
[2025-03-10 00:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:55:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:55:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:55:15] Production.INFO: call_cost start
[2025-03-10 00:55:15] Production.INFO: call_cost end
[2025-03-10 00:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:55:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:55:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:55:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:55:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:55:16] Production.INFO: ==14002== Releasing lock...
[2025-03-10 00:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:55:18] Production.INFO: count ==320
[2025-03-10 00:55:18] Production.ERROR: pbx CDR StartTime 2025-03-09 21:55:06 - End Time 2025-03-10 00:55:06
[2025-03-10 00:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645981', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645981', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645981', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645981', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:55:18] Production.INFO: ProcessCDR(1,14645981,1,1,2)
[2025-03-10 00:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645981', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645981', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:55:21] Production.INFO: ==14010== Releasing lock...
[2025-03-10 00:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:55:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:56:01] Production.INFO: ==14072== Lock acquired, processing the job...
[2025-03-10 04:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:56:01] Production.INFO: neon service started
[2025-03-10 04:56:01] Production.INFO: neon service started
[2025-03-10 04:56:01] Production.INFO: ==14072== Releasing lock...
[2025-03-10 04:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:56:02] Production.INFO: ==14076== Lock acquired, processing the job...
[2025-03-10 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:56:02] Production.INFO: ==14076== Releasing lock...
[2025-03-10 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:56:02] Production.INFO: ==14074== Lock acquired, processing the job...
[2025-03-10 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:56:02] Production.INFO: ==14074== Releasing lock...
[2025-03-10 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:56:03] Production.INFO: ==14083== Lock acquired, processing the job...
[2025-03-10 00:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:56:03] Production.INFO: ==14087== Lock acquired, processing the job...
[2025-03-10 00:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:56:03] Production.INFO: ==14079== Lock acquired, processing the job...
[2025-03-10 00:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:56:03] Production.INFO: ==14081== Lock acquired, processing the job...
[2025-03-10 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:56:03] Production.INFO: ==14085== Lock acquired, processing the job...
[2025-03-10 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:56:03] Production.INFO: ==14089== Lock acquired, processing the job...
[2025-03-10 00:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:56:03] Production.ERROR: done
[2025-03-10 00:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:56:04] Production.INFO: Account Balance Start.
[2025-03-10 00:56:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:56:04] Production.INFO: 117
[2025-03-10 00:56:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 00:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:56:04] Production.INFO: count ==13
[2025-03-10 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-03-10 00:56:04] Production.INFO: count ==21
[2025-03-10 00:56:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645985') start
[2025-03-10 00:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:56:04] Production.INFO: ==14081== Releasing lock...
[2025-03-10 00:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:56:04] Production.ERROR: done
[2025-03-10 00:56:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:56:04] Production.INFO: Total Charge 0
[2025-03-10 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645985') end
[2025-03-10 00:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:56:04] Production.INFO: 1
[2025-03-10 00:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:56:04] Production.INFO: CreateAllLog End
[2025-03-10 00:56:04] Production.INFO: ==14089== Releasing lock...
[2025-03-10 00:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:56:04] Production.INFO: Account Balance End.
[2025-03-10 00:56:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:56:04] Production.INFO: ==14085== Releasing lock...
[2025-03-10 00:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:56:05
[end_date_ymd] => 2025-03-10 00:56:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:56:05' and `end` < '2025-03-10 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-03-10 00:56:12] Production.ERROR: CronJobId end10
[2025-03-10 00:56:12] Production.INFO: ==14083== Releasing lock...
[2025-03-10 00:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:56:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:56:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:56:14] Production.INFO: call_cost start
[2025-03-10 00:56:14] Production.INFO: call_cost end
[2025-03-10 00:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:56:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:56:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:56:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:56:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:56:15] Production.INFO: ==14079== Releasing lock...
[2025-03-10 00:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:56:17] Production.INFO: count ==319
[2025-03-10 00:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:56:05 - End Time 2025-03-10 00:56:05
[2025-03-10 00:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645986', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645986', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645986', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645986', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:56:17] Production.INFO: ProcessCDR(1,14645986,1,1,2)
[2025-03-10 00:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645986', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645986', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:56:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:56:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:56:20] Production.INFO: ==14087== Releasing lock...
[2025-03-10 00:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:56:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:57:02] Production.INFO: ==14145== Lock acquired, processing the job...
[2025-03-10 04:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:57:02] Production.INFO: neon service started
[2025-03-10 04:57:02] Production.INFO: neon service started
[2025-03-10 04:57:02] Production.INFO: ==14145== Releasing lock...
[2025-03-10 04:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:57:02] Production.INFO: ==14147== Lock acquired, processing the job...
[2025-03-10 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:57:02] Production.INFO: ==14147== Releasing lock...
[2025-03-10 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:57:03] Production.INFO: ==14149== Lock acquired, processing the job...
[2025-03-10 04:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:57:03] Production.INFO: ==14149== Releasing lock...
[2025-03-10 04:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:57:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:57:03] Production.INFO: ==14152== Lock acquired, processing the job...
[2025-03-10 00:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:57:03] Production.INFO: ==14156== Lock acquired, processing the job...
[2025-03-10 00:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:57:03] Production.INFO: ==14160== Lock acquired, processing the job...
[2025-03-10 00:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:57:03] Production.INFO: ==14154== Lock acquired, processing the job...
[2025-03-10 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:57:04] Production.INFO: ==14158== Lock acquired, processing the job...
[2025-03-10 00:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:57:04] Production.INFO: ==14162== Lock acquired, processing the job...
[2025-03-10 00:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:57:04] Production.ERROR: done
[2025-03-10 00:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:57:04] Production.INFO: Account Balance Start.
[2025-03-10 00:57:04] Production.INFO: CreateAllLog Start
[2025-03-10 00:57:04] Production.INFO: 117
[2025-03-10 00:57:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:57:04] Production.ERROR: done
[2025-03-10 00: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-03-10 00:57:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:57:04] Production.INFO: count ==13
[2025-03-10 00:57:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 00: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-03-10 00:57:04] Production.INFO: count ==21
[2025-03-10 00:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645989') start
[2025-03-10 00:57:04] Production.INFO: Total Charge 0
[2025-03-10 00:57:04] Production.INFO: CreateAllLog End
[2025-03-10 00:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645989') end
[2025-03-10 00:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:57:04] Production.INFO: 1
[2025-03-10 00:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:57:04] Production.INFO: ==14154== Releasing lock...
[2025-03-10 00:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:57:04] Production.INFO: ==14162== Releasing lock...
[2025-03-10 00:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:57:04] Production.INFO: Account Balance End.
[2025-03-10 00:57:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:57:04] Production.INFO: ==14158== Releasing lock...
[2025-03-10 00:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:57:05
[end_date_ymd] => 2025-03-10 00:57:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:57:05' and `end` < '2025-03-10 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-03-10 00:57:12] Production.ERROR: CronJobId end10
[2025-03-10 00:57:12] Production.INFO: ==14156== Releasing lock...
[2025-03-10 00:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:57:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:57:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:57:15] Production.INFO: call_cost start
[2025-03-10 00:57:15] Production.INFO: call_cost end
[2025-03-10 00:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:57:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:57:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:57:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:57:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:57:16] Production.INFO: ==14152== Releasing lock...
[2025-03-10 00:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:57:17] Production.INFO: count ==319
[2025-03-10 00:57:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:57:05 - End Time 2025-03-10 00:57:05
[2025-03-10 00:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645991', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645991', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645991', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645991', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:57:17] Production.INFO: ProcessCDR(1,14645991,1,1,2)
[2025-03-10 00:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645991', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645991', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:57:22] Production.INFO: ==14160== Releasing lock...
[2025-03-10 00:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:57:22] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:58:01] Production.INFO: ==14217== Lock acquired, processing the job...
[2025-03-10 04:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:58:01] Production.INFO: neon service started
[2025-03-10 04:58:01] Production.INFO: neon service started
[2025-03-10 04:58:01] Production.INFO: ==14217== Releasing lock...
[2025-03-10 04:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 00:58:02] Production.INFO: ==14219== Lock acquired, processing the job...
[2025-03-10 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:58:02] Production.INFO: ==14219== Releasing lock...
[2025-03-10 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:58:02] Production.INFO: ==14221== Lock acquired, processing the job...
[2025-03-10 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:58:02] Production.INFO: ==14221== Releasing lock...
[2025-03-10 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:58:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:58:03] Production.INFO: ==14232== Lock acquired, processing the job...
[2025-03-10 00:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:58:03] Production.INFO: ==14230== Lock acquired, processing the job...
[2025-03-10 00:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:58:03] Production.INFO: ==14225== Lock acquired, processing the job...
[2025-03-10 00:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:58:03] Production.INFO: Account Balance Start.
[2025-03-10 00:58:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:58:03] Production.INFO: ==14223== Lock acquired, processing the job...
[2025-03-10 00:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:58:03] Production.INFO: 117
[2025-03-10 00:58:03] Production.INFO: Date 2025-03-08
[2025-03-10 00:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:58:03] Production.INFO: ==14227== Lock acquired, processing the job...
[2025-03-10 00:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:58:03] Production.INFO: Date 2025-03-09
[2025-03-10 00:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:58:03] Production.INFO: Date 2025-03-10
[2025-03-10 00:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 00:58:03] Production.INFO: Total Charge 0
[2025-03-10 00:58:03] Production.INFO: ==14234== Lock acquired, processing the job...
[2025-03-10 00:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 00:58:03] Production.INFO: CreateAllLog End
[2025-03-10 00:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00: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-03-10 00:58:03] Production.INFO: ==14225== Releasing lock...
[2025-03-10 00:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:58:03] Production.INFO: count ==13
[2025-03-10 00:58:03] Production.INFO: Account Balance End.
[2025-03-10 00: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-03-10 00:58:03] Production.INFO: count ==21
[2025-03-10 00:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645995') start
[2025-03-10 00:58:03] Production.ERROR: CronJobId end 12
[2025-03-10 00:58:03] Production.INFO: ==14230== Releasing lock...
[2025-03-10 00:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:58:03] Production.ERROR: done
[2025-03-10 00:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14645995') end
[2025-03-10 00:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:58:03] Production.INFO: 1
[2025-03-10 00:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:58:03] Production.INFO: ==14234== Releasing lock...
[2025-03-10 00:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:58:04] Production.ERROR: done
[2025-03-10 00:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:58:04
[end_date_ymd] => 2025-03-10 00:58:04
[RateCDR] => 1
)
[2025-03-10 00: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-03-09 21:58:04' and `end` < '2025-03-10 00: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-03-10 00:58:12] Production.ERROR: CronJobId end10
[2025-03-10 00:58:12] Production.INFO: ==14227== Releasing lock...
[2025-03-10 00:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:58:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:58:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:58:14] Production.INFO: call_cost start
[2025-03-10 00:58:14] Production.INFO: call_cost end
[2025-03-10 00:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:58:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:58:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:58:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:58:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:58:15] Production.INFO: ==14223== Releasing lock...
[2025-03-10 00:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:58:16] Production.INFO: count ==319
[2025-03-10 00:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:58:04 - End Time 2025-03-10 00:58:04
[2025-03-10 00:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645996', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14645996', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645996', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14645996', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:58:17] Production.INFO: ProcessCDR(1,14645996,1,1,2)
[2025-03-10 00:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14645996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14645996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14645996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14645996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645996', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14645996', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:58:21] Production.INFO: ==14232== Releasing lock...
[2025-03-10 00:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:58:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 04:59:02] Production.INFO: ==14290== Lock acquired, processing the job...
[2025-03-10 04:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 04:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 04:59:02] Production.INFO: neon service started
[2025-03-10 04:59:02] Production.INFO: neon service started
[2025-03-10 04:59:02] Production.INFO: ==14290== Releasing lock...
[2025-03-10 04:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 04:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:59:02] Production.INFO: ==14294== Lock acquired, processing the job...
[2025-03-10 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:59:02] Production.INFO: ==14294== Releasing lock...
[2025-03-10 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 04:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 00:59:02] Production.INFO: ==14292== Lock acquired, processing the job...
[2025-03-10 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 00:59:02] Production.INFO: ==14292== Releasing lock...
[2025-03-10 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 00:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 00:59:03] Production.INFO: ==14303== Lock acquired, processing the job...
[2025-03-10 00:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 00:59:03] Production.INFO: ==14307== Lock acquired, processing the job...
[2025-03-10 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 00:59:03] Production.INFO: Account Balance Start.
[2025-03-10 00:59:03] Production.INFO: CreateAllLog Start
[2025-03-10 00:59:03] Production.INFO: 117
[2025-03-10 00:59:03] Production.INFO: count ==13
[2025-03-10 00: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-03-10 00:59:04] Production.INFO: count ==21
[2025-03-10 00:59:04] Production.INFO: Date 2025-03-08
[2025-03-10 00:59:04] Production.INFO: ==14297== Lock acquired, processing the job...
[2025-03-10 00:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 00:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645998') start
[2025-03-10 00:59:04] Production.INFO: ==14299== Lock acquired, processing the job...
[2025-03-10 00:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 00:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:59:04] Production.INFO: ==14301== Lock acquired, processing the job...
[2025-03-10 00:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 00:59:04] Production.INFO: Date 2025-03-09
[2025-03-10 00:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:59:04] Production.INFO: ==14305== Lock acquired, processing the job...
[2025-03-10 00:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 00:59:04] Production.INFO: Date 2025-03-10
[2025-03-10 00:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 00:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14645998') end
[2025-03-10 00:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 00:59:04] Production.INFO: 1
[2025-03-10 00:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 00:59:04] Production.INFO: Total Charge 0
[2025-03-10 00:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 00:59:04] Production.INFO: CreateAllLog End
[2025-03-10 00:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 00:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 00:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 00:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 00:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 00:59:04] Production.INFO: ==14307== Releasing lock...
[2025-03-10 00:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 00:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 00:59:04] Production.INFO: Account Balance End.
[2025-03-10 00:59:04] Production.ERROR: CronJobId end 12
[2025-03-10 00:59:04] Production.INFO: ==14303== Releasing lock...
[2025-03-10 00:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 00:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 00:59:04] Production.INFO: ==14299== Releasing lock...
[2025-03-10 00:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 00:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 00:59:04] Production.ERROR: done
[2025-03-10 00:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 00:59:04] Production.ERROR: done
[2025-03-10 00:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 21:59:05
[end_date_ymd] => 2025-03-10 00:59:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 21:59:05' and `end` < '2025-03-10 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-03-10 00:59:12] Production.ERROR: CronJobId end10
[2025-03-10 00:59:12] Production.INFO: ==14301== Releasing lock...
[2025-03-10 00:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 00:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 00:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 00:59:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 00:59:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 00:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 00:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 00:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 00:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 00:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 00:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 00:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 00:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 00:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 00:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 00:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 00:59:13] Production.INFO: call_cost start
[2025-03-10 00:59:13] Production.INFO: call_cost end
[2025-03-10 00:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 00:59:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 00:59:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 00:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 00:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 00:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 00:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 00:59:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 00:59:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 00:59:14] Production.INFO: ==14297== Releasing lock...
[2025-03-10 00:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 00:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 00:59:17] Production.INFO: count ==319
[2025-03-10 00:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 21:59:05 - End Time 2025-03-10 00:59:05
[2025-03-10 00:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 00:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646001', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646001', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646001', 'tblTempVendorCDR_20' ) start
[2025-03-10 00:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646001', 'tblTempVendorCDR_20' ) end
[2025-03-10 00:59:17] Production.INFO: ProcessCDR(1,14646001,1,1,2)
[2025-03-10 00:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 00:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 00:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646001', 'tblTempUsageDetail_20' ) start
[2025-03-10 00:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646001', 'tblTempUsageDetail_20' ) end
[2025-03-10 00:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 00:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 00:59:21] Production.INFO: ==14305== Releasing lock...
[2025-03-10 00:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 00:59:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:00:01] Production.INFO: ==14368== Lock acquired, processing the job...
[2025-03-10 05:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:00:01] Production.INFO: neon service started
[2025-03-10 05:00:01] Production.INFO: neon service started
[2025-03-10 05:00:01] Production.INFO: ==14368== Releasing lock...
[2025-03-10 05:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:00:02] Production.INFO: ==14370== Lock acquired, processing the job...
[2025-03-10 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:00:02] Production.INFO: ==14372== Lock acquired, processing the job...
[2025-03-10 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:00:02] Production.INFO: ==14372== Releasing lock...
[2025-03-10 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:00:02] Production.INFO: ==14370== Releasing lock...
[2025-03-10 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:00:03] Production.INFO: ==14375== Lock acquired, processing the job...
[2025-03-10 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 01:00:03] Production.INFO: ==14377== Lock acquired, processing the job...
[2025-03-10 01:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 01:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 01:00:04] Production.INFO: ==14375== Releasing lock...
[2025-03-10 01:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 01:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 01:00:04] Production.INFO: ==14379== Lock acquired, processing the job...
[2025-03-10 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:00:04] Production.INFO: ==14385== Lock acquired, processing the job...
[2025-03-10 01:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:00:04] Production.INFO: ==14381== Lock acquired, processing the job...
[2025-03-10 01:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:00:04] Production.INFO: ==14383== Lock acquired, processing the job...
[2025-03-10 01:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:00:04] Production.INFO: ==14387== Lock acquired, processing the job...
[2025-03-10 01:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:00:04] Production.INFO: Account Balance Start.
[2025-03-10 01:00:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:00:04] Production.INFO: 117
[2025-03-10 01:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:00:04] Production.INFO: ==14389== Lock acquired, processing the job...
[2025-03-10 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:00:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:00:04] Production.INFO: ==14379== Releasing lock...
[2025-03-10 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:00:04] Production.ERROR: done
[2025-03-10 01:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 01:00:04] Production.INFO: Total Charge 0
[2025-03-10 01:00:04] Production.INFO: CreateAllLog End
[2025-03-10 01:00:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:00:04] Production.INFO: count ==21
[2025-03-10 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646005') start
[2025-03-10 01:00:04] Production.ERROR: done
[2025-03-10 01:00:04] Production.ERROR: done
[2025-03-10 01:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 01:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646006', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 01:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646005') end
[2025-03-10 01:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:00:05] Production.INFO: 1
[2025-03-10 01:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:00:05] Production.INFO: Account Balance End.
[2025-03-10 01:00:05] Production.ERROR: CronJobId end 12
[2025-03-10 01:00:05] Production.INFO: ==14383== Releasing lock...
[2025-03-10 01:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:00:05] Production.INFO: ==14389== Releasing lock...
[2025-03-10 01:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:00:06
[end_date_ymd] => 2025-03-10 01:00:06
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:00:06' and `end` < '2025-03-10 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-03-10 01:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646006', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 01:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 01:00:09] Production.INFO: ProcessCDR(1,14646006,1,1,2)
[2025-03-10 01:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646006,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646006,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:00:09] Production.INFO: ==14387== Releasing lock...
[2025-03-10 01:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 01:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 01:00:13] Production.ERROR: CronJobId end10
[2025-03-10 01:00:13] Production.INFO: ==14381== Releasing lock...
[2025-03-10 01:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:00:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:00:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:00:16] Production.INFO: call_cost start
[2025-03-10 01:00:16] Production.INFO: call_cost end
[2025-03-10 01:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:00:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:00:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:00:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:00:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:00:17] Production.INFO: ==14377== Releasing lock...
[2025-03-10 01:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:00:18] Production.INFO: count ==329
[2025-03-10 01:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:00:06 - End Time 2025-03-10 01:00:06
[2025-03-10 01:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646007', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646007', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646007', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646007', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:00:18] Production.INFO: ProcessCDR(1,14646007,1,1,2)
[2025-03-10 01:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646007', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646007', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:00:21] Production.INFO: ==14385== Releasing lock...
[2025-03-10 01:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:00:21] Production.INFO: 31.5 MB #Memory Used#
[2025-03-10 05:01:02] Production.INFO: ==14448== Lock acquired, processing the job...
[2025-03-10 05:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:01:02] Production.INFO: neon service started
[2025-03-10 05:01:02] Production.INFO: neon service started
[2025-03-10 05:01:02] Production.INFO: ==14448== Releasing lock...
[2025-03-10 05:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:01:02] Production.INFO: ==14463== Lock acquired, processing the job...
[2025-03-10 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:01:02] Production.INFO: ==14465== Lock acquired, processing the job...
[2025-03-10 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:01:02] Production.INFO: ==14465== Releasing lock...
[2025-03-10 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:01:02] Production.INFO: ==14463== Releasing lock...
[2025-03-10 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:01:03] Production.INFO: ==14478== Lock acquired, processing the job...
[2025-03-10 01:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:01:03] Production.INFO: ==14474== Lock acquired, processing the job...
[2025-03-10 01:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01: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-03-10 01:01:03] Production.INFO: ==14468== Lock acquired, processing the job...
[2025-03-10 01:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:01:03] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:01:03] Production.INFO: count ==21
[2025-03-10 01:01:03] Production.INFO: Account Balance Start.
[2025-03-10 01:01:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:01:03] Production.INFO: 117
[2025-03-10 01:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646008') start
[2025-03-10 01:01:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:01:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:01:03] Production.INFO: ==14470== Lock acquired, processing the job...
[2025-03-10 01:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:01:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646008') end
[2025-03-10 01:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:01:04] Production.INFO: 1
[2025-03-10 01:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:01:04] Production.INFO: ==14472== Lock acquired, processing the job...
[2025-03-10 01:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:01:04] Production.INFO: ==14478== Releasing lock...
[2025-03-10 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:01:04] Production.INFO: Total Charge 0
[2025-03-10 01:01:04] Production.INFO: ==14476== Lock acquired, processing the job...
[2025-03-10 01:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:01:04] Production.INFO: CreateAllLog End
[2025-03-10 01:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:01:04] Production.INFO: ==14470== Releasing lock...
[2025-03-10 01:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:01:04] Production.INFO: Account Balance End.
[2025-03-10 01:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:01:04] Production.INFO: ==14474== Releasing lock...
[2025-03-10 01:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:01:04] Production.ERROR: done
[2025-03-10 01:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:01:04] Production.ERROR: done
[2025-03-10 01:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:01:05
[end_date_ymd] => 2025-03-10 01:01:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:01:05' and `end` < '2025-03-10 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-03-10 01:01:13] Production.ERROR: CronJobId end10
[2025-03-10 01:01:13] Production.INFO: ==14472== Releasing lock...
[2025-03-10 01:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:01:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:01:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:01:15] Production.INFO: call_cost start
[2025-03-10 01:01:15] Production.INFO: call_cost end
[2025-03-10 01:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:01:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:01:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:01:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:01:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:01:16] Production.INFO: ==14468== Releasing lock...
[2025-03-10 01:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:01:17] Production.INFO: count ==332
[2025-03-10 01:01:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:01:05 - End Time 2025-03-10 01:01:05
[2025-03-10 01:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646012', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646012', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646012', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646012', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:01:17] Production.INFO: ProcessCDR(1,14646012,1,1,2)
[2025-03-10 01:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646012', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646012', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:01:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:01:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:01:20] Production.INFO: ==14476== Releasing lock...
[2025-03-10 01:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:01:20] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 05:02:01] Production.INFO: ==14537== Lock acquired, processing the job...
[2025-03-10 05:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:02:01] Production.INFO: neon service started
[2025-03-10 05:02:01] Production.INFO: neon service started
[2025-03-10 05:02:01] Production.INFO: ==14537== Releasing lock...
[2025-03-10 05:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:02:02] Production.INFO: ==14541== Lock acquired, processing the job...
[2025-03-10 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:02:02] Production.INFO: ==14541== Releasing lock...
[2025-03-10 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:02:02] Production.INFO: ==14539== Lock acquired, processing the job...
[2025-03-10 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:02:02] Production.INFO: ==14539== Releasing lock...
[2025-03-10 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:02:03] Production.INFO: ==14545== Lock acquired, processing the job...
[2025-03-10 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:02:03] Production.INFO: ==14547== Lock acquired, processing the job...
[2025-03-10 01:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:02:03] Production.INFO: ==14549== Lock acquired, processing the job...
[2025-03-10 01:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:02:03] Production.INFO: ==14543== Lock acquired, processing the job...
[2025-03-10 01:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:02:03] Production.INFO: ==14545== Releasing lock...
[2025-03-10 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:02:03] Production.INFO: Account Balance Start.
[2025-03-10 01:02:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:02:03] Production.INFO: 117
[2025-03-10 01:02:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:02:03] Production.INFO: ==14554== Lock acquired, processing the job...
[2025-03-10 01:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:02:03] Production.INFO: ==14551== Lock acquired, processing the job...
[2025-03-10 01:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:02:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:02:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:02:03] Production.INFO: Total Charge 0
[2025-03-10 01:02:03] Production.INFO: CreateAllLog End
[2025-03-10 01: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-03-10 01:02:03] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:02:04] Production.INFO: count ==21
[2025-03-10 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646016') start
[2025-03-10 01:02:04] Production.ERROR: done
[2025-03-10 01:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:02:04] Production.ERROR: done
[2025-03-10 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646016') end
[2025-03-10 01:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:02:04] Production.INFO: 1
[2025-03-10 01:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:02:04] Production.INFO: Account Balance End.
[2025-03-10 01:02:04] Production.INFO: ==14554== Releasing lock...
[2025-03-10 01:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:02:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:02:04] Production.INFO: ==14549== Releasing lock...
[2025-03-10 01:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:02:05
[end_date_ymd] => 2025-03-10 01:02:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:02:05' and `end` < '2025-03-10 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-03-10 01:02:11] Production.ERROR: CronJobId end10
[2025-03-10 01:02:11] Production.INFO: ==14547== Releasing lock...
[2025-03-10 01:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:02:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:02:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:02:13] Production.INFO: call_cost start
[2025-03-10 01:02:13] Production.INFO: call_cost end
[2025-03-10 01:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:02:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:02:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:02:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:02:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:02:14] Production.INFO: ==14543== Releasing lock...
[2025-03-10 01:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:02:17] Production.INFO: count ==336
[2025-03-10 01:02:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:02:05 - End Time 2025-03-10 01:02:05
[2025-03-10 01:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646017', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646017', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646017', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646017', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:02:17] Production.INFO: ProcessCDR(1,14646017,1,1,2)
[2025-03-10 01:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:02:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646017', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646017', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:02:21] Production.INFO: ==14551== Releasing lock...
[2025-03-10 01:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:02:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:03:02] Production.INFO: ==14610== Lock acquired, processing the job...
[2025-03-10 05:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:03:02] Production.INFO: neon service started
[2025-03-10 05:03:02] Production.INFO: neon service started
[2025-03-10 05:03:02] Production.INFO: ==14610== Releasing lock...
[2025-03-10 05:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:03:02] Production.INFO: ==14614== Lock acquired, processing the job...
[2025-03-10 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:03:02] Production.INFO: ==14614== Releasing lock...
[2025-03-10 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:03:02] Production.INFO: ==14612== Lock acquired, processing the job...
[2025-03-10 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:03:02] Production.INFO: ==14612== Releasing lock...
[2025-03-10 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:03:03] Production.INFO: ==14617== Lock acquired, processing the job...
[2025-03-10 01:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:03:03] Production.INFO: ==14619== Lock acquired, processing the job...
[2025-03-10 01:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:03:03] Production.INFO: ==14627== Lock acquired, processing the job...
[2025-03-10 01:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:03:03] Production.INFO: ==14621== Lock acquired, processing the job...
[2025-03-10 01:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:03:03] Production.INFO: ==14623== Lock acquired, processing the job...
[2025-03-10 01:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 01:03:03] Production.INFO: ==14619== Releasing lock...
[2025-03-10 01:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:03:03] Production.INFO: count ==13
[2025-03-10 01:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 01:03:03] Production.INFO: count ==21
[2025-03-10 01:03:03] Production.INFO: ==14625== Lock acquired, processing the job...
[2025-03-10 01:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646020') start
[2025-03-10 01:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646020') end
[2025-03-10 01:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:03:04] Production.INFO: 1
[2025-03-10 01:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:03:04] Production.INFO: Account Balance Start.
[2025-03-10 01:03:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:03:04] Production.INFO: 117
[2025-03-10 01:03:04] Production.INFO: ==14627== Releasing lock...
[2025-03-10 01:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:03:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:03:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:03:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:03:04] Production.ERROR: done
[2025-03-10 01:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:03:04] Production.INFO: Total Charge 0
[2025-03-10 01:03:04] Production.INFO: CreateAllLog End
[2025-03-10 01:03:04] Production.ERROR: done
[2025-03-10 01:03:04] Production.INFO: Account Balance End.
[2025-03-10 01:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:03:04] Production.INFO: ==14623== Releasing lock...
[2025-03-10 01:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:03:05
[end_date_ymd] => 2025-03-10 01:03:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:03:05' and `end` < '2025-03-10 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-03-10 01:03:11] Production.ERROR: CronJobId end10
[2025-03-10 01:03:11] Production.INFO: ==14621== Releasing lock...
[2025-03-10 01:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:03:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:03:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:03:14] Production.INFO: call_cost start
[2025-03-10 01:03:14] Production.INFO: call_cost end
[2025-03-10 01:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:03:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:03:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:03:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:03:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:03:15] Production.INFO: ==14617== Releasing lock...
[2025-03-10 01:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:03:17] Production.INFO: count ==331
[2025-03-10 01:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:03:05 - End Time 2025-03-10 01:03:05
[2025-03-10 01:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646022', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646022', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646022', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646022', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:03:17] Production.INFO: ProcessCDR(1,14646022,1,1,2)
[2025-03-10 01:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:03:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646022', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646022', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:03:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:03:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:03:20] Production.INFO: ==14625== Releasing lock...
[2025-03-10 01:03:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:03:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:04:01] Production.INFO: ==14684== Lock acquired, processing the job...
[2025-03-10 05:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:04:01] Production.INFO: neon service started
[2025-03-10 05:04:01] Production.INFO: neon service started
[2025-03-10 05:04:01] Production.INFO: ==14684== Releasing lock...
[2025-03-10 05:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:04:01] Production.INFO: ==14688== Lock acquired, processing the job...
[2025-03-10 05:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:04:01] Production.INFO: ==14688== Releasing lock...
[2025-03-10 05:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:04:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:04:01] Production.INFO: ==14686== Lock acquired, processing the job...
[2025-03-10 01:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:04:02] Production.INFO: ==14686== Releasing lock...
[2025-03-10 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:04:03] Production.INFO: ==14690== Lock acquired, processing the job...
[2025-03-10 01:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:04:03] Production.INFO: ==14692== Lock acquired, processing the job...
[2025-03-10 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:04:03] Production.INFO: ==14698== Lock acquired, processing the job...
[2025-03-10 01:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:04:03] Production.INFO: ==14694== Lock acquired, processing the job...
[2025-03-10 01:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:04:03] Production.INFO: ==14696== Lock acquired, processing the job...
[2025-03-10 01:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:04:03] Production.INFO: Account Balance Start.
[2025-03-10 01:04:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:04:03] Production.INFO: 117
[2025-03-10 01:04:03] Production.INFO: ==14692== Releasing lock...
[2025-03-10 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:04:03] Production.INFO: ==14700== Lock acquired, processing the job...
[2025-03-10 01:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:04:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:04:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:04:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:04:03] Production.ERROR: done
[2025-03-10 01:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:04:03] Production.INFO: Total Charge 0
[2025-03-10 01:04:03] Production.INFO: CreateAllLog End
[2025-03-10 01: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-03-10 01:04:03] Production.INFO: count ==13
[2025-03-10 01:04:03] Production.ERROR: done
[2025-03-10 01: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-03-10 01:04:03] Production.INFO: count ==21
[2025-03-10 01:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646026') start
[2025-03-10 01:04:03] Production.INFO: Account Balance End.
[2025-03-10 01:04:03] Production.ERROR: CronJobId end 12
[2025-03-10 01:04:03] Production.INFO: ==14696== Releasing lock...
[2025-03-10 01:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646026') end
[2025-03-10 01:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:04:04] Production.INFO: 1
[2025-03-10 01:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:04:04] Production.INFO: ==14700== Releasing lock...
[2025-03-10 01:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:04:05
[end_date_ymd] => 2025-03-10 01:04:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:04:05' and `end` < '2025-03-10 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-03-10 01:04:12] Production.ERROR: CronJobId end10
[2025-03-10 01:04:12] Production.INFO: ==14694== Releasing lock...
[2025-03-10 01:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:04:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:04:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:04:14] Production.INFO: call_cost start
[2025-03-10 01:04:14] Production.INFO: call_cost end
[2025-03-10 01:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:04:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:04:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:04:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:04:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:04:15] Production.INFO: ==14690== Releasing lock...
[2025-03-10 01:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:04:17] Production.INFO: count ==329
[2025-03-10 01:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:04:05 - End Time 2025-03-10 01:04:05
[2025-03-10 01:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646027', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646027', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646027', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646027', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:04:17] Production.INFO: ProcessCDR(1,14646027,1,1,2)
[2025-03-10 01:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646027', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646027', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:04:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:04:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:04:20] Production.INFO: ==14698== Releasing lock...
[2025-03-10 01:04:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:04:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:05:01] Production.INFO: ==14760== Lock acquired, processing the job...
[2025-03-10 05:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:05:01] Production.INFO: neon service started
[2025-03-10 05:05:01] Production.INFO: neon service started
[2025-03-10 05:05:01] Production.INFO: ==14760== Releasing lock...
[2025-03-10 05:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:05:02] Production.INFO: ==14762== Lock acquired, processing the job...
[2025-03-10 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:05:02] Production.INFO: ==14764== Lock acquired, processing the job...
[2025-03-10 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 01:05:02] Production.INFO: ==14762== Releasing lock...
[2025-03-10 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:05:02] Production.INFO: ==14764== Releasing lock...
[2025-03-10 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:05:02] Production.INFO: 26 MB #Memory Used#
[2025-03-10 01:05:03] Production.INFO: ==14766== Lock acquired, processing the job...
[2025-03-10 01:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:05:03] Production.INFO: ==14774== Lock acquired, processing the job...
[2025-03-10 01:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:05:03] Production.INFO: ==14768== Lock acquired, processing the job...
[2025-03-10 01:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:05:03] Production.INFO: ==14770== Lock acquired, processing the job...
[2025-03-10 01:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:05:03] Production.INFO: ==14776== Lock acquired, processing the job...
[2025-03-10 01:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:05:03] Production.INFO: ==14772== Lock acquired, processing the job...
[2025-03-10 01:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01: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-03-10 01:05:03] Production.INFO: count ==13
[2025-03-10 01:05:03] Production.INFO: ==14768== Releasing lock...
[2025-03-10 01:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:05:03] Production.ERROR: done
[2025-03-10 01:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01: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-03-10 01:05:03] Production.INFO: count ==21
[2025-03-10 01:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646030') start
[2025-03-10 01:05:04] Production.INFO: Account Balance Start.
[2025-03-10 01:05:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:05:04] Production.INFO: 117
[2025-03-10 01:05:04] Production.ERROR: done
[2025-03-10 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646030') end
[2025-03-10 01:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:05:04] Production.INFO: 1
[2025-03-10 01:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:05:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:05:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:05:04] Production.INFO: ==14776== Releasing lock...
[2025-03-10 01:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:05:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:05:04] Production.INFO: Total Charge 0
[2025-03-10 01:05:04] Production.INFO: CreateAllLog End
[2025-03-10 01:05:04] Production.INFO: Account Balance End.
[2025-03-10 01:05:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:05:04] Production.INFO: ==14772== Releasing lock...
[2025-03-10 01:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:05:05
[end_date_ymd] => 2025-03-10 01:05:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:05:05' and `end` < '2025-03-10 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-03-10 01:05:12] Production.ERROR: CronJobId end10
[2025-03-10 01:05:12] Production.INFO: ==14770== Releasing lock...
[2025-03-10 01:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:05:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:05:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:05:14] Production.INFO: call_cost start
[2025-03-10 01:05:14] Production.INFO: call_cost end
[2025-03-10 01:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:05:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:05:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:05:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:05:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:05:15] Production.INFO: ==14766== Releasing lock...
[2025-03-10 01:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:05:17] Production.INFO: count ==327
[2025-03-10 01:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:05:05 - End Time 2025-03-10 01:05:05
[2025-03-10 01:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646032', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646032', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646032', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646032', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:05:17] Production.INFO: ProcessCDR(1,14646032,1,1,2)
[2025-03-10 01:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646032', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646032', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:05:20] Production.INFO: ==14774== Releasing lock...
[2025-03-10 01:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:05:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:06:01] Production.INFO: ==14838== Lock acquired, processing the job...
[2025-03-10 05:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:06:01] Production.INFO: neon service started
[2025-03-10 05:06:01] Production.INFO: neon service started
[2025-03-10 05:06:01] Production.INFO: ==14838== Releasing lock...
[2025-03-10 05:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:06:01] Production.INFO: ==14840== Lock acquired, processing the job...
[2025-03-10 01:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:06:02] Production.INFO: ==14840== Releasing lock...
[2025-03-10 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:06:02] Production.INFO: ==14842== Lock acquired, processing the job...
[2025-03-10 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:06:02] Production.INFO: ==14842== Releasing lock...
[2025-03-10 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:06:02] Production.INFO: ==14854== Lock acquired, processing the job...
[2025-03-10 01:06:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01: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-03-10 01:06:03] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:06:03] Production.INFO: count ==21
[2025-03-10 01:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646033') start
[2025-03-10 01:06:03] Production.INFO: ==14852== Lock acquired, processing the job...
[2025-03-10 01:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:06:03] Production.INFO: ==14850== Lock acquired, processing the job...
[2025-03-10 01:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646033') end
[2025-03-10 01:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:06:03] Production.INFO: 1
[2025-03-10 01:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:06:03] Production.INFO: ==14846== Lock acquired, processing the job...
[2025-03-10 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:06:03] Production.INFO: ==14844== Lock acquired, processing the job...
[2025-03-10 01:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:06:03] Production.INFO: ==14848== Lock acquired, processing the job...
[2025-03-10 01:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:06:03] Production.INFO: ==14854== Releasing lock...
[2025-03-10 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:06:03] Production.INFO: Account Balance Start.
[2025-03-10 01:06:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:06:03] Production.ERROR: done
[2025-03-10 01:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:06:03] Production.INFO: 117
[2025-03-10 01:06:03] Production.INFO: ==14846== Releasing lock...
[2025-03-10 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:06:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:06:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:06:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:06:03] Production.INFO: Total Charge 0
[2025-03-10 01:06:03] Production.INFO: CreateAllLog End
[2025-03-10 01:06:04] Production.ERROR: done
[2025-03-10 01:06:04] Production.INFO: Account Balance End.
[2025-03-10 01:06:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:06:04] Production.INFO: ==14850== Releasing lock...
[2025-03-10 01:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:06:05
[end_date_ymd] => 2025-03-10 01:06:05
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:06:05' and `end` < '2025-03-10 01: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-03-10 01:06:11] Production.ERROR: CronJobId end10
[2025-03-10 01:06:11] Production.INFO: ==14848== Releasing lock...
[2025-03-10 01:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:06:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:06:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:06:12] Production.INFO: call_cost start
[2025-03-10 01:06:12] Production.INFO: call_cost end
[2025-03-10 01:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:06:13] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:06:13] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:06:13] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:06:13] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:06:13] Production.INFO: ==14844== Releasing lock...
[2025-03-10 01:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:06:17] Production.INFO: count ==326
[2025-03-10 01:06:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:06:05 - End Time 2025-03-10 01:06:05
[2025-03-10 01:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646037', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646037', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646037', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646037', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:06:17] Production.INFO: ProcessCDR(1,14646037,1,1,2)
[2025-03-10 01:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:06:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646037', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646037', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:06:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:06:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:06:20] Production.INFO: ==14852== Releasing lock...
[2025-03-10 01:06:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:06:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:07:02] Production.INFO: ==14911== Lock acquired, processing the job...
[2025-03-10 05:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:07:02] Production.INFO: neon service started
[2025-03-10 05:07:02] Production.INFO: neon service started
[2025-03-10 05:07:02] Production.INFO: ==14911== Releasing lock...
[2025-03-10 05:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:07:02] Production.INFO: ==14915== Lock acquired, processing the job...
[2025-03-10 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:07:02] Production.INFO: ==14915== Releasing lock...
[2025-03-10 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:07:02] Production.INFO: ==14917== Lock acquired, processing the job...
[2025-03-10 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:07:02] Production.INFO: ==14917== Releasing lock...
[2025-03-10 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:07:03] Production.INFO: ==14927== Lock acquired, processing the job...
[2025-03-10 01:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:07:03] Production.INFO: ==14929== Lock acquired, processing the job...
[2025-03-10 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 01:07:03] Production.INFO: count ==13
[2025-03-10 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-03-10 01:07:03] Production.INFO: count ==21
[2025-03-10 01:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646038') start
[2025-03-10 01:07:03] Production.INFO: ==14921== Lock acquired, processing the job...
[2025-03-10 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:07:03] Production.INFO: ==14919== Lock acquired, processing the job...
[2025-03-10 01:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646038') end
[2025-03-10 01:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:07:04] Production.INFO: 1
[2025-03-10 01:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:07:04] Production.INFO: ==14923== Lock acquired, processing the job...
[2025-03-10 01:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:07:04] Production.INFO: ==14925== Lock acquired, processing the job...
[2025-03-10 01:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:07:04] Production.INFO: ==14929== Releasing lock...
[2025-03-10 01:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:07:04] Production.ERROR: done
[2025-03-10 01:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:07:04] Production.INFO: Account Balance Start.
[2025-03-10 01:07:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:07:04] Production.INFO: 117
[2025-03-10 01:07:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:07:04] Production.ERROR: done
[2025-03-10 01:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:07:04] Production.INFO: ==14921== Releasing lock...
[2025-03-10 01:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:07:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:07:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:07:04] Production.INFO: Total Charge 0
[2025-03-10 01:07:04] Production.INFO: CreateAllLog End
[2025-03-10 01:07:04] Production.INFO: Account Balance End.
[2025-03-10 01:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:07:04] Production.INFO: ==14925== Releasing lock...
[2025-03-10 01:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:07:05
[end_date_ymd] => 2025-03-10 01:07:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:07:05' and `end` < '2025-03-10 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-03-10 01:07:12] Production.ERROR: CronJobId end10
[2025-03-10 01:07:12] Production.INFO: ==14923== Releasing lock...
[2025-03-10 01:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:07:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:07:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:07:15] Production.INFO: call_cost start
[2025-03-10 01:07:15] Production.INFO: call_cost end
[2025-03-10 01:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:07:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:07:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:07:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:07:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:07:16] Production.INFO: ==14919== Releasing lock...
[2025-03-10 01:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:07:17] Production.INFO: count ==323
[2025-03-10 01:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:07:05 - End Time 2025-03-10 01:07:05
[2025-03-10 01:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646042', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646042', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646042', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646042', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:07:17] Production.INFO: ProcessCDR(1,14646042,1,1,2)
[2025-03-10 01:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646042', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646042', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:07:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:07:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:07:20] Production.INFO: ==14927== Releasing lock...
[2025-03-10 01:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:07:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:08:01] Production.INFO: ==14989== Lock acquired, processing the job...
[2025-03-10 05:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:08:01] Production.INFO: neon service started
[2025-03-10 05:08:01] Production.INFO: neon service started
[2025-03-10 05:08:01] Production.INFO: ==14989== Releasing lock...
[2025-03-10 05:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:08:01] Production.INFO: ==14993== Lock acquired, processing the job...
[2025-03-10 05:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:08:01] Production.INFO: ==14993== Releasing lock...
[2025-03-10 05:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:08:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:08:02] Production.INFO: ==14991== Lock acquired, processing the job...
[2025-03-10 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:08:02] Production.INFO: ==14991== Releasing lock...
[2025-03-10 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:08:03] Production.INFO: ==14996== Lock acquired, processing the job...
[2025-03-10 01:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:08:03] Production.INFO: ==15002== Lock acquired, processing the job...
[2025-03-10 01:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:08:03] Production.INFO: ==15004== Lock acquired, processing the job...
[2025-03-10 01:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:08:03] Production.INFO: Account Balance Start.
[2025-03-10 01:08:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:08:03] Production.INFO: 117
[2025-03-10 01:08:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:08:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:08:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:08:03] Production.INFO: Total Charge 0
[2025-03-10 01:08:03] Production.INFO: CreateAllLog End
[2025-03-10 01:08:03] Production.INFO: ==14998== Lock acquired, processing the job...
[2025-03-10 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:08:03] Production.INFO: ==15000== Lock acquired, processing the job...
[2025-03-10 01:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:08:03] Production.INFO: ==15006== Lock acquired, processing the job...
[2025-03-10 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:08:03] Production.ERROR: done
[2025-03-10 01:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 01:08:03] Production.INFO: Account Balance End.
[2025-03-10 01:08:03] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:08:03] Production.INFO: count ==21
[2025-03-10 01:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646045') start
[2025-03-10 01:08:03] Production.ERROR: CronJobId end 12
[2025-03-10 01:08:03] Production.INFO: ==15002== Releasing lock...
[2025-03-10 01:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:08:03] Production.INFO: ==14998== Releasing lock...
[2025-03-10 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:08:03] Production.ERROR: done
[2025-03-10 01:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646045') end
[2025-03-10 01:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:08:03] Production.INFO: 1
[2025-03-10 01:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:08:03] Production.INFO: ==15006== Releasing lock...
[2025-03-10 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:08:04
[end_date_ymd] => 2025-03-10 01:08:04
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:08:04' and `end` < '2025-03-10 01: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-03-10 01:08:12] Production.ERROR: CronJobId end10
[2025-03-10 01:08:12] Production.INFO: ==15000== Releasing lock...
[2025-03-10 01:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:08:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:08:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:08:13] Production.INFO: call_cost start
[2025-03-10 01:08:13] Production.INFO: call_cost end
[2025-03-10 01:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:08:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:08:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:08:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:08:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:08:14] Production.INFO: ==14996== Releasing lock...
[2025-03-10 01:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:08:16] Production.INFO: count ==317
[2025-03-10 01:08:16] Production.ERROR: pbx CDR StartTime 2025-03-09 22:08:04 - End Time 2025-03-10 01:08:04
[2025-03-10 01:08:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:08:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646047', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:08:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646047', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:08:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646047', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:08:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646047', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:08:16] Production.INFO: ProcessCDR(1,14646047,1,1,2)
[2025-03-10 01:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:08:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:08:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646047', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646047', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:08:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:08:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:08:20] Production.INFO: ==15004== Releasing lock...
[2025-03-10 01:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:08:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:09:01] Production.INFO: ==15112== Lock acquired, processing the job...
[2025-03-10 05:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:09:01] Production.INFO: neon service started
[2025-03-10 05:09:01] Production.INFO: neon service started
[2025-03-10 05:09:01] Production.INFO: ==15112== Releasing lock...
[2025-03-10 05:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:09:02] Production.INFO: ==15116== Lock acquired, processing the job...
[2025-03-10 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:09:02] Production.INFO: ==15116== Releasing lock...
[2025-03-10 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:09:02] Production.INFO: ==15114== Lock acquired, processing the job...
[2025-03-10 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:09:02] Production.INFO: ==15114== Releasing lock...
[2025-03-10 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:09:03] Production.INFO: ==15122== Lock acquired, processing the job...
[2025-03-10 01:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:09:03] Production.INFO: ==15124== Lock acquired, processing the job...
[2025-03-10 01:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:09:03] Production.INFO: Account Balance Start.
[2025-03-10 01:09:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:09:03] Production.INFO: 117
[2025-03-10 01:09:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:09:03] Production.INFO: ==15118== Lock acquired, processing the job...
[2025-03-10 01:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:09:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:09:04] Production.INFO: ==15120== Lock acquired, processing the job...
[2025-03-10 01:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:09:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:09:04] Production.INFO: ==15126== Lock acquired, processing the job...
[2025-03-10 01:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:09:04] Production.INFO: Total Charge 0
[2025-03-10 01:09:04] Production.INFO: CreateAllLog End
[2025-03-10 01:09:04] Production.INFO: ==15129== Lock acquired, processing the job...
[2025-03-10 01:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01: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-03-10 01:09:04] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:09:04] Production.INFO: count ==21
[2025-03-10 01:09:04] Production.INFO: ==15120== Releasing lock...
[2025-03-10 01:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646051') start
[2025-03-10 01:09:04] Production.ERROR: done
[2025-03-10 01:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:09:04] Production.INFO: Account Balance End.
[2025-03-10 01:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646051') end
[2025-03-10 01:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:09:04] Production.INFO: 1
[2025-03-10 01:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:09:04] Production.INFO: ==15129== Releasing lock...
[2025-03-10 01:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:09:04] Production.INFO: ==15124== Releasing lock...
[2025-03-10 01:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:09:04] Production.ERROR: done
[2025-03-10 01:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:09:05
[end_date_ymd] => 2025-03-10 01:09:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:09:05' and `end` < '2025-03-10 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-03-10 01:09:12] Production.ERROR: CronJobId end10
[2025-03-10 01:09:12] Production.INFO: ==15122== Releasing lock...
[2025-03-10 01:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:09:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:09:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:09:14] Production.INFO: call_cost start
[2025-03-10 01:09:14] Production.INFO: call_cost end
[2025-03-10 01:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:09:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:09:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:09:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:09:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:09:15] Production.INFO: ==15118== Releasing lock...
[2025-03-10 01:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:09:18] Production.INFO: count ==316
[2025-03-10 01:09:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:09:05 - End Time 2025-03-10 01:09:05
[2025-03-10 01:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646052', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646052', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646052', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646052', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:09:18] Production.INFO: ProcessCDR(1,14646052,1,1,2)
[2025-03-10 01:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646052', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646052', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:09:21] Production.INFO: ==15126== Releasing lock...
[2025-03-10 01:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:09:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:10:01] Production.INFO: ==15184== Lock acquired, processing the job...
[2025-03-10 05:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:10:01] Production.INFO: neon service started
[2025-03-10 05:10:01] Production.INFO: neon service started
[2025-03-10 05:10:01] Production.INFO: ==15184== Releasing lock...
[2025-03-10 05:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:10:01] Production.INFO: ==15186== Lock acquired, processing the job...
[2025-03-10 01:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:10:02] Production.INFO: ==15186== Releasing lock...
[2025-03-10 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:10:02] Production.INFO: ==15188== Lock acquired, processing the job...
[2025-03-10 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:10:02] Production.INFO: ==15188== Releasing lock...
[2025-03-10 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:10:03] Production.INFO: ==15196== Lock acquired, processing the job...
[2025-03-10 01:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:10:03] Production.INFO: ==15204== Lock acquired, processing the job...
[2025-03-10 01:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:10:03] Production.INFO: ==15190== Lock acquired, processing the job...
[2025-03-10 01:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 01:10:03] Production.INFO: ==15202== Lock acquired, processing the job...
[2025-03-10 01:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 01:10:03] Production.INFO: ==15192== Lock acquired, processing the job...
[2025-03-10 01:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:10:03] Production.INFO: ==15194== Lock acquired, processing the job...
[2025-03-10 01:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 01:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 01:10:03] Production.ERROR: CronJob PID - 15196
[2025-03-10 01:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 01:10:03] Production.ERROR: CronJob ID - 10
[2025-03-10 01:10:03] Production.ERROR: CronJob Last Run Time 2025-03-10 01:10:00
[2025-03-10 01:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 01:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 01:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 01:10:03] Production.ERROR: CronJob PID - 15202
[2025-03-10 01:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 01:10:03] Production.ERROR: CronJob ID - 17
[2025-03-10 01:10:03] Production.ERROR: CronJob Last Run Time 2025-03-10 01:10:00
[2025-03-10 01:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 01:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 01:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 01:10:03] Production.ERROR: CronJob PID - 15204
[2025-03-10 01:10:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 01:10:03] Production.ERROR: CronJob ID - 19
[2025-03-10 01:10:03] Production.ERROR: CronJob Last Run Time 2025-03-10 01:10:00
[2025-03-10 01:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 01:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 01:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:10:03] Production.INFO: ==15198== Lock acquired, processing the job...
[2025-03-10 01:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01: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-03-10 01:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:10:03] Production.INFO: ==15200== Lock acquired, processing the job...
[2025-03-10 01:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:10:03] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:10:03] Production.INFO: count ==21
[2025-03-10 01:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 01:10:03] Production.INFO: ==15190== Releasing lock...
[2025-03-10 01:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 01:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 01:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646053') start
[2025-03-10 01:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:10:04] Production.INFO: Account Balance Start.
[2025-03-10 01:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:10:04] Production.INFO: 117
[2025-03-10 01:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646053') end
[2025-03-10 01:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:10:04] Production.INFO: 1
[2025-03-10 01:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:10:04] Production.INFO: ==15204== Releasing lock...
[2025-03-10 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:10:04] Production.ERROR: done
[2025-03-10 01:10:04] Production.INFO: Total Charge 0
[2025-03-10 01:10:04] Production.INFO: CreateAllLog End
[2025-03-10 01:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 01:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646057', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 01:10:04] Production.INFO: ==15194== Releasing lock...
[2025-03-10 01:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:10:04] Production.ERROR: done
[2025-03-10 01:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:10:04] Production.INFO: Account Balance End.
[2025-03-10 01:10:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:10:04] Production.INFO: ==15198== Releasing lock...
[2025-03-10 01:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:10:04] Production.ERROR: done
[2025-03-10 01:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:10:06
[end_date_ymd] => 2025-03-10 01:10:06
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:10:06' and `end` < '2025-03-10 01: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-03-10 01:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646057', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 01:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 01:10:08] Production.INFO: ProcessCDR(1,14646057,1,1,2)
[2025-03-10 01:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646057,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646057,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:10:08] Production.INFO: ==15202== Releasing lock...
[2025-03-10 01:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 01:10:08] Production.INFO: 26 MB #Memory Used#
[2025-03-10 01:10:14] Production.ERROR: CronJobId end10
[2025-03-10 01:10:14] Production.INFO: ==15196== Releasing lock...
[2025-03-10 01:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:10:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:10:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:10:16] Production.INFO: call_cost start
[2025-03-10 01:10:16] Production.INFO: call_cost end
[2025-03-10 01:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:10:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:10:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:10:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:10:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:10:17] Production.INFO: ==15192== Releasing lock...
[2025-03-10 01:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:10:18] Production.INFO: count ==326
[2025-03-10 01:10:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:10:06 - End Time 2025-03-10 01:10:06
[2025-03-10 01:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646058', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646058', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646058', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646058', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:10:18] Production.INFO: ProcessCDR(1,14646058,1,1,2)
[2025-03-10 01:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646058', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646058', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:10:21] Production.INFO: ==15200== Releasing lock...
[2025-03-10 01:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:10:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:11:01] Production.INFO: ==15260== Lock acquired, processing the job...
[2025-03-10 05:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:11:01] Production.INFO: neon service started
[2025-03-10 05:11:01] Production.INFO: neon service started
[2025-03-10 05:11:01] Production.INFO: ==15260== Releasing lock...
[2025-03-10 05:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:11:02] Production.INFO: ==15262== Lock acquired, processing the job...
[2025-03-10 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:11:02] Production.INFO: ==15262== Releasing lock...
[2025-03-10 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:11:02] Production.INFO: ==15264== Lock acquired, processing the job...
[2025-03-10 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:11:02] Production.INFO: ==15264== Releasing lock...
[2025-03-10 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:11:03] Production.INFO: ==15269== Lock acquired, processing the job...
[2025-03-10 01:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:11:03] Production.INFO: ==15267== Lock acquired, processing the job...
[2025-03-10 01:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:11:03] Production.INFO: ==15271== Lock acquired, processing the job...
[2025-03-10 01:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:11:03] Production.INFO: ==15273== Lock acquired, processing the job...
[2025-03-10 01:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:11:03] Production.INFO: ==15275== Lock acquired, processing the job...
[2025-03-10 01:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:11:03] Production.INFO: ==15269== Releasing lock...
[2025-03-10 01:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:11:03] Production.INFO: ==15277== Lock acquired, processing the job...
[2025-03-10 01:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:11:03] Production.INFO: Account Balance Start.
[2025-03-10 01:11:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:11:03] Production.INFO: 117
[2025-03-10 01:11:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:11:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:11:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:11:04] Production.INFO: Total Charge 0
[2025-03-10 01:11:04] Production.INFO: CreateAllLog End
[2025-03-10 01: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-03-10 01:11:04] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:11:04] Production.INFO: count ==21
[2025-03-10 01:11:04] Production.ERROR: done
[2025-03-10 01:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646062') start
[2025-03-10 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646062') end
[2025-03-10 01:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:11:04] Production.INFO: 1
[2025-03-10 01:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:11:04] Production.INFO: Account Balance End.
[2025-03-10 01:11:04] Production.INFO: ==15277== Releasing lock...
[2025-03-10 01:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:11:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:11:04] Production.INFO: ==15273== Releasing lock...
[2025-03-10 01:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:11:04] Production.ERROR: done
[2025-03-10 01:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:11:05
[end_date_ymd] => 2025-03-10 01:11:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:11:05' and `end` < '2025-03-10 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-03-10 01:11:11] Production.ERROR: CronJobId end10
[2025-03-10 01:11:11] Production.INFO: ==15271== Releasing lock...
[2025-03-10 01:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:11:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:11:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:11:14] Production.INFO: call_cost start
[2025-03-10 01:11:14] Production.INFO: call_cost end
[2025-03-10 01:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:11:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:11:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:11:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:11:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:11:15] Production.INFO: ==15267== Releasing lock...
[2025-03-10 01:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:11:17] Production.INFO: count ==327
[2025-03-10 01:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:11:05 - End Time 2025-03-10 01:11:05
[2025-03-10 01:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646063', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646063', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646063', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646063', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:11:17] Production.INFO: ProcessCDR(1,14646063,1,1,2)
[2025-03-10 01:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646063', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646063', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:11:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:11:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:11:20] Production.INFO: ==15275== Releasing lock...
[2025-03-10 01:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:11:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:12:01] Production.INFO: ==15333== Lock acquired, processing the job...
[2025-03-10 05:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:12:01] Production.INFO: neon service started
[2025-03-10 05:12:01] Production.INFO: neon service started
[2025-03-10 05:12:01] Production.INFO: ==15333== Releasing lock...
[2025-03-10 05:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:12:01] Production.INFO: ==15337== Lock acquired, processing the job...
[2025-03-10 05:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:12:01] Production.INFO: ==15337== Releasing lock...
[2025-03-10 05:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:12:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:12:01] Production.INFO: ==15335== Lock acquired, processing the job...
[2025-03-10 01:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:12:02] Production.INFO: ==15335== Releasing lock...
[2025-03-10 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:12:03] Production.INFO: ==15348== Lock acquired, processing the job...
[2025-03-10 01:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:12:03] Production.INFO: ==15350== Lock acquired, processing the job...
[2025-03-10 01:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:12:03] Production.INFO: ==15340== Lock acquired, processing the job...
[2025-03-10 01:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:12:03] Production.INFO: ==15342== Lock acquired, processing the job...
[2025-03-10 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:12:03] Production.INFO: ==15344== Lock acquired, processing the job...
[2025-03-10 01:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:12:03] Production.INFO: ==15346== Lock acquired, processing the job...
[2025-03-10 01:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01: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-03-10 01:12:03] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:12:03] Production.INFO: count ==21
[2025-03-10 01:12:03] Production.ERROR: done
[2025-03-10 01:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:12:03] Production.INFO: Account Balance Start.
[2025-03-10 01:12:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646064') start
[2025-03-10 01:12:03] Production.INFO: 117
[2025-03-10 01:12:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:12:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646064') end
[2025-03-10 01:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:12:03] Production.INFO: 1
[2025-03-10 01:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:12:03] Production.ERROR: done
[2025-03-10 01:12:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:12:03] Production.INFO: ==15350== Releasing lock...
[2025-03-10 01:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:12:03] Production.INFO: Total Charge 0
[2025-03-10 01:12:03] Production.INFO: CreateAllLog End
[2025-03-10 01:12:04] Production.INFO: Account Balance End.
[2025-03-10 01:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:12:04] Production.INFO: ==15346== Releasing lock...
[2025-03-10 01:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:12:04] Production.INFO: ==15342== Releasing lock...
[2025-03-10 01:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:12:04
[end_date_ymd] => 2025-03-10 01:12:04
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:12:04' and `end` < '2025-03-10 01: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-03-10 01:12:12] Production.ERROR: CronJobId end10
[2025-03-10 01:12:12] Production.INFO: ==15344== Releasing lock...
[2025-03-10 01:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:12:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:12:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:12:14] Production.INFO: call_cost start
[2025-03-10 01:12:14] Production.INFO: call_cost end
[2025-03-10 01:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:12:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:12:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:12:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:12:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:12:15] Production.INFO: ==15340== Releasing lock...
[2025-03-10 01:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:12:16] Production.INFO: count ==327
[2025-03-10 01:12:16] Production.ERROR: pbx CDR StartTime 2025-03-09 22:12:04 - End Time 2025-03-10 01:12:04
[2025-03-10 01:12:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:12:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646068', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:12:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646068', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:12:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646068', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:12:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646068', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:12:16] Production.INFO: ProcessCDR(1,14646068,1,1,2)
[2025-03-10 01:12:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646068', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646068', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:12:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:12:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:12:20] Production.INFO: ==15348== Releasing lock...
[2025-03-10 01:12:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:12:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:13:01] Production.INFO: ==15407== Lock acquired, processing the job...
[2025-03-10 05:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:13:01] Production.INFO: neon service started
[2025-03-10 05:13:01] Production.INFO: neon service started
[2025-03-10 05:13:01] Production.INFO: ==15407== Releasing lock...
[2025-03-10 05:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:13:02] Production.INFO: ==15409== Lock acquired, processing the job...
[2025-03-10 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:13:02] Production.INFO: ==15409== Releasing lock...
[2025-03-10 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:13:02] Production.INFO: ==15411== Lock acquired, processing the job...
[2025-03-10 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:13:02] Production.INFO: ==15411== Releasing lock...
[2025-03-10 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:13:03] Production.INFO: ==15418== Lock acquired, processing the job...
[2025-03-10 01:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:13:03] Production.INFO: ==15424== Lock acquired, processing the job...
[2025-03-10 01:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:13:03] Production.INFO: ==15414== Lock acquired, processing the job...
[2025-03-10 01:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:13:03] Production.INFO: ==15416== Lock acquired, processing the job...
[2025-03-10 01:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:13:03] Production.INFO: ==15420== Lock acquired, processing the job...
[2025-03-10 01:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:13:03] Production.INFO: ==15422== Lock acquired, processing the job...
[2025-03-10 01:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01: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-03-10 01:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:13:03] Production.INFO: count ==13
[2025-03-10 01:13:03] Production.INFO: Account Balance Start.
[2025-03-10 01:13:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:13:03] Production.INFO: 117
[2025-03-10 01: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-03-10 01:13:03] Production.INFO: count ==21
[2025-03-10 01:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646069') start
[2025-03-10 01:13:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:13:04] Production.INFO: ==15416== Releasing lock...
[2025-03-10 01:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:13:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:13:04] Production.INFO: Total Charge 0
[2025-03-10 01:13:04] Production.INFO: CreateAllLog End
[2025-03-10 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646069') end
[2025-03-10 01:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:13:04] Production.INFO: 1
[2025-03-10 01:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:13:04] Production.ERROR: done
[2025-03-10 01:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:13:04] Production.INFO: ==15424== Releasing lock...
[2025-03-10 01:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:13:04] Production.ERROR: done
[2025-03-10 01:13:04] Production.INFO: Account Balance End.
[2025-03-10 01:13:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:13:04] Production.INFO: ==15420== Releasing lock...
[2025-03-10 01:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:13:05
[end_date_ymd] => 2025-03-10 01:13:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:13:05' and `end` < '2025-03-10 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-03-10 01:13:11] Production.ERROR: CronJobId end10
[2025-03-10 01:13:11] Production.INFO: ==15418== Releasing lock...
[2025-03-10 01:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:13:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:13:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:13:14] Production.INFO: call_cost start
[2025-03-10 01:13:14] Production.INFO: call_cost end
[2025-03-10 01:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:13:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:13:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:13:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:13:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:13:15] Production.INFO: ==15414== Releasing lock...
[2025-03-10 01:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:13:17] Production.INFO: count ==326
[2025-03-10 01:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:13:05 - End Time 2025-03-10 01:13:05
[2025-03-10 01:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646073', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646073', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646073', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646073', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:13:17] Production.INFO: ProcessCDR(1,14646073,1,1,2)
[2025-03-10 01:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646073', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646073', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:13:20] Production.INFO: ==15422== Releasing lock...
[2025-03-10 01:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:13:20] Production.INFO: 31.5 MB #Memory Used#
[2025-03-10 05:14:02] Production.INFO: ==15481== Lock acquired, processing the job...
[2025-03-10 05:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:14:02] Production.INFO: neon service started
[2025-03-10 05:14:02] Production.INFO: neon service started
[2025-03-10 05:14:02] Production.INFO: ==15481== Releasing lock...
[2025-03-10 05:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:14:02] Production.INFO: ==15483== Lock acquired, processing the job...
[2025-03-10 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:14:02] Production.INFO: ==15483== Releasing lock...
[2025-03-10 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:14:03] Production.INFO: ==15486== Lock acquired, processing the job...
[2025-03-10 05:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:14:03] Production.INFO: ==15486== Releasing lock...
[2025-03-10 05:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:14:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:14:03] Production.INFO: ==15488== Lock acquired, processing the job...
[2025-03-10 01:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:14:03] Production.INFO: ==15490== Lock acquired, processing the job...
[2025-03-10 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:14:03] Production.INFO: ==15498== Lock acquired, processing the job...
[2025-03-10 01:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:14:04] Production.INFO: ==15492== Lock acquired, processing the job...
[2025-03-10 01:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01: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-03-10 01:14:04] Production.INFO: ==15494== Lock acquired, processing the job...
[2025-03-10 01:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:14:04] Production.INFO: ==15490== Releasing lock...
[2025-03-10 01:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:14:04] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:14:04] Production.INFO: ==15496== Lock acquired, processing the job...
[2025-03-10 01:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:14:04] Production.INFO: count ==21
[2025-03-10 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646076') start
[2025-03-10 01:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:14:04] Production.INFO: Account Balance Start.
[2025-03-10 01:14:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:14:04] Production.INFO: 117
[2025-03-10 01:14:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646076') end
[2025-03-10 01:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:14:04] Production.INFO: 1
[2025-03-10 01:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:14:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:14:04] Production.INFO: ==15498== Releasing lock...
[2025-03-10 01:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:14:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:14:04] Production.INFO: Total Charge 0
[2025-03-10 01:14:04] Production.INFO: CreateAllLog End
[2025-03-10 01:14:04] Production.ERROR: done
[2025-03-10 01:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:14:04] Production.INFO: Account Balance End.
[2025-03-10 01:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:14:04] Production.INFO: ==15494== Releasing lock...
[2025-03-10 01:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:14:04] Production.ERROR: done
[2025-03-10 01:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:14:05
[end_date_ymd] => 2025-03-10 01:14:05
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:14:05' and `end` < '2025-03-10 01: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-03-10 01:14:12] Production.ERROR: CronJobId end10
[2025-03-10 01:14:12] Production.INFO: ==15492== Releasing lock...
[2025-03-10 01:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:14:14] Production.INFO: call_cost start
[2025-03-10 01:14:14] Production.INFO: call_cost end
[2025-03-10 01:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:14:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:14:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:14:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:14:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:14:15] Production.INFO: ==15488== Releasing lock...
[2025-03-10 01:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:14:18] Production.INFO: count ==328
[2025-03-10 01:14:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:14:05 - End Time 2025-03-10 01:14:05
[2025-03-10 01:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646078', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646078', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646078', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646078', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:14:18] Production.INFO: ProcessCDR(1,14646078,1,1,2)
[2025-03-10 01:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646078', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646078', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:14:21] Production.INFO: ==15496== Releasing lock...
[2025-03-10 01:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:14:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:15:01] Production.INFO: ==15567== Lock acquired, processing the job...
[2025-03-10 05:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:15:01] Production.INFO: neon service started
[2025-03-10 05:15:01] Production.INFO: neon service started
[2025-03-10 05:15:01] Production.INFO: ==15567== Releasing lock...
[2025-03-10 05:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:15:02] Production.INFO: ==15569== Lock acquired, processing the job...
[2025-03-10 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:15:02] Production.INFO: ==15571== Lock acquired, processing the job...
[2025-03-10 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:15:02] Production.INFO: ==15571== Releasing lock...
[2025-03-10 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:15:02] Production.INFO: ==15569== Releasing lock...
[2025-03-10 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:15:03] Production.INFO: ==15576== Lock acquired, processing the job...
[2025-03-10 01:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:15:03] Production.INFO: ==15580== Lock acquired, processing the job...
[2025-03-10 01:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:15:03] Production.INFO: ==15574== Lock acquired, processing the job...
[2025-03-10 01:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:15:03] Production.INFO: Account Balance Start.
[2025-03-10 01:15:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:15:03] Production.INFO: 117
[2025-03-10 01:15:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:15:04] Production.INFO: ==15578== Lock acquired, processing the job...
[2025-03-10 01:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:15:04] Production.INFO: ==15576== Releasing lock...
[2025-03-10 01:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:15:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:15:04] Production.INFO: ==15582== Lock acquired, processing the job...
[2025-03-10 01:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:15:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:15:04] Production.INFO: ==15584== Lock acquired, processing the job...
[2025-03-10 01:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:15:04] Production.INFO: Total Charge 0
[2025-03-10 01:15:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 01:15:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:15:04] Production.INFO: count ==21
[2025-03-10 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646082') start
[2025-03-10 01:15:04] Production.INFO: Account Balance End.
[2025-03-10 01:15:04] Production.ERROR: done
[2025-03-10 01:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:15:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:15:04] Production.INFO: ==15580== Releasing lock...
[2025-03-10 01:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646082') end
[2025-03-10 01:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:15:04] Production.INFO: 1
[2025-03-10 01:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:15:04] Production.INFO: ==15584== Releasing lock...
[2025-03-10 01:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:15:04] Production.ERROR: done
[2025-03-10 01:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:15:06
[end_date_ymd] => 2025-03-10 01:15:06
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:15:06' and `end` < '2025-03-10 01: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-03-10 01:15:12] Production.ERROR: CronJobId end10
[2025-03-10 01:15:12] Production.INFO: ==15578== Releasing lock...
[2025-03-10 01:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:15:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:15:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:15:14] Production.INFO: call_cost start
[2025-03-10 01:15:14] Production.INFO: call_cost end
[2025-03-10 01:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:15:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:15:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:15:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:15:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:15:15] Production.INFO: ==15574== Releasing lock...
[2025-03-10 01:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:15:18] Production.INFO: count ==340
[2025-03-10 01:15:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:15:06 - End Time 2025-03-10 01:15:06
[2025-03-10 01:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646083', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646083', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646083', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646083', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:15:18] Production.INFO: ProcessCDR(1,14646083,1,1,2)
[2025-03-10 01:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646083', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646083', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:15:22] Production.INFO: ==15582== Releasing lock...
[2025-03-10 01:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:15:22] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:16:02] Production.INFO: ==15640== Lock acquired, processing the job...
[2025-03-10 05:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:16:02] Production.INFO: neon service started
[2025-03-10 05:16:02] Production.INFO: neon service started
[2025-03-10 05:16:02] Production.INFO: ==15640== Releasing lock...
[2025-03-10 05:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:16:02] Production.INFO: ==15644== Lock acquired, processing the job...
[2025-03-10 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:16:02] Production.INFO: ==15644== Releasing lock...
[2025-03-10 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:16:02] Production.INFO: ==15642== Lock acquired, processing the job...
[2025-03-10 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:16:03] Production.INFO: ==15642== Releasing lock...
[2025-03-10 01:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:16:04] Production.INFO: ==15646== Lock acquired, processing the job...
[2025-03-10 01:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:16:04] Production.INFO: ==15648== Lock acquired, processing the job...
[2025-03-10 01:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:16:04] Production.INFO: ==15653== Lock acquired, processing the job...
[2025-03-10 01:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:16:04] Production.INFO: ==15650== Lock acquired, processing the job...
[2025-03-10 01:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:16:04] Production.INFO: Account Balance Start.
[2025-03-10 01:16:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:16:04] Production.INFO: 117
[2025-03-10 01:16:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:16:04] Production.INFO: ==15655== Lock acquired, processing the job...
[2025-03-10 01:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:16:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:16:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:16:04] Production.INFO: ==15657== Lock acquired, processing the job...
[2025-03-10 01:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:16:04] Production.INFO: Total Charge 0
[2025-03-10 01:16:04] Production.INFO: CreateAllLog End
[2025-03-10 01: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-03-10 01:16:04] Production.INFO: ==15648== Releasing lock...
[2025-03-10 01:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:16:04] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:16:04] Production.INFO: count ==21
[2025-03-10 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646087') start
[2025-03-10 01:16:04] Production.INFO: Account Balance End.
[2025-03-10 01:16:04] Production.ERROR: done
[2025-03-10 01:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:16:04] Production.INFO: ==15653== Releasing lock...
[2025-03-10 01:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646087') end
[2025-03-10 01:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:16:04] Production.INFO: 1
[2025-03-10 01:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:16:05] Production.INFO: ==15657== Releasing lock...
[2025-03-10 01:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:16:05] Production.ERROR: done
[2025-03-10 01:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:16:06
[end_date_ymd] => 2025-03-10 01:16:06
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:16:06' and `end` < '2025-03-10 01: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-03-10 01:16:13] Production.ERROR: CronJobId end10
[2025-03-10 01:16:13] Production.INFO: ==15650== Releasing lock...
[2025-03-10 01:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:16:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:16:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:16:14] Production.INFO: call_cost start
[2025-03-10 01:16:14] Production.INFO: call_cost end
[2025-03-10 01:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:16:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:16:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:16:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:16:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:16:15] Production.INFO: ==15646== Releasing lock...
[2025-03-10 01:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:16:18] Production.INFO: count ==348
[2025-03-10 01:16:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:16:06 - End Time 2025-03-10 01:16:06
[2025-03-10 01:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646088', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646088', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646088', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646088', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:16:18] Production.INFO: ProcessCDR(1,14646088,1,1,2)
[2025-03-10 01:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646088', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646088', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:16:21] Production.INFO: ==15655== Releasing lock...
[2025-03-10 01:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:16:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:17:01] Production.INFO: ==15713== Lock acquired, processing the job...
[2025-03-10 05:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:17:01] Production.INFO: neon service started
[2025-03-10 05:17:01] Production.INFO: neon service started
[2025-03-10 05:17:01] Production.INFO: ==15713== Releasing lock...
[2025-03-10 05:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:17:02] Production.INFO: ==15715== Lock acquired, processing the job...
[2025-03-10 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:17:02] Production.INFO: ==15715== Releasing lock...
[2025-03-10 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:17:02] Production.INFO: ==15717== Lock acquired, processing the job...
[2025-03-10 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:17:02] Production.INFO: ==15717== Releasing lock...
[2025-03-10 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:17:03] Production.INFO: ==15725== Lock acquired, processing the job...
[2025-03-10 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:17:03] Production.INFO: ==15719== Lock acquired, processing the job...
[2025-03-10 01:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:17:03] Production.INFO: Account Balance Start.
[2025-03-10 01:17:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:17:03] Production.INFO: ==15721== Lock acquired, processing the job...
[2025-03-10 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:17:03] Production.INFO: 117
[2025-03-10 01:17:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:17:03] Production.INFO: ==15723== Lock acquired, processing the job...
[2025-03-10 01:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:17:03] Production.INFO: ==15729== Lock acquired, processing the job...
[2025-03-10 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:17:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:17:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:17:03] Production.INFO: ==15727== Lock acquired, processing the job...
[2025-03-10 01:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:17:03] Production.INFO: Total Charge 0
[2025-03-10 01: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-03-10 01:17:03] Production.INFO: CreateAllLog End
[2025-03-10 01:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:17:03] Production.INFO: ==15721== Releasing lock...
[2025-03-10 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:17:03] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:17:03] Production.INFO: count ==21
[2025-03-10 01:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646092') start
[2025-03-10 01:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646092') end
[2025-03-10 01:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:17:03] Production.INFO: 1
[2025-03-10 01:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:17:03] Production.INFO: Account Balance End.
[2025-03-10 01:17:03] Production.INFO: ==15729== Releasing lock...
[2025-03-10 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:17:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:17:04] Production.INFO: ==15725== Releasing lock...
[2025-03-10 01:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:17:04] Production.ERROR: done
[2025-03-10 01:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:17:04] Production.ERROR: done
[2025-03-10 01:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:17:05
[end_date_ymd] => 2025-03-10 01:17:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:17:05' and `end` < '2025-03-10 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-03-10 01:17:11] Production.ERROR: CronJobId end10
[2025-03-10 01:17:11] Production.INFO: ==15723== Releasing lock...
[2025-03-10 01:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:17:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:17:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:17:13] Production.INFO: call_cost start
[2025-03-10 01:17:13] Production.INFO: call_cost end
[2025-03-10 01:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:17:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:17:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:17:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:17:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:17:14] Production.INFO: ==15719== Releasing lock...
[2025-03-10 01:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:17:17] Production.INFO: count ==348
[2025-03-10 01:17:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:17:05 - End Time 2025-03-10 01:17:05
[2025-03-10 01:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646093', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646093', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646093', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646093', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:17:17] Production.INFO: ProcessCDR(1,14646093,1,1,2)
[2025-03-10 01:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646093', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646093', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:17:20] Production.INFO: ==15727== Releasing lock...
[2025-03-10 01:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:17:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:18:02] Production.INFO: ==15799== Lock acquired, processing the job...
[2025-03-10 05:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:18:02] Production.INFO: neon service started
[2025-03-10 05:18:02] Production.INFO: neon service started
[2025-03-10 05:18:02] Production.INFO: ==15799== Releasing lock...
[2025-03-10 05:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:18:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 01:18:02] Production.INFO: ==15801== Lock acquired, processing the job...
[2025-03-10 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:18:02] Production.INFO: ==15803== Lock acquired, processing the job...
[2025-03-10 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:18:02] Production.INFO: ==15803== Releasing lock...
[2025-03-10 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:18:03] Production.INFO: ==15801== Releasing lock...
[2025-03-10 01:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:18:03] Production.INFO: ==15806== Lock acquired, processing the job...
[2025-03-10 01:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:18:03] Production.INFO: ==15810== Lock acquired, processing the job...
[2025-03-10 01:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:18:04] Production.INFO: ==15816== Lock acquired, processing the job...
[2025-03-10 01:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01: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-03-10 01:18:04] Production.INFO: count ==13
[2025-03-10 01:18:04] Production.INFO: ==15808== Lock acquired, processing the job...
[2025-03-10 01:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01: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-03-10 01:18:04] Production.INFO: count ==21
[2025-03-10 01:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646095') start
[2025-03-10 01:18:04] Production.INFO: ==15812== Lock acquired, processing the job...
[2025-03-10 01:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:18:04] Production.INFO: ==15814== Lock acquired, processing the job...
[2025-03-10 01:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646095') end
[2025-03-10 01:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:18:04] Production.INFO: 1
[2025-03-10 01:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:18:04] Production.INFO: ==15816== Releasing lock...
[2025-03-10 01:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:18:04] Production.INFO: Account Balance Start.
[2025-03-10 01:18:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:18:04] Production.INFO: 117
[2025-03-10 01:18:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:18:04] Production.INFO: ==15808== Releasing lock...
[2025-03-10 01:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:18:04] Production.INFO: Total Charge 0
[2025-03-10 01:18:04] Production.INFO: CreateAllLog End
[2025-03-10 01:18:04] Production.ERROR: done
[2025-03-10 01:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:18:05] Production.ERROR: done
[2025-03-10 01:18:05] Production.INFO: Account Balance End.
[2025-03-10 01:18:05] Production.ERROR: CronJobId end 12
[2025-03-10 01:18:05] Production.INFO: ==15812== Releasing lock...
[2025-03-10 01:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:18:06
[end_date_ymd] => 2025-03-10 01:18:06
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:18:06' and `end` < '2025-03-10 01: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-03-10 01:18:12] Production.ERROR: CronJobId end10
[2025-03-10 01:18:12] Production.INFO: ==15810== Releasing lock...
[2025-03-10 01:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:18:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:18:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:18:14] Production.INFO: call_cost start
[2025-03-10 01:18:14] Production.INFO: call_cost end
[2025-03-10 01:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:18:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:18:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:18:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:18:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:18:15] Production.INFO: ==15806== Releasing lock...
[2025-03-10 01:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:18:18] Production.INFO: count ==348
[2025-03-10 01:18:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:18:06 - End Time 2025-03-10 01:18:06
[2025-03-10 01:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646098', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646098', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646098', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646098', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:18:18] Production.INFO: ProcessCDR(1,14646098,1,1,2)
[2025-03-10 01:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646098', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646098', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:18:21] Production.INFO: ==15814== Releasing lock...
[2025-03-10 01:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:18:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:19:01] Production.INFO: ==15871== Lock acquired, processing the job...
[2025-03-10 05:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:19:01] Production.INFO: neon service started
[2025-03-10 05:19:01] Production.INFO: neon service started
[2025-03-10 05:19:01] Production.INFO: ==15871== Releasing lock...
[2025-03-10 05:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:19:02] Production.INFO: ==15873== Lock acquired, processing the job...
[2025-03-10 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:19:02] Production.INFO: ==15873== Releasing lock...
[2025-03-10 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:19:02] Production.INFO: ==15875== Lock acquired, processing the job...
[2025-03-10 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:19:02] Production.INFO: ==15875== Releasing lock...
[2025-03-10 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:19:03] Production.INFO: ==15878== Lock acquired, processing the job...
[2025-03-10 01:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:19:03] Production.INFO: ==15880== Lock acquired, processing the job...
[2025-03-10 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:19:03] Production.INFO: ==15884== Lock acquired, processing the job...
[2025-03-10 01:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:19:03] Production.INFO: ==15882== Lock acquired, processing the job...
[2025-03-10 01:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:19:03] Production.INFO: Account Balance Start.
[2025-03-10 01:19:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:19:03] Production.INFO: 117
[2025-03-10 01:19:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:19:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:19:03] Production.INFO: ==15880== Releasing lock...
[2025-03-10 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:19:03] Production.INFO: ==15886== Lock acquired, processing the job...
[2025-03-10 01:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:19:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:19:03] Production.INFO: ==15888== Lock acquired, processing the job...
[2025-03-10 01:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:19:03] Production.INFO: Total Charge 0
[2025-03-10 01:19:03] Production.INFO: CreateAllLog End
[2025-03-10 01:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01: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-03-10 01:19:03] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:19:03] Production.INFO: count ==21
[2025-03-10 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646102') start
[2025-03-10 01:19:03] Production.ERROR: done
[2025-03-10 01:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646102') end
[2025-03-10 01:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:19:03] Production.INFO: 1
[2025-03-10 01:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:19:04] Production.INFO: Account Balance End.
[2025-03-10 01:19:04] Production.ERROR: done
[2025-03-10 01:19:04] Production.INFO: ==15888== Releasing lock...
[2025-03-10 01:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:19:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:19:04] Production.INFO: ==15884== Releasing lock...
[2025-03-10 01:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:19:05
[end_date_ymd] => 2025-03-10 01:19:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:19:05' and `end` < '2025-03-10 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-03-10 01:19:11] Production.ERROR: CronJobId end10
[2025-03-10 01:19:11] Production.INFO: ==15882== Releasing lock...
[2025-03-10 01:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:19:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:19:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:19:14] Production.INFO: call_cost start
[2025-03-10 01:19:14] Production.INFO: call_cost end
[2025-03-10 01:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:19:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:19:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:19:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:19:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:19:15] Production.INFO: ==15878== Releasing lock...
[2025-03-10 01:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:19:17] Production.INFO: count ==348
[2025-03-10 01:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:19:05 - End Time 2025-03-10 01:19:05
[2025-03-10 01:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646103', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646103', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646103', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646103', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:19:17] Production.INFO: ProcessCDR(1,14646103,1,1,2)
[2025-03-10 01:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646103', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646103', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:19:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:19:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:19:20] Production.INFO: ==15886== Releasing lock...
[2025-03-10 01:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:19:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:20:02] Production.INFO: ==15945== Lock acquired, processing the job...
[2025-03-10 05:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:20:02] Production.INFO: neon service started
[2025-03-10 05:20:02] Production.INFO: neon service started
[2025-03-10 05:20:02] Production.INFO: ==15945== Releasing lock...
[2025-03-10 05:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:20:02] Production.INFO: ==15947== Lock acquired, processing the job...
[2025-03-10 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:20:02] Production.INFO: ==15949== Lock acquired, processing the job...
[2025-03-10 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:20:02] Production.INFO: ==15949== Releasing lock...
[2025-03-10 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:20:03] Production.INFO: ==15947== Releasing lock...
[2025-03-10 01:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:20:04] Production.INFO: ==15951== Lock acquired, processing the job...
[2025-03-10 01:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 01:20:04] Production.INFO: ==15953== Lock acquired, processing the job...
[2025-03-10 01:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:20:04] Production.INFO: ==15958== Lock acquired, processing the job...
[2025-03-10 01:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:20:04] Production.INFO: ==15955== Lock acquired, processing the job...
[2025-03-10 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 01:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 01:20:04] Production.ERROR: CronJob PID - 15953
[2025-03-10 01:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 01:20:04] Production.ERROR: CronJob ID - 5
[2025-03-10 01:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 01:20:00
[2025-03-10 01:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 01:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 01:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 01:20:04] Production.ERROR: CronJob PID - 15958
[2025-03-10 01:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 01:20:04] Production.ERROR: CronJob ID - 10
[2025-03-10 01:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 01:20:00
[2025-03-10 01:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 01:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 01:20:04] Production.INFO: ==15960== Lock acquired, processing the job...
[2025-03-10 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 01:20:04] Production.INFO: ==15951== Releasing lock...
[2025-03-10 01:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 01:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 01:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:20:04] Production.INFO: ==15962== Lock acquired, processing the job...
[2025-03-10 01:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:20:04] Production.INFO: ==15964== Lock acquired, processing the job...
[2025-03-10 01:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 01:20:04] Production.INFO: Account Balance Start.
[2025-03-10 01:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:20:04] Production.INFO: 117
[2025-03-10 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:20:04] Production.INFO: ==15966== Lock acquired, processing the job...
[2025-03-10 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:20:04] Production.INFO: ==15955== Releasing lock...
[2025-03-10 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:20:04] Production.INFO: Total Charge 0
[2025-03-10 01:20:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 01:20:04] Production.INFO: count ==13
[2025-03-10 01:20:04] Production.ERROR: done
[2025-03-10 01:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01: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-03-10 01:20:05] Production.INFO: count ==21
[2025-03-10 01:20:05] Production.INFO: Account Balance End.
[2025-03-10 01:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646107') start
[2025-03-10 01:20:05] Production.ERROR: done
[2025-03-10 01:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 01:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646108', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 01:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646107') end
[2025-03-10 01:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:20:05] Production.INFO: 1
[2025-03-10 01:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:20:05] Production.ERROR: CronJobId end 12
[2025-03-10 01:20:05] Production.INFO: ==15960== Releasing lock...
[2025-03-10 01:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:20:05] Production.INFO: ==15966== Releasing lock...
[2025-03-10 01:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:20:05] Production.ERROR: done
[2025-03-10 01:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:20:06
[end_date_ymd] => 2025-03-10 01:20:06
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:20:06' and `end` < '2025-03-10 01: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-03-10 01:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646108', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 01:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 01:20:09] Production.INFO: ProcessCDR(1,14646108,1,1,2)
[2025-03-10 01:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646108,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646108,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:20:09] Production.INFO: ==15964== Releasing lock...
[2025-03-10 01:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 01:20:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 01:20:14] Production.ERROR: CronJobId end10
[2025-03-10 01:20:14] Production.INFO: ==15958== Releasing lock...
[2025-03-10 01:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:20:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:20:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:20:16] Production.INFO: call_cost start
[2025-03-10 01:20:16] Production.INFO: call_cost end
[2025-03-10 01:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:20:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:20:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:20:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:20:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:20:17] Production.INFO: ==15953== Releasing lock...
[2025-03-10 01:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:20:18] Production.INFO: count ==356
[2025-03-10 01:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:20:06 - End Time 2025-03-10 01:20:06
[2025-03-10 01:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646109', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646109', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646109', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646109', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:20:18] Production.INFO: ProcessCDR(1,14646109,1,1,2)
[2025-03-10 01:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646109', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646109', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:20:21] Production.INFO: ==15962== Releasing lock...
[2025-03-10 01:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:20:21] Production.INFO: 31.5 MB #Memory Used#
[2025-03-10 05:21:01] Production.INFO: ==16021== Lock acquired, processing the job...
[2025-03-10 05:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:21:01] Production.INFO: neon service started
[2025-03-10 05:21:01] Production.INFO: neon service started
[2025-03-10 05:21:01] Production.INFO: ==16021== Releasing lock...
[2025-03-10 05:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:21:02] Production.INFO: ==16023== Lock acquired, processing the job...
[2025-03-10 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:21:02] Production.INFO: ==16025== Lock acquired, processing the job...
[2025-03-10 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:21:02] Production.INFO: ==16025== Releasing lock...
[2025-03-10 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:21:02] Production.INFO: ==16023== Releasing lock...
[2025-03-10 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:21:03] Production.INFO: ==16028== Lock acquired, processing the job...
[2025-03-10 01:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:21:03] Production.INFO: ==16032== Lock acquired, processing the job...
[2025-03-10 01:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:21:03] Production.INFO: ==16030== Lock acquired, processing the job...
[2025-03-10 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:21:03] Production.INFO: ==16036== Lock acquired, processing the job...
[2025-03-10 01:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:21:03] Production.INFO: ==16034== Lock acquired, processing the job...
[2025-03-10 01:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:21:03] Production.INFO: ==16038== Lock acquired, processing the job...
[2025-03-10 01:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:21:03] Production.INFO: Account Balance Start.
[2025-03-10 01:21:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:21:03] Production.INFO: 117
[2025-03-10 01:21:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:21:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:21:03] Production.INFO: ==16030== Releasing lock...
[2025-03-10 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 01:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:21:04] Production.INFO: count ==13
[2025-03-10 01:21:04] Production.ERROR: done
[2025-03-10 01:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 01:21:04] Production.INFO: count ==21
[2025-03-10 01:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646113') start
[2025-03-10 01:21:04] Production.INFO: Total Charge 0
[2025-03-10 01:21:04] Production.INFO: CreateAllLog End
[2025-03-10 01:21:04] Production.ERROR: done
[2025-03-10 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646113') end
[2025-03-10 01:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:21:04] Production.INFO: 1
[2025-03-10 01:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:21:04] Production.INFO: ==16038== Releasing lock...
[2025-03-10 01:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:21:04] Production.INFO: Account Balance End.
[2025-03-10 01:21:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:21:04] Production.INFO: ==16034== Releasing lock...
[2025-03-10 01:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:21:05
[end_date_ymd] => 2025-03-10 01:21:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:21:05' and `end` < '2025-03-10 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-03-10 01:21:11] Production.ERROR: CronJobId end10
[2025-03-10 01:21:11] Production.INFO: ==16032== Releasing lock...
[2025-03-10 01:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:21:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:21:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:21:14] Production.INFO: call_cost start
[2025-03-10 01:21:14] Production.INFO: call_cost end
[2025-03-10 01:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:21:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:21:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:21:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:21:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:21:15] Production.INFO: ==16028== Releasing lock...
[2025-03-10 01:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:21:17] Production.INFO: count ==352
[2025-03-10 01:21:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:21:05 - End Time 2025-03-10 01:21:05
[2025-03-10 01:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646114', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646114', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646114', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646114', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:21:17] Production.INFO: ProcessCDR(1,14646114,1,1,2)
[2025-03-10 01:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646114', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646114', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:21:20] Production.INFO: ==16036== Releasing lock...
[2025-03-10 01:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:21:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:22:02] Production.INFO: ==16098== Lock acquired, processing the job...
[2025-03-10 05:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:22:02] Production.INFO: neon service started
[2025-03-10 05:22:02] Production.INFO: neon service started
[2025-03-10 05:22:02] Production.INFO: ==16098== Releasing lock...
[2025-03-10 05:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:22:02] Production.INFO: ==16100== Lock acquired, processing the job...
[2025-03-10 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:22:02] Production.INFO: ==16100== Releasing lock...
[2025-03-10 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:22:02] Production.INFO: ==16102== Lock acquired, processing the job...
[2025-03-10 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:22:02] Production.INFO: ==16102== Releasing lock...
[2025-03-10 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:22:03] Production.INFO: ==16108== Lock acquired, processing the job...
[2025-03-10 01:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:22:03] Production.INFO: ==16114== Lock acquired, processing the job...
[2025-03-10 01:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:22:03] Production.INFO: ==16104== Lock acquired, processing the job...
[2025-03-10 01:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:22:03] Production.INFO: ==16106== Lock acquired, processing the job...
[2025-03-10 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:22:03] Production.INFO: ==16112== Lock acquired, processing the job...
[2025-03-10 01:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01: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-03-10 01:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:22:03] Production.INFO: count ==13
[2025-03-10 01:22:03] Production.INFO: ==16110== Lock acquired, processing the job...
[2025-03-10 01:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01: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-03-10 01:22:03] Production.INFO: count ==21
[2025-03-10 01:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646115') start
[2025-03-10 01:22:04] Production.INFO: Account Balance Start.
[2025-03-10 01:22:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646115') end
[2025-03-10 01:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:22:04] Production.INFO: 1
[2025-03-10 01:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:22:04] Production.INFO: 117
[2025-03-10 01:22:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:22:04] Production.ERROR: done
[2025-03-10 01:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:22:04] Production.INFO: ==16114== Releasing lock...
[2025-03-10 01:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:22:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:22:04] Production.INFO: ==16106== Releasing lock...
[2025-03-10 01:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:22:04] Production.ERROR: done
[2025-03-10 01:22:04] Production.INFO: Total Charge 0
[2025-03-10 01:22:04] Production.INFO: CreateAllLog End
[2025-03-10 01:22:04] Production.INFO: Account Balance End.
[2025-03-10 01:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:22:04] Production.INFO: ==16110== Releasing lock...
[2025-03-10 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:22:05
[end_date_ymd] => 2025-03-10 01:22:05
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:22:05' and `end` < '2025-03-10 01: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-03-10 01:22:11] Production.ERROR: CronJobId end10
[2025-03-10 01:22:11] Production.INFO: ==16108== Releasing lock...
[2025-03-10 01:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:22:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:22:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:22:14] Production.INFO: call_cost start
[2025-03-10 01:22:14] Production.INFO: call_cost end
[2025-03-10 01:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:22:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:22:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:22:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:22:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:22:15] Production.INFO: ==16104== Releasing lock...
[2025-03-10 01:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:22:17] Production.INFO: count ==352
[2025-03-10 01:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:22:05 - End Time 2025-03-10 01:22:05
[2025-03-10 01:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646119', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646119', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646119', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646119', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:22:17] Production.INFO: ProcessCDR(1,14646119,1,1,2)
[2025-03-10 01:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646119', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646119', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:22:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:22:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:22:20] Production.INFO: ==16112== Releasing lock...
[2025-03-10 01:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:22:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:23:01] Production.INFO: ==16173== Lock acquired, processing the job...
[2025-03-10 05:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:23:01] Production.INFO: neon service started
[2025-03-10 05:23:01] Production.INFO: neon service started
[2025-03-10 05:23:01] Production.INFO: ==16173== Releasing lock...
[2025-03-10 05:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:23:01] Production.INFO: ==16177== Lock acquired, processing the job...
[2025-03-10 05:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:23:01] Production.INFO: ==16177== Releasing lock...
[2025-03-10 05:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:23:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:23:02] Production.INFO: ==16175== Lock acquired, processing the job...
[2025-03-10 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:23:02] Production.INFO: ==16175== Releasing lock...
[2025-03-10 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:23:03] Production.INFO: ==16183== Lock acquired, processing the job...
[2025-03-10 01:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:23:03] Production.INFO: ==16190== Lock acquired, processing the job...
[2025-03-10 01:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:23:03] Production.INFO: ==16179== Lock acquired, processing the job...
[2025-03-10 01:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 01:23:03] Production.INFO: count ==13
[2025-03-10 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-03-10 01:23:03] Production.INFO: count ==21
[2025-03-10 01:23:03] Production.INFO: ==16181== Lock acquired, processing the job...
[2025-03-10 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646120') start
[2025-03-10 01:23:03] Production.INFO: ==16185== Lock acquired, processing the job...
[2025-03-10 01:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:23:03] Production.INFO: ==16187== Lock acquired, processing the job...
[2025-03-10 01:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646120') end
[2025-03-10 01:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:23:03] Production.INFO: 1
[2025-03-10 01:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:23:03] Production.INFO: Account Balance Start.
[2025-03-10 01:23:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:23:03] Production.INFO: 117
[2025-03-10 01:23:03] Production.INFO: ==16190== Releasing lock...
[2025-03-10 01:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:23:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:23:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:23:03] Production.INFO: ==16181== Releasing lock...
[2025-03-10 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:23:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:23:04] Production.INFO: Total Charge 0
[2025-03-10 01:23:04] Production.INFO: CreateAllLog End
[2025-03-10 01:23:04] Production.ERROR: done
[2025-03-10 01:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:23:04] Production.ERROR: done
[2025-03-10 01:23:04] Production.INFO: Account Balance End.
[2025-03-10 01:23:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:23:04] Production.INFO: ==16185== Releasing lock...
[2025-03-10 01:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:23:05
[end_date_ymd] => 2025-03-10 01:23:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:23:05' and `end` < '2025-03-10 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-03-10 01:23:11] Production.ERROR: CronJobId end10
[2025-03-10 01:23:11] Production.INFO: ==16183== Releasing lock...
[2025-03-10 01:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:23:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:23:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:23:14] Production.INFO: call_cost start
[2025-03-10 01:23:14] Production.INFO: call_cost end
[2025-03-10 01:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:23:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:23:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:23:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:23:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:23:15] Production.INFO: ==16179== Releasing lock...
[2025-03-10 01:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:23:17] Production.INFO: count ==352
[2025-03-10 01:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:23:05 - End Time 2025-03-10 01:23:05
[2025-03-10 01:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646124', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646124', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646124', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646124', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:23:17] Production.INFO: ProcessCDR(1,14646124,1,1,2)
[2025-03-10 01:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646124', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646124', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:23:20] Production.INFO: ==16187== Releasing lock...
[2025-03-10 01:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:23:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:24:02] Production.INFO: ==16242== Lock acquired, processing the job...
[2025-03-10 05:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:24:02] Production.INFO: neon service started
[2025-03-10 05:24:02] Production.INFO: neon service started
[2025-03-10 05:24:02] Production.INFO: ==16242== Releasing lock...
[2025-03-10 05:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:24:02] Production.INFO: ==16266== Lock acquired, processing the job...
[2025-03-10 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:24:02] Production.INFO: ==16270== Lock acquired, processing the job...
[2025-03-10 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:24:02] Production.INFO: ==16270== Releasing lock...
[2025-03-10 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:24:03] Production.INFO: ==16266== Releasing lock...
[2025-03-10 01:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:24:04] Production.INFO: ==16288== Lock acquired, processing the job...
[2025-03-10 01:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:24:04] Production.INFO: ==16290== Lock acquired, processing the job...
[2025-03-10 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:24:04] Production.INFO: ==16294== Lock acquired, processing the job...
[2025-03-10 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:24:04] Production.INFO: Account Balance Start.
[2025-03-10 01:24:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:24:04] Production.INFO: 117
[2025-03-10 01:24:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:24:04] Production.INFO: ==16292== Lock acquired, processing the job...
[2025-03-10 01:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:24:04] Production.INFO: ==16296== Lock acquired, processing the job...
[2025-03-10 01:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:24:04] Production.INFO: ==16298== Lock acquired, processing the job...
[2025-03-10 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:24:04] Production.INFO: Total Charge 0
[2025-03-10 01:24:04] Production.INFO: CreateAllLog End
[2025-03-10 01:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:24:04] Production.INFO: ==16290== Releasing lock...
[2025-03-10 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 01:24:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:24:04] Production.INFO: count ==21
[2025-03-10 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646128') start
[2025-03-10 01:24:04] Production.INFO: Account Balance End.
[2025-03-10 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646128') end
[2025-03-10 01:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:24:04] Production.INFO: 1
[2025-03-10 01:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:24:04] Production.ERROR: done
[2025-03-10 01:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:24:04] Production.INFO: ==16294== Releasing lock...
[2025-03-10 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:24:05] Production.INFO: ==16298== Releasing lock...
[2025-03-10 01:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:24:05] Production.ERROR: done
[2025-03-10 01:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:24:06
[end_date_ymd] => 2025-03-10 01:24:06
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:24:06' and `end` < '2025-03-10 01: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-03-10 01:24:12] Production.ERROR: CronJobId end10
[2025-03-10 01:24:12] Production.INFO: ==16292== Releasing lock...
[2025-03-10 01:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:24:15] Production.INFO: call_cost start
[2025-03-10 01:24:15] Production.INFO: call_cost end
[2025-03-10 01:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:24:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:24:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:24:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:24:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:24:15] Production.INFO: ==16288== Releasing lock...
[2025-03-10 01:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:24:18] Production.INFO: count ==351
[2025-03-10 01:24:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:24:06 - End Time 2025-03-10 01:24:06
[2025-03-10 01:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646129', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646129', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646129', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646129', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:24:18] Production.INFO: ProcessCDR(1,14646129,1,1,2)
[2025-03-10 01:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646129', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646129', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:24:21] Production.INFO: ==16296== Releasing lock...
[2025-03-10 01:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:24:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 05:25:01] Production.INFO: ==16350== Lock acquired, processing the job...
[2025-03-10 05:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:25:01] Production.INFO: neon service started
[2025-03-10 05:25:01] Production.INFO: neon service started
[2025-03-10 05:25:01] Production.INFO: ==16350== Releasing lock...
[2025-03-10 05:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:25:01] Production.INFO: ==16353== Lock acquired, processing the job...
[2025-03-10 01:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:25:02] Production.INFO: ==16353== Releasing lock...
[2025-03-10 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:25:02] Production.INFO: ==16355== Lock acquired, processing the job...
[2025-03-10 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:25:02] Production.INFO: ==16355== Releasing lock...
[2025-03-10 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:25:02] Production.INFO: ==16357== Lock acquired, processing the job...
[2025-03-10 01:25:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:25:03] Production.INFO: ==16359== Lock acquired, processing the job...
[2025-03-10 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:25:03] Production.INFO: ==16367== Lock acquired, processing the job...
[2025-03-10 01:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 01:25:03] Production.INFO: count ==13
[2025-03-10 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-03-10 01:25:03] Production.INFO: count ==21
[2025-03-10 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646131') start
[2025-03-10 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646131') end
[2025-03-10 01:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:25:03] Production.INFO: 1
[2025-03-10 01:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:25:03] Production.INFO: ==16367== Releasing lock...
[2025-03-10 01:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:25:03] Production.INFO: ==16359== Releasing lock...
[2025-03-10 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:25:03] Production.INFO: ==16361== Lock acquired, processing the job...
[2025-03-10 01:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:25:03] Production.INFO: ==16363== Lock acquired, processing the job...
[2025-03-10 01:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:25:03] Production.INFO: ==16365== Lock acquired, processing the job...
[2025-03-10 01:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:25:03] Production.INFO: Account Balance Start.
[2025-03-10 01:25:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:25:03] Production.INFO: 117
[2025-03-10 01:25:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:25:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:25:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:25:03] Production.INFO: Total Charge 0
[2025-03-10 01:25:03] Production.INFO: CreateAllLog End
[2025-03-10 01:25:03] Production.ERROR: done
[2025-03-10 01:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:25:04] Production.INFO: Account Balance End.
[2025-03-10 01:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:25:04] Production.INFO: ==16363== Releasing lock...
[2025-03-10 01:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:25:04] Production.ERROR: done
[2025-03-10 01:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:25:04
[end_date_ymd] => 2025-03-10 01:25:04
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:25:04' and `end` < '2025-03-10 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-03-10 01:25:12] Production.ERROR: CronJobId end10
[2025-03-10 01:25:12] Production.INFO: ==16361== Releasing lock...
[2025-03-10 01:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:25:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:25:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:25:13] Production.INFO: call_cost start
[2025-03-10 01:25:13] Production.INFO: call_cost end
[2025-03-10 01:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:25:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:25:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:25:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:25:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:25:14] Production.INFO: ==16357== Releasing lock...
[2025-03-10 01:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:25:17] Production.INFO: count ==353
[2025-03-10 01:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:25:04 - End Time 2025-03-10 01:25:04
[2025-03-10 01:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646134', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646134', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646134', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646134', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:25:17] Production.INFO: ProcessCDR(1,14646134,1,1,2)
[2025-03-10 01:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646134', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646134', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:25:20] Production.INFO: ==16365== Releasing lock...
[2025-03-10 01:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:25:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:26:02] Production.INFO: ==16424== Lock acquired, processing the job...
[2025-03-10 05:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:26:02] Production.INFO: neon service started
[2025-03-10 05:26:02] Production.INFO: neon service started
[2025-03-10 05:26:02] Production.INFO: ==16424== Releasing lock...
[2025-03-10 05:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:26:02] Production.INFO: ==16426== Lock acquired, processing the job...
[2025-03-10 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:26:02] Production.INFO: ==16426== Releasing lock...
[2025-03-10 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:26:02] Production.INFO: ==16428== Lock acquired, processing the job...
[2025-03-10 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:26:03] Production.INFO: ==16428== Releasing lock...
[2025-03-10 05:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:26:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:26:03] Production.INFO: ==16431== Lock acquired, processing the job...
[2025-03-10 01:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:26:03] Production.INFO: ==16437== Lock acquired, processing the job...
[2025-03-10 01:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:26:03] Production.INFO: ==16433== Lock acquired, processing the job...
[2025-03-10 01:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:26:03] Production.INFO: ==16435== Lock acquired, processing the job...
[2025-03-10 01:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:26:03] Production.INFO: Account Balance Start.
[2025-03-10 01:26:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:26:03] Production.INFO: 117
[2025-03-10 01:26:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:26:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:26:03] Production.INFO: ==16439== Lock acquired, processing the job...
[2025-03-10 01:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:26:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:26:03] Production.INFO: ==16441== Lock acquired, processing the job...
[2025-03-10 01:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:26:03] Production.INFO: Total Charge 0
[2025-03-10 01:26:03] Production.INFO: CreateAllLog End
[2025-03-10 01:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01: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-03-10 01:26:04] Production.INFO: count ==13
[2025-03-10 01:26:04] Production.INFO: ==16433== Releasing lock...
[2025-03-10 01:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 01:26:04] Production.INFO: count ==21
[2025-03-10 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646138') start
[2025-03-10 01:26:04] Production.INFO: Account Balance End.
[2025-03-10 01:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:26:04] Production.INFO: ==16437== Releasing lock...
[2025-03-10 01:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:26:04] Production.ERROR: done
[2025-03-10 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646138') end
[2025-03-10 01:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:26:04] Production.INFO: 1
[2025-03-10 01:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:26:04] Production.INFO: ==16441== Releasing lock...
[2025-03-10 01:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:26:04] Production.ERROR: done
[2025-03-10 01:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:26:05
[end_date_ymd] => 2025-03-10 01:26:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:26:05' and `end` < '2025-03-10 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-03-10 01:26:12] Production.ERROR: CronJobId end10
[2025-03-10 01:26:12] Production.INFO: ==16435== Releasing lock...
[2025-03-10 01:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:26:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:26:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:26:14] Production.INFO: call_cost start
[2025-03-10 01:26:14] Production.INFO: call_cost end
[2025-03-10 01:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:26:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:26:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:26:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:26:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:26:15] Production.INFO: ==16431== Releasing lock...
[2025-03-10 01:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:26:17] Production.INFO: count ==352
[2025-03-10 01:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:26:05 - End Time 2025-03-10 01:26:05
[2025-03-10 01:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646139', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646139', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646139', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646139', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:26:17] Production.INFO: ProcessCDR(1,14646139,1,1,2)
[2025-03-10 01:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646139', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646139', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:26:21] Production.INFO: ==16439== Releasing lock...
[2025-03-10 01:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:26:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:27:01] Production.INFO: ==16497== Lock acquired, processing the job...
[2025-03-10 05:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:27:01] Production.INFO: neon service started
[2025-03-10 05:27:01] Production.INFO: neon service started
[2025-03-10 05:27:01] Production.INFO: ==16497== Releasing lock...
[2025-03-10 05:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:27:01] Production.INFO: ==16499== Lock acquired, processing the job...
[2025-03-10 01:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:27:02] Production.INFO: ==16499== Releasing lock...
[2025-03-10 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:27:02] Production.INFO: ==16501== Lock acquired, processing the job...
[2025-03-10 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:27:02] Production.INFO: ==16501== Releasing lock...
[2025-03-10 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:27:02] Production.INFO: ==16514== Lock acquired, processing the job...
[2025-03-10 01:27:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:27:03] Production.INFO: ==16512== Lock acquired, processing the job...
[2025-03-10 01:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 01:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:27:03] Production.INFO: count ==13
[2025-03-10 01:27:03] Production.INFO: ==16503== Lock acquired, processing the job...
[2025-03-10 01:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 01:27:03] Production.INFO: count ==21
[2025-03-10 01:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646140') start
[2025-03-10 01:27:03] Production.INFO: ==16505== Lock acquired, processing the job...
[2025-03-10 01:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:27:03] Production.INFO: ==16507== Lock acquired, processing the job...
[2025-03-10 01:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:27:03] Production.INFO: ==16510== Lock acquired, processing the job...
[2025-03-10 01:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646140') end
[2025-03-10 01:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:27:03] Production.INFO: 1
[2025-03-10 01:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:27:03] Production.INFO: Account Balance Start.
[2025-03-10 01:27:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:27:03] Production.INFO: 117
[2025-03-10 01:27:03] Production.INFO: ==16514== Releasing lock...
[2025-03-10 01:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:27:03] Production.ERROR: done
[2025-03-10 01:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:27:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:27:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:27:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:27:03] Production.INFO: Total Charge 0
[2025-03-10 01:27:03] Production.ERROR: done
[2025-03-10 01:27:03] Production.INFO: CreateAllLog End
[2025-03-10 01:27:03] Production.INFO: ==16505== Releasing lock...
[2025-03-10 01:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:27:03] Production.INFO: Account Balance End.
[2025-03-10 01:27:03] Production.ERROR: CronJobId end 12
[2025-03-10 01:27:03] Production.INFO: ==16510== Releasing lock...
[2025-03-10 01:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:27:04
[end_date_ymd] => 2025-03-10 01:27:04
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:27:04' and `end` < '2025-03-10 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-03-10 01:27:12] Production.ERROR: CronJobId end10
[2025-03-10 01:27:12] Production.INFO: ==16507== Releasing lock...
[2025-03-10 01:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:27:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:27:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:27:14] Production.INFO: call_cost start
[2025-03-10 01:27:14] Production.INFO: call_cost end
[2025-03-10 01:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:27:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:27:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:27:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:27:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:27:15] Production.INFO: ==16503== Releasing lock...
[2025-03-10 01:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:27:16] Production.INFO: count ==358
[2025-03-10 01:27:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:27:04 - End Time 2025-03-10 01:27:04
[2025-03-10 01:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646144', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646144', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646144', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646144', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:27:17] Production.INFO: ProcessCDR(1,14646144,1,1,2)
[2025-03-10 01:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646144', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646144', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:27:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:27:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:27:20] Production.INFO: ==16512== Releasing lock...
[2025-03-10 01:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:27:20] Production.INFO: 31.5 MB #Memory Used#
[2025-03-10 05:28:01] Production.INFO: ==16568== Lock acquired, processing the job...
[2025-03-10 05:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:28:01] Production.INFO: neon service started
[2025-03-10 05:28:01] Production.INFO: neon service started
[2025-03-10 05:28:01] Production.INFO: ==16568== Releasing lock...
[2025-03-10 05:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:28:02] Production.INFO: ==16572== Lock acquired, processing the job...
[2025-03-10 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:28:02] Production.INFO: ==16572== Releasing lock...
[2025-03-10 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:28:02] Production.INFO: ==16570== Lock acquired, processing the job...
[2025-03-10 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:28:02] Production.INFO: ==16570== Releasing lock...
[2025-03-10 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:28:03] Production.INFO: ==16580== Lock acquired, processing the job...
[2025-03-10 01:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:28:03] Production.INFO: ==16574== Lock acquired, processing the job...
[2025-03-10 01:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:28:03] Production.INFO: ==16585== Lock acquired, processing the job...
[2025-03-10 01:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:28:03] Production.INFO: Account Balance Start.
[2025-03-10 01:28:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:28:03] Production.INFO: 117
[2025-03-10 01:28:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:28:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:28:03] Production.INFO: ==16576== Lock acquired, processing the job...
[2025-03-10 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:28:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:28:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:28:03] Production.INFO: ==16578== Lock acquired, processing the job...
[2025-03-10 01:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01: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-03-10 01:28:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:28:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:28:03] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:28:03] Production.INFO: count ==21
[2025-03-10 01:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646147') start
[2025-03-10 01:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:28:04] Production.INFO: Total Charge 0
[2025-03-10 01:28:04] Production.INFO: ==16583== Lock acquired, processing the job...
[2025-03-10 01:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:28:04] Production.INFO: CreateAllLog End
[2025-03-10 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646147') end
[2025-03-10 01:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:28:04] Production.INFO: 1
[2025-03-10 01:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:28:04] Production.INFO: ==16585== Releasing lock...
[2025-03-10 01:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:28:04] Production.INFO: ==16576== Releasing lock...
[2025-03-10 01:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:28:04] Production.INFO: Account Balance End.
[2025-03-10 01:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:28:04] Production.INFO: ==16580== Releasing lock...
[2025-03-10 01:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:28:04] Production.ERROR: done
[2025-03-10 01:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:28:04] Production.ERROR: done
[2025-03-10 01:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:28:05
[end_date_ymd] => 2025-03-10 01:28:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:28:05' and `end` < '2025-03-10 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-03-10 01:28:12] Production.ERROR: CronJobId end10
[2025-03-10 01:28:12] Production.INFO: ==16578== Releasing lock...
[2025-03-10 01:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:28:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:28:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:28:14] Production.INFO: call_cost start
[2025-03-10 01:28:14] Production.INFO: call_cost end
[2025-03-10 01:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:28:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:28:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:28:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:28:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:28:15] Production.INFO: ==16574== Releasing lock...
[2025-03-10 01:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:28:17] Production.INFO: count ==354
[2025-03-10 01:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:28:05 - End Time 2025-03-10 01:28:05
[2025-03-10 01:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646149', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646149', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646149', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646149', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:28:17] Production.INFO: ProcessCDR(1,14646149,1,1,2)
[2025-03-10 01:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646149', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646149', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:28:21] Production.INFO: ==16583== Releasing lock...
[2025-03-10 01:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:28:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:29:01] Production.INFO: ==16642== Lock acquired, processing the job...
[2025-03-10 05:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:29:01] Production.INFO: neon service started
[2025-03-10 05:29:01] Production.INFO: neon service started
[2025-03-10 05:29:01] Production.INFO: ==16642== Releasing lock...
[2025-03-10 05:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:29:01] Production.INFO: ==16646== Lock acquired, processing the job...
[2025-03-10 05:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:29:01] Production.INFO: ==16646== Releasing lock...
[2025-03-10 05:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:29:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:29:01] Production.INFO: ==16644== Lock acquired, processing the job...
[2025-03-10 01:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:29:02] Production.INFO: ==16644== Releasing lock...
[2025-03-10 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:29:02] Production.INFO: ==16650== Lock acquired, processing the job...
[2025-03-10 01:29:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:29:02] Production.INFO: ==16656== Lock acquired, processing the job...
[2025-03-10 01:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:29:03] Production.INFO: ==16648== Lock acquired, processing the job...
[2025-03-10 01:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:29:03] Production.INFO: ==16652== Lock acquired, processing the job...
[2025-03-10 01:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:29:03] Production.INFO: ==16654== Lock acquired, processing the job...
[2025-03-10 01:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:29:03] Production.INFO: ==16658== Lock acquired, processing the job...
[2025-03-10 01:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:29:03] Production.ERROR: done
[2025-03-10 01:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:29:03] Production.INFO: ==16650== Releasing lock...
[2025-03-10 01:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01: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-03-10 01:29:03] Production.INFO: Account Balance Start.
[2025-03-10 01:29:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:29:03] Production.INFO: count ==13
[2025-03-10 01:29:03] Production.INFO: 117
[2025-03-10 01: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-03-10 01:29:03] Production.INFO: count ==21
[2025-03-10 01:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646152') start
[2025-03-10 01:29:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:29:03] Production.ERROR: done
[2025-03-10 01:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:29:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646152') end
[2025-03-10 01:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:29:03] Production.INFO: 1
[2025-03-10 01:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:29:03] Production.INFO: ==16658== Releasing lock...
[2025-03-10 01:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:29:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:29:03] Production.INFO: Total Charge 0
[2025-03-10 01:29:03] Production.INFO: CreateAllLog End
[2025-03-10 01:29:03] Production.INFO: Account Balance End.
[2025-03-10 01:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:29:04] Production.INFO: ==16654== Releasing lock...
[2025-03-10 01:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:29:04
[end_date_ymd] => 2025-03-10 01:29:04
[RateCDR] => 1
)
[2025-03-10 01:29: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-03-09 22:29:04' and `end` < '2025-03-10 01:29: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-03-10 01:29:11] Production.ERROR: CronJobId end10
[2025-03-10 01:29:11] Production.INFO: ==16652== Releasing lock...
[2025-03-10 01:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:29:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:29:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:29:13] Production.INFO: call_cost start
[2025-03-10 01:29:13] Production.INFO: call_cost end
[2025-03-10 01:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:29:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:29:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:29:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:29:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:29:14] Production.INFO: ==16648== Releasing lock...
[2025-03-10 01:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:29:17] Production.INFO: count ==352
[2025-03-10 01:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:29:04 - End Time 2025-03-10 01:29:04
[2025-03-10 01:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646154', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646154', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646154', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646154', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:29:17] Production.INFO: ProcessCDR(1,14646154,1,1,2)
[2025-03-10 01:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646154', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646154', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:29:20] Production.INFO: ==16656== Releasing lock...
[2025-03-10 01:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:29:20] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 05:30:01] Production.INFO: ==16715== Lock acquired, processing the job...
[2025-03-10 05:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:30:01] Production.INFO: neon service started
[2025-03-10 05:30:01] Production.INFO: neon service started
[2025-03-10 05:30:01] Production.INFO: ==16715== Releasing lock...
[2025-03-10 05:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:30:02] Production.INFO: ==16718== Lock acquired, processing the job...
[2025-03-10 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:30:02] Production.INFO: ==16720== Lock acquired, processing the job...
[2025-03-10 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:30:02] Production.INFO: ==16720== Releasing lock...
[2025-03-10 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:30:02] Production.INFO: ==16718== Releasing lock...
[2025-03-10 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:30:03] Production.INFO: ==16728== Lock acquired, processing the job...
[2025-03-10 01:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:30:03] Production.INFO: ==16722== Lock acquired, processing the job...
[2025-03-10 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 01:30:04] Production.INFO: ==16724== Lock acquired, processing the job...
[2025-03-10 01:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:30:04] Production.INFO: ==16736== Lock acquired, processing the job...
[2025-03-10 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:30:04] Production.INFO: ==16734== Lock acquired, processing the job...
[2025-03-10 01:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 01:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 01:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 01:30:04] Production.ERROR: CronJob PID - 16728
[2025-03-10 01:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 01:30:04] Production.ERROR: CronJob ID - 10
[2025-03-10 01:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 01:30:00
[2025-03-10 01:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 01:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 01:30:04] Production.INFO: ==16726== Lock acquired, processing the job...
[2025-03-10 01:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 01:30:04] Production.INFO: ==16722== Releasing lock...
[2025-03-10 01:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 01:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 01:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 01:30:04] Production.INFO: ==16730== Lock acquired, processing the job...
[2025-03-10 01:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:30:04] Production.INFO: ==16732== Lock acquired, processing the job...
[2025-03-10 01:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:30:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:30:04] Production.INFO: count ==21
[2025-03-10 01:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646156') start
[2025-03-10 01:30:04] Production.INFO: Account Balance Start.
[2025-03-10 01:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:30:04] Production.INFO: 117
[2025-03-10 01:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646156') end
[2025-03-10 01:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:30:04] Production.INFO: 1
[2025-03-10 01:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:30:04] Production.INFO: ==16736== Releasing lock...
[2025-03-10 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:30:04] Production.ERROR: done
[2025-03-10 01:30:04] Production.ERROR: done
[2025-03-10 01:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 01:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646159', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 01:30:04] Production.ERROR: done
[2025-03-10 01:30:04] Production.INFO: Total Charge 0
[2025-03-10 01:30:04] Production.INFO: CreateAllLog End
[2025-03-10 01:30:05] Production.INFO: ==16726== Releasing lock...
[2025-03-10 01:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:30:05] Production.INFO: Account Balance End.
[2025-03-10 01:30:05] Production.ERROR: CronJobId end 12
[2025-03-10 01:30:05] Production.INFO: ==16730== Releasing lock...
[2025-03-10 01:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:30:06
[end_date_ymd] => 2025-03-10 01:30:06
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:30:06' and `end` < '2025-03-10 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-03-10 01:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646159', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 01:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 01:30:09] Production.INFO: ProcessCDR(1,14646159,1,1,2)
[2025-03-10 01:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646159,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646159,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:30:09] Production.INFO: ==16734== Releasing lock...
[2025-03-10 01:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 01:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 01:30:13] Production.ERROR: CronJobId end10
[2025-03-10 01:30:13] Production.INFO: ==16728== Releasing lock...
[2025-03-10 01:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:30:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:30:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:30:16] Production.INFO: call_cost start
[2025-03-10 01:30:16] Production.INFO: call_cost end
[2025-03-10 01:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:30:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:30:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:30:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:30:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:30:17] Production.INFO: ==16724== Releasing lock...
[2025-03-10 01:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:30:18] Production.INFO: count ==360
[2025-03-10 01:30:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:30:06 - End Time 2025-03-10 01:30:06
[2025-03-10 01:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646160', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646160', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646160', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646160', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:30:18] Production.INFO: ProcessCDR(1,14646160,1,1,2)
[2025-03-10 01:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646160', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646160', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:30:21] Production.INFO: ==16732== Releasing lock...
[2025-03-10 01:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:30:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:31:02] Production.INFO: ==16793== Lock acquired, processing the job...
[2025-03-10 05:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:31:02] Production.INFO: neon service started
[2025-03-10 05:31:02] Production.INFO: neon service started
[2025-03-10 05:31:02] Production.INFO: ==16793== Releasing lock...
[2025-03-10 05:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:31:03] Production.INFO: ==16795== Lock acquired, processing the job...
[2025-03-10 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:31:03] Production.INFO: ==16797== Lock acquired, processing the job...
[2025-03-10 05:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:31:03] Production.INFO: ==16797== Releasing lock...
[2025-03-10 05:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:31:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:31:03] Production.INFO: ==16795== Releasing lock...
[2025-03-10 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:31:04] Production.INFO: ==16806== Lock acquired, processing the job...
[2025-03-10 01:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:31:04] Production.INFO: ==16808== Lock acquired, processing the job...
[2025-03-10 01:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:31:04] Production.INFO: ==16800== Lock acquired, processing the job...
[2025-03-10 01:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:31:04] Production.INFO: Account Balance Start.
[2025-03-10 01:31:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:31:04] Production.INFO: 117
[2025-03-10 01:31:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:31:04] Production.INFO: ==16802== Lock acquired, processing the job...
[2025-03-10 01:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:31:04] Production.INFO: ==16804== Lock acquired, processing the job...
[2025-03-10 01:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:31:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:31:04] Production.INFO: ==16810== Lock acquired, processing the job...
[2025-03-10 01:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:31:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:31:04] Production.INFO: Total Charge 0
[2025-03-10 01:31:04] Production.INFO: CreateAllLog End
[2025-03-10 01:31:04] Production.ERROR: done
[2025-03-10 01:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:31:04] Production.INFO: ==16802== Releasing lock...
[2025-03-10 01:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01: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-03-10 01:31:05] Production.INFO: count ==13
[2025-03-10 01:31: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-03-10 01:31:05] Production.INFO: count ==21
[2025-03-10 01:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646164') start
[2025-03-10 01:31:05] Production.ERROR: done
[2025-03-10 01:31:05] Production.INFO: Account Balance End.
[2025-03-10 01:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646164') end
[2025-03-10 01:31:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:31:05] Production.INFO: 1
[2025-03-10 01:31:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:31:05] Production.ERROR: CronJobId end 12
[2025-03-10 01:31:05] Production.INFO: ==16806== Releasing lock...
[2025-03-10 01:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:31:05] Production.INFO: ==16810== Releasing lock...
[2025-03-10 01:31:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:31:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:31:06
[end_date_ymd] => 2025-03-10 01:31:06
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:31:06' and `end` < '2025-03-10 01: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-03-10 01:31:12] Production.ERROR: CronJobId end10
[2025-03-10 01:31:12] Production.INFO: ==16804== Releasing lock...
[2025-03-10 01:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:31:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:31:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:31:16] Production.INFO: call_cost start
[2025-03-10 01:31:16] Production.INFO: call_cost end
[2025-03-10 01:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:31:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:31:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:31:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:31:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:31:17] Production.INFO: ==16800== Releasing lock...
[2025-03-10 01:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:31:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:31:18] Production.INFO: count ==360
[2025-03-10 01:31:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:31:06 - End Time 2025-03-10 01:31:06
[2025-03-10 01:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646165', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646165', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646165', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646165', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:31:18] Production.INFO: ProcessCDR(1,14646165,1,1,2)
[2025-03-10 01:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646165', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646165', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:31:21] Production.INFO: ==16808== Releasing lock...
[2025-03-10 01:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:31:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:32:01] Production.INFO: ==16865== Lock acquired, processing the job...
[2025-03-10 05:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:32:01] Production.INFO: neon service started
[2025-03-10 05:32:01] Production.INFO: neon service started
[2025-03-10 05:32:01] Production.INFO: ==16865== Releasing lock...
[2025-03-10 05:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:32:02] Production.INFO: ==16870== Lock acquired, processing the job...
[2025-03-10 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:32:02] Production.INFO: ==16870== Releasing lock...
[2025-03-10 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:32:02] Production.INFO: ==16868== Lock acquired, processing the job...
[2025-03-10 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:32:02] Production.INFO: ==16868== Releasing lock...
[2025-03-10 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:32:03] Production.INFO: ==16882== Lock acquired, processing the job...
[2025-03-10 01:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:32:03] Production.INFO: ==16880== Lock acquired, processing the job...
[2025-03-10 01:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 01:32:03] Production.INFO: count ==13
[2025-03-10 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-03-10 01:32:03] Production.INFO: count ==21
[2025-03-10 01:32:03] Production.INFO: ==16872== Lock acquired, processing the job...
[2025-03-10 01:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:32:03] Production.INFO: ==16874== Lock acquired, processing the job...
[2025-03-10 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646166') start
[2025-03-10 01:32:03] Production.INFO: ==16876== Lock acquired, processing the job...
[2025-03-10 01:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:32:03] Production.INFO: ==16878== Lock acquired, processing the job...
[2025-03-10 01:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:32:04] Production.ERROR: done
[2025-03-10 01:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646166') end
[2025-03-10 01:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:32:04] Production.INFO: 1
[2025-03-10 01:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:32:04] Production.INFO: ==16882== Releasing lock...
[2025-03-10 01:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:32:04] Production.ERROR: done
[2025-03-10 01:32:04] Production.INFO: Account Balance Start.
[2025-03-10 01:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:32:04] Production.INFO: 117
[2025-03-10 01:32:04] Production.INFO: ==16874== Releasing lock...
[2025-03-10 01:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:32:04] Production.INFO: Total Charge 0
[2025-03-10 01:32:04] Production.INFO: CreateAllLog End
[2025-03-10 01:32:04] Production.INFO: Account Balance End.
[2025-03-10 01:32:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:32:04] Production.INFO: ==16878== Releasing lock...
[2025-03-10 01:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:32:05
[end_date_ymd] => 2025-03-10 01:32:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:32:05' and `end` < '2025-03-10 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-03-10 01:32:12] Production.ERROR: CronJobId end10
[2025-03-10 01:32:12] Production.INFO: ==16876== Releasing lock...
[2025-03-10 01:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:32:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:32:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:32:15] Production.INFO: call_cost start
[2025-03-10 01:32:15] Production.INFO: call_cost end
[2025-03-10 01:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:32:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:32:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:32:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:32:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:32:16] Production.INFO: ==16872== Releasing lock...
[2025-03-10 01:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:32:17] Production.INFO: count ==361
[2025-03-10 01:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:32:05 - End Time 2025-03-10 01:32:05
[2025-03-10 01:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646170', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646170', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646170', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646170', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:32:17] Production.INFO: ProcessCDR(1,14646170,1,1,2)
[2025-03-10 01:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646170', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646170', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:32:21] Production.INFO: ==16880== Releasing lock...
[2025-03-10 01:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:32:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:33:02] Production.INFO: ==16937== Lock acquired, processing the job...
[2025-03-10 05:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:33:02] Production.INFO: neon service started
[2025-03-10 05:33:02] Production.INFO: neon service started
[2025-03-10 05:33:02] Production.INFO: ==16937== Releasing lock...
[2025-03-10 05:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:33:02] Production.INFO: ==16942== Lock acquired, processing the job...
[2025-03-10 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:33:02] Production.INFO: ==16942== Releasing lock...
[2025-03-10 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:33:02] Production.INFO: ==16940== Lock acquired, processing the job...
[2025-03-10 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:33:03] Production.INFO: ==16940== Releasing lock...
[2025-03-10 01:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:33:03] Production.INFO: ==16944== Lock acquired, processing the job...
[2025-03-10 01:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:33:04] Production.INFO: ==16946== Lock acquired, processing the job...
[2025-03-10 01:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:33:04] Production.INFO: ==16952== Lock acquired, processing the job...
[2025-03-10 01:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:33:04] Production.INFO: ==16948== Lock acquired, processing the job...
[2025-03-10 01:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:33:04] Production.INFO: ==16950== Lock acquired, processing the job...
[2025-03-10 01:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:33:04] Production.INFO: ==16954== Lock acquired, processing the job...
[2025-03-10 01:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:33:04] Production.INFO: Account Balance Start.
[2025-03-10 01:33:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:33:04] Production.INFO: 117
[2025-03-10 01:33:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:33:04] Production.ERROR: done
[2025-03-10 01:33:04] Production.INFO: ==16946== Releasing lock...
[2025-03-10 01:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 01:33:04] Production.INFO: Total Charge 0
[2025-03-10 01:33:04] Production.INFO: CreateAllLog End
[2025-03-10 01:33:04] Production.INFO: count ==13
[2025-03-10 01:33:04] Production.ERROR: done
[2025-03-10 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-03-10 01:33:04] Production.INFO: count ==21
[2025-03-10 01:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646174') start
[2025-03-10 01:33:04] Production.INFO: Account Balance End.
[2025-03-10 01:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:33:04] Production.INFO: ==16950== Releasing lock...
[2025-03-10 01:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646174') end
[2025-03-10 01:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:33:04] Production.INFO: 1
[2025-03-10 01:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:33:04] Production.INFO: ==16954== Releasing lock...
[2025-03-10 01:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:33:05
[end_date_ymd] => 2025-03-10 01:33:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:33:05' and `end` < '2025-03-10 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-03-10 01:33:12] Production.ERROR: CronJobId end10
[2025-03-10 01:33:12] Production.INFO: ==16948== Releasing lock...
[2025-03-10 01:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:33:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:33:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:33:15] Production.INFO: call_cost start
[2025-03-10 01:33:15] Production.INFO: call_cost end
[2025-03-10 01:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:33:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:33:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:33:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:33:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:33:16] Production.INFO: ==16944== Releasing lock...
[2025-03-10 01:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:33:18] Production.INFO: count ==354
[2025-03-10 01:33:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:33:05 - End Time 2025-03-10 01:33:05
[2025-03-10 01:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646175', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646175', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646175', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646175', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:33:18] Production.INFO: ProcessCDR(1,14646175,1,1,2)
[2025-03-10 01:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646175', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646175', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:33:21] Production.INFO: ==16952== Releasing lock...
[2025-03-10 01:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:33:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:34:01] Production.INFO: ==17019== Lock acquired, processing the job...
[2025-03-10 05:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:34:01] Production.INFO: neon service started
[2025-03-10 05:34:01] Production.INFO: neon service started
[2025-03-10 05:34:01] Production.INFO: ==17019== Releasing lock...
[2025-03-10 05:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:34:02] Production.INFO: ==17023== Lock acquired, processing the job...
[2025-03-10 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:34:02] Production.INFO: ==17023== Releasing lock...
[2025-03-10 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:34:02] Production.INFO: ==17021== Lock acquired, processing the job...
[2025-03-10 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:34:02] Production.INFO: ==17021== Releasing lock...
[2025-03-10 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:34:03] Production.INFO: ==17026== Lock acquired, processing the job...
[2025-03-10 01:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:34:03] Production.INFO: ==17028== Lock acquired, processing the job...
[2025-03-10 01:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:34:03] Production.INFO: ==17032== Lock acquired, processing the job...
[2025-03-10 01:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:34:03] Production.INFO: Account Balance Start.
[2025-03-10 01:34:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:34:03] Production.INFO: 117
[2025-03-10 01:34:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:34:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:34:03] Production.INFO: ==17030== Lock acquired, processing the job...
[2025-03-10 01:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:34:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:34:03] Production.INFO: Total Charge 0
[2025-03-10 01:34:03] Production.INFO: ==17034== Lock acquired, processing the job...
[2025-03-10 01:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:34:03] Production.INFO: ==17036== Lock acquired, processing the job...
[2025-03-10 01:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:34:03] Production.INFO: CreateAllLog End
[2025-03-10 01:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:34:04] Production.INFO: ==17028== Releasing lock...
[2025-03-10 01:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:34:04] Production.INFO: Account Balance End.
[2025-03-10 01: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-03-10 01:34:04] Production.INFO: count ==13
[2025-03-10 01:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:34:04] Production.INFO: ==17032== Releasing lock...
[2025-03-10 01:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01: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-03-10 01:34:04] Production.INFO: count ==21
[2025-03-10 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646179') start
[2025-03-10 01:34:04] Production.ERROR: done
[2025-03-10 01:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646179') end
[2025-03-10 01:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:34:04] Production.INFO: 1
[2025-03-10 01:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:34:04] Production.INFO: ==17036== Releasing lock...
[2025-03-10 01:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:34:04] Production.ERROR: done
[2025-03-10 01:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:34:05
[end_date_ymd] => 2025-03-10 01:34:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:34:05' and `end` < '2025-03-10 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-03-10 01:34:12] Production.ERROR: CronJobId end10
[2025-03-10 01:34:12] Production.INFO: ==17030== Releasing lock...
[2025-03-10 01:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:34:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:34:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:34:13] Production.INFO: call_cost start
[2025-03-10 01:34:13] Production.INFO: call_cost end
[2025-03-10 01:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:34:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:34:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:34:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:34:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:34:14] Production.INFO: ==17026== Releasing lock...
[2025-03-10 01:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:34:17] Production.INFO: count ==344
[2025-03-10 01:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:34:05 - End Time 2025-03-10 01:34:05
[2025-03-10 01:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646180', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646180', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646180', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646180', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:34:17] Production.INFO: ProcessCDR(1,14646180,1,1,2)
[2025-03-10 01:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646180', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646180', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:34:21] Production.INFO: ==17034== Releasing lock...
[2025-03-10 01:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:34:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:35:02] Production.INFO: ==17091== Lock acquired, processing the job...
[2025-03-10 05:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:35:02] Production.INFO: neon service started
[2025-03-10 05:35:02] Production.INFO: neon service started
[2025-03-10 05:35:02] Production.INFO: ==17091== Releasing lock...
[2025-03-10 05:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:35:02] Production.INFO: ==17093== Lock acquired, processing the job...
[2025-03-10 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:35:02] Production.INFO: ==17093== Releasing lock...
[2025-03-10 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:35:02] Production.INFO: ==17095== Lock acquired, processing the job...
[2025-03-10 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:35:03] Production.INFO: ==17095== Releasing lock...
[2025-03-10 05:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:35:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:35:03] Production.INFO: ==17098== Lock acquired, processing the job...
[2025-03-10 01:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:35:03] Production.INFO: ==17100== Lock acquired, processing the job...
[2025-03-10 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:35:03] Production.INFO: ==17104== Lock acquired, processing the job...
[2025-03-10 01:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:35:03] Production.INFO: Account Balance Start.
[2025-03-10 01:35:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:35:03] Production.INFO: 117
[2025-03-10 01:35:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:35:03] Production.INFO: ==17102== Lock acquired, processing the job...
[2025-03-10 01:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:35:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:35:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:35:04] Production.INFO: Total Charge 0
[2025-03-10 01:35:04] Production.INFO: ==17108== Lock acquired, processing the job...
[2025-03-10 01:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:35:04] Production.INFO: ==17106== Lock acquired, processing the job...
[2025-03-10 01:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:35:04] Production.INFO: CreateAllLog End
[2025-03-10 01:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:35:04] Production.INFO: ==17100== Releasing lock...
[2025-03-10 01:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01: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-03-10 01:35:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:35:04] Production.INFO: count ==21
[2025-03-10 01:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646184') start
[2025-03-10 01:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646184') end
[2025-03-10 01:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:35:04] Production.INFO: 1
[2025-03-10 01:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:35:04] Production.INFO: Account Balance End.
[2025-03-10 01:35:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:35:04] Production.INFO: ==17104== Releasing lock...
[2025-03-10 01:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:35:04] Production.INFO: ==17108== Releasing lock...
[2025-03-10 01:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:35:04] Production.ERROR: done
[2025-03-10 01:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:35:04] Production.ERROR: done
[2025-03-10 01:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:35:05
[end_date_ymd] => 2025-03-10 01:35:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:35:05' and `end` < '2025-03-10 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-03-10 01:35:13] Production.ERROR: CronJobId end10
[2025-03-10 01:35:13] Production.INFO: ==17102== Releasing lock...
[2025-03-10 01:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:35:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:35:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:35:15] Production.INFO: call_cost start
[2025-03-10 01:35:15] Production.INFO: call_cost end
[2025-03-10 01:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:35:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:35:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:35:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:35:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:35:16] Production.INFO: ==17098== Releasing lock...
[2025-03-10 01:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:35:17] Production.INFO: count ==340
[2025-03-10 01:35:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:35:05 - End Time 2025-03-10 01:35:05
[2025-03-10 01:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646185', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646185', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646185', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646185', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:35:18] Production.INFO: ProcessCDR(1,14646185,1,1,2)
[2025-03-10 01:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646185', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646185', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:35:21] Production.INFO: ==17106== Releasing lock...
[2025-03-10 01:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:35:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:36:01] Production.INFO: ==17163== Lock acquired, processing the job...
[2025-03-10 05:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:36:01] Production.INFO: neon service started
[2025-03-10 05:36:01] Production.INFO: neon service started
[2025-03-10 05:36:01] Production.INFO: ==17163== Releasing lock...
[2025-03-10 05:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:36:02] Production.INFO: ==17166== Lock acquired, processing the job...
[2025-03-10 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:36:02] Production.INFO: ==17166== Releasing lock...
[2025-03-10 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:36:02] Production.INFO: ==17168== Lock acquired, processing the job...
[2025-03-10 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:36:02] Production.INFO: ==17168== Releasing lock...
[2025-03-10 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:36:03] Production.INFO: ==17178== Lock acquired, processing the job...
[2025-03-10 01:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:36:03] Production.INFO: ==17180== Lock acquired, processing the job...
[2025-03-10 01:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01: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-03-10 01:36:03] Production.INFO: count ==13
[2025-03-10 01:36:03] Production.INFO: ==17170== Lock acquired, processing the job...
[2025-03-10 01:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01: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-03-10 01:36:03] Production.INFO: count ==21
[2025-03-10 01:36:03] Production.INFO: ==17172== Lock acquired, processing the job...
[2025-03-10 01:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646186') start
[2025-03-10 01:36:03] Production.INFO: ==17174== Lock acquired, processing the job...
[2025-03-10 01:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:36:04] Production.ERROR: done
[2025-03-10 01:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:36:04] Production.INFO: ==17176== Lock acquired, processing the job...
[2025-03-10 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646186') end
[2025-03-10 01:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:36:04] Production.INFO: 1
[2025-03-10 01:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:36:04] Production.INFO: Account Balance Start.
[2025-03-10 01:36:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:36:04] Production.INFO: 117
[2025-03-10 01:36:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:36:04] Production.INFO: ==17180== Releasing lock...
[2025-03-10 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:36:04] Production.ERROR: done
[2025-03-10 01:36:04] Production.INFO: Total Charge 0
[2025-03-10 01:36:04] Production.INFO: CreateAllLog End
[2025-03-10 01:36:04] Production.INFO: ==17172== Releasing lock...
[2025-03-10 01:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:36:04] Production.INFO: Account Balance End.
[2025-03-10 01:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:36:04] Production.INFO: ==17176== Releasing lock...
[2025-03-10 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:36:05
[end_date_ymd] => 2025-03-10 01:36:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:36:05' and `end` < '2025-03-10 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-03-10 01:36:12] Production.ERROR: CronJobId end10
[2025-03-10 01:36:12] Production.INFO: ==17174== Releasing lock...
[2025-03-10 01:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:36:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:36:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:36:15] Production.INFO: call_cost start
[2025-03-10 01:36:15] Production.INFO: call_cost end
[2025-03-10 01:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:36:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:36:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:36:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:36:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:36:16] Production.INFO: ==17170== Releasing lock...
[2025-03-10 01:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:36:17] Production.INFO: count ==336
[2025-03-10 01:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:36:05 - End Time 2025-03-10 01:36:05
[2025-03-10 01:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646190', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646190', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646190', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646190', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:36:17] Production.INFO: ProcessCDR(1,14646190,1,1,2)
[2025-03-10 01:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646190', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646190', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:36:20] Production.INFO: ==17178== Releasing lock...
[2025-03-10 01:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:36:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:37:02] Production.INFO: ==17242== Lock acquired, processing the job...
[2025-03-10 05:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:37:02] Production.INFO: neon service started
[2025-03-10 05:37:02] Production.INFO: neon service started
[2025-03-10 05:37:02] Production.INFO: ==17242== Releasing lock...
[2025-03-10 05:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:37:02] Production.INFO: ==17244== Lock acquired, processing the job...
[2025-03-10 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:37:02] Production.INFO: ==17244== Releasing lock...
[2025-03-10 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:37:03] Production.INFO: ==17246== Lock acquired, processing the job...
[2025-03-10 05:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:37:03] Production.INFO: ==17246== Releasing lock...
[2025-03-10 05:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:37:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:37:03] Production.INFO: ==17253== Lock acquired, processing the job...
[2025-03-10 01:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:37:03] Production.INFO: ==17255== Lock acquired, processing the job...
[2025-03-10 01:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:37:03] Production.INFO: ==17249== Lock acquired, processing the job...
[2025-03-10 01:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:37:03] Production.INFO: Account Balance Start.
[2025-03-10 01:37:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:37:03] Production.INFO: 117
[2025-03-10 01:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:37:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:37:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:37:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:37:04] Production.INFO: Total Charge 0
[2025-03-10 01:37:04] Production.INFO: CreateAllLog End
[2025-03-10 01:37:04] Production.INFO: ==17251== Lock acquired, processing the job...
[2025-03-10 01:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:37:04] Production.INFO: Account Balance End.
[2025-03-10 01:37:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:37:04] Production.INFO: ==17255== Releasing lock...
[2025-03-10 01:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:37:04] Production.INFO: ==17257== Lock acquired, processing the job...
[2025-03-10 01:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:37:04] Production.INFO: ==17259== Lock acquired, processing the job...
[2025-03-10 01:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 01:37:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:37:04] Production.INFO: count ==21
[2025-03-10 01:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646194') start
[2025-03-10 01:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646194') end
[2025-03-10 01:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:37:04] Production.INFO: 1
[2025-03-10 01:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:37:04] Production.INFO: ==17251== Releasing lock...
[2025-03-10 01:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:37:04] Production.INFO: ==17259== Releasing lock...
[2025-03-10 01:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:37:04] Production.ERROR: done
[2025-03-10 01:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:37:05] Production.ERROR: done
[2025-03-10 01:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:37:06
[end_date_ymd] => 2025-03-10 01:37:06
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:37:06' and `end` < '2025-03-10 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-03-10 01:37:12] Production.ERROR: CronJobId end10
[2025-03-10 01:37:12] Production.INFO: ==17253== Releasing lock...
[2025-03-10 01:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:37:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:37:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:37:15] Production.INFO: call_cost start
[2025-03-10 01:37:15] Production.INFO: call_cost end
[2025-03-10 01:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:37:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:37:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:37:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:37:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:37:16] Production.INFO: ==17249== Releasing lock...
[2025-03-10 01:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:37:18] Production.INFO: count ==335
[2025-03-10 01:37:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:37:06 - End Time 2025-03-10 01:37:06
[2025-03-10 01:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646195', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646195', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646195', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646195', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:37:18] Production.INFO: ProcessCDR(1,14646195,1,1,2)
[2025-03-10 01:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646195', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646195', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:37:21] Production.INFO: ==17257== Releasing lock...
[2025-03-10 01:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:37:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:38:01] Production.INFO: ==17322== Lock acquired, processing the job...
[2025-03-10 05:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:38:01] Production.INFO: neon service started
[2025-03-10 05:38:01] Production.INFO: neon service started
[2025-03-10 05:38:01] Production.INFO: ==17322== Releasing lock...
[2025-03-10 05:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:38:02] Production.INFO: ==17324== Lock acquired, processing the job...
[2025-03-10 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:38:02] Production.INFO: ==17324== Releasing lock...
[2025-03-10 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:38:02] Production.INFO: ==17326== Lock acquired, processing the job...
[2025-03-10 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:38:02] Production.INFO: ==17326== Releasing lock...
[2025-03-10 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:38:03] Production.INFO: ==17328== Lock acquired, processing the job...
[2025-03-10 01:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:38:03] Production.INFO: ==17339== Lock acquired, processing the job...
[2025-03-10 01:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 01:38:03] Production.INFO: ==17330== Lock acquired, processing the job...
[2025-03-10 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:38:03] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:38:03] Production.INFO: count ==21
[2025-03-10 01:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646197') start
[2025-03-10 01:38:03] Production.INFO: ==17332== Lock acquired, processing the job...
[2025-03-10 01:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:38:03] Production.INFO: ==17334== Lock acquired, processing the job...
[2025-03-10 01:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646197') end
[2025-03-10 01:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:38:03] Production.INFO: 1
[2025-03-10 01:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:38:03] Production.INFO: ==17336== Lock acquired, processing the job...
[2025-03-10 01:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:38:03] Production.INFO: ==17339== Releasing lock...
[2025-03-10 01:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:38:03] Production.INFO: Account Balance Start.
[2025-03-10 01:38:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:38:03] Production.INFO: 117
[2025-03-10 01:38:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:38:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:38:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:38:04] Production.INFO: Total Charge 0
[2025-03-10 01:38:04] Production.INFO: CreateAllLog End
[2025-03-10 01:38:04] Production.INFO: ==17330== Releasing lock...
[2025-03-10 01:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:38:04] Production.ERROR: done
[2025-03-10 01:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:38:04] Production.INFO: Account Balance End.
[2025-03-10 01:38:04] Production.ERROR: done
[2025-03-10 01:38:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:38:04] Production.INFO: ==17334== Releasing lock...
[2025-03-10 01:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:38:05
[end_date_ymd] => 2025-03-10 01:38:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:38:05' and `end` < '2025-03-10 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-03-10 01:38:12] Production.ERROR: CronJobId end10
[2025-03-10 01:38:12] Production.INFO: ==17332== Releasing lock...
[2025-03-10 01:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:38:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:38:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:38:15] Production.INFO: call_cost start
[2025-03-10 01:38:15] Production.INFO: call_cost end
[2025-03-10 01:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:38:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:38:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:38:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:38:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:38:16] Production.INFO: ==17328== Releasing lock...
[2025-03-10 01:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:38:17] Production.INFO: count ==338
[2025-03-10 01:38:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:38:05 - End Time 2025-03-10 01:38:05
[2025-03-10 01:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646200', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646200', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646200', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646200', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:38:17] Production.INFO: ProcessCDR(1,14646200,1,1,2)
[2025-03-10 01:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646200', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646200', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:38:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:38:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:38:20] Production.INFO: ==17336== Releasing lock...
[2025-03-10 01:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:38:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:39:02] Production.INFO: ==17418== Lock acquired, processing the job...
[2025-03-10 05:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:39:02] Production.INFO: neon service started
[2025-03-10 05:39:02] Production.INFO: neon service started
[2025-03-10 05:39:02] Production.INFO: ==17418== Releasing lock...
[2025-03-10 05:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:39:02] Production.INFO: ==17420== Lock acquired, processing the job...
[2025-03-10 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:39:03] Production.INFO: ==17420== Releasing lock...
[2025-03-10 01:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:39:03] Production.INFO: ==17422== Lock acquired, processing the job...
[2025-03-10 05:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:39:03] Production.INFO: ==17422== Releasing lock...
[2025-03-10 05:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:39:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:39:04] Production.INFO: ==17424== Lock acquired, processing the job...
[2025-03-10 01:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:39:04] Production.INFO: ==17428== Lock acquired, processing the job...
[2025-03-10 01:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:39:04] Production.INFO: ==17432== Lock acquired, processing the job...
[2025-03-10 01:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:39:04] Production.INFO: ==17426== Lock acquired, processing the job...
[2025-03-10 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:39:04] Production.INFO: ==17435== Lock acquired, processing the job...
[2025-03-10 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:39:04] Production.INFO: ==17430== Lock acquired, processing the job...
[2025-03-10 01:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:39:04] Production.INFO: Account Balance Start.
[2025-03-10 01:39:04] Production.INFO: CreateAllLog Start
[2025-03-10 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-03-10 01:39:04] Production.INFO: 117
[2025-03-10 01:39:04] Production.ERROR: done
[2025-03-10 01:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:39:04] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:39:04] Production.INFO: count ==21
[2025-03-10 01:39:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646203') start
[2025-03-10 01:39:04] Production.ERROR: done
[2025-03-10 01:39:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:39:04] Production.INFO: ==17426== Releasing lock...
[2025-03-10 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646203') end
[2025-03-10 01:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:39:04] Production.INFO: 1
[2025-03-10 01:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:39:04] Production.INFO: Total Charge 0
[2025-03-10 01:39:04] Production.INFO: CreateAllLog End
[2025-03-10 01:39:04] Production.INFO: ==17435== Releasing lock...
[2025-03-10 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:39:05] Production.INFO: Account Balance End.
[2025-03-10 01:39:05] Production.ERROR: CronJobId end 12
[2025-03-10 01:39:05] Production.INFO: ==17430== Releasing lock...
[2025-03-10 01:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:39:05
[end_date_ymd] => 2025-03-10 01:39:05
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:39:05' and `end` < '2025-03-10 01: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-03-10 01:39:13] Production.ERROR: CronJobId end10
[2025-03-10 01:39:13] Production.INFO: ==17428== Releasing lock...
[2025-03-10 01:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:39:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:39:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:39:16] Production.INFO: call_cost start
[2025-03-10 01:39:16] Production.INFO: call_cost end
[2025-03-10 01:39:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:39:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:39:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:39:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:39:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:39:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:39:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:39:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:39:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:39:17] Production.INFO: ==17424== Releasing lock...
[2025-03-10 01:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:39:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:39:17] Production.INFO: count ==338
[2025-03-10 01:39:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:39:05 - End Time 2025-03-10 01:39:05
[2025-03-10 01:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646205', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646205', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646205', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646205', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:39:17] Production.INFO: ProcessCDR(1,14646205,1,1,2)
[2025-03-10 01:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646205', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646205', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:39:20] Production.INFO: ==17432== Releasing lock...
[2025-03-10 01:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:39:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:40:01] Production.INFO: ==17555== Lock acquired, processing the job...
[2025-03-10 05:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:40:01] Production.INFO: neon service started
[2025-03-10 05:40:01] Production.INFO: neon service started
[2025-03-10 05:40:01] Production.INFO: ==17555== Releasing lock...
[2025-03-10 05:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:40:02] Production.INFO: ==17557== Lock acquired, processing the job...
[2025-03-10 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:40:02] Production.INFO: ==17559== Lock acquired, processing the job...
[2025-03-10 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:40:02] Production.INFO: ==17559== Releasing lock...
[2025-03-10 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:40:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:40:03] Production.INFO: ==17557== Releasing lock...
[2025-03-10 01:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:40:03] Production.INFO: ==17568== Lock acquired, processing the job...
[2025-03-10 01:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:40:03] Production.INFO: ==17570== Lock acquired, processing the job...
[2025-03-10 01:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:40:04] Production.INFO: Account Balance Start.
[2025-03-10 01:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:40:04] Production.INFO: 117
[2025-03-10 01:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:40:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:40:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:40:04] Production.INFO: Total Charge 0
[2025-03-10 01:40:04] Production.INFO: CreateAllLog End
[2025-03-10 01:40:04] Production.INFO: ==17562== Lock acquired, processing the job...
[2025-03-10 01:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 01:40:04] Production.INFO: ==17566== Lock acquired, processing the job...
[2025-03-10 01:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:40:04] Production.INFO: ==17564== Lock acquired, processing the job...
[2025-03-10 01:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:40:04] Production.INFO: Account Balance End.
[2025-03-10 01:40:04] Production.INFO: ==17576== Lock acquired, processing the job...
[2025-03-10 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:40:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:40:04] Production.INFO: ==17570== Releasing lock...
[2025-03-10 01:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 01:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 01:40:04] Production.ERROR: CronJob PID - 17564
[2025-03-10 01:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 01:40:04] Production.ERROR: CronJob ID - 5
[2025-03-10 01:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 01:40:00
[2025-03-10 01:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 01:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 01:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 01:40:04] Production.ERROR: CronJob PID - 17566
[2025-03-10 01:40:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 01:40:04] Production.ERROR: CronJob ID - 7
[2025-03-10 01:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 01:40:00
[2025-03-10 01:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 01:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 01:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 01:40:04] Production.ERROR: CronJob PID - 17568
[2025-03-10 01:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 01:40:04] Production.ERROR: CronJob ID - 10
[2025-03-10 01:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 01:40:00
[2025-03-10 01:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 01:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 01:40:04] Production.INFO: ==17572== Lock acquired, processing the job...
[2025-03-10 01:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:40:04] Production.INFO: ==17574== Lock acquired, processing the job...
[2025-03-10 01:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 01:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 01:40:04] Production.INFO: ==17562== Releasing lock...
[2025-03-10 01:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 01:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 01:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 01:40:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:40:04] Production.INFO: count ==21
[2025-03-10 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646209') start
[2025-03-10 01:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:40:04] Production.INFO: ==17566== Releasing lock...
[2025-03-10 01:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646209') end
[2025-03-10 01:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:40:05] Production.INFO: 1
[2025-03-10 01:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:40:05] Production.ERROR: done
[2025-03-10 01:40:05] Production.INFO: ==17576== Releasing lock...
[2025-03-10 01:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:40:05] Production.ERROR: done
[2025-03-10 01:40:05] Production.ERROR: done
[2025-03-10 01:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 01:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646211', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 01:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:40:06
[end_date_ymd] => 2025-03-10 01:40:06
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:40:06' and `end` < '2025-03-10 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-03-10 01:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646211', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 01:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 01:40:10] Production.INFO: ProcessCDR(1,14646211,1,1,2)
[2025-03-10 01:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646211,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646211,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:40:10] Production.INFO: ==17574== Releasing lock...
[2025-03-10 01:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 01:40:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 01:40:14] Production.ERROR: CronJobId end10
[2025-03-10 01:40:14] Production.INFO: ==17568== Releasing lock...
[2025-03-10 01:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:40:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:40:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:40:17] Production.INFO: call_cost start
[2025-03-10 01:40:17] Production.INFO: call_cost end
[2025-03-10 01:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:40:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:40:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:40:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:40:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:40:18] Production.INFO: ==17564== Releasing lock...
[2025-03-10 01:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:40:18] Production.INFO: count ==345
[2025-03-10 01:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:40:06 - End Time 2025-03-10 01:40:06
[2025-03-10 01:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646210', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646210', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646210', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646210', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:40:18] Production.INFO: ProcessCDR(1,14646210,1,1,2)
[2025-03-10 01:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646210', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646210', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:40:22] Production.INFO: ==17572== Releasing lock...
[2025-03-10 01:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:40:22] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:41:02] Production.INFO: ==17653== Lock acquired, processing the job...
[2025-03-10 05:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:41:02] Production.INFO: neon service started
[2025-03-10 05:41:02] Production.INFO: neon service started
[2025-03-10 05:41:02] Production.INFO: ==17653== Releasing lock...
[2025-03-10 05:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:41:02] Production.INFO: ==17657== Lock acquired, processing the job...
[2025-03-10 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:41:02] Production.INFO: ==17657== Releasing lock...
[2025-03-10 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:41:02] Production.INFO: ==17655== Lock acquired, processing the job...
[2025-03-10 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:41:03] Production.INFO: ==17655== Releasing lock...
[2025-03-10 01:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:41:03] Production.INFO: ==17659== Lock acquired, processing the job...
[2025-03-10 01:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:41:03] Production.INFO: ==17661== Lock acquired, processing the job...
[2025-03-10 01:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:41:04] Production.INFO: ==17666== Lock acquired, processing the job...
[2025-03-10 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:41:04] Production.INFO: Account Balance Start.
[2025-03-10 01:41:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:41:04] Production.INFO: 117
[2025-03-10 01:41:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:41:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:41:04] Production.INFO: ==17668== Lock acquired, processing the job...
[2025-03-10 01:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:41:04] Production.INFO: ==17664== Lock acquired, processing the job...
[2025-03-10 01:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:41:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:41:04] Production.INFO: ==17661== Releasing lock...
[2025-03-10 01:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:41:04] Production.INFO: Total Charge 0
[2025-03-10 01:41:04] Production.INFO: CreateAllLog End
[2025-03-10 01:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:41:04] Production.INFO: ==17670== Lock acquired, processing the job...
[2025-03-10 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:41:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 01:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:41:04] Production.INFO: ==17666== Releasing lock...
[2025-03-10 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:41:04] Production.ERROR: done
[2025-03-10 01:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:41:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:41:04] Production.INFO: count ==21
[2025-03-10 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646215') start
[2025-03-10 01:41:04] Production.ERROR: done
[2025-03-10 01:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646215') end
[2025-03-10 01:41:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:41:05] Production.INFO: 1
[2025-03-10 01:41:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:41:05] Production.INFO: ==17670== Releasing lock...
[2025-03-10 01:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:41:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:41:05
[end_date_ymd] => 2025-03-10 01:41:05
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:41:05' and `end` < '2025-03-10 01: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-03-10 01:41:12] Production.ERROR: CronJobId end10
[2025-03-10 01:41:12] Production.INFO: ==17664== Releasing lock...
[2025-03-10 01:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:41:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:41:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:41:15] Production.INFO: call_cost start
[2025-03-10 01:41:15] Production.INFO: call_cost end
[2025-03-10 01:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:41:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:41:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:41:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:41:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:41:16] Production.INFO: ==17659== Releasing lock...
[2025-03-10 01:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:41:17] Production.INFO: count ==345
[2025-03-10 01:41:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:41:05 - End Time 2025-03-10 01:41:05
[2025-03-10 01:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646216', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646216', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646216', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646216', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:41:18] Production.INFO: ProcessCDR(1,14646216,1,1,2)
[2025-03-10 01:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646216', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646216', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:41:21] Production.INFO: ==17668== Releasing lock...
[2025-03-10 01:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:41:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:42:01] Production.INFO: ==17743== Lock acquired, processing the job...
[2025-03-10 05:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:42:01] Production.INFO: neon service started
[2025-03-10 05:42:01] Production.INFO: neon service started
[2025-03-10 05:42:01] Production.INFO: ==17743== Releasing lock...
[2025-03-10 05:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:42:02] Production.INFO: ==17745== Lock acquired, processing the job...
[2025-03-10 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:42:02] Production.INFO: ==17745== Releasing lock...
[2025-03-10 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:42:02] Production.INFO: ==17747== Lock acquired, processing the job...
[2025-03-10 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:42:02] Production.INFO: ==17747== Releasing lock...
[2025-03-10 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:42:03] Production.INFO: ==17752== Lock acquired, processing the job...
[2025-03-10 01:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:42:03] Production.INFO: ==17760== Lock acquired, processing the job...
[2025-03-10 01:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:42:03] Production.INFO: ==17750== Lock acquired, processing the job...
[2025-03-10 01:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:42:03] Production.INFO: ==17752== Releasing lock...
[2025-03-10 01:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 01:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:42:03] Production.INFO: ==17754== Lock acquired, processing the job...
[2025-03-10 01:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:42:03] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:42:03] Production.INFO: count ==21
[2025-03-10 01:42:03] Production.INFO: ==17756== Lock acquired, processing the job...
[2025-03-10 01:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646218') start
[2025-03-10 01:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:42:03] Production.INFO: ==17758== Lock acquired, processing the job...
[2025-03-10 01:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:42:03] Production.INFO: Account Balance Start.
[2025-03-10 01:42:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:42:03] Production.INFO: 117
[2025-03-10 01:42:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646218') end
[2025-03-10 01:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:42:03] Production.INFO: 1
[2025-03-10 01:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:42:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:42:04] Production.INFO: Total Charge 0
[2025-03-10 01:42:04] Production.INFO: CreateAllLog End
[2025-03-10 01:42:04] Production.INFO: ==17760== Releasing lock...
[2025-03-10 01:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:42:04] Production.ERROR: done
[2025-03-10 01:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:42:04] Production.INFO: Account Balance End.
[2025-03-10 01:42:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:42:04] Production.INFO: ==17756== Releasing lock...
[2025-03-10 01:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:42:04] Production.ERROR: done
[2025-03-10 01:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:42:05
[end_date_ymd] => 2025-03-10 01:42:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:42:05' and `end` < '2025-03-10 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-03-10 01:42:12] Production.ERROR: CronJobId end10
[2025-03-10 01:42:12] Production.INFO: ==17754== Releasing lock...
[2025-03-10 01:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:42:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:42:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:42:15] Production.INFO: call_cost start
[2025-03-10 01:42:15] Production.INFO: call_cost end
[2025-03-10 01:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:42:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:42:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:42:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:42:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:42:15] Production.INFO: ==17750== Releasing lock...
[2025-03-10 01:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:42:17] Production.INFO: count ==345
[2025-03-10 01:42:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:42:05 - End Time 2025-03-10 01:42:05
[2025-03-10 01:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646221', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646221', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646221', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646221', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:42:17] Production.INFO: ProcessCDR(1,14646221,1,1,2)
[2025-03-10 01:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646221', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646221', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:42:21] Production.INFO: ==17758== Releasing lock...
[2025-03-10 01:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:42:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:43:02] Production.INFO: ==17819== Lock acquired, processing the job...
[2025-03-10 05:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:43:02] Production.INFO: neon service started
[2025-03-10 05:43:02] Production.INFO: neon service started
[2025-03-10 05:43:02] Production.INFO: ==17819== Releasing lock...
[2025-03-10 05:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:43:02] Production.INFO: ==17821== Lock acquired, processing the job...
[2025-03-10 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:43:02] Production.INFO: ==17821== Releasing lock...
[2025-03-10 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:43:03] Production.INFO: ==17823== Lock acquired, processing the job...
[2025-03-10 05:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:43:03] Production.INFO: ==17823== Releasing lock...
[2025-03-10 05:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:43:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:43:03] Production.INFO: ==17825== Lock acquired, processing the job...
[2025-03-10 01:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:43:03] Production.INFO: ==17827== Lock acquired, processing the job...
[2025-03-10 01:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:43:03] Production.INFO: ==17829== Lock acquired, processing the job...
[2025-03-10 01:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:43:03] Production.INFO: ==17832== Lock acquired, processing the job...
[2025-03-10 01:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:43:04] Production.INFO: Account Balance Start.
[2025-03-10 01:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:43:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:43:04] Production.INFO: 117
[2025-03-10 01:43:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:43:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:43:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:43:04] Production.INFO: ==17834== Lock acquired, processing the job...
[2025-03-10 01:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:43:04] Production.INFO: Total Charge 0
[2025-03-10 01:43:04] Production.INFO: CreateAllLog End
[2025-03-10 01:43:04] Production.INFO: ==17836== Lock acquired, processing the job...
[2025-03-10 01:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:43:04] Production.INFO: ==17827== Releasing lock...
[2025-03-10 01:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01: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-03-10 01:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:43:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:43:04] Production.INFO: count ==21
[2025-03-10 01:43:04] Production.INFO: Account Balance End.
[2025-03-10 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646225') start
[2025-03-10 01:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:43:04] Production.INFO: ==17832== Releasing lock...
[2025-03-10 01:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646225') end
[2025-03-10 01:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:43:04] Production.INFO: 1
[2025-03-10 01:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:43:04] Production.INFO: ==17836== Releasing lock...
[2025-03-10 01:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:43:04] Production.ERROR: done
[2025-03-10 01:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:43:05] Production.ERROR: done
[2025-03-10 01:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:43:06
[end_date_ymd] => 2025-03-10 01:43:06
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:43:06' and `end` < '2025-03-10 01: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-03-10 01:43:11] Production.ERROR: CronJobId end10
[2025-03-10 01:43:11] Production.INFO: ==17829== Releasing lock...
[2025-03-10 01:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:43:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:43:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:43:14] Production.INFO: call_cost start
[2025-03-10 01:43:14] Production.INFO: call_cost end
[2025-03-10 01:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:43:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:43:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:43:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:43:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:43:15] Production.INFO: ==17825== Releasing lock...
[2025-03-10 01:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:43:18] Production.INFO: count ==346
[2025-03-10 01:43:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:43:06 - End Time 2025-03-10 01:43:06
[2025-03-10 01:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646226', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646226', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646226', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646226', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:43:18] Production.INFO: ProcessCDR(1,14646226,1,1,2)
[2025-03-10 01:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646226', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646226', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:43:23] Production.INFO: ==17834== Releasing lock...
[2025-03-10 01:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:43:23] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:44:01] Production.INFO: ==17895== Lock acquired, processing the job...
[2025-03-10 05:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:44:01] Production.INFO: neon service started
[2025-03-10 05:44:01] Production.INFO: neon service started
[2025-03-10 05:44:01] Production.INFO: ==17895== Releasing lock...
[2025-03-10 05:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:44:02] Production.INFO: ==17899== Lock acquired, processing the job...
[2025-03-10 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:44:02] Production.INFO: ==17899== Releasing lock...
[2025-03-10 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:44:02] Production.INFO: ==17897== Lock acquired, processing the job...
[2025-03-10 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:44:02] Production.INFO: ==17897== Releasing lock...
[2025-03-10 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:44:03] Production.INFO: ==17902== Lock acquired, processing the job...
[2025-03-10 01:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:44:03] Production.INFO: ==17904== Lock acquired, processing the job...
[2025-03-10 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:44:03] Production.INFO: ==17908== Lock acquired, processing the job...
[2025-03-10 01:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:44:03] Production.INFO: ==17906== Lock acquired, processing the job...
[2025-03-10 01:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:44:03] Production.INFO: Account Balance Start.
[2025-03-10 01:44:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:44:03] Production.INFO: 117
[2025-03-10 01:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:44:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:44:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:44:03] Production.INFO: ==17904== Releasing lock...
[2025-03-10 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:44:03] Production.INFO: ==17910== Lock acquired, processing the job...
[2025-03-10 01:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:44:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:44:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:44:03] Production.INFO: ==17912== Lock acquired, processing the job...
[2025-03-10 01:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:44:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:44:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:44:03] Production.INFO: Total Charge 0
[2025-03-10 01:44:03] Production.INFO: CreateAllLog End
[2025-03-10 01:44:04] Production.INFO: Account Balance End.
[2025-03-10 01:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:44:04] Production.INFO: ==17908== Releasing lock...
[2025-03-10 01:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 01:44:04] Production.INFO: count ==13
[2025-03-10 01:44:04] Production.ERROR: done
[2025-03-10 01:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 01:44:04] Production.INFO: count ==21
[2025-03-10 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646230') start
[2025-03-10 01:44:04] Production.ERROR: done
[2025-03-10 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646230') end
[2025-03-10 01:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:44:04] Production.INFO: 1
[2025-03-10 01:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:44:04] Production.INFO: ==17912== Releasing lock...
[2025-03-10 01:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:44:05
[end_date_ymd] => 2025-03-10 01:44:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:44:05' and `end` < '2025-03-10 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-03-10 01:44:11] Production.ERROR: CronJobId end10
[2025-03-10 01:44:11] Production.INFO: ==17906== Releasing lock...
[2025-03-10 01:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:44:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:44:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:44:14] Production.INFO: call_cost start
[2025-03-10 01:44:14] Production.INFO: call_cost end
[2025-03-10 01:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:44:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:44:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:44:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:44:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:44:15] Production.INFO: ==17902== Releasing lock...
[2025-03-10 01:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:44:17] Production.INFO: count ==349
[2025-03-10 01:44:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:44:05 - End Time 2025-03-10 01:44:05
[2025-03-10 01:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646231', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646231', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646231', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646231', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:44:17] Production.INFO: ProcessCDR(1,14646231,1,1,2)
[2025-03-10 01:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646231', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646231', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:44:21] Production.INFO: ==17910== Releasing lock...
[2025-03-10 01:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:44:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:45:02] Production.INFO: ==17977== Lock acquired, processing the job...
[2025-03-10 05:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:45:02] Production.INFO: neon service started
[2025-03-10 05:45:02] Production.INFO: neon service started
[2025-03-10 05:45:02] Production.INFO: ==17977== Releasing lock...
[2025-03-10 05:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:45:02] Production.INFO: ==17979== Lock acquired, processing the job...
[2025-03-10 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:45:02] Production.INFO: ==17981== Lock acquired, processing the job...
[2025-03-10 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:45:02] Production.INFO: ==17981== Releasing lock...
[2025-03-10 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:45:03] Production.INFO: ==17979== Releasing lock...
[2025-03-10 01:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:45:04] Production.INFO: ==17984== Lock acquired, processing the job...
[2025-03-10 01:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:45:04] Production.INFO: ==17986== Lock acquired, processing the job...
[2025-03-10 01:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:45:04] Production.INFO: ==17990== Lock acquired, processing the job...
[2025-03-10 01:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:45:04] Production.INFO: ==17988== Lock acquired, processing the job...
[2025-03-10 01:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:45:04] Production.INFO: ==17992== Lock acquired, processing the job...
[2025-03-10 01:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:45:04] Production.INFO: Account Balance Start.
[2025-03-10 01:45:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:45:04] Production.INFO: 117
[2025-03-10 01:45:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:45:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:45:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:45:04] Production.INFO: ==17994== Lock acquired, processing the job...
[2025-03-10 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:45:04] Production.INFO: Total Charge 0
[2025-03-10 01:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:45:04] Production.INFO: CreateAllLog End
[2025-03-10 01:45:04] Production.INFO: ==17986== Releasing lock...
[2025-03-10 01:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 01:45:04] Production.INFO: count ==13
[2025-03-10 01:45:04] Production.ERROR: done
[2025-03-10 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-03-10 01:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:45:04] Production.INFO: count ==21
[2025-03-10 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646235') start
[2025-03-10 01:45:05] Production.INFO: Account Balance End.
[2025-03-10 01:45:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646235') end
[2025-03-10 01:45:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:45:05] Production.INFO: 1
[2025-03-10 01:45:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:45:05] Production.ERROR: CronJobId end 12
[2025-03-10 01:45:05] Production.INFO: ==17990== Releasing lock...
[2025-03-10 01:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:45:05] Production.ERROR: done
[2025-03-10 01:45:05] Production.INFO: ==17994== Releasing lock...
[2025-03-10 01:45:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:45:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:45:06
[end_date_ymd] => 2025-03-10 01:45:06
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:45:06' and `end` < '2025-03-10 01: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-03-10 01:45:11] Production.ERROR: CronJobId end10
[2025-03-10 01:45:11] Production.INFO: ==17988== Releasing lock...
[2025-03-10 01:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:45:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:45:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:45:15] Production.INFO: call_cost start
[2025-03-10 01:45:15] Production.INFO: call_cost end
[2025-03-10 01:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:45:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:45:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:45:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:45:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:45:16] Production.INFO: ==17984== Releasing lock...
[2025-03-10 01:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:45:18] Production.INFO: count ==353
[2025-03-10 01:45:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:45:06 - End Time 2025-03-10 01:45:06
[2025-03-10 01:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646236', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646236', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646236', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646236', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:45:18] Production.INFO: ProcessCDR(1,14646236,1,1,2)
[2025-03-10 01:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646236', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646236', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:45:21] Production.INFO: ==17992== Releasing lock...
[2025-03-10 01:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:45:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:46:01] Production.INFO: ==18054== Lock acquired, processing the job...
[2025-03-10 05:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:46:01] Production.INFO: neon service started
[2025-03-10 05:46:01] Production.INFO: neon service started
[2025-03-10 05:46:01] Production.INFO: ==18054== Releasing lock...
[2025-03-10 05:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:46:02] Production.INFO: ==18056== Lock acquired, processing the job...
[2025-03-10 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:46:02] Production.INFO: ==18056== Releasing lock...
[2025-03-10 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:46:02] Production.INFO: ==18058== Lock acquired, processing the job...
[2025-03-10 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:46:02] Production.INFO: ==18058== Releasing lock...
[2025-03-10 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:46:03] Production.INFO: ==18060== Lock acquired, processing the job...
[2025-03-10 01:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:46:03] Production.INFO: ==18062== Lock acquired, processing the job...
[2025-03-10 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:46:03] Production.INFO: ==18067== Lock acquired, processing the job...
[2025-03-10 01:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:46:03] Production.INFO: ==18065== Lock acquired, processing the job...
[2025-03-10 01:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:46:03] Production.INFO: ==18069== Lock acquired, processing the job...
[2025-03-10 01:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:46:03] Production.INFO: Account Balance Start.
[2025-03-10 01:46:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:46:03] Production.INFO: 117
[2025-03-10 01:46:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:46:03] Production.INFO: ==18062== Releasing lock...
[2025-03-10 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:46:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:46:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:46:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:46:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:46:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:46:03] Production.INFO: ==18071== Lock acquired, processing the job...
[2025-03-10 01:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:46:03] Production.INFO: Total Charge 0
[2025-03-10 01:46:03] Production.INFO: CreateAllLog End
[2025-03-10 01: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-03-10 01:46:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:46:04] Production.INFO: count ==21
[2025-03-10 01:46:04] Production.INFO: Account Balance End.
[2025-03-10 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646240') start
[2025-03-10 01:46:04] Production.ERROR: done
[2025-03-10 01:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:46:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:46:04] Production.INFO: ==18067== Releasing lock...
[2025-03-10 01:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646240') end
[2025-03-10 01:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:46:04] Production.INFO: 1
[2025-03-10 01:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:46:04] Production.ERROR: done
[2025-03-10 01:46:04] Production.INFO: ==18071== Releasing lock...
[2025-03-10 01:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:46:04
[end_date_ymd] => 2025-03-10 01:46:04
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:46:04' and `end` < '2025-03-10 01: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-03-10 01:46:11] Production.ERROR: CronJobId end10
[2025-03-10 01:46:11] Production.INFO: ==18065== Releasing lock...
[2025-03-10 01:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:46:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:46:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:46:14] Production.INFO: call_cost start
[2025-03-10 01:46:14] Production.INFO: call_cost end
[2025-03-10 01:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:46:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:46:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:46:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:46:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:46:15] Production.INFO: ==18060== Releasing lock...
[2025-03-10 01:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:46:16] Production.INFO: count ==358
[2025-03-10 01:46:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:46:04 - End Time 2025-03-10 01:46:04
[2025-03-10 01:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646241', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646241', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646241', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646241', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:46:17] Production.INFO: ProcessCDR(1,14646241,1,1,2)
[2025-03-10 01:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646241', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646241', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:46:21] Production.INFO: ==18069== Releasing lock...
[2025-03-10 01:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:46:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:47:02] Production.INFO: ==18132== Lock acquired, processing the job...
[2025-03-10 05:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:47:02] Production.INFO: neon service started
[2025-03-10 05:47:02] Production.INFO: neon service started
[2025-03-10 05:47:02] Production.INFO: ==18132== Releasing lock...
[2025-03-10 05:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:47:02] Production.INFO: ==18134== Lock acquired, processing the job...
[2025-03-10 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:47:02] Production.INFO: ==18136== Lock acquired, processing the job...
[2025-03-10 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:47:02] Production.INFO: ==18136== Releasing lock...
[2025-03-10 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:47:03] Production.INFO: ==18134== Releasing lock...
[2025-03-10 01:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:47:04] Production.INFO: ==18143== Lock acquired, processing the job...
[2025-03-10 01:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:47:04] Production.INFO: ==18145== Lock acquired, processing the job...
[2025-03-10 01:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:47:04] Production.INFO: ==18139== Lock acquired, processing the job...
[2025-03-10 01:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:47:04] Production.INFO: Account Balance Start.
[2025-03-10 01:47:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:47:04] Production.INFO: 117
[2025-03-10 01:47:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:47:04] Production.INFO: ==18141== Lock acquired, processing the job...
[2025-03-10 01:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:47:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:47:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:47:04] Production.INFO: Total Charge 0
[2025-03-10 01:47:04] Production.INFO: ==18147== Lock acquired, processing the job...
[2025-03-10 01:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:47:04] Production.INFO: CreateAllLog End
[2025-03-10 01:47:04] Production.INFO: ==18149== Lock acquired, processing the job...
[2025-03-10 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 01:47:04] Production.INFO: ==18141== Releasing lock...
[2025-03-10 01:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:47:04] Production.INFO: count ==13
[2025-03-10 01:47:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 01:47:04] Production.INFO: count ==21
[2025-03-10 01:47:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646245') start
[2025-03-10 01:47:05] Production.ERROR: CronJobId end 12
[2025-03-10 01:47:05] Production.INFO: ==18145== Releasing lock...
[2025-03-10 01:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:47:05] Production.ERROR: done
[2025-03-10 01:47:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:47:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646245') end
[2025-03-10 01:47:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:47:05] Production.INFO: 1
[2025-03-10 01:47:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:47:05] Production.ERROR: done
[2025-03-10 01:47:05] Production.INFO: ==18149== Releasing lock...
[2025-03-10 01:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:47:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:47:06
[end_date_ymd] => 2025-03-10 01:47:06
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:47:06' and `end` < '2025-03-10 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-03-10 01:47:12] Production.ERROR: CronJobId end10
[2025-03-10 01:47:12] Production.INFO: ==18143== Releasing lock...
[2025-03-10 01:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:47:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:47:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:47:15] Production.INFO: call_cost start
[2025-03-10 01:47:15] Production.INFO: call_cost end
[2025-03-10 01:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:47:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:47:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:47:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:47:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:47:16] Production.INFO: ==18139== Releasing lock...
[2025-03-10 01:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:47:18] Production.INFO: count ==358
[2025-03-10 01:47:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:47:06 - End Time 2025-03-10 01:47:06
[2025-03-10 01:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646246', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646246', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646246', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646246', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:47:18] Production.INFO: ProcessCDR(1,14646246,1,1,2)
[2025-03-10 01:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646246', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646246', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:47:21] Production.INFO: ==18147== Releasing lock...
[2025-03-10 01:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:47:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:48:01] Production.INFO: ==18215== Lock acquired, processing the job...
[2025-03-10 05:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:48:01] Production.INFO: neon service started
[2025-03-10 05:48:01] Production.INFO: neon service started
[2025-03-10 05:48:01] Production.INFO: ==18215== Releasing lock...
[2025-03-10 05:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:48:02] Production.INFO: ==18217== Lock acquired, processing the job...
[2025-03-10 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:48:02] Production.INFO: ==18217== Releasing lock...
[2025-03-10 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:48:02] Production.INFO: ==18219== Lock acquired, processing the job...
[2025-03-10 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:48:02] Production.INFO: ==18219== Releasing lock...
[2025-03-10 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:48:03] Production.INFO: ==18223== Lock acquired, processing the job...
[2025-03-10 01:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:48:03] Production.INFO: ==18225== Lock acquired, processing the job...
[2025-03-10 01:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:48:03] Production.INFO: ==18221== Lock acquired, processing the job...
[2025-03-10 01:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:48:03] Production.INFO: ==18227== Lock acquired, processing the job...
[2025-03-10 01:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:48:03] Production.INFO: ==18231== Lock acquired, processing the job...
[2025-03-10 01:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:48:03] Production.INFO: Account Balance Start.
[2025-03-10 01:48:03] Production.INFO: ==18229== Lock acquired, processing the job...
[2025-03-10 01:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:48:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:48:03] Production.INFO: 117
[2025-03-10 01:48:03] Production.INFO: ==18223== Releasing lock...
[2025-03-10 01:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:48:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 01:48:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:48:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:48:04] Production.INFO: Total Charge 0
[2025-03-10 01:48:04] Production.INFO: CreateAllLog End
[2025-03-10 01:48:04] Production.INFO: count ==13
[2025-03-10 01: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-03-10 01:48:04] Production.INFO: count ==21
[2025-03-10 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646250') start
[2025-03-10 01:48:04] Production.ERROR: done
[2025-03-10 01:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646250') end
[2025-03-10 01:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:48:04] Production.INFO: 1
[2025-03-10 01:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:48:04] Production.ERROR: done
[2025-03-10 01:48:04] Production.INFO: ==18231== Releasing lock...
[2025-03-10 01:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:48:04] Production.INFO: Account Balance End.
[2025-03-10 01:48:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:48:04] Production.INFO: ==18227== Releasing lock...
[2025-03-10 01:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:48:05
[end_date_ymd] => 2025-03-10 01:48:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:48:05' and `end` < '2025-03-10 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-03-10 01:48:11] Production.ERROR: CronJobId end10
[2025-03-10 01:48:11] Production.INFO: ==18225== Releasing lock...
[2025-03-10 01:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:48:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:48:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:48:14] Production.INFO: call_cost start
[2025-03-10 01:48:14] Production.INFO: call_cost end
[2025-03-10 01:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:48:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:48:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:48:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:48:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:48:15] Production.INFO: ==18221== Releasing lock...
[2025-03-10 01:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:48:17] Production.INFO: count ==359
[2025-03-10 01:48:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:48:05 - End Time 2025-03-10 01:48:05
[2025-03-10 01:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646251', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646251', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646251', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646251', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:48:17] Production.INFO: ProcessCDR(1,14646251,1,1,2)
[2025-03-10 01:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646251', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646251', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:48:22] Production.INFO: ==18229== Releasing lock...
[2025-03-10 01:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:48:22] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:49:02] Production.INFO: ==18295== Lock acquired, processing the job...
[2025-03-10 05:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:49:02] Production.INFO: neon service started
[2025-03-10 05:49:02] Production.INFO: neon service started
[2025-03-10 05:49:02] Production.INFO: ==18295== Releasing lock...
[2025-03-10 05:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:49:02] Production.INFO: ==18297== Lock acquired, processing the job...
[2025-03-10 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:49:02] Production.INFO: ==18297== Releasing lock...
[2025-03-10 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:49:02] Production.INFO: ==18299== Lock acquired, processing the job...
[2025-03-10 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:49:03] Production.INFO: ==18299== Releasing lock...
[2025-03-10 05:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:49:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:49:03] Production.INFO: ==18301== Lock acquired, processing the job...
[2025-03-10 01:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:49:03] Production.INFO: ==18303== Lock acquired, processing the job...
[2025-03-10 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:49:03] Production.INFO: ==18310== Lock acquired, processing the job...
[2025-03-10 01:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:49:04] Production.INFO: ==18303== Releasing lock...
[2025-03-10 01:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:49:04] Production.INFO: ==18305== Lock acquired, processing the job...
[2025-03-10 01:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:49:04] Production.INFO: ==18308== Lock acquired, processing the job...
[2025-03-10 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:49:04] Production.INFO: ==18312== Lock acquired, processing the job...
[2025-03-10 01:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:49:04] Production.INFO: Account Balance Start.
[2025-03-10 01:49:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:49:04] Production.INFO: 117
[2025-03-10 01:49:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:49:04] Production.ERROR: done
[2025-03-10 01:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 01:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:49:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:49:04] Production.INFO: count ==21
[2025-03-10 01:49:04] Production.INFO: Total Charge 0
[2025-03-10 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646255') start
[2025-03-10 01:49:04] Production.INFO: CreateAllLog End
[2025-03-10 01:49:04] Production.ERROR: done
[2025-03-10 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646255') end
[2025-03-10 01:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:49:04] Production.INFO: 1
[2025-03-10 01:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:49:04] Production.INFO: ==18312== Releasing lock...
[2025-03-10 01:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:49:04] Production.INFO: Account Balance End.
[2025-03-10 01:49:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:49:04] Production.INFO: ==18308== Releasing lock...
[2025-03-10 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:49:05
[end_date_ymd] => 2025-03-10 01:49:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:49:05' and `end` < '2025-03-10 01: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-03-10 01:49:12] Production.ERROR: CronJobId end10
[2025-03-10 01:49:12] Production.INFO: ==18305== Releasing lock...
[2025-03-10 01:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:49:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:49:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:49:14] Production.INFO: call_cost start
[2025-03-10 01:49:14] Production.INFO: call_cost end
[2025-03-10 01:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:49:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:49:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:49:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:49:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:49:15] Production.INFO: ==18301== Releasing lock...
[2025-03-10 01:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:49:17] Production.INFO: count ==359
[2025-03-10 01:49:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:49:05 - End Time 2025-03-10 01:49:05
[2025-03-10 01:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646256', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646256', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646256', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646256', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:49:17] Production.INFO: ProcessCDR(1,14646256,1,1,2)
[2025-03-10 01:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646256', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646256', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:49:21] Production.INFO: ==18310== Releasing lock...
[2025-03-10 01:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:49:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:50:01] Production.INFO: ==18372== Lock acquired, processing the job...
[2025-03-10 05:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:50:01] Production.INFO: neon service started
[2025-03-10 05:50:01] Production.INFO: neon service started
[2025-03-10 05:50:01] Production.INFO: ==18372== Releasing lock...
[2025-03-10 05:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:50:02] Production.INFO: ==18374== Lock acquired, processing the job...
[2025-03-10 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:50:02] Production.INFO: ==18376== Lock acquired, processing the job...
[2025-03-10 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:50:02] Production.INFO: ==18376== Releasing lock...
[2025-03-10 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:50:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:50:02] Production.INFO: ==18374== Releasing lock...
[2025-03-10 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:50:03] Production.INFO: ==18383== Lock acquired, processing the job...
[2025-03-10 01:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:50:03] Production.INFO: ==18379== Lock acquired, processing the job...
[2025-03-10 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 01:50:03] Production.INFO: ==18387== Lock acquired, processing the job...
[2025-03-10 01:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 01:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 01:50:03] Production.ERROR: CronJob PID - 18383
[2025-03-10 01:50:03] Production.ERROR: CronJob Title - Account Block
[2025-03-10 01:50:03] Production.ERROR: CronJob ID - 7
[2025-03-10 01:50:03] Production.ERROR: CronJob Last Run Time 2025-03-10 01:50:00
[2025-03-10 01:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 01:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 01:50:03] Production.INFO: ==18391== Lock acquired, processing the job...
[2025-03-10 01:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 01:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 01:50:03] Production.INFO: ==18379== Releasing lock...
[2025-03-10 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 01:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 01:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:50:03] Production.INFO: ==18381== Lock acquired, processing the job...
[2025-03-10 01:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:50:03] Production.INFO: Account Balance Start.
[2025-03-10 01:50:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:50:03] Production.INFO: 117
[2025-03-10 01:50:04] Production.INFO: ==18385== Lock acquired, processing the job...
[2025-03-10 01:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:50:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:50:04] Production.INFO: ==18383== Releasing lock...
[2025-03-10 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:50:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:50:04] Production.INFO: ==18389== Lock acquired, processing the job...
[2025-03-10 01:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:50:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:50:04] Production.INFO: ==18393== Lock acquired, processing the job...
[2025-03-10 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:50:04] Production.INFO: Total Charge 0
[2025-03-10 01:50:04] Production.INFO: CreateAllLog End
[2025-03-10 01:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 01:50:04] Production.ERROR: done
[2025-03-10 01:50:04] Production.INFO: count ==13
[2025-03-10 01:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 01:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646261', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 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-03-10 01:50:04] Production.INFO: count ==21
[2025-03-10 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646260') start
[2025-03-10 01:50:04] Production.INFO: Account Balance End.
[2025-03-10 01:50:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:50:04] Production.INFO: ==18387== Releasing lock...
[2025-03-10 01:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646260') end
[2025-03-10 01:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:50:04] Production.INFO: 1
[2025-03-10 01:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:50:04] Production.ERROR: done
[2025-03-10 01:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:50:04] Production.INFO: ==18393== Releasing lock...
[2025-03-10 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:50:05] Production.ERROR: done
[2025-03-10 01:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:50:06
[end_date_ymd] => 2025-03-10 01:50:06
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:50:06' and `end` < '2025-03-10 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-03-10 01:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646261', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 01:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 01:50:09] Production.INFO: ProcessCDR(1,14646261,1,1,2)
[2025-03-10 01:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646261,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646261,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:50:09] Production.INFO: ==18391== Releasing lock...
[2025-03-10 01:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 01:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 01:50:14] Production.ERROR: CronJobId end10
[2025-03-10 01:50:14] Production.INFO: ==18385== Releasing lock...
[2025-03-10 01:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:50:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:50:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:50:16] Production.INFO: call_cost start
[2025-03-10 01:50:16] Production.INFO: call_cost end
[2025-03-10 01:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:50:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:50:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:50:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:50:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:50:17] Production.INFO: ==18381== Releasing lock...
[2025-03-10 01:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:50:18] Production.INFO: count ==359
[2025-03-10 01:50:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:50:06 - End Time 2025-03-10 01:50:06
[2025-03-10 01:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646262', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646262', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646262', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646262', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:50:18] Production.INFO: ProcessCDR(1,14646262,1,1,2)
[2025-03-10 01:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646262', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646262', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:50:21] Production.INFO: ==18389== Releasing lock...
[2025-03-10 01:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:50:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:51:02] Production.INFO: ==18455== Lock acquired, processing the job...
[2025-03-10 05:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:51:02] Production.INFO: neon service started
[2025-03-10 05:51:02] Production.INFO: neon service started
[2025-03-10 05:51:02] Production.INFO: ==18455== Releasing lock...
[2025-03-10 05:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:51:02] Production.INFO: ==18457== Lock acquired, processing the job...
[2025-03-10 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:51:02] Production.INFO: ==18457== Releasing lock...
[2025-03-10 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:51:02] Production.INFO: ==18459== Lock acquired, processing the job...
[2025-03-10 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:51:03] Production.INFO: ==18459== Releasing lock...
[2025-03-10 05:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:51:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:51:03] Production.INFO: ==18461== Lock acquired, processing the job...
[2025-03-10 01:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:51:03] Production.INFO: ==18472== Lock acquired, processing the job...
[2025-03-10 01:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:51:03] Production.INFO: ==18463== Lock acquired, processing the job...
[2025-03-10 01:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01: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-03-10 01:51:04] Production.INFO: ==18465== Lock acquired, processing the job...
[2025-03-10 01:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:51:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:51:04] Production.INFO: ==18467== Lock acquired, processing the job...
[2025-03-10 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:51:04] Production.INFO: count ==21
[2025-03-10 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646264') start
[2025-03-10 01:51:04] Production.INFO: ==18470== Lock acquired, processing the job...
[2025-03-10 01:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646264') end
[2025-03-10 01:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:51:04] Production.INFO: 1
[2025-03-10 01:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:51:04] Production.INFO: ==18472== Releasing lock...
[2025-03-10 01:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:51:04] Production.INFO: Account Balance Start.
[2025-03-10 01:51:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:51:04] Production.INFO: 117
[2025-03-10 01:51:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:51:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:51:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:51:04] Production.INFO: ==18463== Releasing lock...
[2025-03-10 01:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:51:04] Production.INFO: Total Charge 0
[2025-03-10 01:51:04] Production.INFO: CreateAllLog End
[2025-03-10 01:51:04] Production.ERROR: done
[2025-03-10 01:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:51:04] Production.INFO: Account Balance End.
[2025-03-10 01:51:04] Production.ERROR: done
[2025-03-10 01:51:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:51:04] Production.INFO: ==18467== Releasing lock...
[2025-03-10 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:51:06
[end_date_ymd] => 2025-03-10 01:51:06
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:51:06' and `end` < '2025-03-10 01: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-03-10 01:51:12] Production.ERROR: CronJobId end10
[2025-03-10 01:51:12] Production.INFO: ==18465== Releasing lock...
[2025-03-10 01:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:51:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:51:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:51:15] Production.INFO: call_cost start
[2025-03-10 01:51:15] Production.INFO: call_cost end
[2025-03-10 01:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:51:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:51:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:51:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:51:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:51:16] Production.INFO: ==18461== Releasing lock...
[2025-03-10 01:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:51:17] Production.INFO: count ==359
[2025-03-10 01:51:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:51:06 - End Time 2025-03-10 01:51:06
[2025-03-10 01:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646267', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646267', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646267', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646267', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:51:18] Production.INFO: ProcessCDR(1,14646267,1,1,2)
[2025-03-10 01:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646267', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646267', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:51:21] Production.INFO: ==18470== Releasing lock...
[2025-03-10 01:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:51:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:52:01] Production.INFO: ==18539== Lock acquired, processing the job...
[2025-03-10 05:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:52:01] Production.INFO: neon service started
[2025-03-10 05:52:01] Production.INFO: neon service started
[2025-03-10 05:52:01] Production.INFO: ==18539== Releasing lock...
[2025-03-10 05:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:52:02] Production.INFO: ==18541== Lock acquired, processing the job...
[2025-03-10 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:52:02] Production.INFO: ==18541== Releasing lock...
[2025-03-10 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:52:02] Production.INFO: ==18543== Lock acquired, processing the job...
[2025-03-10 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:52:02] Production.INFO: ==18543== Releasing lock...
[2025-03-10 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:52:03] Production.INFO: ==18549== Lock acquired, processing the job...
[2025-03-10 01:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:52:03] Production.INFO: ==18545== Lock acquired, processing the job...
[2025-03-10 01:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:52:03] Production.INFO: ==18556== Lock acquired, processing the job...
[2025-03-10 01:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:52:03] Production.INFO: ==18547== Lock acquired, processing the job...
[2025-03-10 01:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 01:52:03] Production.INFO: ==18552== Lock acquired, processing the job...
[2025-03-10 01:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:52:03] Production.INFO: count ==13
[2025-03-10 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-03-10 01:52:03] Production.INFO: count ==21
[2025-03-10 01:52:03] Production.INFO: ==18554== Lock acquired, processing the job...
[2025-03-10 01:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646268') start
[2025-03-10 01:52:03] Production.INFO: Account Balance Start.
[2025-03-10 01:52:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:52:03] Production.INFO: 117
[2025-03-10 01:52:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646268') end
[2025-03-10 01:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:52:03] Production.INFO: 1
[2025-03-10 01:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:52:03] Production.INFO: ==18556== Releasing lock...
[2025-03-10 01:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:52:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:52:04] Production.ERROR: done
[2025-03-10 01:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:52:04] Production.INFO: ==18547== Releasing lock...
[2025-03-10 01:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:52:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:52:04] Production.ERROR: done
[2025-03-10 01:52:04] Production.INFO: Total Charge 0
[2025-03-10 01:52:04] Production.INFO: CreateAllLog End
[2025-03-10 01:52:04] Production.INFO: Account Balance End.
[2025-03-10 01:52:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:52:04] Production.INFO: ==18552== Releasing lock...
[2025-03-10 01:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:52:05
[end_date_ymd] => 2025-03-10 01:52:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:52:05' and `end` < '2025-03-10 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-03-10 01:52:12] Production.ERROR: CronJobId end10
[2025-03-10 01:52:12] Production.INFO: ==18549== Releasing lock...
[2025-03-10 01:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:52:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:52:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:52:15] Production.INFO: call_cost start
[2025-03-10 01:52:15] Production.INFO: call_cost end
[2025-03-10 01:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:52:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:52:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:52:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:52:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:52:16] Production.INFO: ==18545== Releasing lock...
[2025-03-10 01:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:52:17] Production.INFO: count ==359
[2025-03-10 01:52:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:52:05 - End Time 2025-03-10 01:52:05
[2025-03-10 01:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646272', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646272', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646272', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646272', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:52:17] Production.INFO: ProcessCDR(1,14646272,1,1,2)
[2025-03-10 01:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646272', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646272', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:52:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:52:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:52:20] Production.INFO: ==18554== Releasing lock...
[2025-03-10 01:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:52:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:53:02] Production.INFO: ==18625== Lock acquired, processing the job...
[2025-03-10 05:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:53:02] Production.INFO: neon service started
[2025-03-10 05:53:02] Production.INFO: neon service started
[2025-03-10 05:53:02] Production.INFO: ==18625== Releasing lock...
[2025-03-10 05:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:53:02] Production.INFO: ==18628== Lock acquired, processing the job...
[2025-03-10 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:53:02] Production.INFO: ==18628== Releasing lock...
[2025-03-10 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:53:02] Production.INFO: ==18630== Lock acquired, processing the job...
[2025-03-10 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:53:02] Production.INFO: ==18630== Releasing lock...
[2025-03-10 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:53:03] Production.INFO: ==18636== Lock acquired, processing the job...
[2025-03-10 01:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:53:03] Production.INFO: ==18632== Lock acquired, processing the job...
[2025-03-10 01:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:53:03] Production.INFO: ==18642== Lock acquired, processing the job...
[2025-03-10 01:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 01:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:53:04] Production.INFO: count ==13
[2025-03-10 01:53:04] Production.INFO: ==18634== Lock acquired, processing the job...
[2025-03-10 01:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:53:04] Production.INFO: ==18638== Lock acquired, processing the job...
[2025-03-10 01:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 01:53:04] Production.INFO: count ==21
[2025-03-10 01:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646273') start
[2025-03-10 01:53:04] Production.INFO: ==18640== Lock acquired, processing the job...
[2025-03-10 01:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646273') end
[2025-03-10 01:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:53:04] Production.INFO: 1
[2025-03-10 01:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:53:04] Production.INFO: Account Balance Start.
[2025-03-10 01:53:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:53:04] Production.INFO: 117
[2025-03-10 01:53:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:53:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:53:04] Production.INFO: ==18642== Releasing lock...
[2025-03-10 01:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:53:04] Production.INFO: Total Charge 0
[2025-03-10 01:53:04] Production.INFO: CreateAllLog End
[2025-03-10 01:53:04] Production.ERROR: done
[2025-03-10 01:53:04] Production.INFO: ==18634== Releasing lock...
[2025-03-10 01:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:53:04] Production.INFO: Account Balance End.
[2025-03-10 01:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:53:04] Production.INFO: ==18638== Releasing lock...
[2025-03-10 01:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:53:04] Production.ERROR: done
[2025-03-10 01:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:53:05
[end_date_ymd] => 2025-03-10 01:53:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:53:05' and `end` < '2025-03-10 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-03-10 01: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_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-03-10 01:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:53:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:53:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:53:12] Production.INFO: call_cost start
[2025-03-10 01:53:12] Production.INFO: call_cost end
[2025-03-10 01:53:12] Production.ERROR: CronJobId end10
[2025-03-10 01:53:12] Production.INFO: ==18636== Releasing lock...
[2025-03-10 01:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:53:13] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:53:13] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:53:13] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:53:13] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:53:13] Production.INFO: ==18632== Releasing lock...
[2025-03-10 01:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:53:17] Production.INFO: count ==355
[2025-03-10 01:53:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:53:05 - End Time 2025-03-10 01:53:05
[2025-03-10 01:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646277', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646277', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646277', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646277', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:53:18] Production.INFO: ProcessCDR(1,14646277,1,1,2)
[2025-03-10 01:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646277', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646277', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:53:21] Production.INFO: ==18640== Releasing lock...
[2025-03-10 01:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:53:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:54:01] Production.INFO: ==18704== Lock acquired, processing the job...
[2025-03-10 05:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:54:01] Production.INFO: neon service started
[2025-03-10 05:54:01] Production.INFO: neon service started
[2025-03-10 05:54:01] Production.INFO: ==18704== Releasing lock...
[2025-03-10 05:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:54:01] Production.INFO: ==18708== Lock acquired, processing the job...
[2025-03-10 05:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:54:01] Production.INFO: ==18708== Releasing lock...
[2025-03-10 05:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:54:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:54:02] Production.INFO: ==18706== Lock acquired, processing the job...
[2025-03-10 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:54:02] Production.INFO: ==18706== Releasing lock...
[2025-03-10 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:54:03] Production.INFO: ==18718== Lock acquired, processing the job...
[2025-03-10 01:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:54:03] Production.INFO: ==18716== Lock acquired, processing the job...
[2025-03-10 01:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:54:03] Production.INFO: Account Balance Start.
[2025-03-10 01:54:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:54:03] Production.INFO: 117
[2025-03-10 01:54:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:54:03] Production.INFO: ==18710== Lock acquired, processing the job...
[2025-03-10 01:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:54:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:54:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:54:03] Production.INFO: Total Charge 0
[2025-03-10 01:54:03] Production.INFO: CreateAllLog End
[2025-03-10 01:54:03] Production.INFO: ==18712== Lock acquired, processing the job...
[2025-03-10 01:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:54:03] Production.INFO: ==18721== Lock acquired, processing the job...
[2025-03-10 01:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:54:03] Production.INFO: ==18723== Lock acquired, processing the job...
[2025-03-10 01:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:54:03] Production.INFO: Account Balance End.
[2025-03-10 01:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:54:03] Production.ERROR: CronJobId end 12
[2025-03-10 01:54:03] Production.INFO: ==18718== Releasing lock...
[2025-03-10 01:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 01:54:04] Production.INFO: count ==13
[2025-03-10 01:54:04] Production.INFO: ==18712== Releasing lock...
[2025-03-10 01:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01: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-03-10 01:54:04] Production.INFO: count ==21
[2025-03-10 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646281') start
[2025-03-10 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646281') end
[2025-03-10 01:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:54:04] Production.INFO: 1
[2025-03-10 01:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:54:04] Production.INFO: ==18723== Releasing lock...
[2025-03-10 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:54:04] Production.ERROR: done
[2025-03-10 01:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:54:04] Production.ERROR: done
[2025-03-10 01:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:54:05
[end_date_ymd] => 2025-03-10 01:54:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:54:05' and `end` < '2025-03-10 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-03-10 01:54:12] Production.ERROR: CronJobId end10
[2025-03-10 01:54:12] Production.INFO: ==18716== Releasing lock...
[2025-03-10 01:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:54:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:54:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:54:14] Production.INFO: call_cost start
[2025-03-10 01:54:14] Production.INFO: call_cost end
[2025-03-10 01:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:54:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:54:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:54:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:54:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:54:15] Production.INFO: ==18710== Releasing lock...
[2025-03-10 01:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:54:17] Production.INFO: count ==347
[2025-03-10 01:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:54:05 - End Time 2025-03-10 01:54:05
[2025-03-10 01:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646282', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646282', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646282', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646282', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:54:17] Production.INFO: ProcessCDR(1,14646282,1,1,2)
[2025-03-10 01:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646282', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646282', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:54:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:54:20] Production.INFO: ==18721== Releasing lock...
[2025-03-10 01:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:54:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:55:01] Production.INFO: ==18824== Lock acquired, processing the job...
[2025-03-10 05:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:55:01] Production.INFO: neon service started
[2025-03-10 05:55:02] Production.INFO: neon service started
[2025-03-10 05:55:02] Production.INFO: ==18824== Releasing lock...
[2025-03-10 05:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:55:02] Production.INFO: ==18828== Lock acquired, processing the job...
[2025-03-10 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:55:02] Production.INFO: ==18828== Releasing lock...
[2025-03-10 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:55:02] Production.INFO: ==18826== Lock acquired, processing the job...
[2025-03-10 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:55:02] Production.INFO: ==18826== Releasing lock...
[2025-03-10 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:55:03] Production.INFO: ==18834== Lock acquired, processing the job...
[2025-03-10 01:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:55:03] Production.INFO: ==18841== Lock acquired, processing the job...
[2025-03-10 01:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:55:03] Production.INFO: ==18830== Lock acquired, processing the job...
[2025-03-10 01:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:55:04] Production.INFO: ==18832== Lock acquired, processing the job...
[2025-03-10 01:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 01:55:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:55:04] Production.INFO: ==18836== Lock acquired, processing the job...
[2025-03-10 01:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:55:04] Production.INFO: count ==21
[2025-03-10 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646283') start
[2025-03-10 01:55:04] Production.INFO: ==18839== Lock acquired, processing the job...
[2025-03-10 01:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646283') end
[2025-03-10 01:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:55:04] Production.INFO: 1
[2025-03-10 01:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:55:04] Production.INFO: ==18841== Releasing lock...
[2025-03-10 01:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:55:04] Production.INFO: Account Balance Start.
[2025-03-10 01:55:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:55:04] Production.INFO: 117
[2025-03-10 01:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:55:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:55:04] Production.INFO: ==18832== Releasing lock...
[2025-03-10 01:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:55:04] Production.INFO: Total Charge 0
[2025-03-10 01:55:04] Production.INFO: CreateAllLog End
[2025-03-10 01:55:04] Production.ERROR: done
[2025-03-10 01:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:55:04] Production.ERROR: done
[2025-03-10 01:55:04] Production.INFO: Account Balance End.
[2025-03-10 01:55:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:55:04] Production.INFO: ==18836== Releasing lock...
[2025-03-10 01:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:55:05
[end_date_ymd] => 2025-03-10 01:55:05
[RateCDR] => 1
)
[2025-03-10 01: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-03-09 22:55:05' and `end` < '2025-03-10 01: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-03-10 01:55:12] Production.ERROR: CronJobId end10
[2025-03-10 01:55:12] Production.INFO: ==18834== Releasing lock...
[2025-03-10 01:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:55:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:55:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:55:14] Production.INFO: call_cost start
[2025-03-10 01:55:14] Production.INFO: call_cost end
[2025-03-10 01:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:55:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:55:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:55:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:55:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:55:15] Production.INFO: ==18830== Releasing lock...
[2025-03-10 01:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:55:18] Production.INFO: count ==337
[2025-03-10 01:55:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:55:05 - End Time 2025-03-10 01:55:05
[2025-03-10 01:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646287', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646287', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646287', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646287', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:55:18] Production.INFO: ProcessCDR(1,14646287,1,1,2)
[2025-03-10 01:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646287', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646287', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:55:23] Production.INFO: ==18839== Releasing lock...
[2025-03-10 01:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:55:23] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 05:56:01] Production.INFO: ==18905== Lock acquired, processing the job...
[2025-03-10 05:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:56:01] Production.INFO: neon service started
[2025-03-10 05:56:01] Production.INFO: neon service started
[2025-03-10 05:56:01] Production.INFO: ==18905== Releasing lock...
[2025-03-10 05:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:56:02] Production.INFO: ==18907== Lock acquired, processing the job...
[2025-03-10 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:56:02] Production.INFO: ==18909== Lock acquired, processing the job...
[2025-03-10 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:56:02] Production.INFO: ==18909== Releasing lock...
[2025-03-10 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:56:02] Production.INFO: ==18907== Releasing lock...
[2025-03-10 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:56:03] Production.INFO: ==18916== Lock acquired, processing the job...
[2025-03-10 01:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:56:03] Production.INFO: ==18912== Lock acquired, processing the job...
[2025-03-10 01:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:56:03] Production.INFO: ==18920== Lock acquired, processing the job...
[2025-03-10 01:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:56:03] Production.INFO: ==18914== Lock acquired, processing the job...
[2025-03-10 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:56:03] Production.INFO: ==18918== Lock acquired, processing the job...
[2025-03-10 01:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:56:03] Production.INFO: ==18922== Lock acquired, processing the job...
[2025-03-10 01:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:56:03] Production.ERROR: done
[2025-03-10 01:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:56:04] Production.INFO: Account Balance Start.
[2025-03-10 01: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-03-10 01:56:04] Production.INFO: CreateAllLog Start
[2025-03-10 01:56:04] Production.INFO: 117
[2025-03-10 01:56:04] Production.INFO: Date 2025-03-08
[2025-03-10 01:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:56:04] Production.INFO: count ==13
[2025-03-10 01:56:04] Production.ERROR: done
[2025-03-10 01: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-03-10 01:56:04] Production.INFO: count ==21
[2025-03-10 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646290') start
[2025-03-10 01:56:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:56:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:56:04] Production.INFO: Total Charge 0
[2025-03-10 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646290') end
[2025-03-10 01:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:56:04] Production.INFO: 1
[2025-03-10 01:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:56:04] Production.INFO: CreateAllLog End
[2025-03-10 01:56:04] Production.INFO: ==18922== Releasing lock...
[2025-03-10 01:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:56:04] Production.INFO: ==18914== Releasing lock...
[2025-03-10 01:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:56:04] Production.INFO: Account Balance End.
[2025-03-10 01:56:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:56:04] Production.INFO: ==18918== Releasing lock...
[2025-03-10 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:56:05
[end_date_ymd] => 2025-03-10 01:56:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:56:05' and `end` < '2025-03-10 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-03-10 01:56:12] Production.ERROR: CronJobId end10
[2025-03-10 01:56:12] Production.INFO: ==18916== Releasing lock...
[2025-03-10 01:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:56:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:56:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:56:14] Production.INFO: call_cost start
[2025-03-10 01:56:14] Production.INFO: call_cost end
[2025-03-10 01:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:56:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:56:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:56:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:56:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:56:15] Production.INFO: ==18912== Releasing lock...
[2025-03-10 01:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:56:17] Production.INFO: count ==336
[2025-03-10 01:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:56:05 - End Time 2025-03-10 01:56:05
[2025-03-10 01:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646292', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646292', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646292', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646292', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:56:17] Production.INFO: ProcessCDR(1,14646292,1,1,2)
[2025-03-10 01:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646292', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646292', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:56:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:56:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:56:20] Production.INFO: ==18920== Releasing lock...
[2025-03-10 01:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:56:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:57:01] Production.INFO: ==18986== Lock acquired, processing the job...
[2025-03-10 05:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:57:01] Production.INFO: neon service started
[2025-03-10 05:57:02] Production.INFO: neon service started
[2025-03-10 05:57:02] Production.INFO: ==18986== Releasing lock...
[2025-03-10 05:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:57:02] Production.INFO: ==18988== Lock acquired, processing the job...
[2025-03-10 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:57:02] Production.INFO: ==18988== Releasing lock...
[2025-03-10 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:57:02] Production.INFO: ==18990== Lock acquired, processing the job...
[2025-03-10 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:57:02] Production.INFO: ==18990== Releasing lock...
[2025-03-10 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:57:03] Production.INFO: ==18992== Lock acquired, processing the job...
[2025-03-10 01:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:57:03] Production.INFO: ==18994== Lock acquired, processing the job...
[2025-03-10 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:57:03] Production.INFO: ==18999== Lock acquired, processing the job...
[2025-03-10 01:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:57:03] Production.INFO: ==18994== Releasing lock...
[2025-03-10 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:57:03] Production.INFO: ==18997== Lock acquired, processing the job...
[2025-03-10 01:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:57:03] Production.INFO: Account Balance Start.
[2025-03-10 01:57:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:57:03] Production.INFO: 117
[2025-03-10 01:57:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:57:04] Production.INFO: Date 2025-03-09
[2025-03-10 01:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:57:04] Production.INFO: ==19001== Lock acquired, processing the job...
[2025-03-10 01:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:57:04] Production.INFO: ==19003== Lock acquired, processing the job...
[2025-03-10 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:57:04] Production.INFO: Date 2025-03-10
[2025-03-10 01:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 01:57:04] Production.INFO: Total Charge 0
[2025-03-10 01:57:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 01:57:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:57:04] Production.INFO: count ==21
[2025-03-10 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646296') start
[2025-03-10 01:57:04] Production.INFO: Account Balance End.
[2025-03-10 01:57:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:57:04] Production.INFO: ==18999== Releasing lock...
[2025-03-10 01:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646296') end
[2025-03-10 01:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:57:04] Production.INFO: 1
[2025-03-10 01:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:57:04] Production.ERROR: done
[2025-03-10 01:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:57:04] Production.INFO: ==19003== Releasing lock...
[2025-03-10 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:57:04] Production.ERROR: done
[2025-03-10 01:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:57:05
[end_date_ymd] => 2025-03-10 01:57:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:57:05' and `end` < '2025-03-10 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-03-10 01:57:12] Production.ERROR: CronJobId end10
[2025-03-10 01:57:12] Production.INFO: ==18997== Releasing lock...
[2025-03-10 01:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:57:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:57:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:57:14] Production.INFO: call_cost start
[2025-03-10 01:57:14] Production.INFO: call_cost end
[2025-03-10 01:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:57:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:57:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:57:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:57:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:57:15] Production.INFO: ==18992== Releasing lock...
[2025-03-10 01:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:57:17] Production.INFO: count ==336
[2025-03-10 01:57:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:57:05 - End Time 2025-03-10 01:57:05
[2025-03-10 01:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646297', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646297', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646297', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646297', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:57:18] Production.INFO: ProcessCDR(1,14646297,1,1,2)
[2025-03-10 01:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646297', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646297', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:57:21] Production.INFO: ==19001== Releasing lock...
[2025-03-10 01:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:57:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:58:01] Production.INFO: ==19068== Lock acquired, processing the job...
[2025-03-10 05:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:58:01] Production.INFO: neon service started
[2025-03-10 05:58:01] Production.INFO: neon service started
[2025-03-10 05:58:01] Production.INFO: ==19068== Releasing lock...
[2025-03-10 05:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 01:58:01] Production.INFO: ==19070== Lock acquired, processing the job...
[2025-03-10 01:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:58:02] Production.INFO: ==19070== Releasing lock...
[2025-03-10 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:58:02] Production.INFO: ==19072== Lock acquired, processing the job...
[2025-03-10 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:58:02] Production.INFO: ==19072== Releasing lock...
[2025-03-10 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:58:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:58:03] Production.INFO: ==19075== Lock acquired, processing the job...
[2025-03-10 01:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:58:03] Production.INFO: ==19086== Lock acquired, processing the job...
[2025-03-10 01:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:58:03] Production.INFO: ==19088== Lock acquired, processing the job...
[2025-03-10 01:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:58:03] Production.INFO: Account Balance Start.
[2025-03-10 01:58:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:58:03] Production.INFO: 117
[2025-03-10 01:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:58:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:58:03] Production.INFO: ==19077== Lock acquired, processing the job...
[2025-03-10 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:58:03] Production.INFO: ==19079== Lock acquired, processing the job...
[2025-03-10 01:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:58:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:58:03] Production.INFO: ==19090== Lock acquired, processing the job...
[2025-03-10 01:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:58:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:58:03] Production.INFO: Total Charge 0
[2025-03-10 01:58:03] Production.INFO: CreateAllLog End
[2025-03-10 01:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 01:58:03] Production.ERROR: done
[2025-03-10 01:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:58:03] Production.INFO: count ==13
[2025-03-10 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-03-10 01:58:03] Production.INFO: count ==21
[2025-03-10 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646300') start
[2025-03-10 01:58:04] Production.INFO: Account Balance End.
[2025-03-10 01:58:04] Production.ERROR: done
[2025-03-10 01:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:58:04] Production.INFO: ==19086== Releasing lock...
[2025-03-10 01:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646300') end
[2025-03-10 01:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:58:04] Production.INFO: 1
[2025-03-10 01:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:58:04] Production.INFO: ==19090== Releasing lock...
[2025-03-10 01:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:58:04] Production.INFO: ==19077== Releasing lock...
[2025-03-10 01:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:58:05
[end_date_ymd] => 2025-03-10 01:58:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 22:58:05' and `end` < '2025-03-10 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-03-10 01:58:11] Production.ERROR: CronJobId end10
[2025-03-10 01:58:11] Production.INFO: ==19079== Releasing lock...
[2025-03-10 01:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:58:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:58:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:58:14] Production.INFO: call_cost start
[2025-03-10 01:58:14] Production.INFO: call_cost end
[2025-03-10 01:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:58:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:58:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:58:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:58:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:58:15] Production.INFO: ==19075== Releasing lock...
[2025-03-10 01:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:58:17] Production.INFO: count ==336
[2025-03-10 01:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 22:58:05 - End Time 2025-03-10 01:58:05
[2025-03-10 01:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646302', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646302', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646302', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646302', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:58:17] Production.INFO: ProcessCDR(1,14646302,1,1,2)
[2025-03-10 01:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646302', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646302', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:58:22] Production.INFO: ==19088== Releasing lock...
[2025-03-10 01:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:58:22] Production.INFO: 31 MB #Memory Used#
[2025-03-10 05:59:01] Production.INFO: ==19152== Lock acquired, processing the job...
[2025-03-10 05:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 05:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 05:59:01] Production.INFO: neon service started
[2025-03-10 05:59:01] Production.INFO: neon service started
[2025-03-10 05:59:01] Production.INFO: ==19152== Releasing lock...
[2025-03-10 05:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 05:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:59:02] Production.INFO: ==19156== Lock acquired, processing the job...
[2025-03-10 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:59:02] Production.INFO: ==19156== Releasing lock...
[2025-03-10 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 05:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 01:59:02] Production.INFO: ==19154== Lock acquired, processing the job...
[2025-03-10 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 01:59:02] Production.INFO: ==19154== Releasing lock...
[2025-03-10 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 01:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 01:59:03] Production.INFO: ==19159== Lock acquired, processing the job...
[2025-03-10 01:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 01:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 01:59:03] Production.INFO: ==19163== Lock acquired, processing the job...
[2025-03-10 01:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 01:59:03] Production.INFO: ==19165== Lock acquired, processing the job...
[2025-03-10 01:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 01:59:03] Production.INFO: ==19161== Lock acquired, processing the job...
[2025-03-10 01:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 01:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 01:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 01:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 01:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 01:59:03] Production.INFO: Account Balance Start.
[2025-03-10 01:59:03] Production.INFO: CreateAllLog Start
[2025-03-10 01:59:03] Production.INFO: 117
[2025-03-10 01:59:03] Production.INFO: Date 2025-03-08
[2025-03-10 01:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:59:03] Production.INFO: Date 2025-03-09
[2025-03-10 01:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:59:03] Production.INFO: Date 2025-03-10
[2025-03-10 01:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 01:59:04] Production.INFO: Total Charge 0
[2025-03-10 01:59:04] Production.INFO: CreateAllLog End
[2025-03-10 01:59:04] Production.INFO: ==19167== Lock acquired, processing the job...
[2025-03-10 01:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 01:59:04] Production.INFO: Account Balance End.
[2025-03-10 01:59:04] Production.INFO: ==19169== Lock acquired, processing the job...
[2025-03-10 01:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 01:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 01:59:04] Production.ERROR: CronJobId end 12
[2025-03-10 01:59:04] Production.INFO: ==19165== Releasing lock...
[2025-03-10 01:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 01:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 01:59:04] Production.INFO: count ==13
[2025-03-10 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-03-10 01:59:04] Production.INFO: count ==21
[2025-03-10 01:59:04] Production.INFO: ==19161== Releasing lock...
[2025-03-10 01:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 01:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646306') start
[2025-03-10 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646306') end
[2025-03-10 01:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 01:59:04] Production.INFO: 1
[2025-03-10 01:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 01:59:04] Production.INFO: ==19169== Releasing lock...
[2025-03-10 01:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 01:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 01:59:04] Production.ERROR: done
[2025-03-10 01:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 01:59:05] Production.ERROR: done
[2025-03-10 01:59:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 22:59:06
[end_date_ymd] => 2025-03-10 01:59:06
[RateCDR] => 1
)
[2025-03-10 01:59:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-09 22:59:06' and `end` < '2025-03-10 01:59:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 01:59:11] Production.ERROR: CronJobId end10
[2025-03-10 01:59:11] Production.INFO: ==19163== Releasing lock...
[2025-03-10 01:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 01:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 01:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 01:59:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 01:59:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 01:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 01:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 01:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 01:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 01:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 01:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 01:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 01:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 01:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 01:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 01:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 01:59:14] Production.INFO: call_cost start
[2025-03-10 01:59:14] Production.INFO: call_cost end
[2025-03-10 01:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 01:59:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 01:59:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 01:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 01:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 01:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 01:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 01:59:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 01:59:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 01:59:15] Production.INFO: ==19159== Releasing lock...
[2025-03-10 01:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 01:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 01:59:18] Production.INFO: count ==336
[2025-03-10 01:59:18] Production.ERROR: pbx CDR StartTime 2025-03-09 22:59:06 - End Time 2025-03-10 01:59:06
[2025-03-10 01:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646307', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646307', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646307', 'tblTempVendorCDR_20' ) start
[2025-03-10 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646307', 'tblTempVendorCDR_20' ) end
[2025-03-10 01:59:18] Production.INFO: ProcessCDR(1,14646307,1,1,2)
[2025-03-10 01:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 01:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 01:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646307', 'tblTempUsageDetail_20' ) start
[2025-03-10 01:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646307', 'tblTempUsageDetail_20' ) end
[2025-03-10 01:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 01:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 01:59:21] Production.INFO: ==19167== Releasing lock...
[2025-03-10 01:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 01:59:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:00:01] Production.INFO: ==19229== Lock acquired, processing the job...
[2025-03-10 06:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:00:01] Production.INFO: neon service started
[2025-03-10 06:00:01] Production.INFO: neon service started
[2025-03-10 06:00:01] Production.INFO: ==19229== Releasing lock...
[2025-03-10 06:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:00:01] Production.INFO: ==19231== Lock acquired, processing the job...
[2025-03-10 02:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:00:02] Production.INFO: ==19231== Releasing lock...
[2025-03-10 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:00:02] Production.INFO: ==19233== Lock acquired, processing the job...
[2025-03-10 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:00:02] Production.INFO: ==19233== Releasing lock...
[2025-03-10 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:00:03] Production.INFO: ==19244== Lock acquired, processing the job...
[2025-03-10 02:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:00:03] Production.INFO: ==19246== Lock acquired, processing the job...
[2025-03-10 02:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:00:03] Production.INFO: Account Balance Start.
[2025-03-10 02:00:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:00:03] Production.INFO: 117
[2025-03-10 02:00:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:00:03] Production.INFO: ==19238== Lock acquired, processing the job...
[2025-03-10 02:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:00:03] Production.INFO: ==19236== Lock acquired, processing the job...
[2025-03-10 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 02:00:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:00:03] Production.INFO: ==19240== Lock acquired, processing the job...
[2025-03-10 02:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:00:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:00:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:00:03] Production.INFO: ==19250== Lock acquired, processing the job...
[2025-03-10 02:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:00:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:00:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:00:03] Production.INFO: ==19248== Lock acquired, processing the job...
[2025-03-10 02:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 02:00:03] Production.INFO: Total Charge 0
[2025-03-10 02:00:03] Production.INFO: ==19242== Lock acquired, processing the job...
[2025-03-10 02:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:00:03] Production.INFO: CreateAllLog End
[2025-03-10 02:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:00:04] Production.ERROR: CronJob PID - 19238
[2025-03-10 02:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 02:00:04] Production.ERROR: CronJob ID - 5
[2025-03-10 02:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:00:00
[2025-03-10 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:00:04] Production.ERROR: CronJob PID - 19240
[2025-03-10 02:00:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 02:00:04] Production.ERROR: CronJob ID - 7
[2025-03-10 02:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:00:00
[2025-03-10 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:00:04] Production.ERROR: CronJob PID - 19242
[2025-03-10 02:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 02:00:04] Production.ERROR: CronJob ID - 10
[2025-03-10 02:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:00:00
[2025-03-10 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:00:04] Production.ERROR: CronJob PID - 19244
[2025-03-10 02:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 02:00:04] Production.ERROR: CronJob ID - 12
[2025-03-10 02:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:00:00
[2025-03-10 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:00:04] Production.ERROR: CronJob PID - 19246
[2025-03-10 02:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 02:00:04] Production.ERROR: CronJob ID - 16
[2025-03-10 02:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:00:00
[2025-03-10 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:00:04] Production.ERROR: CronJob PID - 19248
[2025-03-10 02:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 02:00:04] Production.ERROR: CronJob ID - 17
[2025-03-10 02:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:00:00
[2025-03-10 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:00:04] Production.ERROR: CronJob PID - 19250
[2025-03-10 02:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 02:00:04] Production.ERROR: CronJob ID - 19
[2025-03-10 02:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:00:00
[2025-03-10 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 02:00:04] Production.INFO: count ==13
[2025-03-10 02:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 02:00:04] Production.INFO: ==19236== Releasing lock...
[2025-03-10 02:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 02:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 02:00:04] Production.ERROR: done
[2025-03-10 02:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 02:00:04] Production.INFO: count ==21
[2025-03-10 02:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646310') start
[2025-03-10 02:00:04] Production.INFO: ==19240== Releasing lock...
[2025-03-10 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:00:04] Production.ERROR: done
[2025-03-10 02:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646310') end
[2025-03-10 02:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:00:04] Production.INFO: 1
[2025-03-10 02:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:00:04] Production.ERROR: done
[2025-03-10 02:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 02:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646312', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 02:00:04] Production.INFO: ==19250== Releasing lock...
[2025-03-10 02:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:00:04] Production.INFO: Account Balance End.
[2025-03-10 02:00:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:00:04] Production.INFO: ==19244== Releasing lock...
[2025-03-10 02:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:00:05
[end_date_ymd] => 2025-03-10 02:00:05
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:00:05' and `end` < '2025-03-10 02: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-03-10 02:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646312', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 02:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 02:00:09] Production.INFO: ProcessCDR(1,14646312,1,1,2)
[2025-03-10 02:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646312,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646312,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:00:09] Production.INFO: ==19248== Releasing lock...
[2025-03-10 02:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 02:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 02:00:14] Production.ERROR: CronJobId end10
[2025-03-10 02:00:14] Production.INFO: ==19242== Releasing lock...
[2025-03-10 02:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:00:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:00:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:00:16] Production.INFO: call_cost start
[2025-03-10 02:00:16] Production.INFO: call_cost end
[2025-03-10 02:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:00:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:00:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:00:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:00:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:00:18] Production.INFO: ==19238== Releasing lock...
[2025-03-10 02:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:00:18] Production.INFO: count ==342
[2025-03-10 02:00:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:00:05 - End Time 2025-03-10 02:00:05
[2025-03-10 02:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646313', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646313', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646313', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646313', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:00:18] Production.INFO: ProcessCDR(1,14646313,1,1,2)
[2025-03-10 02:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646313', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646313', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:00:21] Production.INFO: ==19246== Releasing lock...
[2025-03-10 02:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:00:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:01:01] Production.INFO: ==19320== Lock acquired, processing the job...
[2025-03-10 06:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:01:01] Production.INFO: neon service started
[2025-03-10 06:01:02] Production.INFO: neon service started
[2025-03-10 06:01:02] Production.INFO: ==19320== Releasing lock...
[2025-03-10 06:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:01:02] Production.INFO: ==19332== Lock acquired, processing the job...
[2025-03-10 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:01:02] Production.INFO: ==19332== Releasing lock...
[2025-03-10 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:01:02] Production.INFO: ==19334== Lock acquired, processing the job...
[2025-03-10 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:01:02] Production.INFO: ==19334== Releasing lock...
[2025-03-10 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:01:03] Production.INFO: ==19337== Lock acquired, processing the job...
[2025-03-10 02:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:01:03] Production.INFO: ==19347== Lock acquired, processing the job...
[2025-03-10 02:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02: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-03-10 02:01:03] Production.INFO: ==19339== Lock acquired, processing the job...
[2025-03-10 02:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:01:03] Production.INFO: count ==13
[2025-03-10 02:01:03] Production.INFO: ==19341== Lock acquired, processing the job...
[2025-03-10 02:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02: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-03-10 02:01:03] Production.INFO: count ==21
[2025-03-10 02:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646314') start
[2025-03-10 02:01:03] Production.INFO: ==19343== Lock acquired, processing the job...
[2025-03-10 02:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:01:04] Production.INFO: ==19345== Lock acquired, processing the job...
[2025-03-10 02:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646314') end
[2025-03-10 02:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:01:04] Production.INFO: 1
[2025-03-10 02:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:01:04] Production.INFO: Account Balance Start.
[2025-03-10 02:01:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:01:04] Production.INFO: 117
[2025-03-10 02:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:01:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:01:04] Production.INFO: ==19347== Releasing lock...
[2025-03-10 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:01:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:01:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:01:04] Production.INFO: ==19339== Releasing lock...
[2025-03-10 02:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:01:04] Production.INFO: Total Charge 0
[2025-03-10 02:01:04] Production.INFO: CreateAllLog End
[2025-03-10 02:01:04] Production.ERROR: done
[2025-03-10 02:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:01:04] Production.ERROR: done
[2025-03-10 02:01:04] Production.INFO: Account Balance End.
[2025-03-10 02:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:01:04] Production.INFO: ==19343== Releasing lock...
[2025-03-10 02:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:01:06
[end_date_ymd] => 2025-03-10 02:01:06
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:01:06' and `end` < '2025-03-10 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-03-10 02:01:13] Production.ERROR: CronJobId end10
[2025-03-10 02:01:13] Production.INFO: ==19341== Releasing lock...
[2025-03-10 02:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:01:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:01:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:01:15] Production.INFO: call_cost start
[2025-03-10 02:01:15] Production.INFO: call_cost end
[2025-03-10 02:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:01:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:01:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:01:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:01:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:01:16] Production.INFO: ==19337== Releasing lock...
[2025-03-10 02:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:01:18] Production.INFO: count ==347
[2025-03-10 02:01:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:01:06 - End Time 2025-03-10 02:01:06
[2025-03-10 02:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646318', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646318', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646318', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646318', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:01:18] Production.INFO: ProcessCDR(1,14646318,1,1,2)
[2025-03-10 02:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646318', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646318', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:01:23] Production.INFO: ==19345== Releasing lock...
[2025-03-10 02:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:01:23] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:02:01] Production.INFO: ==19411== Lock acquired, processing the job...
[2025-03-10 06:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:02:01] Production.INFO: neon service started
[2025-03-10 06:02:01] Production.INFO: neon service started
[2025-03-10 06:02:01] Production.INFO: ==19411== Releasing lock...
[2025-03-10 06:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:02:02] Production.INFO: ==19415== Lock acquired, processing the job...
[2025-03-10 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:02:02] Production.INFO: ==19415== Releasing lock...
[2025-03-10 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:02:02] Production.INFO: ==19413== Lock acquired, processing the job...
[2025-03-10 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:02:02] Production.INFO: ==19413== Releasing lock...
[2025-03-10 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:02:03] Production.INFO: ==19418== Lock acquired, processing the job...
[2025-03-10 02:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:02:03] Production.INFO: ==19420== Lock acquired, processing the job...
[2025-03-10 02:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:02:03] Production.INFO: ==19422== Lock acquired, processing the job...
[2025-03-10 02:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:02:03] Production.INFO: ==19426== Lock acquired, processing the job...
[2025-03-10 02:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:02:03] Production.INFO: ==19424== Lock acquired, processing the job...
[2025-03-10 02:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:02:03] Production.INFO: ==19428== Lock acquired, processing the job...
[2025-03-10 02:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:02:03] Production.INFO: ==19420== Releasing lock...
[2025-03-10 02:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:02:03] Production.INFO: Account Balance Start.
[2025-03-10 02:02:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:02:03] Production.INFO: 117
[2025-03-10 02:02:03] Production.INFO: Date 2025-03-08
[2025-03-10 02: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-03-10 02:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:02:03] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:02:03] Production.INFO: count ==21
[2025-03-10 02:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646322') start
[2025-03-10 02:02:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646322') end
[2025-03-10 02:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:02:04] Production.INFO: 1
[2025-03-10 02:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:02:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:02:04] Production.INFO: ==19428== Releasing lock...
[2025-03-10 02:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:02:04] Production.ERROR: done
[2025-03-10 02:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:02:04] Production.INFO: Total Charge 0
[2025-03-10 02:02:04] Production.INFO: CreateAllLog End
[2025-03-10 02:02:04] Production.ERROR: done
[2025-03-10 02:02:04] Production.INFO: Account Balance End.
[2025-03-10 02:02:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:02:04] Production.INFO: ==19424== Releasing lock...
[2025-03-10 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:02:05
[end_date_ymd] => 2025-03-10 02:02:05
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:02:05' and `end` < '2025-03-10 02: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-03-10 02:02:12] Production.ERROR: CronJobId end10
[2025-03-10 02:02:12] Production.INFO: ==19422== Releasing lock...
[2025-03-10 02:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:02:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:02:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:02:14] Production.INFO: call_cost start
[2025-03-10 02:02:14] Production.INFO: call_cost end
[2025-03-10 02:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:02:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:02:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:02:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:02:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:02:15] Production.INFO: ==19418== Releasing lock...
[2025-03-10 02:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:02:17] Production.INFO: count ==346
[2025-03-10 02:02:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:02:05 - End Time 2025-03-10 02:02:05
[2025-03-10 02:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646323', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646323', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646323', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646323', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:02:17] Production.INFO: ProcessCDR(1,14646323,1,1,2)
[2025-03-10 02:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:02:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646323', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:02:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646323', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:02:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:02:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:02:21] Production.INFO: ==19426== Releasing lock...
[2025-03-10 02:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:02:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:03:01] Production.INFO: ==19488== Lock acquired, processing the job...
[2025-03-10 06:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:03:01] Production.INFO: neon service started
[2025-03-10 06:03:02] Production.INFO: neon service started
[2025-03-10 06:03:02] Production.INFO: ==19488== Releasing lock...
[2025-03-10 06:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:03:02] Production.INFO: ==19490== Lock acquired, processing the job...
[2025-03-10 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:03:02] Production.INFO: ==19490== Releasing lock...
[2025-03-10 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:03:02] Production.INFO: ==19492== Lock acquired, processing the job...
[2025-03-10 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:03:02] Production.INFO: ==19492== Releasing lock...
[2025-03-10 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:03:03] Production.INFO: ==19494== Lock acquired, processing the job...
[2025-03-10 02:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:03:03] Production.INFO: ==19498== Lock acquired, processing the job...
[2025-03-10 02:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:03:03] Production.INFO: ==19496== Lock acquired, processing the job...
[2025-03-10 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:03:03] Production.INFO: ==19502== Lock acquired, processing the job...
[2025-03-10 02:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:03:03] Production.INFO: ==19500== Lock acquired, processing the job...
[2025-03-10 02:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:03:03] Production.INFO: ==19504== Lock acquired, processing the job...
[2025-03-10 02:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:03:04] Production.INFO: ==19496== Releasing lock...
[2025-03-10 02:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:03:04] Production.INFO: Account Balance Start.
[2025-03-10 02:03:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:03:04] Production.INFO: 117
[2025-03-10 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-03-10 02:03:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:03:04] Production.INFO: count ==13
[2025-03-10 02:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 02: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-03-10 02:03:04] Production.INFO: count ==21
[2025-03-10 02:03:04] Production.ERROR: done
[2025-03-10 02:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646326') start
[2025-03-10 02:03:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:03:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:03:04] Production.INFO: Total Charge 0
[2025-03-10 02:03:04] Production.INFO: CreateAllLog End
[2025-03-10 02:03:04] Production.ERROR: done
[2025-03-10 02:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646326') end
[2025-03-10 02:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:03:04] Production.INFO: 1
[2025-03-10 02:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:03:04] Production.INFO: ==19504== Releasing lock...
[2025-03-10 02:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:03:04] Production.INFO: Account Balance End.
[2025-03-10 02:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:03:04] Production.INFO: ==19500== Releasing lock...
[2025-03-10 02:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:03:05
[end_date_ymd] => 2025-03-10 02:03:05
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:03:05' and `end` < '2025-03-10 02: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-03-10 02: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,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-03-10 02:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:03:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:03:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:03:12] Production.ERROR: CronJobId end10
[2025-03-10 02:03:12] Production.INFO: ==19498== Releasing lock...
[2025-03-10 02:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:03:12] Production.INFO: call_cost start
[2025-03-10 02:03:12] Production.INFO: call_cost end
[2025-03-10 02:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:03:13] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:03:13] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:03:13] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:03:13] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:03:13] Production.INFO: ==19494== Releasing lock...
[2025-03-10 02:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:03:17] Production.INFO: count ==345
[2025-03-10 02:03:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:03:05 - End Time 2025-03-10 02:03:05
[2025-03-10 02:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646328', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646328', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646328', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646328', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:03:17] Production.INFO: ProcessCDR(1,14646328,1,1,2)
[2025-03-10 02:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646328', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646328', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:03:21] Production.INFO: ==19502== Releasing lock...
[2025-03-10 02:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:03:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:04:01] Production.INFO: ==19567== Lock acquired, processing the job...
[2025-03-10 06:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:04:01] Production.INFO: neon service started
[2025-03-10 06:04:01] Production.INFO: neon service started
[2025-03-10 06:04:01] Production.INFO: ==19567== Releasing lock...
[2025-03-10 06:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:04:01] Production.INFO: ==19571== Lock acquired, processing the job...
[2025-03-10 06:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:04:01] Production.INFO: ==19571== Releasing lock...
[2025-03-10 06:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:04:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:04:02] Production.INFO: ==19569== Lock acquired, processing the job...
[2025-03-10 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:04:02] Production.INFO: ==19569== Releasing lock...
[2025-03-10 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:04:03] Production.INFO: ==19574== Lock acquired, processing the job...
[2025-03-10 02:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:04:03] Production.INFO: ==19576== Lock acquired, processing the job...
[2025-03-10 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:04:03] Production.INFO: ==19582== Lock acquired, processing the job...
[2025-03-10 02:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:04:03] Production.INFO: ==19580== Lock acquired, processing the job...
[2025-03-10 02:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:04:03] Production.INFO: ==19578== Lock acquired, processing the job...
[2025-03-10 02:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:04:03] Production.INFO: ==19584== Lock acquired, processing the job...
[2025-03-10 02:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:04:03] Production.INFO: Account Balance Start.
[2025-03-10 02:04:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:04:03] Production.INFO: 117
[2025-03-10 02:04:03] Production.INFO: ==19576== Releasing lock...
[2025-03-10 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:04:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:04:03] Production.ERROR: done
[2025-03-10 02:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 02:04:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:04:03] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:04:03] Production.INFO: count ==21
[2025-03-10 02:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646332') start
[2025-03-10 02:04:04] Production.ERROR: done
[2025-03-10 02:04:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:04:04] Production.INFO: Total Charge 0
[2025-03-10 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646332') end
[2025-03-10 02:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:04:04] Production.INFO: 1
[2025-03-10 02:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:04:04] Production.INFO: CreateAllLog End
[2025-03-10 02:04:04] Production.INFO: ==19584== Releasing lock...
[2025-03-10 02:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:04:04] Production.INFO: Account Balance End.
[2025-03-10 02:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:04:04] Production.INFO: ==19580== Releasing lock...
[2025-03-10 02:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:04:05
[end_date_ymd] => 2025-03-10 02:04:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:04:05' and `end` < '2025-03-10 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-03-10 02:04:12] Production.ERROR: CronJobId end10
[2025-03-10 02:04:12] Production.INFO: ==19578== Releasing lock...
[2025-03-10 02:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:04:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:04:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:04:14] Production.INFO: call_cost start
[2025-03-10 02:04:14] Production.INFO: call_cost end
[2025-03-10 02:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:04:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:04:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:04:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:04:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:04:15] Production.INFO: ==19574== Releasing lock...
[2025-03-10 02:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:04:17] Production.INFO: count ==344
[2025-03-10 02:04:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:04:05 - End Time 2025-03-10 02:04:05
[2025-03-10 02:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646333', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646333', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646333', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646333', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:04:17] Production.INFO: ProcessCDR(1,14646333,1,1,2)
[2025-03-10 02:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646333', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646333', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:04:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:04:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:04:20] Production.INFO: ==19582== Releasing lock...
[2025-03-10 02:04:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:04:20] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:05:01] Production.INFO: ==19649== Lock acquired, processing the job...
[2025-03-10 06:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:05:01] Production.INFO: neon service started
[2025-03-10 06:05:01] Production.INFO: neon service started
[2025-03-10 06:05:01] Production.INFO: ==19649== Releasing lock...
[2025-03-10 06:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:05:02] Production.INFO: ==19651== Lock acquired, processing the job...
[2025-03-10 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:05:02] Production.INFO: ==19653== Lock acquired, processing the job...
[2025-03-10 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:05:02] Production.INFO: ==19653== Releasing lock...
[2025-03-10 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:05:02] Production.INFO: 26 MB #Memory Used#
[2025-03-10 02:05:02] Production.INFO: ==19651== Releasing lock...
[2025-03-10 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:05:03] Production.INFO: ==19656== Lock acquired, processing the job...
[2025-03-10 02:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:05:03] Production.INFO: ==19660== Lock acquired, processing the job...
[2025-03-10 02:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:05:03] Production.INFO: ==19664== Lock acquired, processing the job...
[2025-03-10 02:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:05:03] Production.INFO: ==19658== Lock acquired, processing the job...
[2025-03-10 02:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:05:04] Production.INFO: ==19662== Lock acquired, processing the job...
[2025-03-10 02:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:05:04] Production.INFO: ==19666== Lock acquired, processing the job...
[2025-03-10 02:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:05:04] Production.INFO: ==19658== Releasing lock...
[2025-03-10 02:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:05:04] Production.INFO: Account Balance Start.
[2025-03-10 02:05:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:05:04] Production.INFO: 117
[2025-03-10 02:05:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 02:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:05:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:05:04] Production.INFO: count ==21
[2025-03-10 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646337') start
[2025-03-10 02:05:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:05:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:05:04] Production.ERROR: done
[2025-03-10 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646337') end
[2025-03-10 02:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:05:04] Production.INFO: 1
[2025-03-10 02:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:05:04] Production.INFO: ==19666== Releasing lock...
[2025-03-10 02:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:05:04] Production.INFO: Total Charge 0
[2025-03-10 02:05:04] Production.INFO: CreateAllLog End
[2025-03-10 02:05:04] Production.ERROR: done
[2025-03-10 02:05:04] Production.INFO: Account Balance End.
[2025-03-10 02:05:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:05:04] Production.INFO: ==19662== Releasing lock...
[2025-03-10 02:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:05:05
[end_date_ymd] => 2025-03-10 02:05:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:05:05' and `end` < '2025-03-10 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-03-10 02:05:12] Production.ERROR: CronJobId end10
[2025-03-10 02:05:12] Production.INFO: ==19660== Releasing lock...
[2025-03-10 02:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:05:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:05:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:05:15] Production.INFO: call_cost start
[2025-03-10 02:05:15] Production.INFO: call_cost end
[2025-03-10 02:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:05:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:05:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:05:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:05:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:05:15] Production.INFO: ==19656== Releasing lock...
[2025-03-10 02:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:05:17] Production.INFO: count ==344
[2025-03-10 02:05:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:05:05 - End Time 2025-03-10 02:05:05
[2025-03-10 02:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646338', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646338', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646338', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646338', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:05:17] Production.INFO: ProcessCDR(1,14646338,1,1,2)
[2025-03-10 02:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646338', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646338', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:05:21] Production.INFO: ==19664== Releasing lock...
[2025-03-10 02:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:05:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:06:02] Production.INFO: ==19731== Lock acquired, processing the job...
[2025-03-10 06:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:06:02] Production.INFO: neon service started
[2025-03-10 06:06:02] Production.INFO: neon service started
[2025-03-10 06:06:02] Production.INFO: ==19731== Releasing lock...
[2025-03-10 06:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:06:03] Production.INFO: ==19733== Lock acquired, processing the job...
[2025-03-10 02:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:06:03] Production.INFO: ==19735== Lock acquired, processing the job...
[2025-03-10 06:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:06:03] Production.INFO: ==19735== Releasing lock...
[2025-03-10 06:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:06:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:06:03] Production.INFO: ==19733== Releasing lock...
[2025-03-10 02:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:06:04] Production.INFO: ==19742== Lock acquired, processing the job...
[2025-03-10 02:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:06:04] Production.INFO: ==19748== Lock acquired, processing the job...
[2025-03-10 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:06:04] Production.INFO: ==19738== Lock acquired, processing the job...
[2025-03-10 02:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 02:06:04] Production.INFO: ==19746== Lock acquired, processing the job...
[2025-03-10 02:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:06:04] Production.INFO: count ==13
[2025-03-10 02:06:04] Production.INFO: ==19740== Lock acquired, processing the job...
[2025-03-10 02:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 02:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:06:04] Production.INFO: count ==21
[2025-03-10 02:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:06:04] Production.INFO: ==19744== Lock acquired, processing the job...
[2025-03-10 02:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646339') start
[2025-03-10 02:06:04] Production.INFO: Account Balance Start.
[2025-03-10 02:06:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:06:04] Production.INFO: 117
[2025-03-10 02:06:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646339') end
[2025-03-10 02:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:06:04] Production.INFO: 1
[2025-03-10 02:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:06:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:06:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:06:05] Production.INFO: ==19748== Releasing lock...
[2025-03-10 02:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:06:05] Production.ERROR: done
[2025-03-10 02:06:05] Production.INFO: ==19740== Releasing lock...
[2025-03-10 02:06:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:06:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:06:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:06:05] Production.INFO: Total Charge 0
[2025-03-10 02:06:05] Production.INFO: CreateAllLog End
[2025-03-10 02:06:05] Production.ERROR: done
[2025-03-10 02:06:05] Production.INFO: Account Balance End.
[2025-03-10 02:06:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:06:05] Production.INFO: ==19744== Releasing lock...
[2025-03-10 02:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:06:06
[end_date_ymd] => 2025-03-10 02:06:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:06:06' and `end` < '2025-03-10 02: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-03-10 02:06:13] Production.ERROR: CronJobId end10
[2025-03-10 02:06:13] Production.INFO: ==19742== Releasing lock...
[2025-03-10 02:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:06:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:06:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:06:15] Production.INFO: call_cost start
[2025-03-10 02:06:15] Production.INFO: call_cost end
[2025-03-10 02:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:06:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:06:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:06:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:06:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:06:16] Production.INFO: ==19738== Releasing lock...
[2025-03-10 02:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:06:18] Production.INFO: count ==344
[2025-03-10 02:06:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:06:06 - End Time 2025-03-10 02:06:06
[2025-03-10 02:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646343', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646343', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646343', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646343', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:06:18] Production.INFO: ProcessCDR(1,14646343,1,1,2)
[2025-03-10 02:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646343', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646343', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:06:21] Production.INFO: ==19746== Releasing lock...
[2025-03-10 02:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:06:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:07:01] Production.INFO: ==19822== Lock acquired, processing the job...
[2025-03-10 06:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:07:01] Production.INFO: neon service started
[2025-03-10 06:07:01] Production.INFO: neon service started
[2025-03-10 06:07:01] Production.INFO: ==19822== Releasing lock...
[2025-03-10 06:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:07:02] Production.INFO: ==19826== Lock acquired, processing the job...
[2025-03-10 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:07:02] Production.INFO: ==19826== Releasing lock...
[2025-03-10 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:07:02] Production.INFO: ==19824== Lock acquired, processing the job...
[2025-03-10 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:07:02] Production.INFO: ==19824== Releasing lock...
[2025-03-10 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:07:03] Production.INFO: ==19831== Lock acquired, processing the job...
[2025-03-10 02:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:07:03] Production.INFO: ==19833== Lock acquired, processing the job...
[2025-03-10 02:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:07:03] Production.INFO: ==19837== Lock acquired, processing the job...
[2025-03-10 02:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:07:03] Production.INFO: ==19829== Lock acquired, processing the job...
[2025-03-10 02:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:07:03] Production.INFO: ==19835== Lock acquired, processing the job...
[2025-03-10 02:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:07:04] Production.INFO: ==19831== Releasing lock...
[2025-03-10 02:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:07:04] Production.INFO: ==19839== Lock acquired, processing the job...
[2025-03-10 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:07:04] Production.INFO: Account Balance Start.
[2025-03-10 02:07:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:07:04] Production.INFO: 117
[2025-03-10 02:07:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:07:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:07:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:07:04] Production.INFO: Total Charge 0
[2025-03-10 02:07:04] Production.INFO: CreateAllLog End
[2025-03-10 02:07:04] Production.ERROR: done
[2025-03-10 02:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 02:07:04] Production.INFO: count ==13
[2025-03-10 02:07:04] Production.ERROR: done
[2025-03-10 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-03-10 02:07:04] Production.INFO: count ==21
[2025-03-10 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646347') start
[2025-03-10 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646347') end
[2025-03-10 02:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:07:04] Production.INFO: 1
[2025-03-10 02:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:07:04] Production.INFO: Account Balance End.
[2025-03-10 02:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:07:04] Production.INFO: ==19835== Releasing lock...
[2025-03-10 02:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:07:04] Production.INFO: ==19839== Releasing lock...
[2025-03-10 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:07:05
[end_date_ymd] => 2025-03-10 02:07:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:07:05' and `end` < '2025-03-10 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-03-10 02:07:13] Production.ERROR: CronJobId end10
[2025-03-10 02:07:13] Production.INFO: ==19833== Releasing lock...
[2025-03-10 02:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:07:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:07:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:07:15] Production.INFO: call_cost start
[2025-03-10 02:07:15] Production.INFO: call_cost end
[2025-03-10 02:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:07:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:07:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:07:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:07:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:07:16] Production.INFO: ==19829== Releasing lock...
[2025-03-10 02:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:07:17] Production.INFO: count ==344
[2025-03-10 02:07:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:07:05 - End Time 2025-03-10 02:07:05
[2025-03-10 02:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646348', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646348', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646348', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646348', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:07:17] Production.INFO: ProcessCDR(1,14646348,1,1,2)
[2025-03-10 02:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646348', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646348', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:07:21] Production.INFO: ==19837== Releasing lock...
[2025-03-10 02:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:07:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:08:01] Production.INFO: ==19905== Lock acquired, processing the job...
[2025-03-10 06:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:08:01] Production.INFO: neon service started
[2025-03-10 06:08:01] Production.INFO: neon service started
[2025-03-10 06:08:01] Production.INFO: ==19905== Releasing lock...
[2025-03-10 06:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:08:01] Production.INFO: ==19907== Lock acquired, processing the job...
[2025-03-10 02:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:08:02] Production.INFO: ==19907== Releasing lock...
[2025-03-10 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:08:02] Production.INFO: ==19909== Lock acquired, processing the job...
[2025-03-10 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:08:02] Production.INFO: ==19909== Releasing lock...
[2025-03-10 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:08:03] Production.INFO: ==19911== Lock acquired, processing the job...
[2025-03-10 02:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:08:03] Production.INFO: ==19913== Lock acquired, processing the job...
[2025-03-10 02:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:08:03] Production.INFO: ==19917== Lock acquired, processing the job...
[2025-03-10 02:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:08:03] Production.INFO: Account Balance Start.
[2025-03-10 02:08:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:08:03] Production.INFO: 117
[2025-03-10 02:08:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:08:03] Production.INFO: ==19915== Lock acquired, processing the job...
[2025-03-10 02:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:08:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:08:03] Production.INFO: ==19919== Lock acquired, processing the job...
[2025-03-10 02:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:08:03] Production.INFO: ==19913== Releasing lock...
[2025-03-10 02:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:08:03] Production.INFO: ==19921== Lock acquired, processing the job...
[2025-03-10 02:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:08:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:08:03] Production.INFO: Total Charge 0
[2025-03-10 02:08:03] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 02:08:03] Production.INFO: count ==13
[2025-03-10 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-03-10 02:08:03] Production.INFO: count ==21
[2025-03-10 02:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646352') start
[2025-03-10 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646352') end
[2025-03-10 02:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:08:04] Production.INFO: 1
[2025-03-10 02:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:08:04] Production.INFO: Account Balance End.
[2025-03-10 02:08:04] Production.INFO: ==19921== Releasing lock...
[2025-03-10 02:08:04] Production.ERROR: done
[2025-03-10 02:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:08:04] Production.INFO: ==19917== Releasing lock...
[2025-03-10 02:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:08:04] Production.ERROR: done
[2025-03-10 02:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:08:05
[end_date_ymd] => 2025-03-10 02:08:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:08:05' and `end` < '2025-03-10 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-03-10 02:08:11] Production.ERROR: CronJobId end10
[2025-03-10 02:08:11] Production.INFO: ==19915== Releasing lock...
[2025-03-10 02:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:08:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:08:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:08:14] Production.INFO: call_cost start
[2025-03-10 02:08:14] Production.INFO: call_cost end
[2025-03-10 02:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:08:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:08:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:08:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:08:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:08:15] Production.INFO: ==19911== Releasing lock...
[2025-03-10 02:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:08:17] Production.INFO: count ==344
[2025-03-10 02:08:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:08:05 - End Time 2025-03-10 02:08:05
[2025-03-10 02:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646353', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646353', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646353', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646353', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:08:18] Production.INFO: ProcessCDR(1,14646353,1,1,2)
[2025-03-10 02:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646353', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646353', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:08:21] Production.INFO: ==19919== Releasing lock...
[2025-03-10 02:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:08:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:09:01] Production.INFO: ==19983== Lock acquired, processing the job...
[2025-03-10 06:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:09:01] Production.INFO: neon service started
[2025-03-10 06:09:01] Production.INFO: neon service started
[2025-03-10 06:09:01] Production.INFO: ==19983== Releasing lock...
[2025-03-10 06:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:09:02] Production.INFO: ==19987== Lock acquired, processing the job...
[2025-03-10 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:09:02] Production.INFO: ==19987== Releasing lock...
[2025-03-10 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:09:02] Production.INFO: ==19985== Lock acquired, processing the job...
[2025-03-10 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:09:02] Production.INFO: ==19985== Releasing lock...
[2025-03-10 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:09:03] Production.INFO: ==19992== Lock acquired, processing the job...
[2025-03-10 02:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:09:03] Production.INFO: ==19990== Lock acquired, processing the job...
[2025-03-10 02:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:09:03] Production.INFO: ==19994== Lock acquired, processing the job...
[2025-03-10 02:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:09:03] Production.INFO: ==19996== Lock acquired, processing the job...
[2025-03-10 02:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:09:03] Production.INFO: ==20000== Lock acquired, processing the job...
[2025-03-10 02:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:09:03] Production.INFO: ==19998== Lock acquired, processing the job...
[2025-03-10 02:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:09:04] Production.INFO: Account Balance Start.
[2025-03-10 02:09:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:09:04] Production.INFO: 117
[2025-03-10 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-03-10 02:09:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:09:04] Production.INFO: count ==21
[2025-03-10 02:09:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646357') start
[2025-03-10 02:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:09:04] Production.INFO: ==19992== Releasing lock...
[2025-03-10 02:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646357') end
[2025-03-10 02:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:09:04] Production.INFO: 1
[2025-03-10 02:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:09:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:09:04] Production.INFO: ==20000== Releasing lock...
[2025-03-10 02:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:09:04] Production.ERROR: done
[2025-03-10 02:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:09:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:09:04] Production.ERROR: done
[2025-03-10 02:09:04] Production.INFO: Total Charge 0
[2025-03-10 02:09:04] Production.INFO: CreateAllLog End
[2025-03-10 02:09:04] Production.INFO: Account Balance End.
[2025-03-10 02:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:09:04] Production.INFO: ==19996== Releasing lock...
[2025-03-10 02:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:09:05
[end_date_ymd] => 2025-03-10 02:09:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:09:05' and `end` < '2025-03-10 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-03-10 02:09:11] Production.ERROR: CronJobId end10
[2025-03-10 02:09:11] Production.INFO: ==19994== Releasing lock...
[2025-03-10 02:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:09:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:09:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:09:15] Production.INFO: call_cost start
[2025-03-10 02:09:15] Production.INFO: call_cost end
[2025-03-10 02:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:09:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:09:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:09:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:09:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:09:16] Production.INFO: ==19990== Releasing lock...
[2025-03-10 02:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:09:17] Production.INFO: count ==345
[2025-03-10 02:09:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:09:05 - End Time 2025-03-10 02:09:05
[2025-03-10 02:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646358', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646358', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646358', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646358', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:09:17] Production.INFO: ProcessCDR(1,14646358,1,1,2)
[2025-03-10 02:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646358', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646358', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:09:22] Production.INFO: ==19998== Releasing lock...
[2025-03-10 02:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:09:22] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:10:02] Production.INFO: ==20065== Lock acquired, processing the job...
[2025-03-10 06:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:10:02] Production.INFO: neon service started
[2025-03-10 06:10:02] Production.INFO: neon service started
[2025-03-10 06:10:02] Production.INFO: ==20065== Releasing lock...
[2025-03-10 06:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:10:02] Production.INFO: ==20067== Lock acquired, processing the job...
[2025-03-10 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:10:03] Production.INFO: ==20069== Lock acquired, processing the job...
[2025-03-10 06:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:10:03] Production.INFO: ==20069== Releasing lock...
[2025-03-10 06:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:10:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:10:03] Production.INFO: ==20067== Releasing lock...
[2025-03-10 02:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:10:04] Production.INFO: ==20072== Lock acquired, processing the job...
[2025-03-10 02:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 02:10:04] Production.INFO: ==20078== Lock acquired, processing the job...
[2025-03-10 02:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:10:04] Production.INFO: ==20080== Lock acquired, processing the job...
[2025-03-10 02:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 02:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:10:04] Production.ERROR: CronJob PID - 20078
[2025-03-10 02:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 02:10:04] Production.ERROR: CronJob ID - 10
[2025-03-10 02:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:10:00
[2025-03-10 02:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:10:04] Production.ERROR: CronJob PID - 20080
[2025-03-10 02:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 02:10:04] Production.ERROR: CronJob ID - 12
[2025-03-10 02:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:10:00
[2025-03-10 02:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 02:10:04] Production.INFO: ==20072== Releasing lock...
[2025-03-10 02:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 02:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 02:10:04] Production.INFO: ==20074== Lock acquired, processing the job...
[2025-03-10 02:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:10:04] Production.INFO: ==20084== Lock acquired, processing the job...
[2025-03-10 02:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 02:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:10:04] Production.INFO: Account Balance Start.
[2025-03-10 02:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:10:04] Production.INFO: 117
[2025-03-10 02:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:10:04] Production.INFO: ==20076== Lock acquired, processing the job...
[2025-03-10 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:10:04] Production.INFO: Total Charge 0
[2025-03-10 02:10:04] Production.INFO: ==20082== Lock acquired, processing the job...
[2025-03-10 02:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:10:04] Production.INFO: CreateAllLog End
[2025-03-10 02:10:04] Production.INFO: ==20086== Lock acquired, processing the job...
[2025-03-10 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:10:05] Production.ERROR: done
[2025-03-10 02:10:05] Production.INFO: Account Balance End.
[2025-03-10 02:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 02:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646363', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 02: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-03-10 02:10:05] Production.INFO: count ==13
[2025-03-10 02:10:05] Production.INFO: ==20076== Releasing lock...
[2025-03-10 02:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02: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-03-10 02:10:05] Production.INFO: count ==21
[2025-03-10 02:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:10:05] Production.INFO: ==20080== Releasing lock...
[2025-03-10 02:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646362') start
[2025-03-10 02:10:05] Production.ERROR: done
[2025-03-10 02:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646362') end
[2025-03-10 02:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:10:05] Production.INFO: 1
[2025-03-10 02:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:10:05] Production.INFO: ==20086== Releasing lock...
[2025-03-10 02:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:10:05] Production.ERROR: done
[2025-03-10 02:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:10:07
[end_date_ymd] => 2025-03-10 02:10:07
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:10:07' and `end` < '2025-03-10 02: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-03-10 02:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646363', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 02:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 02:10:09] Production.INFO: ProcessCDR(1,14646363,1,1,2)
[2025-03-10 02:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646363,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646363,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:10:10] Production.INFO: ==20084== Releasing lock...
[2025-03-10 02:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 02:10:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 02:10:14] Production.ERROR: CronJobId end10
[2025-03-10 02:10:14] Production.INFO: ==20078== Releasing lock...
[2025-03-10 02:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:10:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:10:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:10:17] Production.INFO: call_cost start
[2025-03-10 02:10:17] Production.INFO: call_cost end
[2025-03-10 02:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:10:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:10:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:10:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:10:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:10:18] Production.INFO: ==20074== Releasing lock...
[2025-03-10 02:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:10:19] Production.INFO: count ==350
[2025-03-10 02:10:19] Production.ERROR: pbx CDR StartTime 2025-03-09 23:10:07 - End Time 2025-03-10 02:10:07
[2025-03-10 02:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646364', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646364', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646364', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646364', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:10:19] Production.INFO: ProcessCDR(1,14646364,1,1,2)
[2025-03-10 02:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646364', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646364', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:10:22] Production.INFO: ==20082== Releasing lock...
[2025-03-10 02:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:10:22] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:11:01] Production.INFO: ==20186== Lock acquired, processing the job...
[2025-03-10 06:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:11:01] Production.INFO: neon service started
[2025-03-10 06:11:01] Production.INFO: neon service started
[2025-03-10 06:11:01] Production.INFO: ==20186== Releasing lock...
[2025-03-10 06:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:11:02] Production.INFO: ==20188== Lock acquired, processing the job...
[2025-03-10 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:11:02] Production.INFO: ==20190== Lock acquired, processing the job...
[2025-03-10 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:11:02] Production.INFO: ==20190== Releasing lock...
[2025-03-10 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:11:02] Production.INFO: ==20188== Releasing lock...
[2025-03-10 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:11:03] Production.INFO: ==20195== Lock acquired, processing the job...
[2025-03-10 02:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:11:03] Production.INFO: ==20197== Lock acquired, processing the job...
[2025-03-10 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:11:03] Production.INFO: ==20203== Lock acquired, processing the job...
[2025-03-10 02:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:11:03] Production.INFO: ==20199== Lock acquired, processing the job...
[2025-03-10 02:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:11:03] Production.INFO: ==20201== Lock acquired, processing the job...
[2025-03-10 02:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:11:03] Production.INFO: ==20205== Lock acquired, processing the job...
[2025-03-10 02:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:11:04] Production.INFO: ==20197== Releasing lock...
[2025-03-10 02:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:11:04] Production.INFO: Account Balance Start.
[2025-03-10 02:11:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:11:04] Production.INFO: 117
[2025-03-10 02:11:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 02:11:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:11:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:11:04] Production.INFO: Total Charge 0
[2025-03-10 02:11:04] Production.INFO: CreateAllLog End
[2025-03-10 02:11:04] Production.INFO: count ==13
[2025-03-10 02:11:04] Production.ERROR: done
[2025-03-10 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-03-10 02:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:11:04] Production.INFO: count ==21
[2025-03-10 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646368') start
[2025-03-10 02:11:04] Production.ERROR: done
[2025-03-10 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646368') end
[2025-03-10 02:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:11:04] Production.INFO: 1
[2025-03-10 02:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:11:04] Production.INFO: ==20205== Releasing lock...
[2025-03-10 02:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:11:04] Production.INFO: Account Balance End.
[2025-03-10 02:11:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:11:04] Production.INFO: ==20201== Releasing lock...
[2025-03-10 02:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:11:05
[end_date_ymd] => 2025-03-10 02:11:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:11:05' and `end` < '2025-03-10 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-03-10 02:11:13] Production.ERROR: CronJobId end10
[2025-03-10 02:11:13] Production.INFO: ==20199== Releasing lock...
[2025-03-10 02:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:11:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:11:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:11:15] Production.INFO: call_cost start
[2025-03-10 02:11:15] Production.INFO: call_cost end
[2025-03-10 02:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:11:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:11:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:11:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:11:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:11:16] Production.INFO: ==20195== Releasing lock...
[2025-03-10 02:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:11:17] Production.INFO: count ==347
[2025-03-10 02:11:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:11:05 - End Time 2025-03-10 02:11:05
[2025-03-10 02:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646369', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646369', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646369', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646369', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:11:17] Production.INFO: ProcessCDR(1,14646369,1,1,2)
[2025-03-10 02:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646369', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646369', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:11:21] Production.INFO: ==20203== Releasing lock...
[2025-03-10 02:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:11:21] Production.INFO: 31.5 MB #Memory Used#
[2025-03-10 06:12:02] Production.INFO: ==20272== Lock acquired, processing the job...
[2025-03-10 06:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:12:02] Production.INFO: neon service started
[2025-03-10 06:12:02] Production.INFO: neon service started
[2025-03-10 06:12:02] Production.INFO: ==20272== Releasing lock...
[2025-03-10 06:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:12:02] Production.INFO: ==20276== Lock acquired, processing the job...
[2025-03-10 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:12:02] Production.INFO: ==20276== Releasing lock...
[2025-03-10 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:12:02] Production.INFO: ==20274== Lock acquired, processing the job...
[2025-03-10 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:12:03] Production.INFO: ==20274== Releasing lock...
[2025-03-10 02:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:12:04] Production.INFO: ==20285== Lock acquired, processing the job...
[2025-03-10 02:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:12:04] Production.INFO: ==20289== Lock acquired, processing the job...
[2025-03-10 02:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:12:04] Production.INFO: ==20278== Lock acquired, processing the job...
[2025-03-10 02:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:12:04] Production.INFO: Account Balance Start.
[2025-03-10 02:12:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:12:04] Production.INFO: 117
[2025-03-10 02:12:04] Production.INFO: ==20283== Lock acquired, processing the job...
[2025-03-10 02:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:12:04] Production.INFO: ==20281== Lock acquired, processing the job...
[2025-03-10 02:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02: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-03-10 02:12:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:12:04] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:12:04] Production.INFO: count ==21
[2025-03-10 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646371') start
[2025-03-10 02:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:12:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:12:04] Production.INFO: ==20287== Lock acquired, processing the job...
[2025-03-10 02:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:12:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:12:04] Production.INFO: Total Charge 0
[2025-03-10 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646371') end
[2025-03-10 02:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:12:04] Production.INFO: 1
[2025-03-10 02:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:12:04] Production.INFO: CreateAllLog End
[2025-03-10 02:12:04] Production.INFO: ==20289== Releasing lock...
[2025-03-10 02:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:12:04] Production.INFO: ==20281== Releasing lock...
[2025-03-10 02:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:12:04] Production.INFO: Account Balance End.
[2025-03-10 02:12:04] Production.ERROR: done
[2025-03-10 02:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:12:04] Production.INFO: ==20285== Releasing lock...
[2025-03-10 02:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:12:05] Production.ERROR: done
[2025-03-10 02:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:12:06
[end_date_ymd] => 2025-03-10 02:12:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:12:06' and `end` < '2025-03-10 02: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-03-10 02:12:12] Production.ERROR: CronJobId end10
[2025-03-10 02:12:12] Production.INFO: ==20283== Releasing lock...
[2025-03-10 02:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:12:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:12:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:12:15] Production.INFO: call_cost start
[2025-03-10 02:12:15] Production.INFO: call_cost end
[2025-03-10 02:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:12:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:12:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:12:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:12:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:12:16] Production.INFO: ==20278== Releasing lock...
[2025-03-10 02:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:12:18] Production.INFO: count ==347
[2025-03-10 02:12:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:12:06 - End Time 2025-03-10 02:12:06
[2025-03-10 02:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646374', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646374', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646374', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646374', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:12:18] Production.INFO: ProcessCDR(1,14646374,1,1,2)
[2025-03-10 02:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646374', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646374', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:12:21] Production.INFO: ==20287== Releasing lock...
[2025-03-10 02:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:12:21] Production.INFO: 31.5 MB #Memory Used#
[2025-03-10 06:13:01] Production.INFO: ==20353== Lock acquired, processing the job...
[2025-03-10 06:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:13:01] Production.INFO: neon service started
[2025-03-10 06:13:01] Production.INFO: neon service started
[2025-03-10 06:13:01] Production.INFO: ==20353== Releasing lock...
[2025-03-10 06:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:13:02] Production.INFO: ==20357== Lock acquired, processing the job...
[2025-03-10 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:13:02] Production.INFO: ==20357== Releasing lock...
[2025-03-10 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:13:02] Production.INFO: ==20355== Lock acquired, processing the job...
[2025-03-10 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:13:02] Production.INFO: ==20355== Releasing lock...
[2025-03-10 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:13:03] Production.INFO: ==20362== Lock acquired, processing the job...
[2025-03-10 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:13:03] Production.INFO: ==20366== Lock acquired, processing the job...
[2025-03-10 02:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:13:03] Production.INFO: ==20368== Lock acquired, processing the job...
[2025-03-10 02:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:13:03] Production.INFO: Account Balance Start.
[2025-03-10 02:13:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:13:03] Production.INFO: 117
[2025-03-10 02:13:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:13:03] Production.INFO: ==20362== Releasing lock...
[2025-03-10 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:13:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:13:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:13:03] Production.INFO: Total Charge 0
[2025-03-10 02:13:03] Production.INFO: CreateAllLog End
[2025-03-10 02:13:03] Production.INFO: ==20360== Lock acquired, processing the job...
[2025-03-10 02:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:13:03] Production.INFO: ==20364== Lock acquired, processing the job...
[2025-03-10 02:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:13:03] Production.INFO: ==20370== Lock acquired, processing the job...
[2025-03-10 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:13:03] Production.INFO: Account Balance End.
[2025-03-10 02:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:13:03] Production.ERROR: done
[2025-03-10 02:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:13:03] Production.ERROR: CronJobId end 12
[2025-03-10 02:13:03] Production.INFO: ==20366== Releasing lock...
[2025-03-10 02:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 02:13:03] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:13:03] Production.ERROR: done
[2025-03-10 02:13:03] Production.INFO: count ==21
[2025-03-10 02:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646378') start
[2025-03-10 02:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646378') end
[2025-03-10 02:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:13:04] Production.INFO: 1
[2025-03-10 02:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:13:04] Production.INFO: ==20370== Releasing lock...
[2025-03-10 02:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:13:05
[end_date_ymd] => 2025-03-10 02:13:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:13:05' and `end` < '2025-03-10 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-03-10 02:13:13] Production.ERROR: CronJobId end10
[2025-03-10 02:13:13] Production.INFO: ==20364== Releasing lock...
[2025-03-10 02:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:13:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:13:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:13:15] Production.INFO: call_cost start
[2025-03-10 02:13:15] Production.INFO: call_cost end
[2025-03-10 02:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:13:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:13:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:13:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:13:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:13:16] Production.INFO: ==20360== Releasing lock...
[2025-03-10 02:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:13:17] Production.INFO: count ==345
[2025-03-10 02:13:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:13:05 - End Time 2025-03-10 02:13:05
[2025-03-10 02:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646379', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646379', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646379', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646379', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:13:17] Production.INFO: ProcessCDR(1,14646379,1,1,2)
[2025-03-10 02:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646379', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646379', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:13:20] Production.INFO: ==20368== Releasing lock...
[2025-03-10 02:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:13:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:14:02] Production.INFO: ==20430== Lock acquired, processing the job...
[2025-03-10 06:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:14:02] Production.INFO: neon service started
[2025-03-10 06:14:02] Production.INFO: neon service started
[2025-03-10 06:14:02] Production.INFO: ==20430== Releasing lock...
[2025-03-10 06:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:14:02] Production.INFO: ==20432== Lock acquired, processing the job...
[2025-03-10 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:14:02] Production.INFO: ==20432== Releasing lock...
[2025-03-10 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:14:02] Production.INFO: ==20434== Lock acquired, processing the job...
[2025-03-10 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:14:03] Production.INFO: ==20434== Releasing lock...
[2025-03-10 06:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:14:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:14:03] Production.INFO: ==20438== Lock acquired, processing the job...
[2025-03-10 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:14:04] Production.INFO: ==20446== Lock acquired, processing the job...
[2025-03-10 02:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:14:04] Production.INFO: ==20436== Lock acquired, processing the job...
[2025-03-10 02:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:14:04] Production.INFO: ==20440== Lock acquired, processing the job...
[2025-03-10 02:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:14:04] Production.INFO: ==20442== Lock acquired, processing the job...
[2025-03-10 02:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:14:04] Production.INFO: ==20444== Lock acquired, processing the job...
[2025-03-10 02:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02: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-03-10 02:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:14:04] Production.INFO: ==20438== Releasing lock...
[2025-03-10 02:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:14:04] Production.INFO: Account Balance Start.
[2025-03-10 02:14:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:14:04] Production.INFO: 117
[2025-03-10 02:14:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:14:04] Production.INFO: count ==21
[2025-03-10 02:14:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646381') start
[2025-03-10 02:14:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:14:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:14:04] Production.INFO: Total Charge 0
[2025-03-10 02:14:04] Production.INFO: CreateAllLog End
[2025-03-10 02:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646381') end
[2025-03-10 02:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:14:04] Production.INFO: 1
[2025-03-10 02:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:14:04] Production.INFO: ==20446== Releasing lock...
[2025-03-10 02:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:14:04] Production.INFO: Account Balance End.
[2025-03-10 02:14:04] Production.ERROR: done
[2025-03-10 02:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:14:04] Production.INFO: ==20442== Releasing lock...
[2025-03-10 02:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:14:04] Production.ERROR: done
[2025-03-10 02:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:14:05
[end_date_ymd] => 2025-03-10 02:14:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:14:05' and `end` < '2025-03-10 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-03-10 02:14:12] Production.ERROR: CronJobId end10
[2025-03-10 02:14:12] Production.INFO: ==20440== Releasing lock...
[2025-03-10 02:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:14:14] Production.INFO: call_cost start
[2025-03-10 02:14:14] Production.INFO: call_cost end
[2025-03-10 02:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:14:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:14:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:14:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:14:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:14:15] Production.INFO: ==20436== Releasing lock...
[2025-03-10 02:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:14:17] Production.INFO: count ==344
[2025-03-10 02:14:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:14:05 - End Time 2025-03-10 02:14:05
[2025-03-10 02:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646384', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646384', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646384', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646384', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:14:18] Production.INFO: ProcessCDR(1,14646384,1,1,2)
[2025-03-10 02:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646384', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646384', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:14:21] Production.INFO: ==20444== Releasing lock...
[2025-03-10 02:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:14:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:15:01] Production.INFO: ==20521== Lock acquired, processing the job...
[2025-03-10 06:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:15:01] Production.INFO: neon service started
[2025-03-10 06:15:01] Production.INFO: neon service started
[2025-03-10 06:15:01] Production.INFO: ==20521== Releasing lock...
[2025-03-10 06:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:15:02] Production.INFO: ==20523== Lock acquired, processing the job...
[2025-03-10 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:15:02] Production.INFO: ==20525== Lock acquired, processing the job...
[2025-03-10 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:15:02] Production.INFO: ==20525== Releasing lock...
[2025-03-10 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:15:02] Production.INFO: ==20523== Releasing lock...
[2025-03-10 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:15:03] Production.INFO: ==20528== Lock acquired, processing the job...
[2025-03-10 02:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:15:03] Production.INFO: ==20532== Lock acquired, processing the job...
[2025-03-10 02:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:15:03] Production.INFO: ==20536== Lock acquired, processing the job...
[2025-03-10 02:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:15:03] Production.INFO: ==20530== Lock acquired, processing the job...
[2025-03-10 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:15:03] Production.INFO: ==20534== Lock acquired, processing the job...
[2025-03-10 02:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:15:03] Production.INFO: ==20538== Lock acquired, processing the job...
[2025-03-10 02:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:15:04] Production.ERROR: done
[2025-03-10 02:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 02:15:04] Production.INFO: Account Balance Start.
[2025-03-10 02:15:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:15:04] Production.INFO: 117
[2025-03-10 02:15:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:15:04] Production.INFO: count ==21
[2025-03-10 02:15:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646387') start
[2025-03-10 02:15:04] Production.INFO: ==20530== Releasing lock...
[2025-03-10 02:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:15:04] Production.ERROR: done
[2025-03-10 02:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:15:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646387') end
[2025-03-10 02:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:15:04] Production.INFO: 1
[2025-03-10 02:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:15:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:15:04] Production.INFO: ==20538== Releasing lock...
[2025-03-10 02:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:15:04] Production.INFO: Total Charge 0
[2025-03-10 02:15:04] Production.INFO: CreateAllLog End
[2025-03-10 02:15:04] Production.INFO: Account Balance End.
[2025-03-10 02:15:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:15:04] Production.INFO: ==20534== Releasing lock...
[2025-03-10 02:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:15:05
[end_date_ymd] => 2025-03-10 02:15:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:15:05' and `end` < '2025-03-10 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-03-10 02:15:11] Production.ERROR: CronJobId end10
[2025-03-10 02:15:11] Production.INFO: ==20532== Releasing lock...
[2025-03-10 02:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:15:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:15:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:15:13] Production.INFO: call_cost start
[2025-03-10 02:15:13] Production.INFO: call_cost end
[2025-03-10 02:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:15:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:15:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:15:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:15:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:15:14] Production.INFO: ==20528== Releasing lock...
[2025-03-10 02:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:15:17] Production.INFO: count ==344
[2025-03-10 02:15:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:15:05 - End Time 2025-03-10 02:15:05
[2025-03-10 02:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646389', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646389', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646389', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646389', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:15:17] Production.INFO: ProcessCDR(1,14646389,1,1,2)
[2025-03-10 02:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646389', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646389', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:15:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:15:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:15:20] Production.INFO: ==20536== Releasing lock...
[2025-03-10 02:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:15:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:16:02] Production.INFO: ==20601== Lock acquired, processing the job...
[2025-03-10 06:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:16:02] Production.INFO: neon service started
[2025-03-10 06:16:02] Production.INFO: neon service started
[2025-03-10 06:16:02] Production.INFO: ==20601== Releasing lock...
[2025-03-10 06:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:16:02] Production.INFO: ==20603== Lock acquired, processing the job...
[2025-03-10 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:16:02] Production.INFO: ==20603== Releasing lock...
[2025-03-10 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:16:03] Production.INFO: ==20605== Lock acquired, processing the job...
[2025-03-10 06:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:16:03] Production.INFO: ==20605== Releasing lock...
[2025-03-10 06:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:16:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:16:03] Production.INFO: ==20615== Lock acquired, processing the job...
[2025-03-10 02:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:16:04] Production.INFO: ==20607== Lock acquired, processing the job...
[2025-03-10 02:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:16:04] Production.INFO: ==20609== Lock acquired, processing the job...
[2025-03-10 02:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:16:04] Production.INFO: ==20618== Lock acquired, processing the job...
[2025-03-10 02:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:16:04] Production.INFO: ==20611== Lock acquired, processing the job...
[2025-03-10 02:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:16:04] Production.INFO: ==20613== Lock acquired, processing the job...
[2025-03-10 02:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02: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-03-10 02:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:16:04] Production.INFO: count ==13
[2025-03-10 02:16:04] Production.INFO: Account Balance Start.
[2025-03-10 02:16:04] Production.INFO: CreateAllLog Start
[2025-03-10 02: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-03-10 02:16:04] Production.INFO: count ==21
[2025-03-10 02:16:04] Production.INFO: 117
[2025-03-10 02:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646390') start
[2025-03-10 02:16:04] Production.ERROR: done
[2025-03-10 02:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:16:04] Production.ERROR: done
[2025-03-10 02:16:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646390') end
[2025-03-10 02:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:16:04] Production.INFO: 1
[2025-03-10 02:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:16:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:16:04] Production.INFO: ==20618== Releasing lock...
[2025-03-10 02:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:16:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:16:04] Production.INFO: ==20609== Releasing lock...
[2025-03-10 02:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:16:04] Production.INFO: Total Charge 0
[2025-03-10 02:16:04] Production.INFO: CreateAllLog End
[2025-03-10 02:16:04] Production.INFO: Account Balance End.
[2025-03-10 02:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:16:04] Production.INFO: ==20613== Releasing lock...
[2025-03-10 02:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:16:05
[end_date_ymd] => 2025-03-10 02:16:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:16:05' and `end` < '2025-03-10 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-03-10 02:16:11] Production.ERROR: CronJobId end10
[2025-03-10 02:16:11] Production.INFO: ==20611== Releasing lock...
[2025-03-10 02:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:16:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:16:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:16:13] Production.INFO: call_cost start
[2025-03-10 02:16:13] Production.INFO: call_cost end
[2025-03-10 02:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:16:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:16:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:16:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:16:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:16:14] Production.INFO: ==20607== Releasing lock...
[2025-03-10 02:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:16:17] Production.INFO: count ==347
[2025-03-10 02:16:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:16:05 - End Time 2025-03-10 02:16:05
[2025-03-10 02:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646394', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646394', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646394', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646394', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:16:17] Production.INFO: ProcessCDR(1,14646394,1,1,2)
[2025-03-10 02:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646394', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646394', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:16:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:16:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:16:20] Production.INFO: ==20615== Releasing lock...
[2025-03-10 02:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:16:20] Production.INFO: 31.5 MB #Memory Used#
[2025-03-10 06:17:01] Production.INFO: ==20682== Lock acquired, processing the job...
[2025-03-10 06:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:17:01] Production.INFO: neon service started
[2025-03-10 06:17:01] Production.INFO: neon service started
[2025-03-10 06:17:01] Production.INFO: ==20682== Releasing lock...
[2025-03-10 06:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:17:02] Production.INFO: ==20684== Lock acquired, processing the job...
[2025-03-10 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:17:02] Production.INFO: ==20684== Releasing lock...
[2025-03-10 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:17:02] Production.INFO: ==20686== Lock acquired, processing the job...
[2025-03-10 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:17:02] Production.INFO: ==20686== Releasing lock...
[2025-03-10 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:17:03] Production.INFO: ==20696== Lock acquired, processing the job...
[2025-03-10 02:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:17:03] Production.INFO: ==20698== Lock acquired, processing the job...
[2025-03-10 02:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:17:03] Production.INFO: ==20688== Lock acquired, processing the job...
[2025-03-10 02:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:17:03] Production.INFO: ==20690== Lock acquired, processing the job...
[2025-03-10 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:17:03] Production.INFO: ==20692== Lock acquired, processing the job...
[2025-03-10 02:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02: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-03-10 02:17:03] Production.INFO: ==20694== Lock acquired, processing the job...
[2025-03-10 02:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:17:03] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:17:03] Production.INFO: count ==21
[2025-03-10 02:17:03] Production.ERROR: done
[2025-03-10 02:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646395') start
[2025-03-10 02:17:03] Production.INFO: Account Balance Start.
[2025-03-10 02:17:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:17:03] Production.INFO: 117
[2025-03-10 02:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:17:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646395') end
[2025-03-10 02:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:17:03] Production.INFO: 1
[2025-03-10 02:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:17:03] Production.ERROR: done
[2025-03-10 02:17:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:17:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:17:03] Production.INFO: ==20698== Releasing lock...
[2025-03-10 02:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:17:03] Production.INFO: Total Charge 0
[2025-03-10 02:17:03] Production.INFO: CreateAllLog End
[2025-03-10 02:17:04] Production.INFO: ==20690== Releasing lock...
[2025-03-10 02:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:17:04] Production.INFO: Account Balance End.
[2025-03-10 02:17:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:17:04] Production.INFO: ==20694== Releasing lock...
[2025-03-10 02:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:17:04
[end_date_ymd] => 2025-03-10 02:17:04
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:17:04' and `end` < '2025-03-10 02: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-03-10 02:17:11] Production.ERROR: CronJobId end10
[2025-03-10 02:17:11] Production.INFO: ==20692== Releasing lock...
[2025-03-10 02:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:17:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:17:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:17:14] Production.INFO: call_cost start
[2025-03-10 02:17:14] Production.INFO: call_cost end
[2025-03-10 02:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:17:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:17:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:17:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:17:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:17:15] Production.INFO: ==20688== Releasing lock...
[2025-03-10 02:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:17:16] Production.INFO: count ==339
[2025-03-10 02:17:16] Production.ERROR: pbx CDR StartTime 2025-03-09 23:17:04 - End Time 2025-03-10 02:17:04
[2025-03-10 02:17:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:17:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646399', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:17:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646399', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:17:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646399', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:17:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646399', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:17:16] Production.INFO: ProcessCDR(1,14646399,1,1,2)
[2025-03-10 02:17:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:17:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:17:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646399', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646399', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:17:20] Production.INFO: ==20696== Releasing lock...
[2025-03-10 02:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:17:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:18:02] Production.INFO: ==20765== Lock acquired, processing the job...
[2025-03-10 06:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:18:02] Production.INFO: neon service started
[2025-03-10 06:18:02] Production.INFO: neon service started
[2025-03-10 06:18:02] Production.INFO: ==20765== Releasing lock...
[2025-03-10 06:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:18:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 02:18:02] Production.INFO: ==20767== Lock acquired, processing the job...
[2025-03-10 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:18:02] Production.INFO: ==20767== Releasing lock...
[2025-03-10 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:18:02] Production.INFO: ==20769== Lock acquired, processing the job...
[2025-03-10 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:18:03] Production.INFO: ==20769== Releasing lock...
[2025-03-10 06:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:18:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:18:03] Production.INFO: ==20772== Lock acquired, processing the job...
[2025-03-10 02:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:18:03] Production.INFO: ==20776== Lock acquired, processing the job...
[2025-03-10 02:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:18:03] Production.INFO: ==20778== Lock acquired, processing the job...
[2025-03-10 02:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:18:03] Production.INFO: Account Balance Start.
[2025-03-10 02:18:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:18:03] Production.INFO: 117
[2025-03-10 02:18:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:18:04] Production.INFO: ==20774== Lock acquired, processing the job...
[2025-03-10 02:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:18:04] Production.INFO: ==20780== Lock acquired, processing the job...
[2025-03-10 02:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:18:04] Production.INFO: Total Charge 0
[2025-03-10 02:18:04] Production.INFO: CreateAllLog End
[2025-03-10 02:18:04] Production.INFO: ==20782== Lock acquired, processing the job...
[2025-03-10 02:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:18:04] Production.INFO: Account Balance End.
[2025-03-10 02:18:04] Production.ERROR: CronJobId end 12
[2025-03-10 02: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-03-10 02:18:04] Production.INFO: ==20778== Releasing lock...
[2025-03-10 02:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:18:04] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:18:04] Production.INFO: count ==21
[2025-03-10 02:18:04] Production.INFO: ==20774== Releasing lock...
[2025-03-10 02:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646403') start
[2025-03-10 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646403') end
[2025-03-10 02:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:18:04] Production.INFO: 1
[2025-03-10 02:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:18:04] Production.INFO: ==20782== Releasing lock...
[2025-03-10 02:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:18:04] Production.ERROR: done
[2025-03-10 02:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:18:04] Production.ERROR: done
[2025-03-10 02:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:18:05
[end_date_ymd] => 2025-03-10 02:18:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:18:05' and `end` < '2025-03-10 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-03-10 02:18:12] Production.ERROR: CronJobId end10
[2025-03-10 02:18:12] Production.INFO: ==20776== Releasing lock...
[2025-03-10 02:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:18:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:18:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:18:14] Production.INFO: call_cost start
[2025-03-10 02:18:14] Production.INFO: call_cost end
[2025-03-10 02:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:18:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:18:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:18:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:18:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:18:15] Production.INFO: ==20772== Releasing lock...
[2025-03-10 02:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:18:18] Production.INFO: count ==336
[2025-03-10 02:18:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:18:05 - End Time 2025-03-10 02:18:05
[2025-03-10 02:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646404', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646404', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646404', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646404', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:18:18] Production.INFO: ProcessCDR(1,14646404,1,1,2)
[2025-03-10 02:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646404', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646404', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:18:21] Production.INFO: ==20780== Releasing lock...
[2025-03-10 02:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:18:21] Production.INFO: 31.5 MB #Memory Used#
[2025-03-10 06:19:01] Production.INFO: ==20846== Lock acquired, processing the job...
[2025-03-10 06:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:19:01] Production.INFO: neon service started
[2025-03-10 06:19:01] Production.INFO: neon service started
[2025-03-10 06:19:01] Production.INFO: ==20846== Releasing lock...
[2025-03-10 06:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:19:02] Production.INFO: ==20850== Lock acquired, processing the job...
[2025-03-10 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:19:02] Production.INFO: ==20850== Releasing lock...
[2025-03-10 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:19:02] Production.INFO: ==20848== Lock acquired, processing the job...
[2025-03-10 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:19:02] Production.INFO: ==20848== Releasing lock...
[2025-03-10 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:19:03] Production.INFO: ==20855== Lock acquired, processing the job...
[2025-03-10 02:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:19:03] Production.INFO: ==20865== Lock acquired, processing the job...
[2025-03-10 02:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:19:03] Production.INFO: ==20857== Lock acquired, processing the job...
[2025-03-10 02:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:19:03] Production.INFO: ==20859== Lock acquired, processing the job...
[2025-03-10 02:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:19:03] Production.INFO: ==20861== Lock acquired, processing the job...
[2025-03-10 02:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02: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-03-10 02:19:03] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:19:03] Production.INFO: count ==21
[2025-03-10 02:19:03] Production.INFO: ==20863== Lock acquired, processing the job...
[2025-03-10 02:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646407') start
[2025-03-10 02:19:03] Production.INFO: Account Balance Start.
[2025-03-10 02:19:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:19:03] Production.INFO: 117
[2025-03-10 02:19:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:19:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:19:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646407') end
[2025-03-10 02:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:19:03] Production.INFO: 1
[2025-03-10 02:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:19:04] Production.INFO: Total Charge 0
[2025-03-10 02:19:04] Production.INFO: CreateAllLog End
[2025-03-10 02:19:04] Production.INFO: ==20865== Releasing lock...
[2025-03-10 02:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:19:04] Production.INFO: ==20857== Releasing lock...
[2025-03-10 02:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:19:04] Production.ERROR: done
[2025-03-10 02:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:19:04] Production.ERROR: done
[2025-03-10 02:19:04] Production.INFO: Account Balance End.
[2025-03-10 02:19:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:19:04] Production.INFO: ==20861== Releasing lock...
[2025-03-10 02:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:19:05
[end_date_ymd] => 2025-03-10 02:19:05
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:19:05' and `end` < '2025-03-10 02: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-03-10 02:19:12] Production.ERROR: CronJobId end10
[2025-03-10 02:19:12] Production.INFO: ==20859== Releasing lock...
[2025-03-10 02:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:19:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:19:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:19:14] Production.INFO: call_cost start
[2025-03-10 02:19:14] Production.INFO: call_cost end
[2025-03-10 02:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:19:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:19:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:19:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:19:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:19:15] Production.INFO: ==20855== Releasing lock...
[2025-03-10 02:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:19:17] Production.INFO: count ==329
[2025-03-10 02:19:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:19:05 - End Time 2025-03-10 02:19:05
[2025-03-10 02:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646409', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646409', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646409', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646409', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:19:17] Production.INFO: ProcessCDR(1,14646409,1,1,2)
[2025-03-10 02:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646409', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646409', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:19:21] Production.INFO: ==20863== Releasing lock...
[2025-03-10 02:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:19:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:20:02] Production.INFO: ==20927== Lock acquired, processing the job...
[2025-03-10 06:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:20:02] Production.INFO: neon service started
[2025-03-10 06:20:02] Production.INFO: neon service started
[2025-03-10 06:20:02] Production.INFO: ==20927== Releasing lock...
[2025-03-10 06:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:20:02] Production.INFO: ==20929== Lock acquired, processing the job...
[2025-03-10 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:20:02] Production.INFO: ==20931== Lock acquired, processing the job...
[2025-03-10 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:20:02] Production.INFO: ==20929== Releasing lock...
[2025-03-10 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:20:03] Production.INFO: ==20931== Releasing lock...
[2025-03-10 06:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:20:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:20:03] Production.INFO: ==20933== Lock acquired, processing the job...
[2025-03-10 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 02:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 02:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 02:20:04] Production.INFO: ==20933== Releasing lock...
[2025-03-10 02:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 02:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 02:20:04] Production.INFO: ==20935== Lock acquired, processing the job...
[2025-03-10 02:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:20:04] Production.INFO: ==20937== Lock acquired, processing the job...
[2025-03-10 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:20:04] Production.INFO: ==20939== Lock acquired, processing the job...
[2025-03-10 02:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:20:04] Production.INFO: ==20942== Lock acquired, processing the job...
[2025-03-10 02:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:20:04] Production.INFO: ==20944== Lock acquired, processing the job...
[2025-03-10 02:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:20:04] Production.INFO: ==20946== Lock acquired, processing the job...
[2025-03-10 02:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 02:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:20:04] Production.INFO: ==20948== Lock acquired, processing the job...
[2025-03-10 02:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:20:04] Production.INFO: Account Balance Start.
[2025-03-10 02:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:20:04] Production.INFO: 117
[2025-03-10 02:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:20:04] Production.INFO: ==20937== Releasing lock...
[2025-03-10 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 02: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-03-10 02:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:20:04] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:20:04] Production.INFO: count ==21
[2025-03-10 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646413') start
[2025-03-10 02:20:04] Production.ERROR: done
[2025-03-10 02:20:04] Production.INFO: Total Charge 0
[2025-03-10 02:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:20:04] Production.INFO: CreateAllLog End
[2025-03-10 02:20:04] Production.ERROR: done
[2025-03-10 02:20:05] Production.ERROR: done
[2025-03-10 02:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 02:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646414', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 02:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646413') end
[2025-03-10 02:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:20:05] Production.INFO: 1
[2025-03-10 02:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:20:05] Production.INFO: Account Balance End.
[2025-03-10 02:20:05] Production.INFO: ==20948== Releasing lock...
[2025-03-10 02:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:20:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:20:05] Production.INFO: ==20942== Releasing lock...
[2025-03-10 02:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:20:06
[end_date_ymd] => 2025-03-10 02:20:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:20:06' and `end` < '2025-03-10 02: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-03-10 02:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646414', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 02:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 02:20:09] Production.INFO: ProcessCDR(1,14646414,1,1,2)
[2025-03-10 02:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646414,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646414,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:20:09] Production.INFO: ==20946== Releasing lock...
[2025-03-10 02:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 02:20:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 02:20:14] Production.ERROR: CronJobId end10
[2025-03-10 02:20:14] Production.INFO: ==20939== Releasing lock...
[2025-03-10 02:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:20:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:20:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:20:17] Production.INFO: call_cost start
[2025-03-10 02:20:17] Production.INFO: call_cost end
[2025-03-10 02:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:20:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:20:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:20:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:20:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:20:18] Production.INFO: ==20935== Releasing lock...
[2025-03-10 02:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:20:18] Production.INFO: count ==329
[2025-03-10 02:20:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:20:06 - End Time 2025-03-10 02:20:06
[2025-03-10 02:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646415', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646415', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646415', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646415', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:20:18] Production.INFO: ProcessCDR(1,14646415,1,1,2)
[2025-03-10 02:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646415', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646415', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:20:21] Production.INFO: ==20944== Releasing lock...
[2025-03-10 02:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:20:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:21:01] Production.INFO: ==21011== Lock acquired, processing the job...
[2025-03-10 06:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:21:01] Production.INFO: neon service started
[2025-03-10 06:21:01] Production.INFO: neon service started
[2025-03-10 06:21:01] Production.INFO: ==21011== Releasing lock...
[2025-03-10 06:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:21:01] Production.INFO: ==21015== Lock acquired, processing the job...
[2025-03-10 06:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:21:01] Production.INFO: ==21015== Releasing lock...
[2025-03-10 06:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:21:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:21:02] Production.INFO: ==21013== Lock acquired, processing the job...
[2025-03-10 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:21:02] Production.INFO: ==21013== Releasing lock...
[2025-03-10 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:21:03] Production.INFO: ==21024== Lock acquired, processing the job...
[2025-03-10 02:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:21:03] Production.INFO: ==21028== Lock acquired, processing the job...
[2025-03-10 02:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:21:03] Production.INFO: Account Balance Start.
[2025-03-10 02:21:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:21:03] Production.INFO: 117
[2025-03-10 02:21:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:21:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:21:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:21:03] Production.INFO: Reseller ==> 0
[2025-03-10 02: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-03-10 02:21:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:21:03] Production.INFO: count ==13
[2025-03-10 02:21:03] Production.INFO: Reseller ==> 0
[2025-03-10 02: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-03-10 02:21:03] Production.INFO: ==21018== Lock acquired, processing the job...
[2025-03-10 02:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:21:03] Production.INFO: count ==21
[2025-03-10 02:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646417') start
[2025-03-10 02:21:03] Production.INFO: Total Charge 0
[2025-03-10 02:21:03] Production.INFO: ==21022== Lock acquired, processing the job...
[2025-03-10 02:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:21:03] Production.INFO: ==21020== Lock acquired, processing the job...
[2025-03-10 02:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:21:03] Production.INFO: CreateAllLog End
[2025-03-10 02:21:03] Production.INFO: ==21026== Lock acquired, processing the job...
[2025-03-10 02:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646417') end
[2025-03-10 02:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:21:03] Production.INFO: 1
[2025-03-10 02:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:21:03] Production.INFO: ==21028== Releasing lock...
[2025-03-10 02:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:21:03] Production.INFO: Account Balance End.
[2025-03-10 02:21:03] Production.ERROR: CronJobId end 12
[2025-03-10 02:21:03] Production.INFO: ==21024== Releasing lock...
[2025-03-10 02:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:21:04] Production.INFO: ==21020== Releasing lock...
[2025-03-10 02:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:21:04] Production.ERROR: done
[2025-03-10 02:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:21:04] Production.ERROR: done
[2025-03-10 02:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:21:05
[end_date_ymd] => 2025-03-10 02:21:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:21:05' and `end` < '2025-03-10 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-03-10 02:21: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-03-10 02:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:21:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:21:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:21:13] Production.INFO: call_cost start
[2025-03-10 02:21:13] Production.INFO: call_cost end
[2025-03-10 02:21:13] Production.ERROR: CronJobId end10
[2025-03-10 02:21:13] Production.INFO: ==21022== Releasing lock...
[2025-03-10 02:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:21:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:21:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:21:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:21:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:21:14] Production.INFO: ==21018== Releasing lock...
[2025-03-10 02:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:21:17] Production.INFO: count ==325
[2025-03-10 02:21:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:21:05 - End Time 2025-03-10 02:21:05
[2025-03-10 02:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646420', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646420', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646420', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646420', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:21:18] Production.INFO: ProcessCDR(1,14646420,1,1,2)
[2025-03-10 02:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646420', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646420', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:21:21] Production.INFO: ==21026== Releasing lock...
[2025-03-10 02:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:21:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:22:02] Production.INFO: ==21091== Lock acquired, processing the job...
[2025-03-10 06:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:22:02] Production.INFO: neon service started
[2025-03-10 06:22:02] Production.INFO: neon service started
[2025-03-10 06:22:02] Production.INFO: ==21091== Releasing lock...
[2025-03-10 06:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:22:02] Production.INFO: ==21093== Lock acquired, processing the job...
[2025-03-10 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:22:02] Production.INFO: ==21093== Releasing lock...
[2025-03-10 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:22:02] Production.INFO: ==21095== Lock acquired, processing the job...
[2025-03-10 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:22:03] Production.INFO: ==21095== Releasing lock...
[2025-03-10 06:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:22:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:22:03] Production.INFO: ==21102== Lock acquired, processing the job...
[2025-03-10 02:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:22:03] Production.INFO: ==21100== Lock acquired, processing the job...
[2025-03-10 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:22:03] Production.INFO: ==21104== Lock acquired, processing the job...
[2025-03-10 02:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:22:03] Production.INFO: Account Balance Start.
[2025-03-10 02:22:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:22:03] Production.INFO: 117
[2025-03-10 02:22:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:22:03] Production.INFO: ==21098== Lock acquired, processing the job...
[2025-03-10 02:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:22:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:22:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:22:03] Production.INFO: Total Charge 0
[2025-03-10 02:22:04] Production.INFO: CreateAllLog End
[2025-03-10 02:22:04] Production.INFO: ==21106== Lock acquired, processing the job...
[2025-03-10 02:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:22:04] Production.INFO: ==21108== Lock acquired, processing the job...
[2025-03-10 02:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:22:04] Production.INFO: ==21100== Releasing lock...
[2025-03-10 02:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02: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-03-10 02:22:04] Production.INFO: Account Balance End.
[2025-03-10 02:22:04] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:22:04] Production.INFO: count ==21
[2025-03-10 02:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646424') start
[2025-03-10 02:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:22:04] Production.INFO: ==21104== Releasing lock...
[2025-03-10 02:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:22:04] Production.ERROR: done
[2025-03-10 02:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646424') end
[2025-03-10 02:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:22:04] Production.INFO: 1
[2025-03-10 02:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:22:04] Production.INFO: ==21108== Releasing lock...
[2025-03-10 02:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:22:04] Production.ERROR: done
[2025-03-10 02:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:22:05
[end_date_ymd] => 2025-03-10 02:22:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:22:05' and `end` < '2025-03-10 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-03-10 02:22:12] Production.ERROR: CronJobId end10
[2025-03-10 02:22:12] Production.INFO: ==21102== Releasing lock...
[2025-03-10 02:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:22:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:22:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:22:15] Production.INFO: call_cost start
[2025-03-10 02:22:15] Production.INFO: call_cost end
[2025-03-10 02:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:22:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:22:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:22:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:22:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:22:16] Production.INFO: ==21098== Releasing lock...
[2025-03-10 02:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:22:17] Production.INFO: count ==321
[2025-03-10 02:22:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:22:05 - End Time 2025-03-10 02:22:05
[2025-03-10 02:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646425', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646425', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646425', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646425', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:22:17] Production.INFO: ProcessCDR(1,14646425,1,1,2)
[2025-03-10 02:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646425', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646425', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:22:21] Production.INFO: ==21106== Releasing lock...
[2025-03-10 02:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:22:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:23:01] Production.INFO: ==21170== Lock acquired, processing the job...
[2025-03-10 06:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:23:01] Production.INFO: neon service started
[2025-03-10 06:23:01] Production.INFO: neon service started
[2025-03-10 06:23:01] Production.INFO: ==21170== Releasing lock...
[2025-03-10 06:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:23:01] Production.INFO: ==21173== Lock acquired, processing the job...
[2025-03-10 02:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:23:02] Production.INFO: ==21173== Releasing lock...
[2025-03-10 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:23:02] Production.INFO: ==21175== Lock acquired, processing the job...
[2025-03-10 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:23:02] Production.INFO: ==21175== Releasing lock...
[2025-03-10 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:23:03] Production.INFO: ==21179== Lock acquired, processing the job...
[2025-03-10 02:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:23:03] Production.INFO: ==21177== Lock acquired, processing the job...
[2025-03-10 02:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:23:03] Production.INFO: ==21187== Lock acquired, processing the job...
[2025-03-10 02:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:23:03] Production.INFO: ==21181== Lock acquired, processing the job...
[2025-03-10 02:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:23:03] Production.INFO: ==21185== Lock acquired, processing the job...
[2025-03-10 02:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:23:03] Production.INFO: ==21183== Lock acquired, processing the job...
[2025-03-10 02:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 02:23:03] Production.INFO: ==21179== Releasing lock...
[2025-03-10 02:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:23:03] Production.INFO: count ==13
[2025-03-10 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-03-10 02:23:03] Production.INFO: count ==21
[2025-03-10 02:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646428') start
[2025-03-10 02:23:03] Production.INFO: Account Balance Start.
[2025-03-10 02:23:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:23:03] Production.INFO: 117
[2025-03-10 02:23:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646428') end
[2025-03-10 02:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:23:03] Production.INFO: 1
[2025-03-10 02:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:23:04] Production.ERROR: done
[2025-03-10 02:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:23:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:23:04] Production.INFO: ==21187== Releasing lock...
[2025-03-10 02:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:23:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:23:04] Production.INFO: Total Charge 0
[2025-03-10 02:23:04] Production.INFO: CreateAllLog End
[2025-03-10 02:23:04] Production.ERROR: done
[2025-03-10 02:23:04] Production.INFO: Account Balance End.
[2025-03-10 02:23:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:23:04] Production.INFO: ==21183== Releasing lock...
[2025-03-10 02:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:23:05
[end_date_ymd] => 2025-03-10 02:23:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:23:05' and `end` < '2025-03-10 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-03-10 02:23:10] Production.ERROR: CronJobId end10
[2025-03-10 02:23:10] Production.INFO: ==21181== Releasing lock...
[2025-03-10 02:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:23:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:23:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:23:14] Production.INFO: call_cost start
[2025-03-10 02:23:14] Production.INFO: call_cost end
[2025-03-10 02:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:23:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:23:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:23:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:23:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:23:15] Production.INFO: ==21177== Releasing lock...
[2025-03-10 02:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:23:17] Production.INFO: count ==318
[2025-03-10 02:23:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:23:05 - End Time 2025-03-10 02:23:05
[2025-03-10 02:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646430', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646430', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646430', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646430', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:23:17] Production.INFO: ProcessCDR(1,14646430,1,1,2)
[2025-03-10 02:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646430', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646430', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:23:20] Production.INFO: ==21185== Releasing lock...
[2025-03-10 02:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:23:20] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 06:24:02] Production.INFO: ==21254== Lock acquired, processing the job...
[2025-03-10 06:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:24:02] Production.INFO: neon service started
[2025-03-10 06:24:02] Production.INFO: neon service started
[2025-03-10 06:24:02] Production.INFO: ==21254== Releasing lock...
[2025-03-10 06:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:24:02] Production.INFO: ==21258== Lock acquired, processing the job...
[2025-03-10 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:24:02] Production.INFO: ==21258== Releasing lock...
[2025-03-10 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:24:02] Production.INFO: ==21256== Lock acquired, processing the job...
[2025-03-10 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:24:02] Production.INFO: ==21256== Releasing lock...
[2025-03-10 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:24:03] Production.INFO: ==21262== Lock acquired, processing the job...
[2025-03-10 02:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:24:03] Production.INFO: ==21264== Lock acquired, processing the job...
[2025-03-10 02:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:24:03] Production.INFO: ==21271== Lock acquired, processing the job...
[2025-03-10 02:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:24:04] Production.INFO: ==21260== Lock acquired, processing the job...
[2025-03-10 02:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 02:24:04] Production.INFO: ==21269== Lock acquired, processing the job...
[2025-03-10 02:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:24:04] Production.INFO: ==21267== Lock acquired, processing the job...
[2025-03-10 02:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:24:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:24:04] Production.INFO: count ==21
[2025-03-10 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646432') start
[2025-03-10 02:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:24:04] Production.INFO: Account Balance Start.
[2025-03-10 02:24:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:24:04] Production.INFO: ==21262== Releasing lock...
[2025-03-10 02:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:24:04] Production.INFO: 117
[2025-03-10 02:24:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646432') end
[2025-03-10 02:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:24:04] Production.INFO: 1
[2025-03-10 02:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:24:04] Production.INFO: ==21271== Releasing lock...
[2025-03-10 02:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:24:04] Production.INFO: Total Charge 0
[2025-03-10 02:24:04] Production.INFO: CreateAllLog End
[2025-03-10 02:24:04] Production.ERROR: done
[2025-03-10 02:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:24:04] Production.ERROR: done
[2025-03-10 02:24:04] Production.INFO: Account Balance End.
[2025-03-10 02:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:24:04] Production.INFO: ==21267== Releasing lock...
[2025-03-10 02:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:24:05
[end_date_ymd] => 2025-03-10 02:24:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:24:05' and `end` < '2025-03-10 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-03-10 02:24:12] Production.ERROR: CronJobId end10
[2025-03-10 02:24:12] Production.INFO: ==21264== Releasing lock...
[2025-03-10 02:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:24:15] Production.INFO: call_cost start
[2025-03-10 02:24:15] Production.INFO: call_cost end
[2025-03-10 02:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:24:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:24:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:24:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:24:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:24:16] Production.INFO: ==21260== Releasing lock...
[2025-03-10 02:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:24:17] Production.INFO: count ==318
[2025-03-10 02:24:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:24:05 - End Time 2025-03-10 02:24:05
[2025-03-10 02:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646435', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646435', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646435', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646435', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:24:17] Production.INFO: ProcessCDR(1,14646435,1,1,2)
[2025-03-10 02:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646435', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646435', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:24:21] Production.INFO: ==21269== Releasing lock...
[2025-03-10 02:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:24:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 06:25:01] Production.INFO: ==21329== Lock acquired, processing the job...
[2025-03-10 06:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:25:01] Production.INFO: neon service started
[2025-03-10 06:25:01] Production.INFO: neon service started
[2025-03-10 06:25:01] Production.INFO: ==21329== Releasing lock...
[2025-03-10 06:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:25:02] Production.INFO: ==21333== Lock acquired, processing the job...
[2025-03-10 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:25:02] Production.INFO: ==21331== Lock acquired, processing the job...
[2025-03-10 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:25:02] Production.INFO: ==21333== Releasing lock...
[2025-03-10 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:25:02] Production.INFO: ==21331== Releasing lock...
[2025-03-10 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:25:03] Production.INFO: ==21336== Lock acquired, processing the job...
[2025-03-10 02:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:25:03] Production.INFO: ==21338== Lock acquired, processing the job...
[2025-03-10 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:25:03] Production.INFO: ==21346== Lock acquired, processing the job...
[2025-03-10 02:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 02:25:03] Production.INFO: ==21338== Releasing lock...
[2025-03-10 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:25:03] Production.INFO: count ==13
[2025-03-10 02:25:03] Production.INFO: ==21340== Lock acquired, processing the job...
[2025-03-10 02:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:25:03] Production.INFO: ==21344== Lock acquired, processing the job...
[2025-03-10 02:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:25:03] Production.INFO: ==21342== Lock acquired, processing the job...
[2025-03-10 02:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 02:25:03] Production.INFO: count ==21
[2025-03-10 02:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646438') start
[2025-03-10 02:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:25:03] Production.INFO: Account Balance Start.
[2025-03-10 02:25:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:25:03] Production.INFO: 117
[2025-03-10 02:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646438') end
[2025-03-10 02:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:25:03] Production.INFO: 1
[2025-03-10 02:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:25:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:25:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:25:03] Production.INFO: ==21346== Releasing lock...
[2025-03-10 02:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:25:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:25:03] Production.INFO: Total Charge 0
[2025-03-10 02:25:03] Production.INFO: CreateAllLog End
[2025-03-10 02:25:04] Production.ERROR: done
[2025-03-10 02:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:25:04] Production.INFO: Account Balance End.
[2025-03-10 02:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:25:04] Production.INFO: ==21342== Releasing lock...
[2025-03-10 02:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:25:04] Production.ERROR: done
[2025-03-10 02:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:25:05
[end_date_ymd] => 2025-03-10 02:25:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:25:05' and `end` < '2025-03-10 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-03-10 02:25:11] Production.ERROR: CronJobId end10
[2025-03-10 02:25:11] Production.INFO: ==21340== Releasing lock...
[2025-03-10 02:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:25:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:25:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:25:13] Production.INFO: call_cost start
[2025-03-10 02:25:13] Production.INFO: call_cost end
[2025-03-10 02:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:25:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:25:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:25:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:25:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:25:14] Production.INFO: ==21336== Releasing lock...
[2025-03-10 02:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:25:17] Production.INFO: count ==317
[2025-03-10 02:25:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:25:05 - End Time 2025-03-10 02:25:05
[2025-03-10 02:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646440', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646440', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646440', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646440', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:25:17] Production.INFO: ProcessCDR(1,14646440,1,1,2)
[2025-03-10 02:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646440', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646440', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:25:20] Production.INFO: ==21344== Releasing lock...
[2025-03-10 02:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:25:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:26:01] Production.INFO: ==21450== Lock acquired, processing the job...
[2025-03-10 06:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:26:01] Production.INFO: neon service started
[2025-03-10 06:26:01] Production.INFO: neon service started
[2025-03-10 06:26:01] Production.INFO: ==21450== Releasing lock...
[2025-03-10 06:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:26:02] Production.INFO: ==21452== Lock acquired, processing the job...
[2025-03-10 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:26:02] Production.INFO: ==21452== Releasing lock...
[2025-03-10 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:26:02] Production.INFO: ==21454== Lock acquired, processing the job...
[2025-03-10 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:26:02] Production.INFO: ==21454== Releasing lock...
[2025-03-10 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:26:03] Production.INFO: ==21462== Lock acquired, processing the job...
[2025-03-10 02:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:26:03] Production.INFO: Account Balance Start.
[2025-03-10 02:26:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:26:03] Production.INFO: 117
[2025-03-10 02:26:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:26:03] Production.INFO: ==21465== Lock acquired, processing the job...
[2025-03-10 02:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:26:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:26:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:26:03] Production.INFO: ==21456== Lock acquired, processing the job...
[2025-03-10 02:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:26:03] Production.INFO: ==21458== Lock acquired, processing the job...
[2025-03-10 02:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:26:03] Production.INFO: Total Charge 0
[2025-03-10 02:26:03] Production.INFO: CreateAllLog End
[2025-03-10 02:26:03] Production.INFO: ==21460== Lock acquired, processing the job...
[2025-03-10 02:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:26:03] Production.INFO: ==21467== Lock acquired, processing the job...
[2025-03-10 02:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 02:26:04] Production.INFO: Account Balance End.
[2025-03-10 02:26:04] Production.INFO: count ==13
[2025-03-10 02:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 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-03-10 02:26:04] Production.INFO: ==21462== Releasing lock...
[2025-03-10 02:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:26:04] Production.INFO: count ==21
[2025-03-10 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646443') start
[2025-03-10 02:26:04] Production.ERROR: done
[2025-03-10 02:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646443') end
[2025-03-10 02:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:26:04] Production.INFO: 1
[2025-03-10 02:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:26:04] Production.INFO: ==21467== Releasing lock...
[2025-03-10 02:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:26:04] Production.ERROR: done
[2025-03-10 02:26:04] Production.INFO: ==21458== Releasing lock...
[2025-03-10 02:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:26:05
[end_date_ymd] => 2025-03-10 02:26:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:26:05' and `end` < '2025-03-10 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-03-10 02:26:12] Production.ERROR: CronJobId end10
[2025-03-10 02:26:12] Production.INFO: ==21460== Releasing lock...
[2025-03-10 02:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:26:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:26:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:26:14] Production.INFO: call_cost start
[2025-03-10 02:26:14] Production.INFO: call_cost end
[2025-03-10 02:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:26:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:26:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:26:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:26:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:26:15] Production.INFO: ==21456== Releasing lock...
[2025-03-10 02:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:26:17] Production.INFO: count ==317
[2025-03-10 02:26:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:26:05 - End Time 2025-03-10 02:26:05
[2025-03-10 02:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646445', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646445', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646445', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646445', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:26:17] Production.INFO: ProcessCDR(1,14646445,1,1,2)
[2025-03-10 02:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646445', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646445', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:26:21] Production.INFO: ==21465== Releasing lock...
[2025-03-10 02:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:26:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:27:02] Production.INFO: ==21530== Lock acquired, processing the job...
[2025-03-10 06:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:27:02] Production.INFO: neon service started
[2025-03-10 06:27:02] Production.INFO: neon service started
[2025-03-10 06:27:02] Production.INFO: ==21530== Releasing lock...
[2025-03-10 06:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:27:03] Production.INFO: ==21533== Lock acquired, processing the job...
[2025-03-10 02:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:27:03] Production.INFO: ==21535== Lock acquired, processing the job...
[2025-03-10 06:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:27:03] Production.INFO: ==21535== Releasing lock...
[2025-03-10 06:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:27:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:27:03] Production.INFO: ==21533== Releasing lock...
[2025-03-10 02:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:27:04] Production.INFO: ==21539== Lock acquired, processing the job...
[2025-03-10 02:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:27:04] Production.INFO: ==21537== Lock acquired, processing the job...
[2025-03-10 02:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:27:04] Production.INFO: ==21543== Lock acquired, processing the job...
[2025-03-10 02:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:27:04] Production.INFO: Account Balance Start.
[2025-03-10 02:27:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:27:04] Production.INFO: 117
[2025-03-10 02:27:04] Production.INFO: ==21541== Lock acquired, processing the job...
[2025-03-10 02:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:27:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:27:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:27:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:27:04] Production.INFO: Total Charge 0
[2025-03-10 02:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:27:04] Production.INFO: CreateAllLog End
[2025-03-10 02:27:04] Production.INFO: ==21545== Lock acquired, processing the job...
[2025-03-10 02:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:27:04] Production.INFO: ==21547== Lock acquired, processing the job...
[2025-03-10 02:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:27:04] Production.INFO: ==21539== Releasing lock...
[2025-03-10 02:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:27:04] Production.INFO: Account Balance End.
[2025-03-10 02:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:27:04] Production.INFO: ==21543== Releasing lock...
[2025-03-10 02:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02: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-03-10 02:27:04] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:27:04] Production.INFO: count ==21
[2025-03-10 02:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646449') start
[2025-03-10 02:27:05] Production.ERROR: done
[2025-03-10 02:27:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:27:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646449') end
[2025-03-10 02:27:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:27:05] Production.INFO: 1
[2025-03-10 02:27:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:27:05] Production.INFO: ==21547== Releasing lock...
[2025-03-10 02:27:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:27:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:27:05] Production.ERROR: done
[2025-03-10 02:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:27:06
[end_date_ymd] => 2025-03-10 02:27:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:27:06' and `end` < '2025-03-10 02: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-03-10 02:27:12] Production.ERROR: CronJobId end10
[2025-03-10 02:27:12] Production.INFO: ==21541== Releasing lock...
[2025-03-10 02:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:27:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:27:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:27:15] Production.INFO: call_cost start
[2025-03-10 02:27:15] Production.INFO: call_cost end
[2025-03-10 02:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:27:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:27:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:27:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:27:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:27:16] Production.INFO: ==21537== Releasing lock...
[2025-03-10 02:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:27:18] Production.INFO: count ==316
[2025-03-10 02:27:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:27:06 - End Time 2025-03-10 02:27:06
[2025-03-10 02:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646450', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646450', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646450', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646450', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:27:18] Production.INFO: ProcessCDR(1,14646450,1,1,2)
[2025-03-10 02:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646450', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646450', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:27:21] Production.INFO: ==21545== Releasing lock...
[2025-03-10 02:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:27:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:28:01] Production.INFO: ==21609== Lock acquired, processing the job...
[2025-03-10 06:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:28:01] Production.INFO: neon service started
[2025-03-10 06:28:01] Production.INFO: neon service started
[2025-03-10 06:28:01] Production.INFO: ==21609== Releasing lock...
[2025-03-10 06:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:28:02] Production.INFO: ==21611== Lock acquired, processing the job...
[2025-03-10 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:28:02] Production.INFO: ==21611== Releasing lock...
[2025-03-10 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:28:02] Production.INFO: ==21613== Lock acquired, processing the job...
[2025-03-10 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:28:02] Production.INFO: ==21613== Releasing lock...
[2025-03-10 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:28:03] Production.INFO: ==21619== Lock acquired, processing the job...
[2025-03-10 02:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:28:03] Production.INFO: ==21626== Lock acquired, processing the job...
[2025-03-10 02:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:28:03] Production.INFO: ==21615== Lock acquired, processing the job...
[2025-03-10 02:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02: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-03-10 02:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:28:03] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:28:03] Production.INFO: count ==21
[2025-03-10 02:28:03] Production.INFO: ==21617== Lock acquired, processing the job...
[2025-03-10 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646451') start
[2025-03-10 02:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646451') end
[2025-03-10 02:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:28:03] Production.INFO: 1
[2025-03-10 02:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:28:03] Production.INFO: ==21624== Lock acquired, processing the job...
[2025-03-10 02:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:28:03] Production.INFO: ==21622== Lock acquired, processing the job...
[2025-03-10 02:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:28:04] Production.INFO: ==21626== Releasing lock...
[2025-03-10 02:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:28:04] Production.INFO: Account Balance Start.
[2025-03-10 02:28:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:28:04] Production.INFO: 117
[2025-03-10 02:28:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:28:04] Production.INFO: Total Charge 0
[2025-03-10 02:28:04] Production.INFO: CreateAllLog End
[2025-03-10 02:28:04] Production.INFO: ==21617== Releasing lock...
[2025-03-10 02:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:28:04] Production.ERROR: done
[2025-03-10 02:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:28:04] Production.ERROR: done
[2025-03-10 02:28:04] Production.INFO: Account Balance End.
[2025-03-10 02:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:28:04] Production.INFO: ==21622== Releasing lock...
[2025-03-10 02:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:28:05
[end_date_ymd] => 2025-03-10 02:28:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:28:05' and `end` < '2025-03-10 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-03-10 02:28:12] Production.ERROR: CronJobId end10
[2025-03-10 02:28:12] Production.INFO: ==21619== Releasing lock...
[2025-03-10 02:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:28:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:28:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:28:14] Production.INFO: call_cost start
[2025-03-10 02:28:14] Production.INFO: call_cost end
[2025-03-10 02:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:28:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:28:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:28:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:28:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:28:15] Production.INFO: ==21615== Releasing lock...
[2025-03-10 02:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:28:17] Production.INFO: count ==316
[2025-03-10 02:28:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:28:05 - End Time 2025-03-10 02:28:05
[2025-03-10 02:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646455', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646455', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646455', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646455', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:28:17] Production.INFO: ProcessCDR(1,14646455,1,1,2)
[2025-03-10 02:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646455', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646455', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:28:20] Production.INFO: ==21624== Releasing lock...
[2025-03-10 02:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:28:20] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:29:01] Production.INFO: ==21685== Lock acquired, processing the job...
[2025-03-10 06:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:29:01] Production.INFO: neon service started
[2025-03-10 06:29:01] Production.INFO: neon service started
[2025-03-10 06:29:01] Production.INFO: ==21685== Releasing lock...
[2025-03-10 06:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:29:01] Production.INFO: ==21687== Lock acquired, processing the job...
[2025-03-10 02:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:29:02] Production.INFO: ==21687== Releasing lock...
[2025-03-10 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:29:02] Production.INFO: ==21689== Lock acquired, processing the job...
[2025-03-10 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:29:02] Production.INFO: ==21689== Releasing lock...
[2025-03-10 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:29:03] Production.INFO: ==21695== Lock acquired, processing the job...
[2025-03-10 02:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:29:03] Production.INFO: ==21691== Lock acquired, processing the job...
[2025-03-10 02:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:29:03] Production.INFO: ==21693== Lock acquired, processing the job...
[2025-03-10 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:29:03] Production.INFO: ==21697== Lock acquired, processing the job...
[2025-03-10 02:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:29:03] Production.INFO: ==21699== Lock acquired, processing the job...
[2025-03-10 02:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:29:03] Production.INFO: Account Balance Start.
[2025-03-10 02:29:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:29:03] Production.INFO: 117
[2025-03-10 02:29:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:29:03] Production.INFO: ==21701== Lock acquired, processing the job...
[2025-03-10 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:29:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:29:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 02:29:03] Production.INFO: Total Charge 0
[2025-03-10 02:29:03] Production.INFO: CreateAllLog End
[2025-03-10 02:29:03] Production.INFO: count ==13
[2025-03-10 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-03-10 02:29:03] Production.INFO: ==21693== Releasing lock...
[2025-03-10 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:29:03] Production.INFO: count ==21
[2025-03-10 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646459') start
[2025-03-10 02:29:03] Production.INFO: Account Balance End.
[2025-03-10 02:29:03] Production.ERROR: done
[2025-03-10 02:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646459') end
[2025-03-10 02:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:29:04] Production.INFO: 1
[2025-03-10 02:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:29:04] Production.INFO: ==21697== Releasing lock...
[2025-03-10 02:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:29:04] Production.INFO: ==21701== Releasing lock...
[2025-03-10 02:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:29:04] Production.ERROR: done
[2025-03-10 02:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:29:05
[end_date_ymd] => 2025-03-10 02:29:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:29:05' and `end` < '2025-03-10 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-03-10 02:29:10] Production.ERROR: CronJobId end10
[2025-03-10 02:29:10] Production.INFO: ==21695== Releasing lock...
[2025-03-10 02:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:29:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:29:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:29:14] Production.INFO: call_cost start
[2025-03-10 02:29:14] Production.INFO: call_cost end
[2025-03-10 02:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:29:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:29:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:29:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:29:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:29:15] Production.INFO: ==21691== Releasing lock...
[2025-03-10 02:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:29:17] Production.INFO: count ==316
[2025-03-10 02:29:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:29:05 - End Time 2025-03-10 02:29:05
[2025-03-10 02:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646460', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646460', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646460', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646460', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:29:17] Production.INFO: ProcessCDR(1,14646460,1,1,2)
[2025-03-10 02:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646460', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646460', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:29:20] Production.INFO: ==21699== Releasing lock...
[2025-03-10 02:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:29:20] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:30:01] Production.INFO: ==21764== Lock acquired, processing the job...
[2025-03-10 06:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:30:01] Production.INFO: neon service started
[2025-03-10 06:30:01] Production.INFO: neon service started
[2025-03-10 06:30:01] Production.INFO: ==21764== Releasing lock...
[2025-03-10 06:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:30:02] Production.INFO: ==21768== Lock acquired, processing the job...
[2025-03-10 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:30:02] Production.INFO: ==21768== Releasing lock...
[2025-03-10 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:30:02] Production.INFO: ==21766== Lock acquired, processing the job...
[2025-03-10 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:30:02] Production.INFO: ==21766== Releasing lock...
[2025-03-10 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:30:03] Production.INFO: ==21773== Lock acquired, processing the job...
[2025-03-10 02:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:30:03] Production.INFO: ==21777== Lock acquired, processing the job...
[2025-03-10 02:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:30:03] Production.INFO: ==21781== Lock acquired, processing the job...
[2025-03-10 02:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:30:03] Production.INFO: ==21785== Lock acquired, processing the job...
[2025-03-10 02:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:30:04] Production.INFO: ==21771== Lock acquired, processing the job...
[2025-03-10 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 02:30:04] Production.INFO: ==21775== Lock acquired, processing the job...
[2025-03-10 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:30:04] Production.INFO: ==21779== Lock acquired, processing the job...
[2025-03-10 02:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:30:04] Production.INFO: ==21783== Lock acquired, processing the job...
[2025-03-10 02:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:30:04] Production.ERROR: CronJob PID - 21773
[2025-03-10 02:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 02:30:04] Production.ERROR: CronJob ID - 5
[2025-03-10 02:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:30:00
[2025-03-10 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:30:04] Production.ERROR: CronJob PID - 21775
[2025-03-10 02:30:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 02:30:04] Production.ERROR: CronJob ID - 7
[2025-03-10 02:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:30:00
[2025-03-10 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:30:04] Production.ERROR: CronJob PID - 21777
[2025-03-10 02:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 02:30:04] Production.ERROR: CronJob ID - 10
[2025-03-10 02:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:30:00
[2025-03-10 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:30:04] Production.ERROR: CronJob PID - 21779
[2025-03-10 02:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 02:30:04] Production.ERROR: CronJob ID - 12
[2025-03-10 02:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:30:00
[2025-03-10 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:30:04] Production.ERROR: CronJob PID - 21781
[2025-03-10 02:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 02:30:04] Production.ERROR: CronJob ID - 16
[2025-03-10 02:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:30:00
[2025-03-10 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:30:04] Production.ERROR: CronJob PID - 21785
[2025-03-10 02:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 02:30:04] Production.ERROR: CronJob ID - 19
[2025-03-10 02:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:30:00
[2025-03-10 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:30:04] Production.INFO: Account Balance Start.
[2025-03-10 02:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:30:04] Production.INFO: 117
[2025-03-10 02:30:04] Production.ERROR: done
[2025-03-10 02:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 02:30:04] Production.INFO: ==21771== Releasing lock...
[2025-03-10 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 02:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 02:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 02:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:30:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:30:04] Production.INFO: count ==21
[2025-03-10 02:30:04] Production.INFO: Total Charge 0
[2025-03-10 02:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646462') start
[2025-03-10 02:30:04] Production.INFO: CreateAllLog End
[2025-03-10 02:30:04] Production.INFO: ==21775== Releasing lock...
[2025-03-10 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:30:04] Production.ERROR: done
[2025-03-10 02:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646462') end
[2025-03-10 02:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:30:04] Production.INFO: 1
[2025-03-10 02:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:30:04] Production.ERROR: done
[2025-03-10 02:30:04] Production.INFO: ==21785== Releasing lock...
[2025-03-10 02:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:30:04] Production.INFO: Account Balance End.
[2025-03-10 02:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 02:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646466', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 02:30:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:30:04] Production.INFO: ==21779== Releasing lock...
[2025-03-10 02:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:30:05
[end_date_ymd] => 2025-03-10 02:30:05
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:30:05' and `end` < '2025-03-10 02: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-03-10 02:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646466', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 02:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 02:30:08] Production.INFO: ProcessCDR(1,14646466,1,1,2)
[2025-03-10 02:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646466,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646466,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:30:09] Production.INFO: ==21783== Releasing lock...
[2025-03-10 02:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 02:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 02:30:14] Production.ERROR: CronJobId end10
[2025-03-10 02:30:14] Production.INFO: ==21777== Releasing lock...
[2025-03-10 02:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:30:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:30:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:30:16] Production.INFO: call_cost start
[2025-03-10 02:30:16] Production.INFO: call_cost end
[2025-03-10 02:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:30:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:30:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:30:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:30:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:30:17] Production.INFO: ==21773== Releasing lock...
[2025-03-10 02:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:30:17] Production.INFO: count ==315
[2025-03-10 02:30:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:30:05 - End Time 2025-03-10 02:30:05
[2025-03-10 02:30:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646465', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646465', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646465', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646465', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:30:17] Production.INFO: ProcessCDR(1,14646465,1,1,2)
[2025-03-10 02:30:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646465', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646465', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:30:21] Production.INFO: ==21781== Releasing lock...
[2025-03-10 02:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:30:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:31:02] Production.INFO: ==21845== Lock acquired, processing the job...
[2025-03-10 06:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:31:02] Production.INFO: neon service started
[2025-03-10 06:31:02] Production.INFO: neon service started
[2025-03-10 06:31:02] Production.INFO: ==21845== Releasing lock...
[2025-03-10 06:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:31:02] Production.INFO: ==21848== Lock acquired, processing the job...
[2025-03-10 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:31:02] Production.INFO: ==21848== Releasing lock...
[2025-03-10 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:31:03] Production.INFO: ==21850== Lock acquired, processing the job...
[2025-03-10 06:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:31:03] Production.INFO: ==21850== Releasing lock...
[2025-03-10 06:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:31:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:31:03] Production.INFO: ==21860== Lock acquired, processing the job...
[2025-03-10 02:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:31:03] Production.INFO: ==21862== Lock acquired, processing the job...
[2025-03-10 02:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:31:03] Production.INFO: ==21852== Lock acquired, processing the job...
[2025-03-10 02:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:31:03] Production.INFO: ==21854== Lock acquired, processing the job...
[2025-03-10 02:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:31:04] Production.INFO: ==21856== Lock acquired, processing the job...
[2025-03-10 02:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:31:04] Production.INFO: ==21858== Lock acquired, processing the job...
[2025-03-10 02:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:31:04] Production.INFO: Account Balance Start.
[2025-03-10 02:31:04] Production.INFO: CreateAllLog Start
[2025-03-10 02: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-03-10 02:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:31:04] Production.INFO: 117
[2025-03-10 02:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:31:04] Production.INFO: count ==13
[2025-03-10 02:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02: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-03-10 02:31:04] Production.INFO: count ==21
[2025-03-10 02:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646467') start
[2025-03-10 02:31:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:31:04] Production.ERROR: done
[2025-03-10 02:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646467') end
[2025-03-10 02:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:31:04] Production.INFO: 1
[2025-03-10 02:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:31:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:31:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:31:04] Production.INFO: Total Charge 0
[2025-03-10 02:31:04] Production.INFO: CreateAllLog End
[2025-03-10 02:31:04] Production.INFO: ==21862== Releasing lock...
[2025-03-10 02:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:31:04] Production.INFO: ==21854== Releasing lock...
[2025-03-10 02:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:31:04] Production.ERROR: done
[2025-03-10 02:31:04] Production.INFO: Account Balance End.
[2025-03-10 02:31:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:31:04] Production.INFO: ==21858== Releasing lock...
[2025-03-10 02:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:31:05
[end_date_ymd] => 2025-03-10 02:31:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:31:05' and `end` < '2025-03-10 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-03-10 02:31:11] Production.ERROR: CronJobId end10
[2025-03-10 02:31:11] Production.INFO: ==21856== Releasing lock...
[2025-03-10 02:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:31:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:31:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:31:15] Production.INFO: call_cost start
[2025-03-10 02:31:15] Production.INFO: call_cost end
[2025-03-10 02:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:31:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:31:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:31:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:31:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:31:16] Production.INFO: ==21852== Releasing lock...
[2025-03-10 02:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:31:17] Production.INFO: count ==316
[2025-03-10 02:31:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:31:05 - End Time 2025-03-10 02:31:05
[2025-03-10 02:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646471', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646471', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646471', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646471', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:31:17] Production.INFO: ProcessCDR(1,14646471,1,1,2)
[2025-03-10 02:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646471', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646471', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:31:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:31:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:31:20] Production.INFO: ==21860== Releasing lock...
[2025-03-10 02:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:31:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:32:01] Production.INFO: ==21931== Lock acquired, processing the job...
[2025-03-10 06:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:32:01] Production.INFO: neon service started
[2025-03-10 06:32:01] Production.INFO: neon service started
[2025-03-10 06:32:01] Production.INFO: ==21931== Releasing lock...
[2025-03-10 06:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:32:02] Production.INFO: ==21933== Lock acquired, processing the job...
[2025-03-10 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:32:02] Production.INFO: ==21935== Lock acquired, processing the job...
[2025-03-10 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:32:02] Production.INFO: ==21935== Releasing lock...
[2025-03-10 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:32:02] Production.INFO: ==21933== Releasing lock...
[2025-03-10 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:32:03] Production.INFO: ==21940== Lock acquired, processing the job...
[2025-03-10 02:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:32:03] Production.INFO: ==21942== Lock acquired, processing the job...
[2025-03-10 02:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:32:03] Production.INFO: ==21938== Lock acquired, processing the job...
[2025-03-10 02:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:32:03] Production.INFO: ==21940== Releasing lock...
[2025-03-10 02:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:32:04] Production.INFO: ==21946== Lock acquired, processing the job...
[2025-03-10 02:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:32:04] Production.INFO: ==21944== Lock acquired, processing the job...
[2025-03-10 02:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:32:04] Production.INFO: ==21948== Lock acquired, processing the job...
[2025-03-10 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:32:04] Production.INFO: Account Balance Start.
[2025-03-10 02:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:32:04] Production.INFO: 117
[2025-03-10 02:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:32:04] Production.INFO: Total Charge 0
[2025-03-10 02:32:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 02:32:04] Production.INFO: count ==13
[2025-03-10 02:32:04] Production.ERROR: done
[2025-03-10 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-03-10 02:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:32:04] Production.INFO: count ==21
[2025-03-10 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646475') start
[2025-03-10 02:32:04] Production.ERROR: done
[2025-03-10 02:32:04] Production.INFO: Account Balance End.
[2025-03-10 02:32:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:32:04] Production.INFO: ==21944== Releasing lock...
[2025-03-10 02:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646475') end
[2025-03-10 02:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:32:04] Production.INFO: 1
[2025-03-10 02:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:32:04] Production.INFO: ==21948== Releasing lock...
[2025-03-10 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:32:05
[end_date_ymd] => 2025-03-10 02:32:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:32:05' and `end` < '2025-03-10 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-03-10 02:32:12] Production.ERROR: CronJobId end10
[2025-03-10 02:32:12] Production.INFO: ==21942== Releasing lock...
[2025-03-10 02:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:32:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:32:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:32:14] Production.INFO: call_cost start
[2025-03-10 02:32:14] Production.INFO: call_cost end
[2025-03-10 02:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:32:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:32:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:32:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:32:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:32:15] Production.INFO: ==21938== Releasing lock...
[2025-03-10 02:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:32:17] Production.INFO: count ==319
[2025-03-10 02:32:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:32:05 - End Time 2025-03-10 02:32:05
[2025-03-10 02:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646476', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646476', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646476', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646476', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:32:17] Production.INFO: ProcessCDR(1,14646476,1,1,2)
[2025-03-10 02:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646476', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646476', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:32:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:32:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:32:20] Production.INFO: ==21946== Releasing lock...
[2025-03-10 02:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:32:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:33:02] Production.INFO: ==22009== Lock acquired, processing the job...
[2025-03-10 06:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:33:02] Production.INFO: neon service started
[2025-03-10 06:33:02] Production.INFO: neon service started
[2025-03-10 06:33:02] Production.INFO: ==22009== Releasing lock...
[2025-03-10 06:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:33:02] Production.INFO: ==22011== Lock acquired, processing the job...
[2025-03-10 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:33:02] Production.INFO: ==22013== Lock acquired, processing the job...
[2025-03-10 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:33:02] Production.INFO: ==22013== Releasing lock...
[2025-03-10 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:33:03] Production.INFO: ==22011== Releasing lock...
[2025-03-10 02:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:33:03] Production.INFO: ==22015== Lock acquired, processing the job...
[2025-03-10 02:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:33:03] Production.INFO: ==22019== Lock acquired, processing the job...
[2025-03-10 02:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:33:03] Production.INFO: ==22026== Lock acquired, processing the job...
[2025-03-10 02:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:33:04] Production.INFO: ==22024== Lock acquired, processing the job...
[2025-03-10 02:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:33:04] Production.INFO: ==22017== Lock acquired, processing the job...
[2025-03-10 02:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02: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-03-10 02:33:04] Production.INFO: count ==13
[2025-03-10 02:33:04] Production.INFO: ==22021== Lock acquired, processing the job...
[2025-03-10 02:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02: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-03-10 02:33:04] Production.INFO: count ==21
[2025-03-10 02:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646478') start
[2025-03-10 02:33:04] Production.INFO: Account Balance Start.
[2025-03-10 02:33:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:33:04] Production.INFO: 117
[2025-03-10 02:33:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:33:04] Production.INFO: ==22017== Releasing lock...
[2025-03-10 02:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:33:04] Production.ERROR: done
[2025-03-10 02:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646478') end
[2025-03-10 02:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:33:04] Production.INFO: 1
[2025-03-10 02:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:33:04] Production.INFO: Total Charge 0
[2025-03-10 02:33:04] Production.INFO: CreateAllLog End
[2025-03-10 02:33:04] Production.INFO: ==22026== Releasing lock...
[2025-03-10 02:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:33:04] Production.ERROR: done
[2025-03-10 02:33:05] Production.INFO: Account Balance End.
[2025-03-10 02:33:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:33:05] Production.INFO: ==22021== Releasing lock...
[2025-03-10 02:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:33:05
[end_date_ymd] => 2025-03-10 02:33:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:33:05' and `end` < '2025-03-10 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-03-10 02:33:11] Production.ERROR: CronJobId end10
[2025-03-10 02:33:11] Production.INFO: ==22019== Releasing lock...
[2025-03-10 02:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:33:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:33:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:33:14] Production.INFO: call_cost start
[2025-03-10 02:33:14] Production.INFO: call_cost end
[2025-03-10 02:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:33:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:33:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:33:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:33:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:33:15] Production.INFO: ==22015== Releasing lock...
[2025-03-10 02:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:33:17] Production.INFO: count ==314
[2025-03-10 02:33:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:33:05 - End Time 2025-03-10 02:33:05
[2025-03-10 02:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646481', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646481', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646481', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646481', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:33:17] Production.INFO: ProcessCDR(1,14646481,1,1,2)
[2025-03-10 02:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646481', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646481', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:33:21] Production.INFO: ==22024== Releasing lock...
[2025-03-10 02:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:33:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:34:01] Production.INFO: ==22086== Lock acquired, processing the job...
[2025-03-10 06:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:34:01] Production.INFO: neon service started
[2025-03-10 06:34:01] Production.INFO: neon service started
[2025-03-10 06:34:01] Production.INFO: ==22086== Releasing lock...
[2025-03-10 06:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:34:02] Production.INFO: ==22090== Lock acquired, processing the job...
[2025-03-10 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:34:02] Production.INFO: ==22090== Releasing lock...
[2025-03-10 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:34:02] Production.INFO: ==22088== Lock acquired, processing the job...
[2025-03-10 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:34:02] Production.INFO: ==22088== Releasing lock...
[2025-03-10 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:34:03] Production.INFO: ==22093== Lock acquired, processing the job...
[2025-03-10 02:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:34:03] Production.INFO: ==22097== Lock acquired, processing the job...
[2025-03-10 02:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:34:03] Production.INFO: ==22101== Lock acquired, processing the job...
[2025-03-10 02:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:34:03] Production.INFO: ==22095== Lock acquired, processing the job...
[2025-03-10 02:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:34:03] Production.INFO: ==22099== Lock acquired, processing the job...
[2025-03-10 02:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:34:04] Production.INFO: ==22103== Lock acquired, processing the job...
[2025-03-10 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:34:04] Production.ERROR: done
[2025-03-10 02:34:04] Production.INFO: Account Balance Start.
[2025-03-10 02:34:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:34:04] Production.INFO: 117
[2025-03-10 02:34:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 02: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-03-10 02:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:34:04] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:34:04] Production.INFO: count ==21
[2025-03-10 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646485') start
[2025-03-10 02:34:04] Production.INFO: ==22095== Releasing lock...
[2025-03-10 02:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646485') end
[2025-03-10 02:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:34:04] Production.INFO: 1
[2025-03-10 02:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:34:04] Production.ERROR: done
[2025-03-10 02:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:34:04] Production.INFO: ==22103== Releasing lock...
[2025-03-10 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:34:04] Production.INFO: Total Charge 0
[2025-03-10 02:34:04] Production.INFO: CreateAllLog End
[2025-03-10 02:34:04] Production.INFO: Account Balance End.
[2025-03-10 02:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:34:04] Production.INFO: ==22099== Releasing lock...
[2025-03-10 02:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:34:05
[end_date_ymd] => 2025-03-10 02:34:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:34:05' and `end` < '2025-03-10 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-03-10 02:34:12] Production.ERROR: CronJobId end10
[2025-03-10 02:34:12] Production.INFO: ==22097== Releasing lock...
[2025-03-10 02:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:34:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:34:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:34:16] Production.INFO: call_cost start
[2025-03-10 02:34:16] Production.INFO: call_cost end
[2025-03-10 02:34:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:34:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:34:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:34:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:34:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:34:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:34:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:34:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:34:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:34:17] Production.INFO: ==22093== Releasing lock...
[2025-03-10 02:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:34:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:34:17] Production.INFO: count ==311
[2025-03-10 02:34:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:34:05 - End Time 2025-03-10 02:34:05
[2025-03-10 02:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646486', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646486', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646486', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646486', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:34:17] Production.INFO: ProcessCDR(1,14646486,1,1,2)
[2025-03-10 02:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646486', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646486', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:34:21] Production.INFO: ==22101== Releasing lock...
[2025-03-10 02:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:34:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:35:02] Production.INFO: ==22165== Lock acquired, processing the job...
[2025-03-10 06:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:35:02] Production.INFO: neon service started
[2025-03-10 06:35:02] Production.INFO: neon service started
[2025-03-10 06:35:02] Production.INFO: ==22165== Releasing lock...
[2025-03-10 06:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:35:02] Production.INFO: ==22167== Lock acquired, processing the job...
[2025-03-10 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:35:03] Production.INFO: ==22167== Releasing lock...
[2025-03-10 02:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:35:03] Production.INFO: ==22169== Lock acquired, processing the job...
[2025-03-10 06:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:35:03] Production.INFO: ==22169== Releasing lock...
[2025-03-10 06:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:35:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:35:04] Production.INFO: ==22178== Lock acquired, processing the job...
[2025-03-10 02:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:35:04] Production.INFO: ==22182== Lock acquired, processing the job...
[2025-03-10 02:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:35:04] Production.INFO: ==22172== Lock acquired, processing the job...
[2025-03-10 02:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:35:04] Production.INFO: Account Balance Start.
[2025-03-10 02:35:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:35:04] Production.INFO: 117
[2025-03-10 02:35:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:35:04] Production.INFO: ==22174== Lock acquired, processing the job...
[2025-03-10 02:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:35:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:35:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:35:04] Production.INFO: Total Charge 0
[2025-03-10 02: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-03-10 02:35:04] Production.INFO: CreateAllLog End
[2025-03-10 02:35:04] Production.INFO: ==22176== Lock acquired, processing the job...
[2025-03-10 02:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:35:04] Production.INFO: count ==13
[2025-03-10 02:35:04] Production.INFO: ==22180== Lock acquired, processing the job...
[2025-03-10 02:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02: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-03-10 02:35:04] Production.INFO: count ==21
[2025-03-10 02:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646488') start
[2025-03-10 02:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:35:04] Production.INFO: Account Balance End.
[2025-03-10 02:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646488') end
[2025-03-10 02:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:35:04] Production.INFO: 1
[2025-03-10 02:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:35:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:35:04] Production.INFO: ==22178== Releasing lock...
[2025-03-10 02:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:35:04] Production.INFO: ==22182== Releasing lock...
[2025-03-10 02:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:35:04] Production.INFO: ==22174== Releasing lock...
[2025-03-10 02:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:35:04] Production.ERROR: done
[2025-03-10 02:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:35:05] Production.ERROR: done
[2025-03-10 02:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:35:06
[end_date_ymd] => 2025-03-10 02:35:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:35:06' and `end` < '2025-03-10 02: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-03-10 02:35:14] Production.ERROR: CronJobId end10
[2025-03-10 02:35:14] Production.INFO: ==22176== Releasing lock...
[2025-03-10 02:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:35:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:35:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:35:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:35:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:35:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:35:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:35:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:35:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:35:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:35:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:35:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:35:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:35:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:35:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:35:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:35:17] Production.INFO: call_cost start
[2025-03-10 02:35:17] Production.INFO: call_cost end
[2025-03-10 02:35:18] Production.INFO: count ==307
[2025-03-10 02:35:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:35:06 - End Time 2025-03-10 02:35:06
[2025-03-10 02:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646491', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646491', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646491', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646491', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:35:18] Production.INFO: ProcessCDR(1,14646491,1,1,2)
[2025-03-10 02:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:35:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:35:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:35:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:35:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:35:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:35:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:35:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:35:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:35:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:35:18] Production.INFO: ==22172== Releasing lock...
[2025-03-10 02:35:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:35:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646491', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646491', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:35:22] Production.INFO: ==22180== Releasing lock...
[2025-03-10 02:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:35:22] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:36:01] Production.INFO: ==22253== Lock acquired, processing the job...
[2025-03-10 06:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:36:01] Production.INFO: neon service started
[2025-03-10 06:36:01] Production.INFO: neon service started
[2025-03-10 06:36:01] Production.INFO: ==22253== Releasing lock...
[2025-03-10 06:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:36:02] Production.INFO: ==22255== Lock acquired, processing the job...
[2025-03-10 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:36:02] Production.INFO: ==22255== Releasing lock...
[2025-03-10 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:36:02] Production.INFO: ==22257== Lock acquired, processing the job...
[2025-03-10 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:36:02] Production.INFO: ==22257== Releasing lock...
[2025-03-10 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:36:03] Production.INFO: ==22259== Lock acquired, processing the job...
[2025-03-10 02:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:36:03] Production.INFO: ==22261== Lock acquired, processing the job...
[2025-03-10 02:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:36:03] Production.INFO: ==22268== Lock acquired, processing the job...
[2025-03-10 02:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:36:03] Production.INFO: ==22263== Lock acquired, processing the job...
[2025-03-10 02:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:36:03] Production.INFO: ==22265== Lock acquired, processing the job...
[2025-03-10 02:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:36:03] Production.INFO: ==22270== Lock acquired, processing the job...
[2025-03-10 02:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:36:04] Production.INFO: Account Balance Start.
[2025-03-10 02:36:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:36:04] Production.INFO: 117
[2025-03-10 02:36:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 02:36:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:36:04] Production.INFO: count ==21
[2025-03-10 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646494') start
[2025-03-10 02:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:36:04] Production.INFO: Total Charge 0
[2025-03-10 02:36:04] Production.INFO: CreateAllLog End
[2025-03-10 02:36:04] Production.INFO: ==22261== Releasing lock...
[2025-03-10 02:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:36:04] Production.ERROR: done
[2025-03-10 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646494') end
[2025-03-10 02:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:36:04] Production.INFO: 1
[2025-03-10 02:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:36:04] Production.INFO: ==22270== Releasing lock...
[2025-03-10 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:36:04] Production.ERROR: done
[2025-03-10 02:36:04] Production.INFO: Account Balance End.
[2025-03-10 02:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:36:04] Production.INFO: ==22265== Releasing lock...
[2025-03-10 02:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:36:05
[end_date_ymd] => 2025-03-10 02:36:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:36:05' and `end` < '2025-03-10 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-03-10 02:36:13] Production.ERROR: CronJobId end10
[2025-03-10 02:36:13] Production.INFO: ==22263== Releasing lock...
[2025-03-10 02:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:36:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:36:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:36:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:36:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:36:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:36:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:36:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:36:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:36:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:36:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:36:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:36:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:36:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:36:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:36:17] Production.INFO: call_cost start
[2025-03-10 02:36:17] Production.INFO: call_cost end
[2025-03-10 02:36:17] Production.INFO: count ==306
[2025-03-10 02:36:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:36:05 - End Time 2025-03-10 02:36:05
[2025-03-10 02:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646496', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646496', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646496', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646496', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:36:18] Production.INFO: ProcessCDR(1,14646496,1,1,2)
[2025-03-10 02:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:36:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:36:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:36:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:36:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:36:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:36:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:36:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:36:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:36:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:36:18] Production.INFO: ==22259== Releasing lock...
[2025-03-10 02:36:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:36:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646496', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646496', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:36:22] Production.INFO: ==22268== Releasing lock...
[2025-03-10 02:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:36:22] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:37:02] Production.INFO: ==22334== Lock acquired, processing the job...
[2025-03-10 06:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:37:02] Production.INFO: neon service started
[2025-03-10 06:37:02] Production.INFO: neon service started
[2025-03-10 06:37:02] Production.INFO: ==22334== Releasing lock...
[2025-03-10 06:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:37:02] Production.INFO: ==22336== Lock acquired, processing the job...
[2025-03-10 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:37:03] Production.INFO: ==22336== Releasing lock...
[2025-03-10 02:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:37:03] Production.INFO: ==22338== Lock acquired, processing the job...
[2025-03-10 06:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:37:03] Production.INFO: ==22338== Releasing lock...
[2025-03-10 06:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:37:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:37:04] Production.INFO: ==22349== Lock acquired, processing the job...
[2025-03-10 02:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:37:04] Production.INFO: ==22351== Lock acquired, processing the job...
[2025-03-10 02:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:37:04] Production.INFO: ==22343== Lock acquired, processing the job...
[2025-03-10 02:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:37:04] Production.INFO: ==22345== Lock acquired, processing the job...
[2025-03-10 02:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:37:04] Production.INFO: ==22341== Lock acquired, processing the job...
[2025-03-10 02:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:37:04] Production.INFO: ==22347== Lock acquired, processing the job...
[2025-03-10 02:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 02:37:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:37:04] Production.INFO: count ==21
[2025-03-10 02:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646497') start
[2025-03-10 02:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:37:04] Production.INFO: Account Balance Start.
[2025-03-10 02:37:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:37:04] Production.INFO: 117
[2025-03-10 02:37:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:37:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646497') end
[2025-03-10 02:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:37:04] Production.INFO: 1
[2025-03-10 02:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:37:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:37:04] Production.INFO: Total Charge 0
[2025-03-10 02:37:04] Production.INFO: CreateAllLog End
[2025-03-10 02:37:04] Production.INFO: ==22351== Releasing lock...
[2025-03-10 02:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:37:04] Production.INFO: ==22343== Releasing lock...
[2025-03-10 02:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:37:04] Production.ERROR: done
[2025-03-10 02:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:37:05] Production.ERROR: done
[2025-03-10 02:37:05] Production.INFO: Account Balance End.
[2025-03-10 02:37:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:37:05] Production.INFO: ==22347== Releasing lock...
[2025-03-10 02:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:37:06
[end_date_ymd] => 2025-03-10 02:37:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:37:06' and `end` < '2025-03-10 02: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-03-10 02:37:13] Production.ERROR: CronJobId end10
[2025-03-10 02:37:13] Production.INFO: ==22345== Releasing lock...
[2025-03-10 02:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:37:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:37:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:37:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:37:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:37:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:37:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:37:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:37:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:37:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:37:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:37:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:37:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:37:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:37:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:37:17] Production.INFO: call_cost start
[2025-03-10 02:37:17] Production.INFO: call_cost end
[2025-03-10 02:37:18] Production.INFO: count ==302
[2025-03-10 02:37:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:37:06 - End Time 2025-03-10 02:37:06
[2025-03-10 02:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646501', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:37:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:37:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646501', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646501', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:37:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:37:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:37:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:37:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:37:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:37:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:37:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646501', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:37:18] Production.INFO: ProcessCDR(1,14646501,1,1,2)
[2025-03-10 02:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:37:18] Production.INFO: ==22341== Releasing lock...
[2025-03-10 02:37:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:37:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646501', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646501', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:37:22] Production.INFO: ==22349== Releasing lock...
[2025-03-10 02:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:37:22] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:38:01] Production.INFO: ==22412== Lock acquired, processing the job...
[2025-03-10 06:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:38:01] Production.INFO: neon service started
[2025-03-10 06:38:01] Production.INFO: neon service started
[2025-03-10 06:38:01] Production.INFO: ==22412== Releasing lock...
[2025-03-10 06:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:38:02] Production.INFO: ==22416== Lock acquired, processing the job...
[2025-03-10 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:38:02] Production.INFO: ==22416== Releasing lock...
[2025-03-10 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:38:02] Production.INFO: ==22414== Lock acquired, processing the job...
[2025-03-10 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:38:02] Production.INFO: ==22414== Releasing lock...
[2025-03-10 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:38:03] Production.INFO: ==22421== Lock acquired, processing the job...
[2025-03-10 02:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:38:03] Production.INFO: ==22427== Lock acquired, processing the job...
[2025-03-10 02:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:38:03] Production.INFO: ==22421== Releasing lock...
[2025-03-10 02:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:38:03] Production.INFO: ==22419== Lock acquired, processing the job...
[2025-03-10 02:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:38:04] Production.INFO: ==22423== Lock acquired, processing the job...
[2025-03-10 02:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:38:04] Production.INFO: ==22425== Lock acquired, processing the job...
[2025-03-10 02:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:38:04] Production.INFO: ==22429== Lock acquired, processing the job...
[2025-03-10 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:38:04] Production.INFO: Account Balance Start.
[2025-03-10 02:38:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:38:04] Production.INFO: 117
[2025-03-10 02:38:04] Production.ERROR: done
[2025-03-10 02:38:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 02:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:38:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:38:04] Production.INFO: count ==21
[2025-03-10 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646505') start
[2025-03-10 02:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:38:04] Production.ERROR: done
[2025-03-10 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646505') end
[2025-03-10 02:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:38:04] Production.INFO: 1
[2025-03-10 02:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:38:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:38:04] Production.INFO: ==22429== Releasing lock...
[2025-03-10 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:38:04] Production.INFO: Total Charge 0
[2025-03-10 02:38:04] Production.INFO: CreateAllLog End
[2025-03-10 02:38:04] Production.INFO: Account Balance End.
[2025-03-10 02:38:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:38:04] Production.INFO: ==22425== Releasing lock...
[2025-03-10 02:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:38:05
[end_date_ymd] => 2025-03-10 02:38:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:38:05' and `end` < '2025-03-10 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-03-10 02:38:13] Production.ERROR: CronJobId end10
[2025-03-10 02:38:13] Production.INFO: ==22423== Releasing lock...
[2025-03-10 02:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:38:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:38:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:38:15] Production.INFO: call_cost start
[2025-03-10 02:38:15] Production.INFO: call_cost end
[2025-03-10 02:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:38:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:38:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:38:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:38:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:38:16] Production.INFO: ==22419== Releasing lock...
[2025-03-10 02:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:38:18] Production.INFO: count ==301
[2025-03-10 02:38:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:38:05 - End Time 2025-03-10 02:38:05
[2025-03-10 02:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646506', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646506', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646506', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646506', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:38:18] Production.INFO: ProcessCDR(1,14646506,1,1,2)
[2025-03-10 02:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646506', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646506', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:38:21] Production.INFO: ==22427== Releasing lock...
[2025-03-10 02:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:38:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:39:02] Production.INFO: ==22488== Lock acquired, processing the job...
[2025-03-10 06:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:39:02] Production.INFO: neon service started
[2025-03-10 06:39:02] Production.INFO: neon service started
[2025-03-10 06:39:02] Production.INFO: ==22488== Releasing lock...
[2025-03-10 06:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:39:02] Production.INFO: ==22491== Lock acquired, processing the job...
[2025-03-10 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:39:03] Production.INFO: ==22491== Releasing lock...
[2025-03-10 02:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:39:03] Production.INFO: ==22493== Lock acquired, processing the job...
[2025-03-10 06:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:39:03] Production.INFO: ==22493== Releasing lock...
[2025-03-10 06:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:39:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:39:04] Production.INFO: ==22499== Lock acquired, processing the job...
[2025-03-10 02:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:39:04] Production.INFO: ==22501== Lock acquired, processing the job...
[2025-03-10 02:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:39:04] Production.INFO: ==22495== Lock acquired, processing the job...
[2025-03-10 02:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:39:04] Production.INFO: Account Balance Start.
[2025-03-10 02:39:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:39:04] Production.INFO: 117
[2025-03-10 02:39:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:39:04] Production.INFO: ==22497== Lock acquired, processing the job...
[2025-03-10 02:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:39:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:39:04] Production.INFO: ==22503== Lock acquired, processing the job...
[2025-03-10 02:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:39:04] Production.INFO: Total Charge 0
[2025-03-10 02:39:04] Production.INFO: CreateAllLog End
[2025-03-10 02:39:04] Production.INFO: ==22505== Lock acquired, processing the job...
[2025-03-10 02:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02: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-03-10 02:39:04] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:39:04] Production.INFO: count ==21
[2025-03-10 02:39:04] Production.INFO: ==22497== Releasing lock...
[2025-03-10 02:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646510') start
[2025-03-10 02:39:04] Production.INFO: Account Balance End.
[2025-03-10 02:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646510') end
[2025-03-10 02:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:39:04] Production.INFO: 1
[2025-03-10 02:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:39:05] Production.ERROR: done
[2025-03-10 02:39:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:39:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:39:05] Production.INFO: ==22501== Releasing lock...
[2025-03-10 02:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:39:05] Production.INFO: ==22505== Releasing lock...
[2025-03-10 02:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:39:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:39:05] Production.ERROR: done
[2025-03-10 02:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:39:06
[end_date_ymd] => 2025-03-10 02:39:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:39:06' and `end` < '2025-03-10 02: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-03-10 02:39:14] Production.ERROR: CronJobId end10
[2025-03-10 02:39:14] Production.INFO: ==22499== Releasing lock...
[2025-03-10 02:39:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:39:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:39:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:39:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:39:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:39:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:39:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:39:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:39:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:39:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:39:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:39:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:39:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:39:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:39:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:39:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:39:17] Production.INFO: call_cost start
[2025-03-10 02:39:17] Production.INFO: call_cost end
[2025-03-10 02:39:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:39:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:39:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:39:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:39:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:39:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:39:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:39:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:39:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:39:18] Production.INFO: ==22495== Releasing lock...
[2025-03-10 02:39:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:39:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:39:18] Production.INFO: count ==301
[2025-03-10 02:39:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:39:06 - End Time 2025-03-10 02:39:06
[2025-03-10 02:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646511', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646511', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646511', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646511', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:39:18] Production.INFO: ProcessCDR(1,14646511,1,1,2)
[2025-03-10 02:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646511', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646511', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:39:22] Production.INFO: ==22503== Releasing lock...
[2025-03-10 02:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:39:22] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:40:01] Production.INFO: ==22565== Lock acquired, processing the job...
[2025-03-10 06:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:40:01] Production.INFO: neon service started
[2025-03-10 06:40:02] Production.INFO: neon service started
[2025-03-10 06:40:02] Production.INFO: ==22565== Releasing lock...
[2025-03-10 06:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:40:02] Production.INFO: ==22568== Lock acquired, processing the job...
[2025-03-10 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:40:02] Production.INFO: ==22568== Releasing lock...
[2025-03-10 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:40:02] Production.INFO: ==22570== Lock acquired, processing the job...
[2025-03-10 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:40:03] Production.INFO: ==22570== Releasing lock...
[2025-03-10 06:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:40:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:40:03] Production.INFO: ==22572== Lock acquired, processing the job...
[2025-03-10 02:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 02:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 02:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 02:40:04] Production.INFO: ==22572== Releasing lock...
[2025-03-10 02:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 02:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 02:40:04] Production.INFO: ==22574== Lock acquired, processing the job...
[2025-03-10 02:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:40:04] Production.INFO: ==22578== Lock acquired, processing the job...
[2025-03-10 02:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:40:04] Production.INFO: ==22582== Lock acquired, processing the job...
[2025-03-10 02:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:40:04] Production.INFO: ==22576== Lock acquired, processing the job...
[2025-03-10 02:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:40:04] Production.INFO: ==22580== Lock acquired, processing the job...
[2025-03-10 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:40:04] Production.INFO: ==22586== Lock acquired, processing the job...
[2025-03-10 02:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:40:04] Production.INFO: ==22584== Lock acquired, processing the job...
[2025-03-10 02:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 02:40:04] Production.INFO: Account Balance Start.
[2025-03-10 02:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:40:04] Production.INFO: 117
[2025-03-10 02:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 02:40:04] Production.INFO: count ==13
[2025-03-10 02:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 02:40:04] Production.INFO: count ==21
[2025-03-10 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646515') start
[2025-03-10 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:40:04] Production.ERROR: done
[2025-03-10 02:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:40:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:40:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:40:04] Production.INFO: Total Charge 0
[2025-03-10 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646515') end
[2025-03-10 02:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:40:04] Production.INFO: 1
[2025-03-10 02:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:40:04] Production.INFO: CreateAllLog End
[2025-03-10 02:40:05] Production.INFO: ==22586== Releasing lock...
[2025-03-10 02:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:40:05] Production.INFO: ==22576== Releasing lock...
[2025-03-10 02:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:40:05] Production.ERROR: done
[2025-03-10 02:40:05] Production.INFO: Account Balance End.
[2025-03-10 02:40:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:40:05] Production.INFO: ==22580== Releasing lock...
[2025-03-10 02:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:40:05] Production.ERROR: done
[2025-03-10 02:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 02:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646517', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 02:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:40:06
[end_date_ymd] => 2025-03-10 02:40:06
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:40:06' and `end` < '2025-03-10 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-03-10 02:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646517', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 02:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 02:40:10] Production.INFO: ProcessCDR(1,14646517,1,1,2)
[2025-03-10 02:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646517,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646517,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:40:10] Production.INFO: ==22584== Releasing lock...
[2025-03-10 02:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 02:40:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 02:40:16] Production.ERROR: CronJobId end10
[2025-03-10 02:40:16] Production.INFO: ==22578== Releasing lock...
[2025-03-10 02:40:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:40:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:40:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:40:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:40:18] Production.INFO: call_cost start
[2025-03-10 02:40:18] Production.INFO: call_cost end
[2025-03-10 02:40:18] Production.INFO: count ==303
[2025-03-10 02:40:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:40:06 - End Time 2025-03-10 02:40:06
[2025-03-10 02:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646516', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646516', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646516', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646516', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:40:18] Production.INFO: ProcessCDR(1,14646516,1,1,2)
[2025-03-10 02:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:40:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:40:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:40:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:40:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:40:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:40:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:40:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:40:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:40:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:40:19] Production.INFO: ==22574== Releasing lock...
[2025-03-10 02:40:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:40:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646516', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646516', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:40:22] Production.INFO: ==22582== Releasing lock...
[2025-03-10 02:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:40:22] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:41:01] Production.INFO: ==22645== Lock acquired, processing the job...
[2025-03-10 06:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:41:01] Production.INFO: neon service started
[2025-03-10 06:41:01] Production.INFO: neon service started
[2025-03-10 06:41:01] Production.INFO: ==22645== Releasing lock...
[2025-03-10 06:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:41:02] Production.INFO: ==22647== Lock acquired, processing the job...
[2025-03-10 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:41:02] Production.INFO: ==22649== Lock acquired, processing the job...
[2025-03-10 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:41:02] Production.INFO: ==22649== Releasing lock...
[2025-03-10 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:41:02] Production.INFO: ==22647== Releasing lock...
[2025-03-10 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:41:03] Production.INFO: ==22654== Lock acquired, processing the job...
[2025-03-10 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:41:03] Production.INFO: ==22652== Lock acquired, processing the job...
[2025-03-10 02:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:41:03] Production.INFO: ==22660== Lock acquired, processing the job...
[2025-03-10 02:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:41:03] Production.INFO: ==22656== Lock acquired, processing the job...
[2025-03-10 02:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:41:03] Production.INFO: ==22658== Lock acquired, processing the job...
[2025-03-10 02:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:41:03] Production.INFO: ==22662== Lock acquired, processing the job...
[2025-03-10 02:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:41:03] Production.INFO: ==22654== Releasing lock...
[2025-03-10 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:41:03] Production.INFO: Account Balance Start.
[2025-03-10 02:41:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:41:03] Production.INFO: 117
[2025-03-10 02:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02: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-03-10 02:41:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:41:04] Production.INFO: count ==13
[2025-03-10 02:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 02:41:04] Production.INFO: count ==21
[2025-03-10 02:41:04] Production.ERROR: done
[2025-03-10 02:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646521') start
[2025-03-10 02:41:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:41:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:41:04] Production.ERROR: done
[2025-03-10 02:41:04] Production.INFO: Total Charge 0
[2025-03-10 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646521') end
[2025-03-10 02:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:41:04] Production.INFO: 1
[2025-03-10 02:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:41:04] Production.INFO: CreateAllLog End
[2025-03-10 02:41:04] Production.INFO: ==22662== Releasing lock...
[2025-03-10 02:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:41:04] Production.INFO: Account Balance End.
[2025-03-10 02:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:41:04] Production.INFO: ==22658== Releasing lock...
[2025-03-10 02:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:41:05
[end_date_ymd] => 2025-03-10 02:41:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:41:05' and `end` < '2025-03-10 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-03-10 02:41:13] Production.ERROR: CronJobId end10
[2025-03-10 02:41:13] Production.INFO: ==22656== Releasing lock...
[2025-03-10 02:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:41:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:41:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:41:16] Production.INFO: call_cost start
[2025-03-10 02:41:16] Production.INFO: call_cost end
[2025-03-10 02:41:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:41:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:41:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:41:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:41:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:41:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:41:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:41:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:41:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:41:17] Production.INFO: ==22652== Releasing lock...
[2025-03-10 02:41:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:41:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:41:17] Production.INFO: count ==303
[2025-03-10 02:41:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:41:05 - End Time 2025-03-10 02:41:05
[2025-03-10 02:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646522', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646522', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646522', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646522', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:41:17] Production.INFO: ProcessCDR(1,14646522,1,1,2)
[2025-03-10 02:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646522', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646522', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:41:21] Production.INFO: ==22660== Releasing lock...
[2025-03-10 02:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:41:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:42:02] Production.INFO: ==22757== Lock acquired, processing the job...
[2025-03-10 06:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:42:02] Production.INFO: neon service started
[2025-03-10 06:42:02] Production.INFO: neon service started
[2025-03-10 06:42:02] Production.INFO: ==22757== Releasing lock...
[2025-03-10 06:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:42:02] Production.INFO: ==22759== Lock acquired, processing the job...
[2025-03-10 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:42:02] Production.INFO: ==22759== Releasing lock...
[2025-03-10 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:42:02] Production.INFO: ==22761== Lock acquired, processing the job...
[2025-03-10 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:42:03] Production.INFO: ==22761== Releasing lock...
[2025-03-10 06:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:42:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:42:03] Production.INFO: ==22767== Lock acquired, processing the job...
[2025-03-10 02:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:42:04] Production.INFO: ==22774== Lock acquired, processing the job...
[2025-03-10 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:42:04] Production.INFO: ==22763== Lock acquired, processing the job...
[2025-03-10 02:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 02:42:04] Production.INFO: ==22765== Lock acquired, processing the job...
[2025-03-10 02:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:42:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:42:04] Production.INFO: ==22769== Lock acquired, processing the job...
[2025-03-10 02:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:42:04] Production.INFO: count ==21
[2025-03-10 02:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:42:04] Production.INFO: ==22771== Lock acquired, processing the job...
[2025-03-10 02:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646523') start
[2025-03-10 02:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646523') end
[2025-03-10 02:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:42:04] Production.INFO: 1
[2025-03-10 02:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:42:04] Production.INFO: Account Balance Start.
[2025-03-10 02:42:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:42:04] Production.INFO: 117
[2025-03-10 02:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:42:04] Production.INFO: ==22774== Releasing lock...
[2025-03-10 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:42:04] Production.INFO: Total Charge 0
[2025-03-10 02:42:04] Production.INFO: CreateAllLog End
[2025-03-10 02:42:04] Production.ERROR: done
[2025-03-10 02:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:42:04] Production.INFO: ==22765== Releasing lock...
[2025-03-10 02:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:42:04] Production.ERROR: done
[2025-03-10 02:42:04] Production.INFO: Account Balance End.
[2025-03-10 02:42:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:42:05] Production.INFO: ==22769== Releasing lock...
[2025-03-10 02:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:42:06
[end_date_ymd] => 2025-03-10 02:42:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:42:06' and `end` < '2025-03-10 02: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-03-10 02:42:12] Production.ERROR: CronJobId end10
[2025-03-10 02:42:12] Production.INFO: ==22767== Releasing lock...
[2025-03-10 02:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:42:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:42:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:42:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:42:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:42:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:42:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:42:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:42:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:42:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:42:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:42:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:42:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:42:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:42:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:42:16] Production.INFO: call_cost start
[2025-03-10 02:42:16] Production.INFO: call_cost end
[2025-03-10 02:42:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:42:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:42:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:42:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:42:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:42:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:42:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:42:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:42:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:42:17] Production.INFO: ==22763== Releasing lock...
[2025-03-10 02:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:42:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:42:17] Production.INFO: count ==303
[2025-03-10 02:42:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:42:06 - End Time 2025-03-10 02:42:06
[2025-03-10 02:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646527', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646527', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646527', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646527', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:42:18] Production.INFO: ProcessCDR(1,14646527,1,1,2)
[2025-03-10 02:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646527', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646527', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:42:21] Production.INFO: ==22771== Releasing lock...
[2025-03-10 02:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:42:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:43:01] Production.INFO: ==22835== Lock acquired, processing the job...
[2025-03-10 06:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:43:01] Production.INFO: neon service started
[2025-03-10 06:43:01] Production.INFO: neon service started
[2025-03-10 06:43:01] Production.INFO: ==22835== Releasing lock...
[2025-03-10 06:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:43:01] Production.INFO: ==22837== Lock acquired, processing the job...
[2025-03-10 02:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:43:02] Production.INFO: ==22837== Releasing lock...
[2025-03-10 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:43:02] Production.INFO: ==22839== Lock acquired, processing the job...
[2025-03-10 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:43:02] Production.INFO: ==22839== Releasing lock...
[2025-03-10 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:43:03] Production.INFO: ==22844== Lock acquired, processing the job...
[2025-03-10 02:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:43:03] Production.INFO: ==22850== Lock acquired, processing the job...
[2025-03-10 02:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:43:03] Production.INFO: ==22842== Lock acquired, processing the job...
[2025-03-10 02:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:43:03] Production.INFO: ==22846== Lock acquired, processing the job...
[2025-03-10 02:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:43:03] Production.INFO: ==22848== Lock acquired, processing the job...
[2025-03-10 02:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:43:03] Production.INFO: ==22852== Lock acquired, processing the job...
[2025-03-10 02:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:43:03] Production.INFO: ==22844== Releasing lock...
[2025-03-10 02:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:43:03] Production.INFO: Account Balance Start.
[2025-03-10 02:43:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:43:03] Production.INFO: 117
[2025-03-10 02:43:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 02: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-03-10 02:43:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:43:03] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:43:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:43:03] Production.INFO: count ==21
[2025-03-10 02:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646531') start
[2025-03-10 02:43:04] Production.ERROR: done
[2025-03-10 02:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:43:04] Production.INFO: Total Charge 0
[2025-03-10 02:43:04] Production.INFO: CreateAllLog End
[2025-03-10 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646531') end
[2025-03-10 02:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:43:04] Production.INFO: 1
[2025-03-10 02:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:43:04] Production.ERROR: done
[2025-03-10 02:43:04] Production.INFO: ==22852== Releasing lock...
[2025-03-10 02:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:43:04] Production.INFO: Account Balance End.
[2025-03-10 02:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:43:04] Production.INFO: ==22848== Releasing lock...
[2025-03-10 02:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:43:05
[end_date_ymd] => 2025-03-10 02:43:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:43:05' and `end` < '2025-03-10 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-03-10 02:43:13] Production.ERROR: CronJobId end10
[2025-03-10 02:43:13] Production.INFO: ==22846== Releasing lock...
[2025-03-10 02:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:43:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:43:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:43:15] Production.INFO: call_cost start
[2025-03-10 02:43:15] Production.INFO: call_cost end
[2025-03-10 02:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:43:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:43:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:43:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:43:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:43:16] Production.INFO: ==22842== Releasing lock...
[2025-03-10 02:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:43:17] Production.INFO: count ==303
[2025-03-10 02:43:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:43:05 - End Time 2025-03-10 02:43:05
[2025-03-10 02:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646532', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646532', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646532', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646532', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:43:17] Production.INFO: ProcessCDR(1,14646532,1,1,2)
[2025-03-10 02:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646532', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646532', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:43:21] Production.INFO: ==22850== Releasing lock...
[2025-03-10 02:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:43:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 06:44:02] Production.INFO: ==22908== Lock acquired, processing the job...
[2025-03-10 06:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:44:02] Production.INFO: neon service started
[2025-03-10 06:44:02] Production.INFO: neon service started
[2025-03-10 06:44:02] Production.INFO: ==22908== Releasing lock...
[2025-03-10 06:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:44:02] Production.INFO: ==22910== Lock acquired, processing the job...
[2025-03-10 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:44:02] Production.INFO: ==22910== Releasing lock...
[2025-03-10 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:44:03] Production.INFO: ==22912== Lock acquired, processing the job...
[2025-03-10 06:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:44:03] Production.INFO: ==22912== Releasing lock...
[2025-03-10 06:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:44:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:44:03] Production.INFO: ==22915== Lock acquired, processing the job...
[2025-03-10 02:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:44:03] Production.INFO: ==22919== Lock acquired, processing the job...
[2025-03-10 02:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:44:04] Production.INFO: ==22925== Lock acquired, processing the job...
[2025-03-10 02:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:44:04] Production.INFO: ==22917== Lock acquired, processing the job...
[2025-03-10 02:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02: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-03-10 02:44:04] Production.INFO: ==22921== Lock acquired, processing the job...
[2025-03-10 02:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:44:04] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:44:04] Production.INFO: count ==21
[2025-03-10 02:44:04] Production.INFO: ==22923== Lock acquired, processing the job...
[2025-03-10 02:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646534') start
[2025-03-10 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646534') end
[2025-03-10 02:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:44:04] Production.INFO: 1
[2025-03-10 02:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:44:04] Production.INFO: Account Balance Start.
[2025-03-10 02:44:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:44:04] Production.INFO: ==22925== Releasing lock...
[2025-03-10 02:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:44:04] Production.INFO: 117
[2025-03-10 02:44:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:44:04] Production.INFO: ==22917== Releasing lock...
[2025-03-10 02:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:44:04] Production.INFO: Total Charge 0
[2025-03-10 02:44:04] Production.INFO: CreateAllLog End
[2025-03-10 02:44:04] Production.ERROR: done
[2025-03-10 02:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:44:05] Production.ERROR: done
[2025-03-10 02:44:05] Production.INFO: Account Balance End.
[2025-03-10 02:44:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:44:05] Production.INFO: ==22921== Releasing lock...
[2025-03-10 02:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:44:06
[end_date_ymd] => 2025-03-10 02:44:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:44:06' and `end` < '2025-03-10 02:44:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 02:44:15] Production.ERROR: CronJobId end10
[2025-03-10 02:44:15] Production.INFO: ==22919== Releasing lock...
[2025-03-10 02:44:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:44:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:44:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:44:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:44:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:44:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:44:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:44:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:44:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:44:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:44:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:44:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:44:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:44:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:44:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:44:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:44:16] Production.INFO: call_cost start
[2025-03-10 02:44:16] Production.INFO: call_cost end
[2025-03-10 02:44:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:44:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:44:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:44:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:44:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:44:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:44:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:44:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:44:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:44:18] Production.INFO: ==22915== Releasing lock...
[2025-03-10 02:44:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:44:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:44:18] Production.INFO: count ==306
[2025-03-10 02:44:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:44:06 - End Time 2025-03-10 02:44:06
[2025-03-10 02:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646537', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646537', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646537', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646537', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:44:18] Production.INFO: ProcessCDR(1,14646537,1,1,2)
[2025-03-10 02:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646537', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646537', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:44:22] Production.INFO: ==22923== Releasing lock...
[2025-03-10 02:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:44:22] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:45:01] Production.INFO: ==22984== Lock acquired, processing the job...
[2025-03-10 06:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:45:01] Production.INFO: neon service started
[2025-03-10 06:45:01] Production.INFO: neon service started
[2025-03-10 06:45:01] Production.INFO: ==22984== Releasing lock...
[2025-03-10 06:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:45:02] Production.INFO: ==22986== Lock acquired, processing the job...
[2025-03-10 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:45:02] Production.INFO: ==22986== Releasing lock...
[2025-03-10 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:45:02] Production.INFO: ==22988== Lock acquired, processing the job...
[2025-03-10 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:45:02] Production.INFO: ==22988== Releasing lock...
[2025-03-10 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:45:03] Production.INFO: ==23001== Lock acquired, processing the job...
[2025-03-10 02:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:45:03] Production.INFO: ==22997== Lock acquired, processing the job...
[2025-03-10 02:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 02:45:03] Production.INFO: ==22991== Lock acquired, processing the job...
[2025-03-10 02:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:45:03] Production.INFO: Account Balance Start.
[2025-03-10 02:45:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:45:03] Production.INFO: 117
[2025-03-10 02:45:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:45:03] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:45:03] Production.INFO: count ==21
[2025-03-10 02:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646538') start
[2025-03-10 02:45:03] Production.INFO: ==22993== Lock acquired, processing the job...
[2025-03-10 02:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:45:03] Production.INFO: ==22995== Lock acquired, processing the job...
[2025-03-10 02:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:45:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646538') end
[2025-03-10 02:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:45:03] Production.INFO: 1
[2025-03-10 02:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:45:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:45:03] Production.INFO: ==23001== Releasing lock...
[2025-03-10 02:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:45:03] Production.INFO: Total Charge 0
[2025-03-10 02:45:03] Production.INFO: ==22999== Lock acquired, processing the job...
[2025-03-10 02:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:45:03] Production.INFO: CreateAllLog End
[2025-03-10 02:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:45:04] Production.INFO: Account Balance End.
[2025-03-10 02:45:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:45:04] Production.INFO: ==22997== Releasing lock...
[2025-03-10 02:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:45:04] Production.INFO: ==22993== Releasing lock...
[2025-03-10 02:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:45:04] Production.ERROR: done
[2025-03-10 02:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:45:04] Production.ERROR: done
[2025-03-10 02:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:45:05
[end_date_ymd] => 2025-03-10 02:45:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:45:05' and `end` < '2025-03-10 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-03-10 02:45:13] Production.ERROR: CronJobId end10
[2025-03-10 02:45:13] Production.INFO: ==22995== Releasing lock...
[2025-03-10 02:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:45:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:45:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:45:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:45:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:45:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:45:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:45:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:45:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:45:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:45:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:45:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:45:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:45:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:45:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:45:16] Production.INFO: call_cost start
[2025-03-10 02:45:16] Production.INFO: call_cost end
[2025-03-10 02:45:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:45:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:45:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:45:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:45:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:45:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:45:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:45:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:45:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:45:17] Production.INFO: ==22991== Releasing lock...
[2025-03-10 02:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:45:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:45:17] Production.INFO: count ==318
[2025-03-10 02:45:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:45:05 - End Time 2025-03-10 02:45:05
[2025-03-10 02:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646542', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646542', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646542', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646542', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:45:18] Production.INFO: ProcessCDR(1,14646542,1,1,2)
[2025-03-10 02:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646542', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646542', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:45:21] Production.INFO: ==22999== Releasing lock...
[2025-03-10 02:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:45:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:46:02] Production.INFO: ==23061== Lock acquired, processing the job...
[2025-03-10 06:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:46:02] Production.INFO: neon service started
[2025-03-10 06:46:02] Production.INFO: neon service started
[2025-03-10 06:46:02] Production.INFO: ==23061== Releasing lock...
[2025-03-10 06:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:46:02] Production.INFO: ==23063== Lock acquired, processing the job...
[2025-03-10 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:46:02] Production.INFO: ==23065== Lock acquired, processing the job...
[2025-03-10 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:46:03] Production.INFO: ==23065== Releasing lock...
[2025-03-10 06:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:46:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:46:03] Production.INFO: ==23063== Releasing lock...
[2025-03-10 02:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:46:04] Production.INFO: ==23068== Lock acquired, processing the job...
[2025-03-10 02:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:46:04] Production.INFO: ==23076== Lock acquired, processing the job...
[2025-03-10 02:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:46:04] Production.INFO: ==23070== Lock acquired, processing the job...
[2025-03-10 02:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:46:04] Production.INFO: ==23072== Lock acquired, processing the job...
[2025-03-10 02:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:46:04] Production.INFO: ==23074== Lock acquired, processing the job...
[2025-03-10 02:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:46:04] Production.INFO: ==23078== Lock acquired, processing the job...
[2025-03-10 02:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:46:04] Production.ERROR: done
[2025-03-10 02:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:46:04] Production.INFO: Account Balance Start.
[2025-03-10 02:46:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:46:04] Production.INFO: 117
[2025-03-10 02:46:04] Production.INFO: Date 2025-03-08
[2025-03-10 02: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-03-10 02:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:46:05] Production.ERROR: done
[2025-03-10 02:46:05] Production.INFO: count ==13
[2025-03-10 02:46: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-03-10 02:46:05] Production.INFO: count ==21
[2025-03-10 02:46:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646545') start
[2025-03-10 02:46:05] Production.INFO: Date 2025-03-10
[2025-03-10 02:46:05] Production.INFO: Reseller ==> 0
[2025-03-10 02:46:05] Production.INFO: Total Charge 0
[2025-03-10 02:46:05] Production.INFO: CreateAllLog End
[2025-03-10 02:46:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646545') end
[2025-03-10 02:46:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:46:05] Production.INFO: 1
[2025-03-10 02:46:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:46:05] Production.INFO: ==23070== Releasing lock...
[2025-03-10 02:46:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:46:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:46:05] Production.INFO: ==23078== Releasing lock...
[2025-03-10 02:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:46:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:46:05] Production.INFO: Account Balance End.
[2025-03-10 02:46:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:46:05] Production.INFO: ==23074== Releasing lock...
[2025-03-10 02:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:46:06
[end_date_ymd] => 2025-03-10 02:46:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:46:06' and `end` < '2025-03-10 02: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-03-10 02:46:13] Production.ERROR: CronJobId end10
[2025-03-10 02:46:13] Production.INFO: ==23072== Releasing lock...
[2025-03-10 02:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:46:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:46:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:46:15] Production.INFO: call_cost start
[2025-03-10 02:46:15] Production.INFO: call_cost end
[2025-03-10 02:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:46:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:46:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:46:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:46:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:46:16] Production.INFO: ==23068== Releasing lock...
[2025-03-10 02:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:46:18] Production.INFO: count ==318
[2025-03-10 02:46:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:46:06 - End Time 2025-03-10 02:46:06
[2025-03-10 02:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646547', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646547', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646547', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646547', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:46:18] Production.INFO: ProcessCDR(1,14646547,1,1,2)
[2025-03-10 02:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646547', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646547', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:46:22] Production.INFO: ==23076== Releasing lock...
[2025-03-10 02:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:46:22] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:47:01] Production.INFO: ==23132== Lock acquired, processing the job...
[2025-03-10 06:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:47:01] Production.INFO: neon service started
[2025-03-10 06:47:01] Production.INFO: neon service started
[2025-03-10 06:47:01] Production.INFO: ==23132== Releasing lock...
[2025-03-10 06:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:47:02] Production.INFO: ==23134== Lock acquired, processing the job...
[2025-03-10 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:47:02] Production.INFO: ==23134== Releasing lock...
[2025-03-10 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:47:02] Production.INFO: ==23136== Lock acquired, processing the job...
[2025-03-10 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:47:02] Production.INFO: ==23136== Releasing lock...
[2025-03-10 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:47:03] Production.INFO: ==23147== Lock acquired, processing the job...
[2025-03-10 02:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:47:03] Production.INFO: ==23139== Lock acquired, processing the job...
[2025-03-10 02:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:47:03] Production.INFO: ==23145== Lock acquired, processing the job...
[2025-03-10 02:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:47:03] Production.INFO: ==23141== Lock acquired, processing the job...
[2025-03-10 02:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:47:03] Production.ERROR: done
[2025-03-10 02:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:47:03] Production.INFO: ==23143== Lock acquired, processing the job...
[2025-03-10 02:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:47:03] Production.INFO: ==23149== Lock acquired, processing the job...
[2025-03-10 02:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:47:03] Production.INFO: Account Balance Start.
[2025-03-10 02:47:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:47:03] Production.INFO: 117
[2025-03-10 02:47:04] Production.ERROR: done
[2025-03-10 02:47:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 02:47:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:47:04] Production.INFO: count ==13
[2025-03-10 02:47:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 02:47:04] Production.INFO: count ==21
[2025-03-10 02:47:04] Production.INFO: Total Charge 0
[2025-03-10 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646551') start
[2025-03-10 02:47:04] Production.INFO: CreateAllLog End
[2025-03-10 02:47:04] Production.INFO: ==23141== Releasing lock...
[2025-03-10 02:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646551') end
[2025-03-10 02:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:47:04] Production.INFO: 1
[2025-03-10 02:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:47:04] Production.INFO: ==23149== Releasing lock...
[2025-03-10 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:47:04] Production.INFO: Account Balance End.
[2025-03-10 02:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:47:04] Production.INFO: ==23145== Releasing lock...
[2025-03-10 02:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:47:05
[end_date_ymd] => 2025-03-10 02:47:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:47:05' and `end` < '2025-03-10 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-03-10 02:47:13] Production.ERROR: CronJobId end10
[2025-03-10 02:47:13] Production.INFO: ==23143== Releasing lock...
[2025-03-10 02:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:47:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:47:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:47:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:47:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:47:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:47:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:47:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:47:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:47:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:47:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:47:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:47:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:47:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:47:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:47:16] Production.INFO: call_cost start
[2025-03-10 02:47:16] Production.INFO: call_cost end
[2025-03-10 02:47:17] Production.INFO: count ==318
[2025-03-10 02:47:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:47:05 - End Time 2025-03-10 02:47:05
[2025-03-10 02:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646552', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646552', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646552', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646552', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:47:17] Production.INFO: ProcessCDR(1,14646552,1,1,2)
[2025-03-10 02:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:47:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:47:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:47:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:47:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:47:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:47:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:47:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:47:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:47:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:47:18] Production.INFO: ==23139== Releasing lock...
[2025-03-10 02:47:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:47:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646552', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646552', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:47:21] Production.INFO: ==23147== Releasing lock...
[2025-03-10 02:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:47:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:48:02] Production.INFO: ==23209== Lock acquired, processing the job...
[2025-03-10 06:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:48:02] Production.INFO: neon service started
[2025-03-10 06:48:02] Production.INFO: neon service started
[2025-03-10 06:48:02] Production.INFO: ==23209== Releasing lock...
[2025-03-10 06:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:48:02] Production.INFO: ==23211== Lock acquired, processing the job...
[2025-03-10 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:48:03] Production.INFO: ==23213== Lock acquired, processing the job...
[2025-03-10 06:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:48:03] Production.INFO: ==23213== Releasing lock...
[2025-03-10 06:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:48:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:48:03] Production.INFO: ==23211== Releasing lock...
[2025-03-10 02:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:48:04] Production.INFO: ==23218== Lock acquired, processing the job...
[2025-03-10 02:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:48:04] Production.INFO: ==23220== Lock acquired, processing the job...
[2025-03-10 02:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:48:04] Production.INFO: ==23224== Lock acquired, processing the job...
[2025-03-10 02:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:48:04] Production.INFO: ==23216== Lock acquired, processing the job...
[2025-03-10 02:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:48:04] Production.INFO: ==23218== Releasing lock...
[2025-03-10 02:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:48:04] Production.INFO: ==23222== Lock acquired, processing the job...
[2025-03-10 02:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:48:04] Production.INFO: ==23226== Lock acquired, processing the job...
[2025-03-10 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:48:04] Production.ERROR: done
[2025-03-10 02:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:48:04] Production.INFO: Account Balance Start.
[2025-03-10 02:48:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:48:04] Production.INFO: 117
[2025-03-10 02:48:04] Production.INFO: Date 2025-03-08
[2025-03-10 02: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-03-10 02:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:48:05] Production.INFO: Date 2025-03-09
[2025-03-10 02:48:05] Production.INFO: Reseller ==> 0
[2025-03-10 02:48:05] Production.INFO: Date 2025-03-10
[2025-03-10 02:48:05] Production.INFO: Reseller ==> 0
[2025-03-10 02:48:05] Production.INFO: Total Charge 0
[2025-03-10 02:48:05] Production.INFO: count ==13
[2025-03-10 02:48:05] Production.INFO: CreateAllLog End
[2025-03-10 02:48: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-03-10 02:48:05] Production.INFO: count ==21
[2025-03-10 02:48:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646555') start
[2025-03-10 02:48:05] Production.ERROR: done
[2025-03-10 02:48:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646555') end
[2025-03-10 02:48:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:48:05] Production.INFO: 1
[2025-03-10 02:48:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:48:05] Production.INFO: ==23226== Releasing lock...
[2025-03-10 02:48:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:48:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:48:05] Production.INFO: Account Balance End.
[2025-03-10 02:48:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:48:05] Production.INFO: ==23222== Releasing lock...
[2025-03-10 02:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:48:06
[end_date_ymd] => 2025-03-10 02:48:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:48:06' and `end` < '2025-03-10 02: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-03-10 02:48:14] Production.ERROR: CronJobId end10
[2025-03-10 02:48:14] Production.INFO: ==23220== Releasing lock...
[2025-03-10 02:48:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:48:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:48:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:48:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:48:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:48:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:48:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:48:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:48:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:48:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:48:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:48:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:48:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:48:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:48:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:48:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:48:16] Production.INFO: call_cost start
[2025-03-10 02:48:16] Production.INFO: call_cost end
[2025-03-10 02:48:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:48:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:48:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:48:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:48:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:48:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:48:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:48:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:48:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:48:17] Production.INFO: ==23216== Releasing lock...
[2025-03-10 02:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:48:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:48:18] Production.INFO: count ==318
[2025-03-10 02:48:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:48:06 - End Time 2025-03-10 02:48:06
[2025-03-10 02:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646557', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646557', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646557', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646557', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:48:18] Production.INFO: ProcessCDR(1,14646557,1,1,2)
[2025-03-10 02:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646557', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646557', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:48:22] Production.INFO: ==23224== Releasing lock...
[2025-03-10 02:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:48:22] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:49:01] Production.INFO: ==23285== Lock acquired, processing the job...
[2025-03-10 06:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:49:01] Production.INFO: neon service started
[2025-03-10 06:49:01] Production.INFO: neon service started
[2025-03-10 06:49:01] Production.INFO: ==23285== Releasing lock...
[2025-03-10 06:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:49:02] Production.INFO: ==23289== Lock acquired, processing the job...
[2025-03-10 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:49:02] Production.INFO: ==23289== Releasing lock...
[2025-03-10 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:49:02] Production.INFO: ==23287== Lock acquired, processing the job...
[2025-03-10 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:49:02] Production.INFO: ==23287== Releasing lock...
[2025-03-10 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:49:03] Production.INFO: ==23294== Lock acquired, processing the job...
[2025-03-10 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:49:03] Production.INFO: ==23298== Lock acquired, processing the job...
[2025-03-10 02:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:49:03] Production.INFO: ==23292== Lock acquired, processing the job...
[2025-03-10 02:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:49:03] Production.INFO: Account Balance Start.
[2025-03-10 02:49:03] Production.INFO: ==23296== Lock acquired, processing the job...
[2025-03-10 02:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:49:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:49:03] Production.INFO: 117
[2025-03-10 02:49:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:49:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:49:03] Production.INFO: ==23300== Lock acquired, processing the job...
[2025-03-10 02:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:49:04] Production.INFO: ==23302== Lock acquired, processing the job...
[2025-03-10 02:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:49:04] Production.INFO: ==23294== Releasing lock...
[2025-03-10 02:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 02: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-03-10 02:49:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:49:04] Production.INFO: count ==21
[2025-03-10 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646561') start
[2025-03-10 02:49:04] Production.INFO: Total Charge 0
[2025-03-10 02:49:04] Production.ERROR: done
[2025-03-10 02:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:49:04] Production.INFO: CreateAllLog End
[2025-03-10 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646561') end
[2025-03-10 02:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:49:04] Production.INFO: 1
[2025-03-10 02:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:49:04] Production.INFO: ==23302== Releasing lock...
[2025-03-10 02:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:49:04] Production.ERROR: done
[2025-03-10 02:49:04] Production.INFO: Account Balance End.
[2025-03-10 02:49:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:49:04] Production.INFO: ==23298== Releasing lock...
[2025-03-10 02:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:49:06
[end_date_ymd] => 2025-03-10 02:49:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:49:06' and `end` < '2025-03-10 02: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-03-10 02:49:14] Production.ERROR: CronJobId end10
[2025-03-10 02:49:14] Production.INFO: ==23296== Releasing lock...
[2025-03-10 02:49:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:49:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:49:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:49:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:49:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:49:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:49:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:49:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:49:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:49:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:49:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:49:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:49:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:49:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:49:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:49:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:49:16] Production.INFO: call_cost start
[2025-03-10 02:49:16] Production.INFO: call_cost end
[2025-03-10 02:49:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:49:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:49:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:49:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:49:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:49:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:49:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:49:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:49:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:49:18] Production.INFO: ==23292== Releasing lock...
[2025-03-10 02:49:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:49:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:49:18] Production.INFO: count ==318
[2025-03-10 02:49:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:49:06 - End Time 2025-03-10 02:49:06
[2025-03-10 02:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646562', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646562', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646562', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646562', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:49:18] Production.INFO: ProcessCDR(1,14646562,1,1,2)
[2025-03-10 02:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646562', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646562', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:49:21] Production.INFO: ==23300== Releasing lock...
[2025-03-10 02:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:49:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:50:02] Production.INFO: ==23362== Lock acquired, processing the job...
[2025-03-10 06:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:50:02] Production.INFO: neon service started
[2025-03-10 06:50:02] Production.INFO: neon service started
[2025-03-10 06:50:02] Production.INFO: ==23362== Releasing lock...
[2025-03-10 06:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:50:02] Production.INFO: ==23364== Lock acquired, processing the job...
[2025-03-10 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:50:03] Production.INFO: ==23366== Lock acquired, processing the job...
[2025-03-10 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 02:50:03] Production.INFO: ==23364== Releasing lock...
[2025-03-10 02:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:50:03] Production.INFO: ==23366== Releasing lock...
[2025-03-10 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:50:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:50:04] Production.INFO: ==23373== Lock acquired, processing the job...
[2025-03-10 02:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:50:04] Production.INFO: ==23369== Lock acquired, processing the job...
[2025-03-10 02:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 02:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 02:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 02:50:04] Production.ERROR: CronJob PID - 23373
[2025-03-10 02:50:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 02:50:04] Production.ERROR: CronJob ID - 7
[2025-03-10 02:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 02:50:00
[2025-03-10 02:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 02:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 02:50:04] Production.INFO: ==23375== Lock acquired, processing the job...
[2025-03-10 02:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 02:50:04] Production.INFO: ==23369== Releasing lock...
[2025-03-10 02:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 02:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 02:50:04] Production.INFO: ==23371== Lock acquired, processing the job...
[2025-03-10 02:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:50:04] Production.INFO: ==23377== Lock acquired, processing the job...
[2025-03-10 02:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:50:04] Production.INFO: ==23379== Lock acquired, processing the job...
[2025-03-10 02:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:50:04] Production.INFO: Account Balance Start.
[2025-03-10 02:50:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:50:04] Production.INFO: 117
[2025-03-10 02:50:04] Production.INFO: ==23381== Lock acquired, processing the job...
[2025-03-10 02:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 02:50:04] Production.INFO: ==23383== Lock acquired, processing the job...
[2025-03-10 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:50:05] Production.INFO: Date 2025-03-08
[2025-03-10 02:50:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 02:50:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:50:05] Production.INFO: Date 2025-03-09
[2025-03-10 02:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 02: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-03-10 02:50:05] Production.INFO: Date 2025-03-10
[2025-03-10 02:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 02:50:05] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:50:05] Production.INFO: count ==21
[2025-03-10 02:50:05] Production.INFO: ==23373== Releasing lock...
[2025-03-10 02:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646566') start
[2025-03-10 02:50:05] Production.INFO: Total Charge 0
[2025-03-10 02:50:05] Production.INFO: CreateAllLog End
[2025-03-10 02:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646566') end
[2025-03-10 02:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:50:05] Production.INFO: 1
[2025-03-10 02:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:50:05] Production.INFO: ==23383== Releasing lock...
[2025-03-10 02:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:50:05] Production.ERROR: done
[2025-03-10 02:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:50:05] Production.ERROR: done
[2025-03-10 02:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 02:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646567', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 02:50:05] Production.ERROR: done
[2025-03-10 02:50:05] Production.INFO: Account Balance End.
[2025-03-10 02:50:06] Production.ERROR: CronJobId end 12
[2025-03-10 02:50:06] Production.INFO: ==23377== Releasing lock...
[2025-03-10 02:50:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:50:06] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:50:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:50:07
[end_date_ymd] => 2025-03-10 02:50:07
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:50:07' and `end` < '2025-03-10 02: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-03-10 02:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646567', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 02:50:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 02:50:10] Production.INFO: ProcessCDR(1,14646567,1,1,2)
[2025-03-10 02:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646567,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646567,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:50:11] Production.INFO: ==23381== Releasing lock...
[2025-03-10 02:50:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 02:50:11] Production.INFO: 26 MB #Memory Used#
[2025-03-10 02:50:15] Production.ERROR: CronJobId end10
[2025-03-10 02:50:15] Production.INFO: ==23375== Releasing lock...
[2025-03-10 02:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:50:19] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:50:19] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:50:19] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:50:19] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:50:19] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:50:19] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:50:19] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:50:19] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:50:19] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:50:19] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:50:19] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:50:19] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:50:19] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:50:19] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:50:19] Production.INFO: call_cost start
[2025-03-10 02:50:19] Production.INFO: call_cost end
[2025-03-10 02:50:19] Production.INFO: count ==318
[2025-03-10 02:50:19] Production.ERROR: pbx CDR StartTime 2025-03-09 23:50:07 - End Time 2025-03-10 02:50:07
[2025-03-10 02:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646568', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646568', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646568', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646568', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:50:19] Production.INFO: ProcessCDR(1,14646568,1,1,2)
[2025-03-10 02:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:50:20] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:50:20] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:50:20] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:50:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:50:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:50:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:50:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:50:20] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:50:20] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:50:20] Production.INFO: ==23371== Releasing lock...
[2025-03-10 02:50:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:50:20] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646568', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646568', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:50:23] Production.INFO: ==23379== Releasing lock...
[2025-03-10 02:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:50:23] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:51:01] Production.INFO: ==23453== Lock acquired, processing the job...
[2025-03-10 06:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:51:01] Production.INFO: neon service started
[2025-03-10 06:51:01] Production.INFO: neon service started
[2025-03-10 06:51:01] Production.INFO: ==23453== Releasing lock...
[2025-03-10 06:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:51:02] Production.INFO: ==23455== Lock acquired, processing the job...
[2025-03-10 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:51:02] Production.INFO: ==23455== Releasing lock...
[2025-03-10 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:51:02] Production.INFO: ==23457== Lock acquired, processing the job...
[2025-03-10 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:51:02] Production.INFO: ==23457== Releasing lock...
[2025-03-10 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:51:03] Production.INFO: ==23468== Lock acquired, processing the job...
[2025-03-10 02:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:51:03] Production.INFO: ==23470== Lock acquired, processing the job...
[2025-03-10 02:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:51:03] Production.INFO: ==23460== Lock acquired, processing the job...
[2025-03-10 02:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:51:03] Production.INFO: ==23462== Lock acquired, processing the job...
[2025-03-10 02:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 02:51:03] Production.INFO: ==23466== Lock acquired, processing the job...
[2025-03-10 02:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:51:04] Production.INFO: ==23464== Lock acquired, processing the job...
[2025-03-10 02:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:51:04] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:51:04] Production.INFO: count ==21
[2025-03-10 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646569') start
[2025-03-10 02:51:04] Production.INFO: Account Balance Start.
[2025-03-10 02:51:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:51:04] Production.INFO: 117
[2025-03-10 02:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:51:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646569') end
[2025-03-10 02:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:51:04] Production.INFO: 1
[2025-03-10 02:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:51:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:51:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:51:04] Production.INFO: Total Charge 0
[2025-03-10 02:51:04] Production.INFO: CreateAllLog End
[2025-03-10 02:51:04] Production.INFO: ==23470== Releasing lock...
[2025-03-10 02:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:51:04] Production.ERROR: done
[2025-03-10 02:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:51:04] Production.INFO: ==23462== Releasing lock...
[2025-03-10 02:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:51:04] Production.INFO: Account Balance End.
[2025-03-10 02:51:04] Production.ERROR: done
[2025-03-10 02:51:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:51:04] Production.INFO: ==23466== Releasing lock...
[2025-03-10 02:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:51:05
[end_date_ymd] => 2025-03-10 02:51:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:51:05' and `end` < '2025-03-10 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-03-10 02:51:13] Production.ERROR: CronJobId end10
[2025-03-10 02:51:13] Production.INFO: ==23464== Releasing lock...
[2025-03-10 02:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:51:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:51:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:51:16] Production.INFO: call_cost start
[2025-03-10 02:51:16] Production.INFO: call_cost end
[2025-03-10 02:51:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:51:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:51:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:51:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:51:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:51:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:51:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:51:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:51:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:51:17] Production.INFO: ==23460== Releasing lock...
[2025-03-10 02:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:51:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:51:17] Production.INFO: count ==318
[2025-03-10 02:51:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:51:05 - End Time 2025-03-10 02:51:05
[2025-03-10 02:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646573', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646573', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646573', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646573', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:51:17] Production.INFO: ProcessCDR(1,14646573,1,1,2)
[2025-03-10 02:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646573', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646573', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:51:21] Production.INFO: ==23468== Releasing lock...
[2025-03-10 02:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:51:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:52:01] Production.INFO: ==23531== Lock acquired, processing the job...
[2025-03-10 06:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:52:01] Production.INFO: neon service started
[2025-03-10 06:52:01] Production.INFO: neon service started
[2025-03-10 06:52:01] Production.INFO: ==23531== Releasing lock...
[2025-03-10 06:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:52:02] Production.INFO: ==23533== Lock acquired, processing the job...
[2025-03-10 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:52:02] Production.INFO: ==23535== Lock acquired, processing the job...
[2025-03-10 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:52:02] Production.INFO: ==23535== Releasing lock...
[2025-03-10 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:52:02] Production.INFO: ==23533== Releasing lock...
[2025-03-10 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:52:03] Production.INFO: ==23538== Lock acquired, processing the job...
[2025-03-10 02:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:52:03] Production.INFO: ==23540== Lock acquired, processing the job...
[2025-03-10 02:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:52:03] Production.INFO: ==23546== Lock acquired, processing the job...
[2025-03-10 02:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:52:03] Production.INFO: ==23542== Lock acquired, processing the job...
[2025-03-10 02:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:52:03] Production.INFO: ==23540== Releasing lock...
[2025-03-10 02:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:52:03] Production.INFO: ==23544== Lock acquired, processing the job...
[2025-03-10 02:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:52:03] Production.INFO: ==23548== Lock acquired, processing the job...
[2025-03-10 02:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:52:04] Production.INFO: Account Balance Start.
[2025-03-10 02:52:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:52:04] Production.INFO: 117
[2025-03-10 02:52:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 02:52:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:52:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:52:04] Production.INFO: count ==21
[2025-03-10 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646577') start
[2025-03-10 02:52:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:52:04] Production.INFO: Total Charge 0
[2025-03-10 02:52:04] Production.INFO: CreateAllLog End
[2025-03-10 02:52:04] Production.ERROR: done
[2025-03-10 02:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:52:04] Production.INFO: Account Balance End.
[2025-03-10 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646577') end
[2025-03-10 02:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:52:04] Production.INFO: 1
[2025-03-10 02:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:52:04] Production.INFO: ==23548== Releasing lock...
[2025-03-10 02:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:52:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:52:04] Production.INFO: ==23544== Releasing lock...
[2025-03-10 02:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:52:04] Production.ERROR: done
[2025-03-10 02:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:52:05
[end_date_ymd] => 2025-03-10 02:52:05
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:52:05' and `end` < '2025-03-10 02: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-03-10 02:52:13] Production.ERROR: CronJobId end10
[2025-03-10 02:52:13] Production.INFO: ==23542== Releasing lock...
[2025-03-10 02:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:52:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:52:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:52:15] Production.INFO: call_cost start
[2025-03-10 02:52:15] Production.INFO: call_cost end
[2025-03-10 02:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:52:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:52:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:52:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:52:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:52:16] Production.INFO: ==23538== Releasing lock...
[2025-03-10 02:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:52:18] Production.INFO: count ==318
[2025-03-10 02:52:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:52:05 - End Time 2025-03-10 02:52:05
[2025-03-10 02:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646578', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646578', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646578', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646578', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:52:18] Production.INFO: ProcessCDR(1,14646578,1,1,2)
[2025-03-10 02:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646578', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646578', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:52:22] Production.INFO: ==23546== Releasing lock...
[2025-03-10 02:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:52:22] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:53:01] Production.INFO: ==23606== Lock acquired, processing the job...
[2025-03-10 06:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:53:02] Production.INFO: neon service started
[2025-03-10 06:53:02] Production.INFO: neon service started
[2025-03-10 06:53:02] Production.INFO: ==23606== Releasing lock...
[2025-03-10 06:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:53:02] Production.INFO: ==23608== Lock acquired, processing the job...
[2025-03-10 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:53:02] Production.INFO: ==23608== Releasing lock...
[2025-03-10 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:53:02] Production.INFO: ==23610== Lock acquired, processing the job...
[2025-03-10 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:53:03] Production.INFO: ==23610== Releasing lock...
[2025-03-10 06:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:53:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:53:03] Production.INFO: ==23616== Lock acquired, processing the job...
[2025-03-10 02:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:53:03] Production.INFO: ==23622== Lock acquired, processing the job...
[2025-03-10 02:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 02:53:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:53:04] Production.INFO: count ==21
[2025-03-10 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646579') start
[2025-03-10 02:53:04] Production.INFO: ==23612== Lock acquired, processing the job...
[2025-03-10 02:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:53:04] Production.INFO: ==23614== Lock acquired, processing the job...
[2025-03-10 02:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:53:04] Production.INFO: ==23618== Lock acquired, processing the job...
[2025-03-10 02:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646579') end
[2025-03-10 02:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:53:04] Production.INFO: 1
[2025-03-10 02:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:53:04] Production.INFO: ==23622== Releasing lock...
[2025-03-10 02:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:53:04] Production.INFO: ==23620== Lock acquired, processing the job...
[2025-03-10 02:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:53:04] Production.INFO: Account Balance Start.
[2025-03-10 02:53:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:53:04] Production.INFO: 117
[2025-03-10 02:53:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:53:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:53:04] Production.INFO: Total Charge 0
[2025-03-10 02:53:04] Production.INFO: CreateAllLog End
[2025-03-10 02:53:04] Production.ERROR: done
[2025-03-10 02:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:53:04] Production.INFO: ==23614== Releasing lock...
[2025-03-10 02:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:53:05] Production.ERROR: done
[2025-03-10 02:53:05] Production.INFO: Account Balance End.
[2025-03-10 02:53:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:53:05] Production.INFO: ==23618== Releasing lock...
[2025-03-10 02:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:53:06
[end_date_ymd] => 2025-03-10 02:53:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:53:06' and `end` < '2025-03-10 02: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-03-10 02:53:13] Production.ERROR: CronJobId end10
[2025-03-10 02:53:13] Production.INFO: ==23616== Releasing lock...
[2025-03-10 02:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:53:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:53:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:53:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:53:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:53:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:53:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:53:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:53:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:53:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:53:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:53:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:53:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:53:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:53:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:53:16] Production.INFO: call_cost start
[2025-03-10 02:53:16] Production.INFO: call_cost end
[2025-03-10 02:53:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:53:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:53:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:53:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:53:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:53:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:53:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:53:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:53:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:53:17] Production.INFO: ==23612== Releasing lock...
[2025-03-10 02:53:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:53:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:53:18] Production.INFO: count ==318
[2025-03-10 02:53:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:53:06 - End Time 2025-03-10 02:53:06
[2025-03-10 02:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646583', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646583', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646583', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646583', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:53:18] Production.INFO: ProcessCDR(1,14646583,1,1,2)
[2025-03-10 02:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646583', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646583', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:53:22] Production.INFO: ==23620== Releasing lock...
[2025-03-10 02:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:53:22] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:54:01] Production.INFO: ==23680== Lock acquired, processing the job...
[2025-03-10 06:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:54:01] Production.INFO: neon service started
[2025-03-10 06:54:01] Production.INFO: neon service started
[2025-03-10 06:54:01] Production.INFO: ==23680== Releasing lock...
[2025-03-10 06:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:54:01] Production.INFO: ==23684== Lock acquired, processing the job...
[2025-03-10 06:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:54:01] Production.INFO: ==23684== Releasing lock...
[2025-03-10 06:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:54:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:54:02] Production.INFO: ==23682== Lock acquired, processing the job...
[2025-03-10 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:54:02] Production.INFO: ==23682== Releasing lock...
[2025-03-10 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:54:03] Production.INFO: ==23693== Lock acquired, processing the job...
[2025-03-10 02:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:54:03] Production.INFO: ==23697== Lock acquired, processing the job...
[2025-03-10 02:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:54:03] Production.INFO: Account Balance Start.
[2025-03-10 02:54:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:54:03] Production.INFO: 117
[2025-03-10 02:54:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:54:03] Production.INFO: ==23687== Lock acquired, processing the job...
[2025-03-10 02:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 02: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-03-10 02:54:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:54:03] Production.INFO: count ==13
[2025-03-10 02:54:03] Production.INFO: ==23689== Lock acquired, processing the job...
[2025-03-10 02:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02: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-03-10 02:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:54:03] Production.INFO: count ==21
[2025-03-10 02:54:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646585') start
[2025-03-10 02:54:03] Production.INFO: Total Charge 0
[2025-03-10 02:54:03] Production.INFO: ==23691== Lock acquired, processing the job...
[2025-03-10 02:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:54:03] Production.INFO: CreateAllLog End
[2025-03-10 02:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646585') end
[2025-03-10 02:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:54:03] Production.INFO: 1
[2025-03-10 02:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:54:04] Production.INFO: ==23697== Releasing lock...
[2025-03-10 02:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:54:04] Production.INFO: ==23695== Lock acquired, processing the job...
[2025-03-10 02:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:54:04] Production.INFO: Account Balance End.
[2025-03-10 02:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:54:04] Production.INFO: ==23693== Releasing lock...
[2025-03-10 02:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:54:04] Production.INFO: ==23689== Releasing lock...
[2025-03-10 02:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:54:04] Production.ERROR: done
[2025-03-10 02:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:54:04] Production.ERROR: done
[2025-03-10 02:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:54:05
[end_date_ymd] => 2025-03-10 02:54:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:54:05' and `end` < '2025-03-10 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-03-10 02:54:13] Production.ERROR: CronJobId end10
[2025-03-10 02:54:13] Production.INFO: ==23691== Releasing lock...
[2025-03-10 02:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:54:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:54:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:54:15] Production.INFO: call_cost start
[2025-03-10 02:54:15] Production.INFO: call_cost end
[2025-03-10 02:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:54:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:54:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:54:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:54:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:54:16] Production.INFO: ==23687== Releasing lock...
[2025-03-10 02:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:54:17] Production.INFO: count ==316
[2025-03-10 02:54:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:54:05 - End Time 2025-03-10 02:54:05
[2025-03-10 02:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646588', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646588', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646588', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646588', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:54:17] Production.INFO: ProcessCDR(1,14646588,1,1,2)
[2025-03-10 02:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646588', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646588', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:54:21] Production.INFO: ==23695== Releasing lock...
[2025-03-10 02:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:54:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 06:55:01] Production.INFO: ==23753== Lock acquired, processing the job...
[2025-03-10 06:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:55:02] Production.INFO: neon service started
[2025-03-10 06:55:02] Production.INFO: neon service started
[2025-03-10 06:55:02] Production.INFO: ==23753== Releasing lock...
[2025-03-10 06:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:55:02] Production.INFO: ==23755== Lock acquired, processing the job...
[2025-03-10 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:55:02] Production.INFO: ==23757== Lock acquired, processing the job...
[2025-03-10 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:55:02] Production.INFO: ==23757== Releasing lock...
[2025-03-10 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:55:03] Production.INFO: ==23755== Releasing lock...
[2025-03-10 02:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:55:04] Production.INFO: ==23768== Lock acquired, processing the job...
[2025-03-10 02:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:55:04] Production.INFO: ==23770== Lock acquired, processing the job...
[2025-03-10 02:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02: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-03-10 02:55:04] Production.INFO: count ==13
[2025-03-10 02:55:04] Production.INFO: ==23760== Lock acquired, processing the job...
[2025-03-10 02:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:55:04] Production.INFO: ==23762== Lock acquired, processing the job...
[2025-03-10 02:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02: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-03-10 02:55:04] Production.INFO: count ==21
[2025-03-10 02:55:04] Production.INFO: ==23764== Lock acquired, processing the job...
[2025-03-10 02:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:55:04] Production.INFO: ==23766== Lock acquired, processing the job...
[2025-03-10 02:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646589') start
[2025-03-10 02:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646589') end
[2025-03-10 02:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:55:04] Production.INFO: 1
[2025-03-10 02:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:55:04] Production.INFO: ==23770== Releasing lock...
[2025-03-10 02:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:55:04] Production.ERROR: done
[2025-03-10 02:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:55:04] Production.INFO: Account Balance Start.
[2025-03-10 02:55:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:55:04] Production.INFO: 117
[2025-03-10 02:55:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:55:04] Production.ERROR: done
[2025-03-10 02:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:55:04] Production.INFO: ==23762== Releasing lock...
[2025-03-10 02:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:55:05] Production.INFO: Date 2025-03-10
[2025-03-10 02:55:05] Production.INFO: Reseller ==> 0
[2025-03-10 02:55:05] Production.INFO: Total Charge 0
[2025-03-10 02:55:05] Production.INFO: CreateAllLog End
[2025-03-10 02:55:05] Production.INFO: Account Balance End.
[2025-03-10 02:55:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:55:05] Production.INFO: ==23766== Releasing lock...
[2025-03-10 02:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:55:06
[end_date_ymd] => 2025-03-10 02:55:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:55:06' and `end` < '2025-03-10 02: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-03-10 02:55:13] Production.ERROR: CronJobId end10
[2025-03-10 02:55:13] Production.INFO: ==23764== Releasing lock...
[2025-03-10 02:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:55:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:55:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:55:15] Production.INFO: call_cost start
[2025-03-10 02:55:15] Production.INFO: call_cost end
[2025-03-10 02:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:55:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:55:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:55:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:55:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:55:16] Production.INFO: ==23760== Releasing lock...
[2025-03-10 02:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:55:18] Production.INFO: count ==312
[2025-03-10 02:55:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:55:06 - End Time 2025-03-10 02:55:06
[2025-03-10 02:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646593', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646593', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646593', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646593', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:55:18] Production.INFO: ProcessCDR(1,14646593,1,1,2)
[2025-03-10 02:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646593', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646593', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:55:21] Production.INFO: ==23768== Releasing lock...
[2025-03-10 02:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:55:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:56:01] Production.INFO: ==23830== Lock acquired, processing the job...
[2025-03-10 06:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:56:01] Production.INFO: neon service started
[2025-03-10 06:56:01] Production.INFO: neon service started
[2025-03-10 06:56:01] Production.INFO: ==23830== Releasing lock...
[2025-03-10 06:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:56:01] Production.INFO: ==23834== Lock acquired, processing the job...
[2025-03-10 06:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:56:01] Production.INFO: ==23834== Releasing lock...
[2025-03-10 06:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:56:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:56:02] Production.INFO: ==23832== Lock acquired, processing the job...
[2025-03-10 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:56:02] Production.INFO: ==23832== Releasing lock...
[2025-03-10 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:56:03] Production.INFO: ==23836== Lock acquired, processing the job...
[2025-03-10 02:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:56:03] Production.INFO: ==23839== Lock acquired, processing the job...
[2025-03-10 02:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:56:03] Production.INFO: ==23843== Lock acquired, processing the job...
[2025-03-10 02:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:56:03] Production.INFO: Account Balance Start.
[2025-03-10 02:56:03] Production.INFO: CreateAllLog Start
[2025-03-10 02:56:03] Production.INFO: 117
[2025-03-10 02:56:03] Production.INFO: Date 2025-03-08
[2025-03-10 02:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:56:03] Production.INFO: Date 2025-03-09
[2025-03-10 02:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:56:03] Production.INFO: Date 2025-03-10
[2025-03-10 02:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 02:56:03] Production.INFO: ==23841== Lock acquired, processing the job...
[2025-03-10 02:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:56:03] Production.INFO: Total Charge 0
[2025-03-10 02:56:03] Production.INFO: ==23845== Lock acquired, processing the job...
[2025-03-10 02:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:56:03] Production.INFO: CreateAllLog End
[2025-03-10 02:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:56:03] Production.INFO: ==23839== Releasing lock...
[2025-03-10 02:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:56:03] Production.INFO: ==23847== Lock acquired, processing the job...
[2025-03-10 02:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:56:03] Production.INFO: Account Balance End.
[2025-03-10 02:56:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:56:04] Production.INFO: ==23843== Releasing lock...
[2025-03-10 02:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 02:56:04] Production.INFO: count ==13
[2025-03-10 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-03-10 02:56:04] Production.INFO: count ==21
[2025-03-10 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646597') start
[2025-03-10 02:56:04] Production.ERROR: done
[2025-03-10 02:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646597') end
[2025-03-10 02:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:56:04] Production.INFO: 1
[2025-03-10 02:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:56:04] Production.INFO: ==23847== Releasing lock...
[2025-03-10 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:56:04] Production.ERROR: done
[2025-03-10 02:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:56:05
[end_date_ymd] => 2025-03-10 02:56:05
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:56:05' and `end` < '2025-03-10 02: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-03-10 02:56:11] Production.ERROR: CronJobId end10
[2025-03-10 02:56:11] Production.INFO: ==23841== Releasing lock...
[2025-03-10 02:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:56:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:56:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:56:15] Production.INFO: call_cost start
[2025-03-10 02:56:15] Production.INFO: call_cost end
[2025-03-10 02:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:56:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:56:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:56:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:56:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:56:16] Production.INFO: ==23836== Releasing lock...
[2025-03-10 02:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:56:17] Production.INFO: count ==306
[2025-03-10 02:56:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:56:05 - End Time 2025-03-10 02:56:05
[2025-03-10 02:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646598', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646598', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646598', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646598', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:56:17] Production.INFO: ProcessCDR(1,14646598,1,1,2)
[2025-03-10 02:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646598', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646598', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:56:21] Production.INFO: ==23845== Releasing lock...
[2025-03-10 02:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:56:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:57:01] Production.INFO: ==23945== Lock acquired, processing the job...
[2025-03-10 06:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:57:01] Production.INFO: neon service started
[2025-03-10 06:57:02] Production.INFO: neon service started
[2025-03-10 06:57:02] Production.INFO: ==23945== Releasing lock...
[2025-03-10 06:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:57:02] Production.INFO: ==23947== Lock acquired, processing the job...
[2025-03-10 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:57:02] Production.INFO: ==23949== Lock acquired, processing the job...
[2025-03-10 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:57:02] Production.INFO: ==23949== Releasing lock...
[2025-03-10 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:57:03] Production.INFO: ==23947== Releasing lock...
[2025-03-10 02:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:57:04] Production.INFO: ==23952== Lock acquired, processing the job...
[2025-03-10 02:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:57:04] Production.INFO: ==23956== Lock acquired, processing the job...
[2025-03-10 02:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:57:04] Production.INFO: ==23958== Lock acquired, processing the job...
[2025-03-10 02:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:57:04] Production.INFO: Account Balance Start.
[2025-03-10 02:57:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:57:04] Production.INFO: 117
[2025-03-10 02:57:04] Production.INFO: ==23954== Lock acquired, processing the job...
[2025-03-10 02:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:57:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:57:04] Production.INFO: ==23962== Lock acquired, processing the job...
[2025-03-10 02:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:57:04] Production.INFO: ==23960== Lock acquired, processing the job...
[2025-03-10 02:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02: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-03-10 02:57:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:57:04] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:57:04] Production.INFO: count ==21
[2025-03-10 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646602') start
[2025-03-10 02:57:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646602') end
[2025-03-10 02:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:57:04] Production.INFO: 1
[2025-03-10 02:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:57:04] Production.INFO: Total Charge 0
[2025-03-10 02:57:04] Production.INFO: CreateAllLog End
[2025-03-10 02:57:04] Production.INFO: ==23962== Releasing lock...
[2025-03-10 02:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:57:04] Production.INFO: ==23954== Releasing lock...
[2025-03-10 02:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:57:04] Production.ERROR: done
[2025-03-10 02:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:57:05] Production.ERROR: done
[2025-03-10 02:57:05] Production.INFO: Account Balance End.
[2025-03-10 02:57:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:57:05] Production.INFO: ==23958== Releasing lock...
[2025-03-10 02:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:57:06
[end_date_ymd] => 2025-03-10 02:57:06
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:57:06' and `end` < '2025-03-10 02: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-03-10 02:57:14] Production.ERROR: CronJobId end10
[2025-03-10 02:57:14] Production.INFO: ==23956== Releasing lock...
[2025-03-10 02:57:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:57:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:57:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:57:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:57:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:57:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:57:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:57:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:57:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:57:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:57:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:57:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:57:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:57:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:57:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:57:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:57:16] Production.INFO: call_cost start
[2025-03-10 02:57:16] Production.INFO: call_cost end
[2025-03-10 02:57:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:57:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:57:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:57:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:57:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:57:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:57:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:57:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:57:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:57:17] Production.INFO: ==23952== Releasing lock...
[2025-03-10 02:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:57:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:57:18] Production.INFO: count ==305
[2025-03-10 02:57:18] Production.ERROR: pbx CDR StartTime 2025-03-09 23:57:06 - End Time 2025-03-10 02:57:06
[2025-03-10 02:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646603', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646603', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646603', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646603', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:57:18] Production.INFO: ProcessCDR(1,14646603,1,1,2)
[2025-03-10 02:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646603', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646603', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:57:22] Production.INFO: ==23960== Releasing lock...
[2025-03-10 02:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:57:22] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:58:01] Production.INFO: ==24017== Lock acquired, processing the job...
[2025-03-10 06:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:58:01] Production.INFO: neon service started
[2025-03-10 06:58:01] Production.INFO: neon service started
[2025-03-10 06:58:01] Production.INFO: ==24017== Releasing lock...
[2025-03-10 06:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:58:01] Production.INFO: ==24021== Lock acquired, processing the job...
[2025-03-10 06:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:58:01] Production.INFO: ==24021== Releasing lock...
[2025-03-10 06:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:58:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:58:02] Production.INFO: ==24019== Lock acquired, processing the job...
[2025-03-10 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:58:02] Production.INFO: ==24019== Releasing lock...
[2025-03-10 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 02:58:03] Production.INFO: ==24026== Lock acquired, processing the job...
[2025-03-10 02:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:58:03] Production.INFO: ==24034== Lock acquired, processing the job...
[2025-03-10 02:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:58:03] Production.INFO: ==24024== Lock acquired, processing the job...
[2025-03-10 02:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 02:58:03] Production.INFO: ==24026== Releasing lock...
[2025-03-10 02:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:58:03] Production.INFO: count ==13
[2025-03-10 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-03-10 02:58:03] Production.INFO: count ==21
[2025-03-10 02:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646605') start
[2025-03-10 02:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:58:03] Production.INFO: ==24028== Lock acquired, processing the job...
[2025-03-10 02:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:58:03] Production.INFO: ==24030== Lock acquired, processing the job...
[2025-03-10 02:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646605') end
[2025-03-10 02:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:58:03] Production.INFO: 1
[2025-03-10 02:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:58:03] Production.INFO: ==24032== Lock acquired, processing the job...
[2025-03-10 02:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:58:03] Production.INFO: ==24034== Releasing lock...
[2025-03-10 02:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:58:03] Production.INFO: Account Balance Start.
[2025-03-10 02:58:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:58:04] Production.INFO: 117
[2025-03-10 02:58:04] Production.INFO: Date 2025-03-08
[2025-03-10 02:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:58:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:58:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:58:04] Production.INFO: Total Charge 0
[2025-03-10 02:58:04] Production.INFO: CreateAllLog End
[2025-03-10 02:58:04] Production.ERROR: done
[2025-03-10 02:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:58:04] Production.INFO: Account Balance End.
[2025-03-10 02:58:04] Production.ERROR: done
[2025-03-10 02:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 02:58:04] Production.INFO: ==24030== Releasing lock...
[2025-03-10 02:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:58:05
[end_date_ymd] => 2025-03-10 02:58:05
[RateCDR] => 1
)
[2025-03-10 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-03-09 23:58:05' and `end` < '2025-03-10 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-03-10 02:58:14] Production.ERROR: CronJobId end10
[2025-03-10 02:58:14] Production.INFO: ==24028== Releasing lock...
[2025-03-10 02:58:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:58:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:58:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:58:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:58:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:58:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:58:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:58:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:58:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:58:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:58:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:58:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:58:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:58:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:58:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:58:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:58:16] Production.INFO: call_cost start
[2025-03-10 02:58:16] Production.INFO: call_cost end
[2025-03-10 02:58:17] Production.INFO: count ==304
[2025-03-10 02:58:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:58:05 - End Time 2025-03-10 02:58:05
[2025-03-10 02:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646608', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646608', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646608', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646608', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:58:17] Production.INFO: ProcessCDR(1,14646608,1,1,2)
[2025-03-10 02:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:58:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:58:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:58:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:58:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:58:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:58:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:58:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:58:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:58:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:58:17] Production.INFO: ==24024== Releasing lock...
[2025-03-10 02:58:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:58:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646608', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646608', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:58:21] Production.INFO: ==24032== Releasing lock...
[2025-03-10 02:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:58:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 06:59:02] Production.INFO: ==24095== Lock acquired, processing the job...
[2025-03-10 06:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 06:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 06:59:02] Production.INFO: neon service started
[2025-03-10 06:59:02] Production.INFO: neon service started
[2025-03-10 06:59:02] Production.INFO: ==24095== Releasing lock...
[2025-03-10 06:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 06:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 02:59:02] Production.INFO: ==24097== Lock acquired, processing the job...
[2025-03-10 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 02:59:02] Production.INFO: ==24097== Releasing lock...
[2025-03-10 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 02:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:59:02] Production.INFO: ==24099== Lock acquired, processing the job...
[2025-03-10 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:59:03] Production.INFO: ==24099== Releasing lock...
[2025-03-10 06:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 06:59:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 02:59:03] Production.INFO: ==24106== Lock acquired, processing the job...
[2025-03-10 02:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 02:59:03] Production.INFO: ==24110== Lock acquired, processing the job...
[2025-03-10 02:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 02:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 02:59:04] Production.INFO: ==24102== Lock acquired, processing the job...
[2025-03-10 02:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 02:59:04] Production.INFO: ==24104== Lock acquired, processing the job...
[2025-03-10 02:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 02:59:04] Production.INFO: ==24108== Lock acquired, processing the job...
[2025-03-10 02:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 02:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 02:59:04] Production.INFO: ==24112== Lock acquired, processing the job...
[2025-03-10 02:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 02:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 02:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 02:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 02:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 02:59:04] Production.INFO: Account Balance Start.
[2025-03-10 02:59:04] Production.INFO: CreateAllLog Start
[2025-03-10 02:59:04] Production.ERROR: done
[2025-03-10 02:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 02:59:04] Production.INFO: 117
[2025-03-10 02:59:04] Production.INFO: Date 2025-03-08
[2025-03-10 02: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-03-10 02:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:59:04] Production.ERROR: done
[2025-03-10 02:59:04] Production.INFO: count ==13
[2025-03-10 02: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-03-10 02:59:04] Production.INFO: count ==21
[2025-03-10 02:59:04] Production.INFO: Date 2025-03-09
[2025-03-10 02:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:59:04] Production.INFO: ==24104== Releasing lock...
[2025-03-10 02:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 02:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646612') start
[2025-03-10 02:59:04] Production.INFO: Date 2025-03-10
[2025-03-10 02:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 02:59:04] Production.INFO: Total Charge 0
[2025-03-10 02:59:04] Production.INFO: CreateAllLog End
[2025-03-10 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646612') end
[2025-03-10 02:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 02:59:04] Production.INFO: 1
[2025-03-10 02:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 02:59:04] Production.INFO: ==24112== Releasing lock...
[2025-03-10 02:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 02:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 02:59:04] Production.INFO: Account Balance End.
[2025-03-10 02:59:05] Production.ERROR: CronJobId end 12
[2025-03-10 02:59:05] Production.INFO: ==24108== Releasing lock...
[2025-03-10 02:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 02:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 02:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-09 23:59:05
[end_date_ymd] => 2025-03-10 02:59:05
[RateCDR] => 1
)
[2025-03-10 02: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-03-09 23:59:05' and `end` < '2025-03-10 02: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-03-10 02:59:12] Production.ERROR: CronJobId end10
[2025-03-10 02:59:12] Production.INFO: ==24106== Releasing lock...
[2025-03-10 02:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 02:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 02:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 02:59:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 02:59:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 02:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 02:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 02:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 02:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 02:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 02:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 02:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 02:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 02:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 02:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 02:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 02:59:16] Production.INFO: call_cost start
[2025-03-10 02:59:16] Production.INFO: call_cost end
[2025-03-10 02:59:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 02:59:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 02:59:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 02:59:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 02:59:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 02:59:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 02:59:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 02:59:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 02:59:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 02:59:17] Production.INFO: ==24102== Releasing lock...
[2025-03-10 02:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 02:59:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 02:59:17] Production.INFO: count ==304
[2025-03-10 02:59:17] Production.ERROR: pbx CDR StartTime 2025-03-09 23:59:05 - End Time 2025-03-10 02:59:05
[2025-03-10 02:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 02:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646613', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646613', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646613', 'tblTempVendorCDR_20' ) start
[2025-03-10 02:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646613', 'tblTempVendorCDR_20' ) end
[2025-03-10 02:59:17] Production.INFO: ProcessCDR(1,14646613,1,1,2)
[2025-03-10 02:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 02:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 02:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646613', 'tblTempUsageDetail_20' ) start
[2025-03-10 02:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646613', 'tblTempUsageDetail_20' ) end
[2025-03-10 02:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 02:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 02:59:21] Production.INFO: ==24110== Releasing lock...
[2025-03-10 02:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 02:59:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:00:01] Production.INFO: ==24166== Lock acquired, processing the job...
[2025-03-10 07:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:00:01] Production.INFO: neon service started
[2025-03-10 07:00:01] Production.INFO: neon service started
[2025-03-10 07:00:01] Production.INFO: ==24166== Releasing lock...
[2025-03-10 07:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:00:02] Production.INFO: ==24168== Lock acquired, processing the job...
[2025-03-10 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:00:02] Production.INFO: ==24168== Releasing lock...
[2025-03-10 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:00:02] Production.INFO: ==24170== Lock acquired, processing the job...
[2025-03-10 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:00:02] Production.INFO: ==24170== Releasing lock...
[2025-03-10 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:00:03] Production.INFO: ==24173== Lock acquired, processing the job...
[2025-03-10 03:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 03:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 03:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 03:00:04] Production.INFO: ==24173== Releasing lock...
[2025-03-10 03:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 03:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 03:00:04] Production.INFO: ==24177== Lock acquired, processing the job...
[2025-03-10 03:00:04] Production.INFO: ==24175== Lock acquired, processing the job...
[2025-03-10 03:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:00:04] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Starts#
[2025-03-10 03:00:04] Production.INFO: ==24179== Lock acquired, processing the job...
[2025-03-10 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:00:04] Production.INFO: ==24181== Lock acquired, processing the job...
[2025-03-10 03:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:00:04] Production.INFO: ==24183== Lock acquired, processing the job...
[2025-03-10 03:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:00:04] Production.INFO: ==24185== Lock acquired, processing the job...
[2025-03-10 03:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:00:04] Production.INFO: Account Balance Start.
[2025-03-10 03:00:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:00:04] Production.INFO: 117
[2025-03-10 03:00:04] Production.INFO: ==24187== Lock acquired, processing the job...
[2025-03-10 03:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 03:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:00:04] Production.INFO: ==24189== Lock acquired, processing the job...
[2025-03-10 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:00:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:00:04] Production.INFO: Total Charge 0
[2025-03-10 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:00:04] Production.INFO: CreateAllLog End
[2025-03-10 03:00:04] Production.INFO: ==24179== Releasing lock...
[2025-03-10 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 03:00:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:00:04] Production.ERROR: done
[2025-03-10 03:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:00:04] Production.INFO: count ==21
[2025-03-10 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646617') start
[2025-03-10 03:00:04] Production.INFO: Account Balance End.
[2025-03-10 03:00:05] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-03-10 03:00:05] 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.5G 13G 11% /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/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4325
/dev/loop7 67M 67M 0 100% /var/lib/snapd/snap/core24/716
/dev/loop8 56M 56M 0 100% /var/lib/snapd/snap/certbot/4412
/dev/loop3 67M 67M 0 100% /var/lib/snapd/snap/core24/739
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-03-10 03:00:05] Production.INFO: Delete Storage Log Start
[2025-03-10 03:00:05] Production.INFO: Front End Delete Storage Log Start
[2025-03-10 03:00:05] Production.ERROR: done
[2025-03-10 03:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 03:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646618', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 03:00:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:00:05] Production.INFO: ==24183== Releasing lock...
[2025-03-10 03:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:00:05] Production.ERROR: done
[2025-03-10 03:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646617') end
[2025-03-10 03:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:00:05] Production.INFO: 1
[2025-03-10 03:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:00:05] Production.INFO: ==24189== Releasing lock...
[2025-03-10 03:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:00:05] Production.INFO: find /var/www/html/onswitch.neon/app/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-03-10 03:00:05] Production.INFO: Front End Delete Storage Log End
[2025-03-10 03:00:05] Production.INFO: Back End(Service) Delete Storage Log Start
[2025-03-10 03:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:00:06
[end_date_ymd] => 2025-03-10 03:00:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:00:06' and `end` < '2025-03-10 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-03-10 03:00:07] Production.INFO: find /var/www/html/onswitch.neon.service/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-03-10 03:00:07] Production.INFO: Back End(Service) Delete Storage Log End
[2025-03-10 03:00:07] Production.INFO: Delete Storage Log End
[2025-03-10 03:00:07] Production.INFO: Delete Temp Files Start
[2025-03-10 03:00:08] Production.INFO: find /var/www/tmp* -maxdepth 1 -mtime +3 -type f -exec rm {} \;
[2025-03-10 03:00:08] Production.INFO: Delete Temp Files End
[2025-03-10 03:00:08] Production.INFO: Delete CDR File Start
[2025-03-10 03:00:08] Production.INFO: Delete CDR File End
[2025-03-10 03:00:09] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-03-10 03: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.5G 13G 11% /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/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4325
/dev/loop7 67M 67M 0 100% /var/lib/snapd/snap/core24/716
/dev/loop8 56M 56M 0 100% /var/lib/snapd/snap/certbot/4412
/dev/loop3 67M 67M 0 100% /var/lib/snapd/snap/core24/739
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-03-10 03:00:09] Production.ERROR: CronJobId end 4
[2025-03-10 03:00:09] Production.INFO: ==24175== Releasing lock...
[2025-03-10 03:00:09] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Stops#
[2025-03-10 03:00:09] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 03:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646618', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 03:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 03:00:10] Production.INFO: ProcessCDR(1,14646618,1,1,2)
[2025-03-10 03:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646618,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646618,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:00:10] Production.INFO: ==24187== Releasing lock...
[2025-03-10 03:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 03:00:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 03:00:16] Production.ERROR: CronJobId end10
[2025-03-10 03:00:16] Production.INFO: ==24181== Releasing lock...
[2025-03-10 03:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:00:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:00:18] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:00:18] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:00:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:00:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:00:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:00:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:00:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:00:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:00:18] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:00:18] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:00:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:00:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:00:18] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:00:18] Production.INFO: count ==314
[2025-03-10 03:00:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:00:06 - End Time 2025-03-10 03:00:06
[2025-03-10 03:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646619', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646619', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646619', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646619', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:00:18] Production.INFO: ProcessCDR(1,14646619,1,1,2)
[2025-03-10 03:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:00:19] Production.INFO: call_cost start
[2025-03-10 03:00:19] Production.INFO: call_cost end
[2025-03-10 03:00:20] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:00:20] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:00:20] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:00:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:00:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:00:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:00:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:00:20] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:00:20] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:00:20] Production.INFO: ==24177== Releasing lock...
[2025-03-10 03:00:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:00:20] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646619', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646619', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:00:23] Production.INFO: ==24185== Releasing lock...
[2025-03-10 03:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:00:23] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:01:02] Production.INFO: ==24333== Lock acquired, processing the job...
[2025-03-10 07:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:01:02] Production.INFO: neon service started
[2025-03-10 07:01:02] Production.INFO: neon service started
[2025-03-10 07:01:02] Production.INFO: ==24333== Releasing lock...
[2025-03-10 07:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:01:02] Production.INFO: ==24343== Lock acquired, processing the job...
[2025-03-10 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:01:02] Production.INFO: ==24343== Releasing lock...
[2025-03-10 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:01:03] Production.INFO: ==24345== Lock acquired, processing the job...
[2025-03-10 07:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:01:03] Production.INFO: ==24345== Releasing lock...
[2025-03-10 07:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:01:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:01:03] Production.INFO: ==24348== Lock acquired, processing the job...
[2025-03-10 03:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:01:03] Production.INFO: ==24358== Lock acquired, processing the job...
[2025-03-10 03:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 03:01:04] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:01:04] Production.INFO: ==24350== Lock acquired, processing the job...
[2025-03-10 03:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:01:04] Production.INFO: count ==21
[2025-03-10 03:01:04] Production.INFO: ==24354== Lock acquired, processing the job...
[2025-03-10 03:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646621') start
[2025-03-10 03:01:04] Production.INFO: ==24352== Lock acquired, processing the job...
[2025-03-10 03:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:01:04] Production.INFO: ==24356== Lock acquired, processing the job...
[2025-03-10 03:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646621') end
[2025-03-10 03:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:01:04] Production.INFO: 1
[2025-03-10 03:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:01:04] Production.INFO: Account Balance Start.
[2025-03-10 03:01:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:01:04] Production.INFO: 117
[2025-03-10 03:01:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:01:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:01:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:01:04] Production.INFO: ==24358== Releasing lock...
[2025-03-10 03:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:01:04] Production.INFO: ==24350== Releasing lock...
[2025-03-10 03:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:01:04] Production.INFO: Total Charge 0
[2025-03-10 03:01:04] Production.INFO: CreateAllLog End
[2025-03-10 03:01:04] Production.ERROR: done
[2025-03-10 03:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:01:05] Production.ERROR: done
[2025-03-10 03:01:05] Production.INFO: Account Balance End.
[2025-03-10 03:01:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:01:05] Production.INFO: ==24354== Releasing lock...
[2025-03-10 03:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:01:06
[end_date_ymd] => 2025-03-10 03:01:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:01:06' and `end` < '2025-03-10 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-03-10 03:01:14] Production.ERROR: CronJobId end10
[2025-03-10 03:01:14] Production.INFO: ==24352== Releasing lock...
[2025-03-10 03:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:01:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:01:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:01:16] Production.INFO: call_cost start
[2025-03-10 03:01:16] Production.INFO: call_cost end
[2025-03-10 03:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:01:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:01:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:01:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:01:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:01:17] Production.INFO: ==24348== Releasing lock...
[2025-03-10 03:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:01:18] Production.INFO: count ==314
[2025-03-10 03:01:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:01:06 - End Time 2025-03-10 03:01:06
[2025-03-10 03:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646624', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646624', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646624', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646624', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:01:18] Production.INFO: ProcessCDR(1,14646624,1,1,2)
[2025-03-10 03:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646624', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646624', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:01:21] Production.INFO: ==24356== Releasing lock...
[2025-03-10 03:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:01:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:02:01] Production.INFO: ==24487== Lock acquired, processing the job...
[2025-03-10 07:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:02:01] Production.INFO: neon service started
[2025-03-10 07:02:01] Production.INFO: neon service started
[2025-03-10 07:02:01] Production.INFO: ==24487== Releasing lock...
[2025-03-10 07:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:02:02] Production.INFO: ==24489== Lock acquired, processing the job...
[2025-03-10 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:02:02] Production.INFO: ==24491== Lock acquired, processing the job...
[2025-03-10 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:02:02] Production.INFO: ==24491== Releasing lock...
[2025-03-10 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:02:02] Production.INFO: ==24489== Releasing lock...
[2025-03-10 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:02:03] Production.INFO: ==24494== Lock acquired, processing the job...
[2025-03-10 03:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:02:03] Production.INFO: ==24496== Lock acquired, processing the job...
[2025-03-10 03:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:02:03] Production.INFO: ==24498== Lock acquired, processing the job...
[2025-03-10 03:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:02:04] Production.INFO: ==24502== Lock acquired, processing the job...
[2025-03-10 03:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:02:04] Production.INFO: ==24496== Releasing lock...
[2025-03-10 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:02:04] Production.INFO: ==24500== Lock acquired, processing the job...
[2025-03-10 03:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:02:04] Production.INFO: ==24504== Lock acquired, processing the job...
[2025-03-10 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 03:02:04] Production.INFO: count ==13
[2025-03-10 03:02:04] Production.INFO: Account Balance Start.
[2025-03-10 03:02:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:02:04] Production.INFO: 117
[2025-03-10 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-03-10 03:02:04] Production.INFO: count ==21
[2025-03-10 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646627') start
[2025-03-10 03:02:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646627') end
[2025-03-10 03:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:02:04] Production.INFO: 1
[2025-03-10 03:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:02:04] Production.ERROR: done
[2025-03-10 03:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:02:04] Production.INFO: ==24504== Releasing lock...
[2025-03-10 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:02:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:02:04] Production.ERROR: done
[2025-03-10 03:02:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:02:04] Production.INFO: Total Charge 0
[2025-03-10 03:02:04] Production.INFO: CreateAllLog End
[2025-03-10 03:02:05] Production.INFO: Account Balance End.
[2025-03-10 03:02:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:02:05] Production.INFO: ==24500== Releasing lock...
[2025-03-10 03:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:02:05
[end_date_ymd] => 2025-03-10 03:02:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:02:05' and `end` < '2025-03-10 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-03-10 03:02:12] Production.ERROR: CronJobId end10
[2025-03-10 03:02:12] Production.INFO: ==24498== Releasing lock...
[2025-03-10 03:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:02:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:02:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:02:16] Production.INFO: call_cost start
[2025-03-10 03:02:16] Production.INFO: call_cost end
[2025-03-10 03:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:02:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:02:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:02:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:02:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:02:17] Production.INFO: ==24494== Releasing lock...
[2025-03-10 03:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:02:18] Production.INFO: count ==314
[2025-03-10 03:02:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:02:05 - End Time 2025-03-10 03:02:05
[2025-03-10 03:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646629', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646629', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646629', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646629', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:02:18] Production.INFO: ProcessCDR(1,14646629,1,1,2)
[2025-03-10 03:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646629', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646629', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:02:23] Production.INFO: ==24502== Releasing lock...
[2025-03-10 03:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:02:23] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:03:02] Production.INFO: ==24558== Lock acquired, processing the job...
[2025-03-10 07:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:03:02] Production.INFO: neon service started
[2025-03-10 07:03:02] Production.INFO: neon service started
[2025-03-10 07:03:02] Production.INFO: ==24558== Releasing lock...
[2025-03-10 07:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:03:02] Production.INFO: ==24561== Lock acquired, processing the job...
[2025-03-10 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:03:02] Production.INFO: ==24561== Releasing lock...
[2025-03-10 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:03:03] Production.INFO: ==24563== Lock acquired, processing the job...
[2025-03-10 07:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:03:03] Production.INFO: ==24563== Releasing lock...
[2025-03-10 07:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:03:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:03:04] Production.INFO: ==24571== Lock acquired, processing the job...
[2025-03-10 03:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:03:04] Production.INFO: ==24573== Lock acquired, processing the job...
[2025-03-10 03:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:03:04] Production.INFO: ==24565== Lock acquired, processing the job...
[2025-03-10 03:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:03:04] Production.INFO: Account Balance Start.
[2025-03-10 03:03:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:03:04] Production.INFO: 117
[2025-03-10 03:03:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:03:04] Production.INFO: ==24567== Lock acquired, processing the job...
[2025-03-10 03:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:03:04] Production.INFO: ==24569== Lock acquired, processing the job...
[2025-03-10 03:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:03:04] Production.INFO: ==24575== Lock acquired, processing the job...
[2025-03-10 03:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:03:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:03:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:03:04] Production.INFO: Total Charge 0
[2025-03-10 03:03:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 03:03:04] Production.ERROR: done
[2025-03-10 03:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:03:04] Production.INFO: ==24567== Releasing lock...
[2025-03-10 03:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:03:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:03:04] Production.INFO: count ==21
[2025-03-10 03:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646633') start
[2025-03-10 03:03:04] Production.ERROR: done
[2025-03-10 03:03:04] Production.INFO: Account Balance End.
[2025-03-10 03:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646633') end
[2025-03-10 03:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:03:04] Production.INFO: 1
[2025-03-10 03:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:03:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:03:05] Production.INFO: ==24571== Releasing lock...
[2025-03-10 03:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:03:05] Production.INFO: ==24575== Releasing lock...
[2025-03-10 03:03:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:03:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:03:06
[end_date_ymd] => 2025-03-10 03:03:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:03:06' and `end` < '2025-03-10 03: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-03-10 03:03:13] Production.ERROR: CronJobId end10
[2025-03-10 03:03:13] Production.INFO: ==24569== Releasing lock...
[2025-03-10 03:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:03:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:03:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:03:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:03:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:03:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:03:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:03:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:03:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:03:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:03:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:03:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:03:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:03:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:03:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:03:16] Production.INFO: call_cost start
[2025-03-10 03:03:16] Production.INFO: call_cost end
[2025-03-10 03:03:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:03:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:03:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:03:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:03:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:03:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:03:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:03:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:03:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:03:17] Production.INFO: ==24565== Releasing lock...
[2025-03-10 03:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:03:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:03:18] Production.INFO: count ==317
[2025-03-10 03:03:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:03:06 - End Time 2025-03-10 03:03:06
[2025-03-10 03:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646634', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646634', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646634', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646634', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:03:18] Production.INFO: ProcessCDR(1,14646634,1,1,2)
[2025-03-10 03:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646634', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646634', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:03:22] Production.INFO: ==24573== Releasing lock...
[2025-03-10 03:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:03:22] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:04:01] Production.INFO: ==24630== Lock acquired, processing the job...
[2025-03-10 07:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:04:01] Production.INFO: neon service started
[2025-03-10 07:04:01] Production.INFO: neon service started
[2025-03-10 07:04:01] Production.INFO: ==24630== Releasing lock...
[2025-03-10 07:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:04:02] Production.INFO: ==24632== Lock acquired, processing the job...
[2025-03-10 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:04:02] Production.INFO: ==24634== Lock acquired, processing the job...
[2025-03-10 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:04:02] Production.INFO: ==24634== Releasing lock...
[2025-03-10 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:04:02] Production.INFO: ==24632== Releasing lock...
[2025-03-10 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:04:03] Production.INFO: ==24639== Lock acquired, processing the job...
[2025-03-10 03:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:04:03] Production.INFO: ==24647== Lock acquired, processing the job...
[2025-03-10 03:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03: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-03-10 03:04:03] Production.INFO: ==24637== Lock acquired, processing the job...
[2025-03-10 03:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:04:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:04:04] Production.INFO: count ==21
[2025-03-10 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646636') start
[2025-03-10 03:04:04] Production.INFO: ==24641== Lock acquired, processing the job...
[2025-03-10 03:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:04:04] Production.INFO: ==24645== Lock acquired, processing the job...
[2025-03-10 03:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646636') end
[2025-03-10 03:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:04:04] Production.INFO: 1
[2025-03-10 03:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:04:04] Production.INFO: ==24643== Lock acquired, processing the job...
[2025-03-10 03:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:04:04] Production.INFO: ==24639== Releasing lock...
[2025-03-10 03:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:04:04] Production.INFO: Account Balance Start.
[2025-03-10 03:04:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:04:04] Production.INFO: 117
[2025-03-10 03:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:04:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:04:04] Production.INFO: ==24647== Releasing lock...
[2025-03-10 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:04:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:04:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:04:04] Production.INFO: Total Charge 0
[2025-03-10 03:04:04] Production.INFO: CreateAllLog End
[2025-03-10 03:04:04] Production.ERROR: done
[2025-03-10 03:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:04:04] Production.ERROR: done
[2025-03-10 03:04:04] Production.INFO: Account Balance End.
[2025-03-10 03:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:04:04] Production.INFO: ==24643== Releasing lock...
[2025-03-10 03:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:04:05
[end_date_ymd] => 2025-03-10 03:04:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:04:05' and `end` < '2025-03-10 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-03-10 03:04:12] Production.ERROR: CronJobId end10
[2025-03-10 03:04:12] Production.INFO: ==24641== Releasing lock...
[2025-03-10 03:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:04:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:04:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:04:15] Production.INFO: call_cost start
[2025-03-10 03:04:15] Production.INFO: call_cost end
[2025-03-10 03:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:04:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:04:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:04:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:04:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:04:16] Production.INFO: ==24637== Releasing lock...
[2025-03-10 03:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:04:17] Production.INFO: count ==317
[2025-03-10 03:04:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:04:05 - End Time 2025-03-10 03:04:05
[2025-03-10 03:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646639', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646639', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646639', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646639', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:04:17] Production.INFO: ProcessCDR(1,14646639,1,1,2)
[2025-03-10 03:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646639', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646639', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:04:21] Production.INFO: ==24645== Releasing lock...
[2025-03-10 03:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:04:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:05:02] Production.INFO: ==24709== Lock acquired, processing the job...
[2025-03-10 07:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:05:02] Production.INFO: neon service started
[2025-03-10 07:05:02] Production.INFO: neon service started
[2025-03-10 07:05:02] Production.INFO: ==24709== Releasing lock...
[2025-03-10 07:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:05:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 03:05:02] Production.INFO: ==24712== Lock acquired, processing the job...
[2025-03-10 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:05:03] Production.INFO: ==24712== Releasing lock...
[2025-03-10 03:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:05:03] Production.INFO: ==24714== Lock acquired, processing the job...
[2025-03-10 07:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:05:03] Production.INFO: ==24714== Releasing lock...
[2025-03-10 07:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:05:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:05:03] Production.INFO: ==24720== Lock acquired, processing the job...
[2025-03-10 03:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:05:03] Production.INFO: ==24718== Lock acquired, processing the job...
[2025-03-10 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:05:04] Production.INFO: ==24726== Lock acquired, processing the job...
[2025-03-10 03:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:05:04] Production.INFO: ==24716== Lock acquired, processing the job...
[2025-03-10 03:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:05:04] Production.INFO: ==24722== Lock acquired, processing the job...
[2025-03-10 03:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:05:04] Production.INFO: ==24724== Lock acquired, processing the job...
[2025-03-10 03:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 03:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:05:04] Production.INFO: ==24718== Releasing lock...
[2025-03-10 03:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:05:04] Production.INFO: count ==13
[2025-03-10 03:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 03:05:04] Production.INFO: count ==21
[2025-03-10 03:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646641') start
[2025-03-10 03:05:04] Production.INFO: Account Balance Start.
[2025-03-10 03:05:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:05:04] Production.INFO: 117
[2025-03-10 03:05:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:05:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:05:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:05:04] Production.INFO: Total Charge 0
[2025-03-10 03:05:04] Production.INFO: CreateAllLog End
[2025-03-10 03:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646641') end
[2025-03-10 03:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:05:04] Production.INFO: 1
[2025-03-10 03:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:05:04] Production.INFO: ==24726== Releasing lock...
[2025-03-10 03:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:05:04] Production.ERROR: done
[2025-03-10 03:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:05:04] Production.INFO: Account Balance End.
[2025-03-10 03:05:04] Production.ERROR: done
[2025-03-10 03:05:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:05:05] Production.INFO: ==24722== Releasing lock...
[2025-03-10 03:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:05:05
[end_date_ymd] => 2025-03-10 03:05:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:05:05' and `end` < '2025-03-10 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-03-10 03:05:12] Production.ERROR: CronJobId end10
[2025-03-10 03:05:12] Production.INFO: ==24720== Releasing lock...
[2025-03-10 03:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:05:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:05:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:05:15] Production.INFO: call_cost start
[2025-03-10 03:05:15] Production.INFO: call_cost end
[2025-03-10 03:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:05:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:05:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:05:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:05:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:05:15] Production.INFO: ==24716== Releasing lock...
[2025-03-10 03:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:05:17] Production.INFO: count ==314
[2025-03-10 03:05:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:05:05 - End Time 2025-03-10 03:05:05
[2025-03-10 03:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646644', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646644', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646644', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646644', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:05:18] Production.INFO: ProcessCDR(1,14646644,1,1,2)
[2025-03-10 03:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646644', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646644', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:05:21] Production.INFO: ==24724== Releasing lock...
[2025-03-10 03:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:05:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:06:01] Production.INFO: ==24863== Lock acquired, processing the job...
[2025-03-10 07:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:06:01] Production.INFO: neon service started
[2025-03-10 07:06:01] Production.INFO: neon service started
[2025-03-10 07:06:01] Production.INFO: ==24863== Releasing lock...
[2025-03-10 07:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:06:02] Production.INFO: ==24865== Lock acquired, processing the job...
[2025-03-10 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:06:02] Production.INFO: ==24865== Releasing lock...
[2025-03-10 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:06:02] Production.INFO: ==24867== Lock acquired, processing the job...
[2025-03-10 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:06:02] Production.INFO: ==24867== Releasing lock...
[2025-03-10 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:06:03] Production.INFO: ==24871== Lock acquired, processing the job...
[2025-03-10 03:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:06:03] Production.INFO: ==24869== Lock acquired, processing the job...
[2025-03-10 03:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:06:03] Production.INFO: ==24875== Lock acquired, processing the job...
[2025-03-10 03:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:06:03] Production.INFO: ==24873== Lock acquired, processing the job...
[2025-03-10 03:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:06:03] Production.INFO: Account Balance Start.
[2025-03-10 03:06:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:06:03] Production.INFO: 117
[2025-03-10 03:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:06:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:06:03] Production.INFO: ==24877== Lock acquired, processing the job...
[2025-03-10 03:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:06:03] Production.INFO: ==24879== Lock acquired, processing the job...
[2025-03-10 03:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:06:03] Production.INFO: Date 2025-03-09
[2025-03-10 03:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:06:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:06:04] Production.INFO: ==24871== Releasing lock...
[2025-03-10 03:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:06:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 03:06:04] Production.INFO: CreateAllLog End
[2025-03-10 03:06:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:06:04] Production.INFO: count ==21
[2025-03-10 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646648') start
[2025-03-10 03:06:04] Production.ERROR: done
[2025-03-10 03:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646648') end
[2025-03-10 03:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:06:04] Production.INFO: 1
[2025-03-10 03:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:06:04] Production.INFO: ==24879== Releasing lock...
[2025-03-10 03:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:06:04] Production.ERROR: done
[2025-03-10 03:06:04] Production.INFO: Account Balance End.
[2025-03-10 03:06:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:06:04] Production.INFO: ==24875== Releasing lock...
[2025-03-10 03:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:06:05
[end_date_ymd] => 2025-03-10 03:06:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:06:05' and `end` < '2025-03-10 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-03-10 03:06:12] Production.ERROR: CronJobId end10
[2025-03-10 03:06:12] Production.INFO: ==24873== Releasing lock...
[2025-03-10 03:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:06:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:06:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:06:15] Production.INFO: call_cost start
[2025-03-10 03:06:15] Production.INFO: call_cost end
[2025-03-10 03:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:06:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:06:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:06:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:06:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:06:16] Production.INFO: ==24869== Releasing lock...
[2025-03-10 03:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:06:17] Production.INFO: count ==314
[2025-03-10 03:06:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:06:05 - End Time 2025-03-10 03:06:05
[2025-03-10 03:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646649', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646649', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646649', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646649', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:06:17] Production.INFO: ProcessCDR(1,14646649,1,1,2)
[2025-03-10 03:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646649', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646649', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:06:21] Production.INFO: ==24877== Releasing lock...
[2025-03-10 03:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:06:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:07:02] Production.INFO: ==24931== Lock acquired, processing the job...
[2025-03-10 07:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:07:02] Production.INFO: neon service started
[2025-03-10 07:07:02] Production.INFO: neon service started
[2025-03-10 07:07:02] Production.INFO: ==24931== Releasing lock...
[2025-03-10 07:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:07:02] Production.INFO: ==24934== Lock acquired, processing the job...
[2025-03-10 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:07:03] Production.INFO: ==24936== Lock acquired, processing the job...
[2025-03-10 07:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:07:03] Production.INFO: ==24934== Releasing lock...
[2025-03-10 03:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:07:03] Production.INFO: ==24936== Releasing lock...
[2025-03-10 07:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:07:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:07:03] Production.INFO: ==24938== Lock acquired, processing the job...
[2025-03-10 03:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:07:04] Production.INFO: ==24940== Lock acquired, processing the job...
[2025-03-10 03:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:07:04] Production.INFO: ==24946== Lock acquired, processing the job...
[2025-03-10 03:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:07:04] Production.INFO: ==24942== Lock acquired, processing the job...
[2025-03-10 03:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:07:04] Production.INFO: ==24944== Lock acquired, processing the job...
[2025-03-10 03:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:07:04] Production.INFO: ==24948== Lock acquired, processing the job...
[2025-03-10 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:07:04] Production.INFO: ==24940== Releasing lock...
[2025-03-10 03:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:07:04] Production.INFO: Account Balance Start.
[2025-03-10 03:07:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:07:04] Production.INFO: 117
[2025-03-10 03:07:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:07:04] Production.ERROR: done
[2025-03-10 03:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 03:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:07:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:07:04] Production.INFO: count ==21
[2025-03-10 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646653') start
[2025-03-10 03:07:04] Production.ERROR: done
[2025-03-10 03:07:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646653') end
[2025-03-10 03:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:07:04] Production.INFO: 1
[2025-03-10 03:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:07:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:07:04] Production.INFO: ==24948== Releasing lock...
[2025-03-10 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:07:04] Production.INFO: Total Charge 0
[2025-03-10 03:07:05] Production.INFO: CreateAllLog End
[2025-03-10 03:07:05] Production.INFO: Account Balance End.
[2025-03-10 03:07:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:07:05] Production.INFO: ==24944== Releasing lock...
[2025-03-10 03:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:07:05
[end_date_ymd] => 2025-03-10 03:07:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:07:05' and `end` < '2025-03-10 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-03-10 03:07:12] Production.ERROR: CronJobId end10
[2025-03-10 03:07:12] Production.INFO: ==24942== Releasing lock...
[2025-03-10 03:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:07:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:07:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:07:14] Production.INFO: call_cost start
[2025-03-10 03:07:14] Production.INFO: call_cost end
[2025-03-10 03:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:07:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:07:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:07:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:07:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:07:15] Production.INFO: ==24938== Releasing lock...
[2025-03-10 03:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:07:17] Production.INFO: count ==314
[2025-03-10 03:07:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:07:05 - End Time 2025-03-10 03:07:05
[2025-03-10 03:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646654', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646654', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646654', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646654', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:07:17] Production.INFO: ProcessCDR(1,14646654,1,1,2)
[2025-03-10 03:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646654', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646654', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:07:21] Production.INFO: ==24946== Releasing lock...
[2025-03-10 03:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:07:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:08:01] Production.INFO: ==25000== Lock acquired, processing the job...
[2025-03-10 07:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:08:01] Production.INFO: neon service started
[2025-03-10 07:08:01] Production.INFO: neon service started
[2025-03-10 07:08:01] Production.INFO: ==25000== Releasing lock...
[2025-03-10 07:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:08:02] Production.INFO: ==25005== Lock acquired, processing the job...
[2025-03-10 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:08:02] Production.INFO: ==25003== Lock acquired, processing the job...
[2025-03-10 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:08:02] Production.INFO: ==25005== Releasing lock...
[2025-03-10 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:08:02] Production.INFO: ==25003== Releasing lock...
[2025-03-10 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:08:03] Production.INFO: ==25009== Lock acquired, processing the job...
[2025-03-10 03:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:08:03] Production.INFO: ==25013== Lock acquired, processing the job...
[2025-03-10 03:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:08:03] Production.INFO: ==25015== Lock acquired, processing the job...
[2025-03-10 03:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:08:03] Production.INFO: Account Balance Start.
[2025-03-10 03:08:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:08:03] Production.INFO: 117
[2025-03-10 03:08:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:08:03] Production.INFO: Date 2025-03-09
[2025-03-10 03:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:08:03] Production.INFO: Date 2025-03-10
[2025-03-10 03:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:08:03] Production.INFO: Total Charge 0
[2025-03-10 03:08:03] Production.INFO: CreateAllLog End
[2025-03-10 03:08:03] Production.INFO: ==25009== Releasing lock...
[2025-03-10 03:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:08:04] Production.INFO: ==25007== Lock acquired, processing the job...
[2025-03-10 03:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:08:04] Production.INFO: ==25011== Lock acquired, processing the job...
[2025-03-10 03:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:08:04] Production.INFO: ==25017== Lock acquired, processing the job...
[2025-03-10 03:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:08:04] Production.INFO: Account Balance End.
[2025-03-10 03:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:08:04] Production.INFO: ==25013== Releasing lock...
[2025-03-10 03:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:08:04] Production.ERROR: done
[2025-03-10 03:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03: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-03-10 03:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:08:04] Production.ERROR: done
[2025-03-10 03:08:04] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:08:04] Production.INFO: count ==21
[2025-03-10 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646657') start
[2025-03-10 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646657') end
[2025-03-10 03:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:08:04] Production.INFO: 1
[2025-03-10 03:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:08:04] Production.INFO: ==25017== Releasing lock...
[2025-03-10 03:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:08:05
[end_date_ymd] => 2025-03-10 03:08:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:08:05' and `end` < '2025-03-10 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-03-10 03:08:10] Production.ERROR: CronJobId end10
[2025-03-10 03:08:10] Production.INFO: ==25011== Releasing lock...
[2025-03-10 03:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:08:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:08:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:08:14] Production.INFO: call_cost start
[2025-03-10 03:08:14] Production.INFO: call_cost end
[2025-03-10 03:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:08:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:08:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:08:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:08:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:08:15] Production.INFO: ==25007== Releasing lock...
[2025-03-10 03:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:08:17] Production.INFO: count ==313
[2025-03-10 03:08:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:08:05 - End Time 2025-03-10 03:08:05
[2025-03-10 03:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646659', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646659', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646659', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646659', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:08:17] Production.INFO: ProcessCDR(1,14646659,1,1,2)
[2025-03-10 03:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646659', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646659', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:08:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:08:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:08:20] Production.INFO: ==25015== Releasing lock...
[2025-03-10 03:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:08:20] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:09:02] Production.INFO: ==25150== Lock acquired, processing the job...
[2025-03-10 07:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:09:02] Production.INFO: neon service started
[2025-03-10 07:09:02] Production.INFO: neon service started
[2025-03-10 07:09:02] Production.INFO: ==25150== Releasing lock...
[2025-03-10 07:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:09:02] Production.INFO: ==25152== Lock acquired, processing the job...
[2025-03-10 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:09:02] Production.INFO: ==25152== Releasing lock...
[2025-03-10 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:09:03] Production.INFO: ==25154== Lock acquired, processing the job...
[2025-03-10 07:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:09:03] Production.INFO: ==25154== Releasing lock...
[2025-03-10 07:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:09:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:09:03] Production.INFO: ==25157== Lock acquired, processing the job...
[2025-03-10 03:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:09:03] Production.INFO: ==25161== Lock acquired, processing the job...
[2025-03-10 03:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:09:03] Production.INFO: ==25159== Lock acquired, processing the job...
[2025-03-10 03:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:09:04] Production.INFO: ==25165== Lock acquired, processing the job...
[2025-03-10 03:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:09:04] Production.INFO: ==25167== Lock acquired, processing the job...
[2025-03-10 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:09:04] Production.INFO: ==25163== Lock acquired, processing the job...
[2025-03-10 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03: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-03-10 03:09:04] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:09:04] Production.INFO: ==25159== Releasing lock...
[2025-03-10 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:09:04] Production.INFO: count ==21
[2025-03-10 03:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646662') start
[2025-03-10 03:09:04] Production.ERROR: done
[2025-03-10 03:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:09:04] Production.INFO: Account Balance Start.
[2025-03-10 03:09:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:09:04] Production.INFO: 117
[2025-03-10 03:09:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:09:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:09:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646662') end
[2025-03-10 03:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:09:04] Production.INFO: 1
[2025-03-10 03:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:09:04] Production.INFO: Total Charge 0
[2025-03-10 03:09:04] Production.INFO: CreateAllLog End
[2025-03-10 03:09:04] Production.INFO: ==25167== Releasing lock...
[2025-03-10 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:09:04] Production.ERROR: done
[2025-03-10 03:09:04] Production.INFO: Account Balance End.
[2025-03-10 03:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:09:04] Production.INFO: ==25163== Releasing lock...
[2025-03-10 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:09:05
[end_date_ymd] => 2025-03-10 03:09:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:09:05' and `end` < '2025-03-10 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-03-10 03:09:12] Production.ERROR: CronJobId end10
[2025-03-10 03:09:12] Production.INFO: ==25161== Releasing lock...
[2025-03-10 03:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:09:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:09:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:09:14] Production.INFO: call_cost start
[2025-03-10 03:09:14] Production.INFO: call_cost end
[2025-03-10 03:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:09:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:09:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:09:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:09:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:09:15] Production.INFO: ==25157== Releasing lock...
[2025-03-10 03:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:09:17] Production.INFO: count ==313
[2025-03-10 03:09:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:09:05 - End Time 2025-03-10 03:09:05
[2025-03-10 03:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646664', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646664', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646664', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646664', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:09:17] Production.INFO: ProcessCDR(1,14646664,1,1,2)
[2025-03-10 03:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646664', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646664', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:09:21] Production.INFO: ==25165== Releasing lock...
[2025-03-10 03:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:09:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:10:01] Production.INFO: ==25219== Lock acquired, processing the job...
[2025-03-10 07:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:10:01] Production.INFO: neon service started
[2025-03-10 07:10:01] Production.INFO: neon service started
[2025-03-10 07:10:01] Production.INFO: ==25219== Releasing lock...
[2025-03-10 07:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:10:02] Production.INFO: ==25222== Lock acquired, processing the job...
[2025-03-10 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:10:02] Production.INFO: ==25224== Lock acquired, processing the job...
[2025-03-10 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:10:02] Production.INFO: ==25224== Releasing lock...
[2025-03-10 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:10:02] Production.INFO: ==25222== Releasing lock...
[2025-03-10 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:10:03] Production.INFO: ==25226== Lock acquired, processing the job...
[2025-03-10 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 03:10:03] Production.INFO: ==25228== Lock acquired, processing the job...
[2025-03-10 03:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:10:03] Production.INFO: ==25230== Lock acquired, processing the job...
[2025-03-10 03:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 03:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 03:10:03] Production.ERROR: CronJob PID - 25230
[2025-03-10 03:10:03] Production.ERROR: CronJob Title - Account Block
[2025-03-10 03:10:03] Production.ERROR: CronJob ID - 7
[2025-03-10 03:10:03] Production.ERROR: CronJob Last Run Time 2025-03-10 03:10:00
[2025-03-10 03:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 03:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 03:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 03:10:03] Production.INFO: ==25226== Releasing lock...
[2025-03-10 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 03:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 03:10:03] Production.INFO: ==25232== Lock acquired, processing the job...
[2025-03-10 03:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:10:04] Production.INFO: ==25238== Lock acquired, processing the job...
[2025-03-10 03:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 03:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:10:04] Production.INFO: ==25230== Releasing lock...
[2025-03-10 03:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:10:04] Production.INFO: ==25234== Lock acquired, processing the job...
[2025-03-10 03:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:10:04] Production.INFO: ==25236== Lock acquired, processing the job...
[2025-03-10 03:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:10:04] Production.INFO: ==25240== Lock acquired, processing the job...
[2025-03-10 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:10:04] Production.INFO: Account Balance Start.
[2025-03-10 03:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:10:04] Production.INFO: 117
[2025-03-10 03:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:10:04] Production.ERROR: done
[2025-03-10 03:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 03:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646669', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 03:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 03:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:10:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:10:04] Production.INFO: count ==21
[2025-03-10 03:10:04] Production.INFO: Total Charge 0
[2025-03-10 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646668') start
[2025-03-10 03:10:04] Production.INFO: CreateAllLog End
[2025-03-10 03:10:04] Production.ERROR: done
[2025-03-10 03:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646668') end
[2025-03-10 03:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:10:04] Production.INFO: 1
[2025-03-10 03:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:10:05] Production.INFO: ==25240== Releasing lock...
[2025-03-10 03:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:10:05] Production.ERROR: done
[2025-03-10 03:10:05] Production.INFO: Account Balance End.
[2025-03-10 03:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:10:05] Production.INFO: ==25234== Releasing lock...
[2025-03-10 03:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:10:06
[end_date_ymd] => 2025-03-10 03:10:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:10:06' and `end` < '2025-03-10 03: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-03-10 03:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646669', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 03:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 03:10:08] Production.INFO: ProcessCDR(1,14646669,1,1,2)
[2025-03-10 03:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646669,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646669,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:10:08] Production.INFO: ==25238== Releasing lock...
[2025-03-10 03:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 03:10:08] Production.INFO: 26 MB #Memory Used#
[2025-03-10 03:10:13] Production.ERROR: CronJobId end10
[2025-03-10 03:10:13] Production.INFO: ==25232== Releasing lock...
[2025-03-10 03:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:10:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:10:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:10:16] Production.INFO: call_cost start
[2025-03-10 03:10:16] Production.INFO: call_cost end
[2025-03-10 03:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:10:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:10:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:10:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:10:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:10:17] Production.INFO: ==25228== Releasing lock...
[2025-03-10 03:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:10:18] Production.INFO: count ==305
[2025-03-10 03:10:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:10:06 - End Time 2025-03-10 03:10:06
[2025-03-10 03:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646670', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646670', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646670', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646670', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:10:18] Production.INFO: ProcessCDR(1,14646670,1,1,2)
[2025-03-10 03:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646670', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646670', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:10:21] Production.INFO: ==25236== Releasing lock...
[2025-03-10 03:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:10:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:11:02] Production.INFO: ==25300== Lock acquired, processing the job...
[2025-03-10 07:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:11:02] Production.INFO: neon service started
[2025-03-10 07:11:02] Production.INFO: neon service started
[2025-03-10 07:11:02] Production.INFO: ==25300== Releasing lock...
[2025-03-10 07:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:11:02] Production.INFO: ==25304== Lock acquired, processing the job...
[2025-03-10 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:11:02] Production.INFO: ==25302== Lock acquired, processing the job...
[2025-03-10 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:11:02] Production.INFO: ==25304== Releasing lock...
[2025-03-10 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:11:03] Production.INFO: ==25302== Releasing lock...
[2025-03-10 03:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:11:04] Production.INFO: ==25311== Lock acquired, processing the job...
[2025-03-10 03:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:11:04] Production.INFO: ==25317== Lock acquired, processing the job...
[2025-03-10 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:11:04] Production.INFO: ==25307== Lock acquired, processing the job...
[2025-03-10 03:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:11:04] Production.INFO: ==25309== Lock acquired, processing the job...
[2025-03-10 03:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03: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-03-10 03:11:04] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:11:04] Production.INFO: ==25313== Lock acquired, processing the job...
[2025-03-10 03:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:11:04] Production.INFO: count ==21
[2025-03-10 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646671') start
[2025-03-10 03:11:04] Production.INFO: ==25315== Lock acquired, processing the job...
[2025-03-10 03:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:11:04] Production.INFO: Account Balance Start.
[2025-03-10 03:11:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:11:04] Production.INFO: 117
[2025-03-10 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646671') end
[2025-03-10 03:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:11:04] Production.INFO: 1
[2025-03-10 03:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:11:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:11:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:11:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:11:04] Production.INFO: Total Charge 0
[2025-03-10 03:11:04] Production.INFO: CreateAllLog End
[2025-03-10 03:11:04] Production.INFO: ==25317== Releasing lock...
[2025-03-10 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:11:04] Production.INFO: ==25309== Releasing lock...
[2025-03-10 03:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:11:04] Production.ERROR: done
[2025-03-10 03:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:11:05] Production.INFO: Account Balance End.
[2025-03-10 03:11:05] Production.ERROR: done
[2025-03-10 03:11:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:11:05] Production.INFO: ==25313== Releasing lock...
[2025-03-10 03:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:11:06
[end_date_ymd] => 2025-03-10 03:11:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:11:06' and `end` < '2025-03-10 03: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-03-10 03:11:11] Production.ERROR: CronJobId end10
[2025-03-10 03:11:11] Production.INFO: ==25311== Releasing lock...
[2025-03-10 03:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:11:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:11:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:11:15] Production.INFO: call_cost start
[2025-03-10 03:11:15] Production.INFO: call_cost end
[2025-03-10 03:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:11:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:11:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:11:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:11:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:11:16] Production.INFO: ==25307== Releasing lock...
[2025-03-10 03:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:11:18] Production.INFO: count ==302
[2025-03-10 03:11:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:11:06 - End Time 2025-03-10 03:11:06
[2025-03-10 03:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646675', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646675', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646675', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646675', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:11:18] Production.INFO: ProcessCDR(1,14646675,1,1,2)
[2025-03-10 03:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646675', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646675', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:11:21] Production.INFO: ==25315== Releasing lock...
[2025-03-10 03:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:11:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 07:12:01] Production.INFO: ==25372== Lock acquired, processing the job...
[2025-03-10 07:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:12:01] Production.INFO: neon service started
[2025-03-10 07:12:01] Production.INFO: neon service started
[2025-03-10 07:12:01] Production.INFO: ==25372== Releasing lock...
[2025-03-10 07:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:12:02] Production.INFO: ==25374== Lock acquired, processing the job...
[2025-03-10 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:12:02] Production.INFO: ==25374== Releasing lock...
[2025-03-10 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:12:02] Production.INFO: ==25376== Lock acquired, processing the job...
[2025-03-10 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:12:02] Production.INFO: ==25376== Releasing lock...
[2025-03-10 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:12:03] Production.INFO: ==25389== Lock acquired, processing the job...
[2025-03-10 03:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03: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-03-10 03:12:03] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:12:03] Production.INFO: count ==21
[2025-03-10 03:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646676') start
[2025-03-10 03:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646676') end
[2025-03-10 03:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:12:03] Production.INFO: 1
[2025-03-10 03:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:12:03] Production.INFO: ==25389== Releasing lock...
[2025-03-10 03:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:12:03] Production.INFO: ==25387== Lock acquired, processing the job...
[2025-03-10 03:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:12:03] Production.INFO: ==25379== Lock acquired, processing the job...
[2025-03-10 03:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:12:03] Production.INFO: ==25381== Lock acquired, processing the job...
[2025-03-10 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:12:03] Production.INFO: ==25383== Lock acquired, processing the job...
[2025-03-10 03:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:12:03] Production.INFO: ==25385== Lock acquired, processing the job...
[2025-03-10 03:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:12:04] Production.INFO: Account Balance Start.
[2025-03-10 03:12:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:12:04] Production.INFO: 117
[2025-03-10 03:12:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:12:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:12:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:12:04] Production.INFO: Total Charge 0
[2025-03-10 03:12:04] Production.INFO: CreateAllLog End
[2025-03-10 03:12:04] Production.INFO: ==25381== Releasing lock...
[2025-03-10 03:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:12:04] Production.ERROR: done
[2025-03-10 03:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:12:04] Production.INFO: Account Balance End.
[2025-03-10 03:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:12:04] Production.INFO: ==25385== Releasing lock...
[2025-03-10 03:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:12:04] Production.ERROR: done
[2025-03-10 03:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:12:05
[end_date_ymd] => 2025-03-10 03:12:05
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:12:05' and `end` < '2025-03-10 03: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-03-10 03:12:11] Production.ERROR: CronJobId end10
[2025-03-10 03:12:11] Production.INFO: ==25383== Releasing lock...
[2025-03-10 03:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:12:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:12:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:12:14] Production.INFO: call_cost start
[2025-03-10 03:12:14] Production.INFO: call_cost end
[2025-03-10 03:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:12:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:12:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:12:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:12:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:12:15] Production.INFO: ==25379== Releasing lock...
[2025-03-10 03:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:12:17] Production.INFO: count ==305
[2025-03-10 03:12:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:12:05 - End Time 2025-03-10 03:12:05
[2025-03-10 03:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646680', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646680', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646680', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646680', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:12:17] Production.INFO: ProcessCDR(1,14646680,1,1,2)
[2025-03-10 03:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646680', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646680', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:12:21] Production.INFO: ==25387== Releasing lock...
[2025-03-10 03:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:12:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:13:02] Production.INFO: ==25578== Lock acquired, processing the job...
[2025-03-10 07:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:13:02] Production.INFO: neon service started
[2025-03-10 07:13:02] Production.INFO: neon service started
[2025-03-10 07:13:02] Production.INFO: ==25578== Releasing lock...
[2025-03-10 07:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:13:02] Production.INFO: ==25582== Lock acquired, processing the job...
[2025-03-10 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:13:02] Production.INFO: ==25582== Releasing lock...
[2025-03-10 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:13:02] Production.INFO: ==25580== Lock acquired, processing the job...
[2025-03-10 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:13:03] Production.INFO: ==25580== Releasing lock...
[2025-03-10 03:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:13:03] Production.INFO: ==25584== Lock acquired, processing the job...
[2025-03-10 03:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:13:03] Production.INFO: ==25586== Lock acquired, processing the job...
[2025-03-10 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:13:03] Production.INFO: ==25590== Lock acquired, processing the job...
[2025-03-10 03:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:13:04] Production.INFO: ==25588== Lock acquired, processing the job...
[2025-03-10 03:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:13:04] Production.INFO: Account Balance Start.
[2025-03-10 03:13:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:13:04] Production.INFO: 117
[2025-03-10 03:13:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:13:04] Production.INFO: ==25592== Lock acquired, processing the job...
[2025-03-10 03:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:13:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:13:04] Production.INFO: ==25586== Releasing lock...
[2025-03-10 03:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:13:04] Production.INFO: ==25595== Lock acquired, processing the job...
[2025-03-10 03:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:13:04] Production.INFO: Total Charge 0
[2025-03-10 03:13:04] Production.INFO: CreateAllLog End
[2025-03-10 03: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-03-10 03:13:04] Production.INFO: count ==13
[2025-03-10 03:13:04] Production.ERROR: done
[2025-03-10 03:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 03:13:04] Production.INFO: count ==21
[2025-03-10 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646684') start
[2025-03-10 03:13:04] Production.INFO: Account Balance End.
[2025-03-10 03:13:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:13:04] Production.INFO: ==25590== Releasing lock...
[2025-03-10 03:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:13:04] Production.ERROR: done
[2025-03-10 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646684') end
[2025-03-10 03:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:13:04] Production.INFO: 1
[2025-03-10 03:13:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:13:05] Production.INFO: ==25595== Releasing lock...
[2025-03-10 03:13:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:13:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:13:05
[end_date_ymd] => 2025-03-10 03:13:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:13:05' and `end` < '2025-03-10 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-03-10 03:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:13:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:13:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:13:16] Production.INFO: call_cost start
[2025-03-10 03:13:16] Production.INFO: call_cost end
[2025-03-10 03:13:16] Production.ERROR: CronJobId end10
[2025-03-10 03:13:16] Production.INFO: ==25588== Releasing lock...
[2025-03-10 03:13:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:13:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:13:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:13:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:13:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:13:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:13:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:13:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:13:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:13:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:13:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:13:17] Production.INFO: ==25584== Releasing lock...
[2025-03-10 03:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:13:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:13:17] Production.INFO: count ==305
[2025-03-10 03:13:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:13:05 - End Time 2025-03-10 03:13:05
[2025-03-10 03:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646685', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646685', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646685', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646685', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:13:17] Production.INFO: ProcessCDR(1,14646685,1,1,2)
[2025-03-10 03:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646685', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646685', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:13:21] Production.INFO: ==25592== Releasing lock...
[2025-03-10 03:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:13:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:14:01] Production.INFO: ==25673== Lock acquired, processing the job...
[2025-03-10 07:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:14:01] Production.INFO: neon service started
[2025-03-10 07:14:01] Production.INFO: neon service started
[2025-03-10 07:14:01] Production.INFO: ==25673== Releasing lock...
[2025-03-10 07:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:14:02] Production.INFO: ==25675== Lock acquired, processing the job...
[2025-03-10 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:14:02] Production.INFO: ==25675== Releasing lock...
[2025-03-10 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:14:02] Production.INFO: ==25677== Lock acquired, processing the job...
[2025-03-10 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:14:02] Production.INFO: ==25677== Releasing lock...
[2025-03-10 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:14:03] Production.INFO: ==25685== Lock acquired, processing the job...
[2025-03-10 03:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:14:03] Production.INFO: ==25688== Lock acquired, processing the job...
[2025-03-10 03:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:14:03] Production.INFO: ==25681== Lock acquired, processing the job...
[2025-03-10 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:14:03] Production.INFO: ==25679== Lock acquired, processing the job...
[2025-03-10 03:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:14:03] Production.INFO: Account Balance Start.
[2025-03-10 03:14:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:14:03] Production.INFO: ==25683== Lock acquired, processing the job...
[2025-03-10 03:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:14:03] Production.INFO: 117
[2025-03-10 03:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:14:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:14:03] Production.INFO: ==25690== Lock acquired, processing the job...
[2025-03-10 03:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:14:03] Production.INFO: Date 2025-03-09
[2025-03-10 03:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:14:03] Production.INFO: Date 2025-03-10
[2025-03-10 03:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 03: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-03-10 03:14:03] Production.INFO: Total Charge 0
[2025-03-10 03:14:03] Production.INFO: CreateAllLog End
[2025-03-10 03:14:03] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:14:03] Production.INFO: count ==21
[2025-03-10 03:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646689') start
[2025-03-10 03:14:03] Production.INFO: ==25681== Releasing lock...
[2025-03-10 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:14:03] Production.ERROR: done
[2025-03-10 03:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646689') end
[2025-03-10 03:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:14:03] Production.INFO: 1
[2025-03-10 03:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:14:04] Production.INFO: ==25690== Releasing lock...
[2025-03-10 03:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:14:04] Production.ERROR: done
[2025-03-10 03:14:04] Production.INFO: Account Balance End.
[2025-03-10 03:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:14:04] Production.INFO: ==25685== Releasing lock...
[2025-03-10 03:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:14:05
[end_date_ymd] => 2025-03-10 03:14:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:14:05' and `end` < '2025-03-10 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-03-10 03:14:12] Production.ERROR: CronJobId end10
[2025-03-10 03:14:12] Production.INFO: ==25683== Releasing lock...
[2025-03-10 03:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:14:14] Production.INFO: call_cost start
[2025-03-10 03:14:14] Production.INFO: call_cost end
[2025-03-10 03:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:14:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:14:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:14:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:14:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:14:15] Production.INFO: ==25679== Releasing lock...
[2025-03-10 03:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:14:17] Production.INFO: count ==305
[2025-03-10 03:14:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:14:05 - End Time 2025-03-10 03:14:05
[2025-03-10 03:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646690', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646690', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646690', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646690', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:14:17] Production.INFO: ProcessCDR(1,14646690,1,1,2)
[2025-03-10 03:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646690', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646690', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:14:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:14:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:14:20] Production.INFO: ==25688== Releasing lock...
[2025-03-10 03:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:14:20] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:15:02] Production.INFO: ==25753== Lock acquired, processing the job...
[2025-03-10 07:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:15:02] Production.INFO: neon service started
[2025-03-10 07:15:02] Production.INFO: neon service started
[2025-03-10 07:15:02] Production.INFO: ==25753== Releasing lock...
[2025-03-10 07:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:15:02] Production.INFO: ==25758== Lock acquired, processing the job...
[2025-03-10 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:15:02] Production.INFO: ==25758== Releasing lock...
[2025-03-10 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:15:02] Production.INFO: ==25756== Lock acquired, processing the job...
[2025-03-10 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:15:02] Production.INFO: ==25756== Releasing lock...
[2025-03-10 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:15:03] Production.INFO: ==25760== Lock acquired, processing the job...
[2025-03-10 03:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:15:03] Production.INFO: ==25768== Lock acquired, processing the job...
[2025-03-10 03:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:15:03] Production.INFO: ==25762== Lock acquired, processing the job...
[2025-03-10 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:15:03] Production.INFO: ==25764== Lock acquired, processing the job...
[2025-03-10 03:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:15:04] Production.INFO: ==25770== Lock acquired, processing the job...
[2025-03-10 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:15:04] Production.INFO: ==25766== Lock acquired, processing the job...
[2025-03-10 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:15:04] Production.ERROR: done
[2025-03-10 03:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:15:04] Production.INFO: Account Balance Start.
[2025-03-10 03:15:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:15:04] Production.INFO: 117
[2025-03-10 03:15:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 03:15:04] Production.INFO: count ==13
[2025-03-10 03:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 03:15:04] Production.INFO: count ==21
[2025-03-10 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646694') start
[2025-03-10 03:15:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:15:04] Production.ERROR: done
[2025-03-10 03:15:04] Production.INFO: ==25762== Releasing lock...
[2025-03-10 03:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:15:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646694') end
[2025-03-10 03:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:15:04] Production.INFO: 1
[2025-03-10 03:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:15:04] Production.INFO: ==25770== Releasing lock...
[2025-03-10 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:15:04] Production.INFO: Total Charge 0
[2025-03-10 03:15:04] Production.INFO: CreateAllLog End
[2025-03-10 03:15:04] Production.INFO: Account Balance End.
[2025-03-10 03:15:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:15:04] Production.INFO: ==25766== Releasing lock...
[2025-03-10 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:15:05
[end_date_ymd] => 2025-03-10 03:15:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:15:05' and `end` < '2025-03-10 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-03-10 03:15:12] Production.ERROR: CronJobId end10
[2025-03-10 03:15:12] Production.INFO: ==25764== Releasing lock...
[2025-03-10 03:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:15:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:15:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:15:14] Production.INFO: call_cost start
[2025-03-10 03:15:14] Production.INFO: call_cost end
[2025-03-10 03:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:15:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:15:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:15:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:15:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:15:15] Production.INFO: ==25760== Releasing lock...
[2025-03-10 03:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:15:17] Production.INFO: count ==306
[2025-03-10 03:15:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:15:05 - End Time 2025-03-10 03:15:05
[2025-03-10 03:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646695', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646695', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646695', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646695', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:15:17] Production.INFO: ProcessCDR(1,14646695,1,1,2)
[2025-03-10 03:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646695', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646695', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:15:22] Production.INFO: ==25768== Releasing lock...
[2025-03-10 03:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:15:22] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:16:01] Production.INFO: ==25832== Lock acquired, processing the job...
[2025-03-10 07:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:16:01] Production.INFO: neon service started
[2025-03-10 07:16:01] Production.INFO: neon service started
[2025-03-10 07:16:01] Production.INFO: ==25832== Releasing lock...
[2025-03-10 07:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:16:02] Production.INFO: ==25834== Lock acquired, processing the job...
[2025-03-10 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:16:02] Production.INFO: ==25836== Lock acquired, processing the job...
[2025-03-10 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:16:02] Production.INFO: ==25836== Releasing lock...
[2025-03-10 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:16:02] Production.INFO: ==25834== Releasing lock...
[2025-03-10 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:16:03] Production.INFO: ==25839== Lock acquired, processing the job...
[2025-03-10 03:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:16:03] Production.INFO: ==25843== Lock acquired, processing the job...
[2025-03-10 03:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:16:03] Production.INFO: ==25841== Lock acquired, processing the job...
[2025-03-10 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:16:03] Production.INFO: ==25845== Lock acquired, processing the job...
[2025-03-10 03:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:16:03] Production.INFO: ==25847== Lock acquired, processing the job...
[2025-03-10 03:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:16:03] Production.INFO: ==25849== Lock acquired, processing the job...
[2025-03-10 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:16:03] Production.INFO: Account Balance Start.
[2025-03-10 03:16:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:16:03] Production.INFO: 117
[2025-03-10 03:16:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:16:03] Production.INFO: Date 2025-03-09
[2025-03-10 03:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:16:03] Production.INFO: Date 2025-03-10
[2025-03-10 03:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 03:16:04] Production.INFO: ==25841== Releasing lock...
[2025-03-10 03:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:16:04] Production.INFO: count ==13
[2025-03-10 03:16:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 03:16:04] Production.INFO: count ==21
[2025-03-10 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646699') start
[2025-03-10 03:16:04] Production.INFO: CreateAllLog End
[2025-03-10 03:16:04] Production.ERROR: done
[2025-03-10 03:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646699') end
[2025-03-10 03:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:16:04] Production.INFO: 1
[2025-03-10 03:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:16:04] Production.INFO: ==25849== Releasing lock...
[2025-03-10 03:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:16:04] Production.ERROR: done
[2025-03-10 03:16:04] Production.INFO: Account Balance End.
[2025-03-10 03:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:16:04] Production.INFO: ==25845== Releasing lock...
[2025-03-10 03:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:16:05
[end_date_ymd] => 2025-03-10 03:16:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:16:05' and `end` < '2025-03-10 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-03-10 03:16:10] Production.ERROR: CronJobId end10
[2025-03-10 03:16:10] Production.INFO: ==25843== Releasing lock...
[2025-03-10 03:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:16:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:16:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:16:13] Production.INFO: call_cost start
[2025-03-10 03:16:13] Production.INFO: call_cost end
[2025-03-10 03:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:16:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:16:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:16:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:16:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:16:14] Production.INFO: ==25839== Releasing lock...
[2025-03-10 03:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:16:17] Production.INFO: count ==307
[2025-03-10 03:16:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:16:05 - End Time 2025-03-10 03:16:05
[2025-03-10 03:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646700', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646700', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646700', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646700', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:16:17] Production.INFO: ProcessCDR(1,14646700,1,1,2)
[2025-03-10 03:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646700', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646700', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:16:21] Production.INFO: ==25847== Releasing lock...
[2025-03-10 03:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:16:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:17:02] Production.INFO: ==25979== Lock acquired, processing the job...
[2025-03-10 07:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:17:02] Production.INFO: neon service started
[2025-03-10 07:17:02] Production.INFO: neon service started
[2025-03-10 07:17:02] Production.INFO: ==25979== Releasing lock...
[2025-03-10 07:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:17:02] Production.INFO: ==25981== Lock acquired, processing the job...
[2025-03-10 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:17:02] Production.INFO: ==25981== Releasing lock...
[2025-03-10 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:17:03] Production.INFO: ==25983== Lock acquired, processing the job...
[2025-03-10 07:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:17:03] Production.INFO: ==25983== Releasing lock...
[2025-03-10 07:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:17:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:17:03] Production.INFO: ==25988== Lock acquired, processing the job...
[2025-03-10 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:17:03] Production.INFO: ==25994== Lock acquired, processing the job...
[2025-03-10 03:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:17:03] Production.INFO: ==25986== Lock acquired, processing the job...
[2025-03-10 03:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:17:04] Production.INFO: ==25990== Lock acquired, processing the job...
[2025-03-10 03:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:17:04] Production.INFO: ==25992== Lock acquired, processing the job...
[2025-03-10 03:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:17:04] Production.INFO: ==25996== Lock acquired, processing the job...
[2025-03-10 03:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:17:04] Production.INFO: ==25988== Releasing lock...
[2025-03-10 03:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:17:04] Production.INFO: Account Balance Start.
[2025-03-10 03:17:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:17:04] Production.INFO: 117
[2025-03-10 03:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:17:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 03: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-03-10 03:17:04] Production.ERROR: done
[2025-03-10 03:17:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:17:04] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:17:04] Production.INFO: count ==21
[2025-03-10 03:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646704') start
[2025-03-10 03:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:17:04] Production.INFO: Total Charge 0
[2025-03-10 03:17:04] Production.INFO: CreateAllLog End
[2025-03-10 03:17:04] Production.ERROR: done
[2025-03-10 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646704') end
[2025-03-10 03:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:17:04] Production.INFO: 1
[2025-03-10 03:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:17:04] Production.INFO: ==25996== Releasing lock...
[2025-03-10 03:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:17:04] Production.INFO: Account Balance End.
[2025-03-10 03:17:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:17:04] Production.INFO: ==25992== Releasing lock...
[2025-03-10 03:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:17:05
[end_date_ymd] => 2025-03-10 03:17:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:17:05' and `end` < '2025-03-10 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-03-10 03:17:11] Production.ERROR: CronJobId end10
[2025-03-10 03:17:11] Production.INFO: ==25990== Releasing lock...
[2025-03-10 03:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:17:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:17:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:17:15] Production.INFO: call_cost start
[2025-03-10 03:17:15] Production.INFO: call_cost end
[2025-03-10 03:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:17:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:17:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:17:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:17:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:17:16] Production.INFO: ==25986== Releasing lock...
[2025-03-10 03:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:17:17] Production.INFO: count ==307
[2025-03-10 03:17:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:17:05 - End Time 2025-03-10 03:17:05
[2025-03-10 03:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646705', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646705', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646705', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646705', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:17:17] Production.INFO: ProcessCDR(1,14646705,1,1,2)
[2025-03-10 03:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646705', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646705', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:17:21] Production.INFO: ==25994== Releasing lock...
[2025-03-10 03:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:17:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:18:01] Production.INFO: ==26051== Lock acquired, processing the job...
[2025-03-10 07:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:18:01] Production.INFO: neon service started
[2025-03-10 07:18:01] Production.INFO: neon service started
[2025-03-10 07:18:01] Production.INFO: ==26051== Releasing lock...
[2025-03-10 07:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:18:02] Production.INFO: ==26053== Lock acquired, processing the job...
[2025-03-10 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:18:02] Production.INFO: ==26053== Releasing lock...
[2025-03-10 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:18:02] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:18:02] Production.INFO: ==26055== Lock acquired, processing the job...
[2025-03-10 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:18:02] Production.INFO: ==26055== Releasing lock...
[2025-03-10 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:18:03] Production.INFO: ==26065== Lock acquired, processing the job...
[2025-03-10 03:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:18:03] Production.INFO: ==26068== Lock acquired, processing the job...
[2025-03-10 03:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03: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-03-10 03:18:03] Production.INFO: ==26057== Lock acquired, processing the job...
[2025-03-10 03:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:18:03] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:18:03] Production.INFO: count ==21
[2025-03-10 03:18:03] Production.INFO: ==26059== Lock acquired, processing the job...
[2025-03-10 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:18:03] Production.INFO: ==26061== Lock acquired, processing the job...
[2025-03-10 03:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646706') start
[2025-03-10 03:18:03] Production.INFO: ==26063== Lock acquired, processing the job...
[2025-03-10 03:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646706') end
[2025-03-10 03:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:18:03] Production.INFO: 1
[2025-03-10 03:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:18:03] Production.INFO: Account Balance Start.
[2025-03-10 03:18:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:18:03] Production.INFO: 117
[2025-03-10 03:18:03] Production.INFO: ==26068== Releasing lock...
[2025-03-10 03:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:18:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:18:04] Production.ERROR: done
[2025-03-10 03:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:18:04] Production.INFO: ==26059== Releasing lock...
[2025-03-10 03:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:18:04] Production.INFO: Total Charge 0
[2025-03-10 03:18:04] Production.INFO: CreateAllLog End
[2025-03-10 03:18:04] Production.ERROR: done
[2025-03-10 03:18:04] Production.INFO: Account Balance End.
[2025-03-10 03:18:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:18:04] Production.INFO: ==26063== Releasing lock...
[2025-03-10 03:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:18:05
[end_date_ymd] => 2025-03-10 03:18:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:18:05' and `end` < '2025-03-10 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-03-10 03:18:11] Production.ERROR: CronJobId end10
[2025-03-10 03:18:11] Production.INFO: ==26061== Releasing lock...
[2025-03-10 03:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:18:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:18:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:18:14] Production.INFO: call_cost start
[2025-03-10 03:18:14] Production.INFO: call_cost end
[2025-03-10 03:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:18:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:18:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:18:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:18:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:18:15] Production.INFO: ==26057== Releasing lock...
[2025-03-10 03:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:18:17] Production.INFO: count ==307
[2025-03-10 03:18:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:18:05 - End Time 2025-03-10 03:18:05
[2025-03-10 03:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646710', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646710', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646710', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646710', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:18:17] Production.INFO: ProcessCDR(1,14646710,1,1,2)
[2025-03-10 03:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646710', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646710', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:18:21] Production.INFO: ==26065== Releasing lock...
[2025-03-10 03:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:18:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:19:02] Production.INFO: ==26133== Lock acquired, processing the job...
[2025-03-10 07:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:19:02] Production.INFO: neon service started
[2025-03-10 07:19:02] Production.INFO: neon service started
[2025-03-10 07:19:02] Production.INFO: ==26133== Releasing lock...
[2025-03-10 07:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:19:02] Production.INFO: ==26135== Lock acquired, processing the job...
[2025-03-10 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:19:02] Production.INFO: ==26135== Releasing lock...
[2025-03-10 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:19:02] Production.INFO: ==26137== Lock acquired, processing the job...
[2025-03-10 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:19:03] Production.INFO: ==26137== Releasing lock...
[2025-03-10 07:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:19:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:19:03] Production.INFO: ==26144== Lock acquired, processing the job...
[2025-03-10 03:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:19:03] Production.INFO: ==26152== Lock acquired, processing the job...
[2025-03-10 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:19:03] Production.INFO: ==26140== Lock acquired, processing the job...
[2025-03-10 03:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:19:03] Production.INFO: ==26142== Lock acquired, processing the job...
[2025-03-10 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 03:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:19:03] Production.INFO: ==26147== Lock acquired, processing the job...
[2025-03-10 03:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:19:03] Production.INFO: count ==13
[2025-03-10 03:19:04] Production.INFO: ==26149== Lock acquired, processing the job...
[2025-03-10 03:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03: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-03-10 03:19:04] Production.INFO: count ==21
[2025-03-10 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646711') start
[2025-03-10 03:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:19:04] Production.INFO: Account Balance Start.
[2025-03-10 03:19:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646711') end
[2025-03-10 03:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:19:04] Production.INFO: 1
[2025-03-10 03:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:19:04] Production.INFO: 117
[2025-03-10 03:19:04] Production.INFO: ==26152== Releasing lock...
[2025-03-10 03:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:19:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:19:04] Production.INFO: ==26142== Releasing lock...
[2025-03-10 03:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:19:04] Production.ERROR: done
[2025-03-10 03:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:19:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:19:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:19:04] Production.ERROR: done
[2025-03-10 03:19:04] Production.INFO: Total Charge 0
[2025-03-10 03:19:04] Production.INFO: CreateAllLog End
[2025-03-10 03:19:05] Production.INFO: Account Balance End.
[2025-03-10 03:19:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:19:05] Production.INFO: ==26147== Releasing lock...
[2025-03-10 03:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:19:05
[end_date_ymd] => 2025-03-10 03:19:05
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:19:05' and `end` < '2025-03-10 03: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-03-10 03:19:12] Production.ERROR: CronJobId end10
[2025-03-10 03:19:12] Production.INFO: ==26144== Releasing lock...
[2025-03-10 03:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:19:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:19:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:19:14] Production.INFO: call_cost start
[2025-03-10 03:19:14] Production.INFO: call_cost end
[2025-03-10 03:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:19:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:19:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:19:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:19:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:19:15] Production.INFO: ==26140== Releasing lock...
[2025-03-10 03:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:19:17] Production.INFO: count ==307
[2025-03-10 03:19:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:19:05 - End Time 2025-03-10 03:19:05
[2025-03-10 03:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646715', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646715', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646715', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646715', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:19:17] Production.INFO: ProcessCDR(1,14646715,1,1,2)
[2025-03-10 03:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646715', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646715', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:19:21] Production.INFO: ==26149== Releasing lock...
[2025-03-10 03:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:19:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:20:01] Production.INFO: ==26218== Lock acquired, processing the job...
[2025-03-10 07:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:20:01] Production.INFO: neon service started
[2025-03-10 07:20:01] Production.INFO: neon service started
[2025-03-10 07:20:01] Production.INFO: ==26218== Releasing lock...
[2025-03-10 07:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:20:02] Production.INFO: ==26220== Lock acquired, processing the job...
[2025-03-10 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:20:02] Production.INFO: ==26222== Lock acquired, processing the job...
[2025-03-10 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:20:02] Production.INFO: ==26222== Releasing lock...
[2025-03-10 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:20:02] Production.INFO: ==26220== Releasing lock...
[2025-03-10 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:20:03] Production.INFO: ==26225== Lock acquired, processing the job...
[2025-03-10 03:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 03:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 03:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 03:20:03] Production.INFO: ==26225== Releasing lock...
[2025-03-10 03:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 03:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 03:20:03] Production.INFO: ==26227== Lock acquired, processing the job...
[2025-03-10 03:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:20:04] Production.INFO: ==26229== Lock acquired, processing the job...
[2025-03-10 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:20:04] Production.INFO: ==26234== Lock acquired, processing the job...
[2025-03-10 03:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:20:04] Production.INFO: ==26231== Lock acquired, processing the job...
[2025-03-10 03:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:20:04] Production.INFO: Account Balance Start.
[2025-03-10 03:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:20:04] Production.INFO: 117
[2025-03-10 03:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:20:04] Production.INFO: ==26229== Releasing lock...
[2025-03-10 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:20:04] Production.INFO: ==26236== Lock acquired, processing the job...
[2025-03-10 03:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:20:04] Production.INFO: Total Charge 0
[2025-03-10 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:20:04] Production.INFO: ==26238== Lock acquired, processing the job...
[2025-03-10 03:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 03:20:04] Production.INFO: ==26240== Lock acquired, processing the job...
[2025-03-10 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:20:04] Production.INFO: CreateAllLog End
[2025-03-10 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 03:20:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:20:04] Production.INFO: count ==21
[2025-03-10 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646719') start
[2025-03-10 03:20:05] Production.INFO: Account Balance End.
[2025-03-10 03:20:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:20:05] Production.INFO: ==26234== Releasing lock...
[2025-03-10 03:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646719') end
[2025-03-10 03:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:20:05] Production.INFO: 1
[2025-03-10 03:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:20:05] Production.ERROR: done
[2025-03-10 03:20:05] Production.ERROR: done
[2025-03-10 03:20:05] Production.INFO: ==26240== Releasing lock...
[2025-03-10 03:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 03:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646720', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 03:20:05] Production.ERROR: done
[2025-03-10 03:20:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:20:07
[end_date_ymd] => 2025-03-10 03:20:07
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:20:07' and `end` < '2025-03-10 03: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-03-10 03:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646720', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 03:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 03:20:10] Production.INFO: ProcessCDR(1,14646720,1,1,2)
[2025-03-10 03:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646720,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646720,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:20:10] Production.INFO: ==26238== Releasing lock...
[2025-03-10 03:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 03:20:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 03:20:14] Production.ERROR: CronJobId end10
[2025-03-10 03:20:14] Production.INFO: ==26231== Releasing lock...
[2025-03-10 03:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:20:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:20:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:20:17] Production.INFO: call_cost start
[2025-03-10 03:20:17] Production.INFO: call_cost end
[2025-03-10 03:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:20:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:20:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:20:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:20:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:20:17] Production.INFO: ==26227== Releasing lock...
[2025-03-10 03:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:20:19] Production.INFO: count ==294
[2025-03-10 03:20:19] Production.ERROR: pbx CDR StartTime 2025-03-10 00:20:07 - End Time 2025-03-10 03:20:07
[2025-03-10 03:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646721', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646721', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646721', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646721', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:20:19] Production.INFO: ProcessCDR(1,14646721,1,1,2)
[2025-03-10 03:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646721', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646721', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:20:22] Production.INFO: ==26236== Releasing lock...
[2025-03-10 03:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:20:22] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:21:02] Production.INFO: ==26304== Lock acquired, processing the job...
[2025-03-10 07:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:21:02] Production.INFO: neon service started
[2025-03-10 07:21:02] Production.INFO: neon service started
[2025-03-10 07:21:02] Production.INFO: ==26304== Releasing lock...
[2025-03-10 07:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:21:02] Production.INFO: ==26306== Lock acquired, processing the job...
[2025-03-10 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:21:02] Production.INFO: ==26306== Releasing lock...
[2025-03-10 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:21:02] Production.INFO: ==26308== Lock acquired, processing the job...
[2025-03-10 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:21:02] Production.INFO: ==26308== Releasing lock...
[2025-03-10 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:21:03] Production.INFO: ==26321== Lock acquired, processing the job...
[2025-03-10 03:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:21:03] Production.INFO: ==26323== Lock acquired, processing the job...
[2025-03-10 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:21:03] Production.INFO: ==26313== Lock acquired, processing the job...
[2025-03-10 03:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:21:03] Production.INFO: ==26317== Lock acquired, processing the job...
[2025-03-10 03:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:21:03] Production.INFO: ==26315== Lock acquired, processing the job...
[2025-03-10 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:21:03] Production.INFO: ==26319== Lock acquired, processing the job...
[2025-03-10 03:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03: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-03-10 03:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:21:04] Production.INFO: count ==13
[2025-03-10 03:21:04] Production.INFO: Account Balance Start.
[2025-03-10 03:21:04] Production.INFO: CreateAllLog Start
[2025-03-10 03: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-03-10 03:21:04] Production.INFO: 117
[2025-03-10 03:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:21:04] Production.INFO: count ==21
[2025-03-10 03:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:21:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646722') start
[2025-03-10 03:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:21:04] Production.ERROR: done
[2025-03-10 03:21:04] Production.INFO: Total Charge 0
[2025-03-10 03:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:21:04] Production.INFO: CreateAllLog End
[2025-03-10 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646722') end
[2025-03-10 03:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:21:04] Production.INFO: 1
[2025-03-10 03:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:21:04] Production.INFO: ==26323== Releasing lock...
[2025-03-10 03:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:21:04] Production.INFO: ==26315== Releasing lock...
[2025-03-10 03:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:21:04] Production.ERROR: done
[2025-03-10 03:21:04] Production.INFO: Account Balance End.
[2025-03-10 03:21:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:21:04] Production.INFO: ==26319== Releasing lock...
[2025-03-10 03:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:21:05
[end_date_ymd] => 2025-03-10 03:21:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:21:05' and `end` < '2025-03-10 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-03-10 03:21:13] Production.ERROR: CronJobId end10
[2025-03-10 03:21:13] Production.INFO: ==26317== Releasing lock...
[2025-03-10 03:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:21:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:21:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:21:14] Production.INFO: call_cost start
[2025-03-10 03:21:14] Production.INFO: call_cost end
[2025-03-10 03:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:21:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:21:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:21:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:21:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:21:15] Production.INFO: ==26313== Releasing lock...
[2025-03-10 03:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:21:17] Production.INFO: count ==291
[2025-03-10 03:21:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:21:05 - End Time 2025-03-10 03:21:05
[2025-03-10 03:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646726', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646726', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646726', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646726', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:21:17] Production.INFO: ProcessCDR(1,14646726,1,1,2)
[2025-03-10 03:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646726', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646726', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:21:22] Production.INFO: ==26321== Releasing lock...
[2025-03-10 03:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:21:22] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:22:01] Production.INFO: ==26388== Lock acquired, processing the job...
[2025-03-10 07:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:22:01] Production.INFO: neon service started
[2025-03-10 07:22:01] Production.INFO: neon service started
[2025-03-10 07:22:01] Production.INFO: ==26388== Releasing lock...
[2025-03-10 07:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:22:02] Production.INFO: ==26390== Lock acquired, processing the job...
[2025-03-10 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:22:02] Production.INFO: ==26392== Lock acquired, processing the job...
[2025-03-10 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:22:02] Production.INFO: ==26392== Releasing lock...
[2025-03-10 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:22:02] Production.INFO: ==26390== Releasing lock...
[2025-03-10 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:22:03] Production.INFO: ==26395== Lock acquired, processing the job...
[2025-03-10 03:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:22:03] Production.INFO: ==26397== Lock acquired, processing the job...
[2025-03-10 03:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:22:03] Production.INFO: ==26403== Lock acquired, processing the job...
[2025-03-10 03:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:22:03] Production.INFO: ==26399== Lock acquired, processing the job...
[2025-03-10 03:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:22:03] Production.INFO: ==26401== Lock acquired, processing the job...
[2025-03-10 03:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:22:03] Production.INFO: ==26405== Lock acquired, processing the job...
[2025-03-10 03:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:22:03] Production.INFO: ==26397== Releasing lock...
[2025-03-10 03:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:22:04] Production.INFO: Account Balance Start.
[2025-03-10 03:22:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:22:04] Production.INFO: 117
[2025-03-10 03:22:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 03:22:04] Production.ERROR: done
[2025-03-10 03:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:22:04] Production.INFO: count ==13
[2025-03-10 03:22:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 03:22:04] Production.INFO: count ==21
[2025-03-10 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646730') start
[2025-03-10 03:22:04] Production.ERROR: done
[2025-03-10 03:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646730') end
[2025-03-10 03:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:22:04] Production.INFO: 1
[2025-03-10 03:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:22:04] Production.INFO: Total Charge 0
[2025-03-10 03:22:04] Production.INFO: ==26405== Releasing lock...
[2025-03-10 03:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:22:04] Production.INFO: CreateAllLog End
[2025-03-10 03:22:04] Production.INFO: Account Balance End.
[2025-03-10 03:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:22:04] Production.INFO: ==26401== Releasing lock...
[2025-03-10 03:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:22:05
[end_date_ymd] => 2025-03-10 03:22:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:22:05' and `end` < '2025-03-10 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-03-10 03:22:12] Production.ERROR: CronJobId end10
[2025-03-10 03:22:12] Production.INFO: ==26399== Releasing lock...
[2025-03-10 03:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:22:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:22:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:22:15] Production.INFO: call_cost start
[2025-03-10 03:22:15] Production.INFO: call_cost end
[2025-03-10 03:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:22:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:22:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:22:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:22:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:22:16] Production.INFO: ==26395== Releasing lock...
[2025-03-10 03:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:22:17] Production.INFO: count ==290
[2025-03-10 03:22:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:22:05 - End Time 2025-03-10 03:22:05
[2025-03-10 03:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646731', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646731', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646731', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646731', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:22:17] Production.INFO: ProcessCDR(1,14646731,1,1,2)
[2025-03-10 03:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646731', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646731', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:22:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:22:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:22:20] Production.INFO: ==26403== Releasing lock...
[2025-03-10 03:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:22:20] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:23:02] Production.INFO: ==26470== Lock acquired, processing the job...
[2025-03-10 07:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:23:02] Production.INFO: neon service started
[2025-03-10 07:23:02] Production.INFO: neon service started
[2025-03-10 07:23:02] Production.INFO: ==26470== Releasing lock...
[2025-03-10 07:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:23:02] Production.INFO: ==26472== Lock acquired, processing the job...
[2025-03-10 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:23:02] Production.INFO: ==26472== Releasing lock...
[2025-03-10 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:23:02] Production.INFO: ==26474== Lock acquired, processing the job...
[2025-03-10 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:23:03] Production.INFO: ==26474== Releasing lock...
[2025-03-10 07:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:23:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:23:03] Production.INFO: ==26478== Lock acquired, processing the job...
[2025-03-10 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:23:03] Production.INFO: ==26476== Lock acquired, processing the job...
[2025-03-10 03:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:23:03] Production.INFO: ==26484== Lock acquired, processing the job...
[2025-03-10 03:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:23:03] Production.INFO: ==26480== Lock acquired, processing the job...
[2025-03-10 03:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:23:04] Production.INFO: ==26482== Lock acquired, processing the job...
[2025-03-10 03:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:23:04] Production.INFO: ==26486== Lock acquired, processing the job...
[2025-03-10 03:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:23:04] Production.INFO: ==26478== Releasing lock...
[2025-03-10 03:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03: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-03-10 03:23:04] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:23:04] Production.INFO: Account Balance Start.
[2025-03-10 03:23:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:23:04] Production.INFO: 117
[2025-03-10 03:23:04] Production.INFO: count ==21
[2025-03-10 03:23:04] Production.ERROR: done
[2025-03-10 03:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646734') start
[2025-03-10 03:23:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:23:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:23:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:23:04] Production.INFO: Total Charge 0
[2025-03-10 03:23:04] Production.INFO: CreateAllLog End
[2025-03-10 03:23:04] Production.ERROR: done
[2025-03-10 03:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646734') end
[2025-03-10 03:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:23:04] Production.INFO: 1
[2025-03-10 03:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:23:04] Production.INFO: ==26486== Releasing lock...
[2025-03-10 03:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:23:04] Production.INFO: Account Balance End.
[2025-03-10 03:23:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:23:04] Production.INFO: ==26482== Releasing lock...
[2025-03-10 03:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:23:05
[end_date_ymd] => 2025-03-10 03:23:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:23:05' and `end` < '2025-03-10 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-03-10 03:23:12] Production.ERROR: CronJobId end10
[2025-03-10 03:23:12] Production.INFO: ==26480== Releasing lock...
[2025-03-10 03:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:23:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:23:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:23:14] Production.INFO: call_cost start
[2025-03-10 03:23:14] Production.INFO: call_cost end
[2025-03-10 03:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:23:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:23:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:23:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:23:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:23:15] Production.INFO: ==26476== Releasing lock...
[2025-03-10 03:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:23:17] Production.INFO: count ==291
[2025-03-10 03:23:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:23:05 - End Time 2025-03-10 03:23:05
[2025-03-10 03:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646736', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646736', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646736', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646736', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:23:18] Production.INFO: ProcessCDR(1,14646736,1,1,2)
[2025-03-10 03:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646736', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646736', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:23:22] Production.INFO: ==26484== Releasing lock...
[2025-03-10 03:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:23:22] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:24:01] Production.INFO: ==26553== Lock acquired, processing the job...
[2025-03-10 07:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:24:01] Production.INFO: neon service started
[2025-03-10 07:24:01] Production.INFO: neon service started
[2025-03-10 07:24:01] Production.INFO: ==26553== Releasing lock...
[2025-03-10 07:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:24:01] Production.INFO: ==26555== Lock acquired, processing the job...
[2025-03-10 03:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:24:02] Production.INFO: ==26555== Releasing lock...
[2025-03-10 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:24:02] Production.INFO: ==26557== Lock acquired, processing the job...
[2025-03-10 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:24:02] Production.INFO: ==26557== Releasing lock...
[2025-03-10 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:24:03] Production.INFO: ==26564== Lock acquired, processing the job...
[2025-03-10 03:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:24:03] Production.INFO: ==26570== Lock acquired, processing the job...
[2025-03-10 03:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:24:03] Production.INFO: ==26560== Lock acquired, processing the job...
[2025-03-10 03:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:24:03] Production.INFO: ==26562== Lock acquired, processing the job...
[2025-03-10 03:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:24:03] Production.INFO: ==26568== Lock acquired, processing the job...
[2025-03-10 03:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:24:03] Production.INFO: ==26566== Lock acquired, processing the job...
[2025-03-10 03:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03: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-03-10 03:24:03] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:24:03] Production.INFO: count ==21
[2025-03-10 03:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646737') start
[2025-03-10 03:24:03] Production.INFO: Account Balance Start.
[2025-03-10 03:24:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:24:03] Production.INFO: 117
[2025-03-10 03:24:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646737') end
[2025-03-10 03:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:24:03] Production.INFO: 1
[2025-03-10 03:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:24:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:24:03] Production.INFO: Date 2025-03-09
[2025-03-10 03:24:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:24:03] Production.INFO: ==26570== Releasing lock...
[2025-03-10 03:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:24:03] Production.INFO: ==26562== Releasing lock...
[2025-03-10 03:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:24:04] Production.ERROR: done
[2025-03-10 03:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:24:04] Production.INFO: Total Charge 0
[2025-03-10 03:24:04] Production.INFO: CreateAllLog End
[2025-03-10 03:24:04] Production.ERROR: done
[2025-03-10 03:24:04] Production.INFO: Account Balance End.
[2025-03-10 03:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:24:04] Production.INFO: ==26566== Releasing lock...
[2025-03-10 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:24:05
[end_date_ymd] => 2025-03-10 03:24:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:24:05' and `end` < '2025-03-10 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-03-10 03:24:11] Production.ERROR: CronJobId end10
[2025-03-10 03:24:11] Production.INFO: ==26564== Releasing lock...
[2025-03-10 03:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:24:15] Production.INFO: call_cost start
[2025-03-10 03:24:15] Production.INFO: call_cost end
[2025-03-10 03:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:24:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:24:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:24:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:24:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:24:16] Production.INFO: ==26560== Releasing lock...
[2025-03-10 03:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:24:17] Production.INFO: count ==291
[2025-03-10 03:24:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:24:05 - End Time 2025-03-10 03:24:05
[2025-03-10 03:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646741', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646741', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646741', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646741', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:24:17] Production.INFO: ProcessCDR(1,14646741,1,1,2)
[2025-03-10 03:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646741', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646741', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:24:21] Production.INFO: ==26568== Releasing lock...
[2025-03-10 03:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:24:21] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 07:25:02] Production.INFO: ==26637== Lock acquired, processing the job...
[2025-03-10 07:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:25:02] Production.INFO: neon service started
[2025-03-10 07:25:02] Production.INFO: neon service started
[2025-03-10 07:25:02] Production.INFO: ==26637== Releasing lock...
[2025-03-10 07:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:25:02] Production.INFO: ==26641== Lock acquired, processing the job...
[2025-03-10 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:25:02] Production.INFO: ==26639== Lock acquired, processing the job...
[2025-03-10 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:25:02] Production.INFO: ==26641== Releasing lock...
[2025-03-10 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:25:03] Production.INFO: ==26639== Releasing lock...
[2025-03-10 03:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:25:03] Production.INFO: ==26644== Lock acquired, processing the job...
[2025-03-10 03:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:25:03] Production.INFO: ==26648== Lock acquired, processing the job...
[2025-03-10 03:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:25:03] Production.INFO: ==26650== Lock acquired, processing the job...
[2025-03-10 03:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:25:03] Production.INFO: Account Balance Start.
[2025-03-10 03:25:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:25:03] Production.INFO: 117
[2025-03-10 03:25:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:25:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:25:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:25:04] Production.INFO: Total Charge 0
[2025-03-10 03:25:04] Production.INFO: ==26646== Lock acquired, processing the job...
[2025-03-10 03:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:25:04] Production.INFO: CreateAllLog End
[2025-03-10 03:25:04] Production.INFO: ==26652== Lock acquired, processing the job...
[2025-03-10 03:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:25:04] Production.INFO: Account Balance End.
[2025-03-10 03:25:04] Production.INFO: ==26654== Lock acquired, processing the job...
[2025-03-10 03:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:25:04] Production.INFO: ==26650== Releasing lock...
[2025-03-10 03:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:25:04] Production.INFO: ==26646== Releasing lock...
[2025-03-10 03:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03: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-03-10 03:25:04] Production.INFO: count ==13
[2025-03-10 03:25:04] Production.ERROR: done
[2025-03-10 03:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03: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-03-10 03:25:04] Production.INFO: count ==21
[2025-03-10 03:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646745') start
[2025-03-10 03:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646745') end
[2025-03-10 03:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:25:04] Production.INFO: 1
[2025-03-10 03:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:25:04] Production.ERROR: done
[2025-03-10 03:25:04] Production.INFO: ==26654== Releasing lock...
[2025-03-10 03:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:25:06
[end_date_ymd] => 2025-03-10 03:25:06
[RateCDR] => 1
)
[2025-03-10 03:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 00:25:06' and `end` < '2025-03-10 03:25:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 03:25:12] Production.ERROR: CronJobId end10
[2025-03-10 03:25:12] Production.INFO: ==26648== Releasing lock...
[2025-03-10 03:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:25:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:25:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:25:14] Production.INFO: call_cost start
[2025-03-10 03:25:14] Production.INFO: call_cost end
[2025-03-10 03:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:25:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:25:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:25:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:25:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:25:15] Production.INFO: ==26644== Releasing lock...
[2025-03-10 03:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:25:18] Production.INFO: count ==286
[2025-03-10 03:25:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:25:06 - End Time 2025-03-10 03:25:06
[2025-03-10 03:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646746', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646746', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646746', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646746', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:25:18] Production.INFO: ProcessCDR(1,14646746,1,1,2)
[2025-03-10 03:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646746', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646746', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:25:21] Production.INFO: ==26652== Releasing lock...
[2025-03-10 03:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:25:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:26:01] Production.INFO: ==26718== Lock acquired, processing the job...
[2025-03-10 07:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:26:01] Production.INFO: neon service started
[2025-03-10 07:26:01] Production.INFO: neon service started
[2025-03-10 07:26:01] Production.INFO: ==26718== Releasing lock...
[2025-03-10 07:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:26:02] Production.INFO: ==26720== Lock acquired, processing the job...
[2025-03-10 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:26:02] Production.INFO: ==26722== Lock acquired, processing the job...
[2025-03-10 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:26:02] Production.INFO: ==26722== Releasing lock...
[2025-03-10 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:26:02] Production.INFO: ==26720== Releasing lock...
[2025-03-10 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:26:03] Production.INFO: ==26733== Lock acquired, processing the job...
[2025-03-10 03:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:26:03] Production.INFO: ==26731== Lock acquired, processing the job...
[2025-03-10 03:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:26:03] Production.INFO: Account Balance Start.
[2025-03-10 03:26:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:26:03] Production.INFO: 117
[2025-03-10 03:26:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:26:03] Production.INFO: ==26725== Lock acquired, processing the job...
[2025-03-10 03:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:26:03] Production.INFO: ==26727== Lock acquired, processing the job...
[2025-03-10 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:26:03] Production.INFO: ==26735== Lock acquired, processing the job...
[2025-03-10 03:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:26:03] Production.INFO: Date 2025-03-09
[2025-03-10 03:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:26:03] Production.INFO: ==26729== Lock acquired, processing the job...
[2025-03-10 03:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:26:03] Production.INFO: Date 2025-03-10
[2025-03-10 03:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 03: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-03-10 03:26:03] Production.INFO: Total Charge 0
[2025-03-10 03:26:03] Production.INFO: CreateAllLog End
[2025-03-10 03:26:03] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:26:03] Production.INFO: count ==21
[2025-03-10 03:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646748') start
[2025-03-10 03:26:04] Production.ERROR: done
[2025-03-10 03:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646748') end
[2025-03-10 03:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:26:04] Production.INFO: 1
[2025-03-10 03:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:26:04] Production.INFO: ==26735== Releasing lock...
[2025-03-10 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:26:04] Production.INFO: ==26727== Releasing lock...
[2025-03-10 03:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:26:04] Production.INFO: Account Balance End.
[2025-03-10 03:26:04] Production.ERROR: done
[2025-03-10 03:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:26:04] Production.INFO: ==26731== Releasing lock...
[2025-03-10 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:26:05
[end_date_ymd] => 2025-03-10 03:26:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:26:05' and `end` < '2025-03-10 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-03-10 03:26:11] Production.ERROR: CronJobId end10
[2025-03-10 03:26:11] Production.INFO: ==26729== Releasing lock...
[2025-03-10 03:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:26:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:26:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:26:14] Production.INFO: call_cost start
[2025-03-10 03:26:14] Production.INFO: call_cost end
[2025-03-10 03:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:26:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:26:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:26:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:26:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:26:15] Production.INFO: ==26725== Releasing lock...
[2025-03-10 03:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:26:17] Production.INFO: count ==282
[2025-03-10 03:26:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:26:05 - End Time 2025-03-10 03:26:05
[2025-03-10 03:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646751', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646751', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646751', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646751', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:26:17] Production.INFO: ProcessCDR(1,14646751,1,1,2)
[2025-03-10 03:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646751', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646751', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:26:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:26:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:26:20] Production.INFO: ==26733== Releasing lock...
[2025-03-10 03:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:26:20] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:27:01] Production.INFO: ==26801== Lock acquired, processing the job...
[2025-03-10 07:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:27:01] Production.INFO: neon service started
[2025-03-10 07:27:01] Production.INFO: neon service started
[2025-03-10 07:27:01] Production.INFO: ==26801== Releasing lock...
[2025-03-10 07:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:27:02] Production.INFO: ==26803== Lock acquired, processing the job...
[2025-03-10 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:27:02] Production.INFO: ==26803== Releasing lock...
[2025-03-10 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:27:02] Production.INFO: ==26805== Lock acquired, processing the job...
[2025-03-10 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:27:02] Production.INFO: ==26805== Releasing lock...
[2025-03-10 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:27:03] Production.INFO: ==26813== Lock acquired, processing the job...
[2025-03-10 03:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:27:03] Production.INFO: ==26817== Lock acquired, processing the job...
[2025-03-10 03:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:27:03] Production.INFO: Account Balance Start.
[2025-03-10 03:27:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:27:03] Production.INFO: ==26809== Lock acquired, processing the job...
[2025-03-10 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:27:03] Production.INFO: 117
[2025-03-10 03:27:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:27:03] Production.INFO: ==26807== Lock acquired, processing the job...
[2025-03-10 03:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:27:03] Production.INFO: ==26811== Lock acquired, processing the job...
[2025-03-10 03:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:27:03] Production.INFO: Date 2025-03-09
[2025-03-10 03:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03: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-03-10 03:27:03] Production.INFO: count ==13
[2025-03-10 03:27:03] Production.INFO: Date 2025-03-10
[2025-03-10 03: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-03-10 03:27:03] Production.INFO: count ==21
[2025-03-10 03:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646753') start
[2025-03-10 03:27:03] Production.INFO: ==26815== Lock acquired, processing the job...
[2025-03-10 03:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:27:04] Production.INFO: Total Charge 0
[2025-03-10 03:27:04] Production.INFO: CreateAllLog End
[2025-03-10 03:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646753') end
[2025-03-10 03:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:27:04] Production.INFO: 1
[2025-03-10 03:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:27:04] Production.INFO: ==26817== Releasing lock...
[2025-03-10 03:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:27:04] Production.INFO: ==26809== Releasing lock...
[2025-03-10 03:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:27:04] Production.ERROR: done
[2025-03-10 03:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:27:04] Production.INFO: Account Balance End.
[2025-03-10 03:27:04] Production.ERROR: done
[2025-03-10 03:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:27:04] Production.INFO: ==26813== Releasing lock...
[2025-03-10 03:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:27:05
[end_date_ymd] => 2025-03-10 03:27:05
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:27:05' and `end` < '2025-03-10 03: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-03-10 03:27:11] Production.ERROR: CronJobId end10
[2025-03-10 03:27:11] Production.INFO: ==26811== Releasing lock...
[2025-03-10 03:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:27:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:27:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:27:15] Production.INFO: call_cost start
[2025-03-10 03:27:15] Production.INFO: call_cost end
[2025-03-10 03:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:27:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:27:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:27:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:27:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:27:15] Production.INFO: ==26807== Releasing lock...
[2025-03-10 03:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:27:17] Production.INFO: count ==276
[2025-03-10 03:27:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:27:05 - End Time 2025-03-10 03:27:05
[2025-03-10 03:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646756', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646756', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646756', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646756', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:27:17] Production.INFO: ProcessCDR(1,14646756,1,1,2)
[2025-03-10 03:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646756', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646756', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:27:21] Production.INFO: ==26815== Releasing lock...
[2025-03-10 03:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:27:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:28:02] Production.INFO: ==26879== Lock acquired, processing the job...
[2025-03-10 07:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:28:02] Production.INFO: neon service started
[2025-03-10 07:28:02] Production.INFO: neon service started
[2025-03-10 07:28:02] Production.INFO: ==26879== Releasing lock...
[2025-03-10 07:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:28:02] Production.INFO: ==26881== Lock acquired, processing the job...
[2025-03-10 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:28:03] Production.INFO: ==26881== Releasing lock...
[2025-03-10 03:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:28:03] Production.INFO: ==26883== Lock acquired, processing the job...
[2025-03-10 07:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:28:03] Production.INFO: ==26883== Releasing lock...
[2025-03-10 07:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:28:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:28:03] Production.INFO: ==26894== Lock acquired, processing the job...
[2025-03-10 03:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:28:03] Production.INFO: ==26890== Lock acquired, processing the job...
[2025-03-10 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:28:04] Production.INFO: ==26888== Lock acquired, processing the job...
[2025-03-10 03:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:28:04] Production.INFO: ==26892== Lock acquired, processing the job...
[2025-03-10 03:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:28:04] Production.INFO: ==26898== Lock acquired, processing the job...
[2025-03-10 03:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:28:04] Production.INFO: Account Balance Start.
[2025-03-10 03:28:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:28:04] Production.INFO: 117
[2025-03-10 03:28:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 03: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-03-10 03:28:04] Production.INFO: count ==13
[2025-03-10 03:28:04] Production.INFO: ==26896== Lock acquired, processing the job...
[2025-03-10 03:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03: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-03-10 03:28:04] Production.INFO: ==26890== Releasing lock...
[2025-03-10 03:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:28:04] Production.INFO: count ==21
[2025-03-10 03:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646759') start
[2025-03-10 03:28:04] Production.INFO: Total Charge 0
[2025-03-10 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646759') end
[2025-03-10 03:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:28:04] Production.INFO: 1
[2025-03-10 03:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:28:04] Production.INFO: CreateAllLog End
[2025-03-10 03:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:28:04] Production.INFO: ==26898== Releasing lock...
[2025-03-10 03:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:28:04] Production.INFO: Account Balance End.
[2025-03-10 03:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:28:04] Production.INFO: ==26894== Releasing lock...
[2025-03-10 03:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:28:04] Production.ERROR: done
[2025-03-10 03:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:28:05] Production.ERROR: done
[2025-03-10 03:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:28:06
[end_date_ymd] => 2025-03-10 03:28:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:28:06' and `end` < '2025-03-10 03: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-03-10 03:28:13] Production.ERROR: CronJobId end10
[2025-03-10 03:28:13] Production.INFO: ==26892== Releasing lock...
[2025-03-10 03:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:28:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:28:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:28:15] Production.INFO: call_cost start
[2025-03-10 03:28:15] Production.INFO: call_cost end
[2025-03-10 03:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:28:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:28:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:28:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:28:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:28:16] Production.INFO: ==26888== Releasing lock...
[2025-03-10 03:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:28:18] Production.INFO: count ==269
[2025-03-10 03:28:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:28:06 - End Time 2025-03-10 03:28:06
[2025-03-10 03:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646761', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646761', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646761', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646761', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:28:18] Production.INFO: ProcessCDR(1,14646761,1,1,2)
[2025-03-10 03:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646761', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646761', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:28:21] Production.INFO: ==26896== Releasing lock...
[2025-03-10 03:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:28:21] Production.INFO: 30.25 MB #Memory Used#
[2025-03-10 07:29:01] Production.INFO: ==26960== Lock acquired, processing the job...
[2025-03-10 07:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:29:01] Production.INFO: neon service started
[2025-03-10 07:29:01] Production.INFO: neon service started
[2025-03-10 07:29:01] Production.INFO: ==26960== Releasing lock...
[2025-03-10 07:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:29:02] Production.INFO: ==26962== Lock acquired, processing the job...
[2025-03-10 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:29:02] Production.INFO: ==26962== Releasing lock...
[2025-03-10 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:29:02] Production.INFO: ==26964== Lock acquired, processing the job...
[2025-03-10 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:29:02] Production.INFO: ==26964== Releasing lock...
[2025-03-10 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:29:03] Production.INFO: ==26977== Lock acquired, processing the job...
[2025-03-10 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:29:03] Production.INFO: ==26973== Lock acquired, processing the job...
[2025-03-10 03:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03: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-03-10 03:29:03] Production.INFO: Account Balance Start.
[2025-03-10 03:29:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:29:03] Production.INFO: 117
[2025-03-10 03:29:03] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:29:03] Production.INFO: count ==21
[2025-03-10 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646762') start
[2025-03-10 03:29:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:29:03] Production.INFO: ==26967== Lock acquired, processing the job...
[2025-03-10 03:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:29:03] Production.INFO: ==26969== Lock acquired, processing the job...
[2025-03-10 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:29:03] Production.INFO: Date 2025-03-09
[2025-03-10 03:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646762') end
[2025-03-10 03:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:29:03] Production.INFO: 1
[2025-03-10 03:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:29:03] Production.INFO: Date 2025-03-10
[2025-03-10 03:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:29:03] Production.INFO: ==26971== Lock acquired, processing the job...
[2025-03-10 03:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:29:03] Production.INFO: Total Charge 0
[2025-03-10 03:29:03] Production.INFO: ==26977== Releasing lock...
[2025-03-10 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:29:03] Production.INFO: ==26975== Lock acquired, processing the job...
[2025-03-10 03:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:29:03] Production.INFO: CreateAllLog End
[2025-03-10 03:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:29:03] Production.INFO: Account Balance End.
[2025-03-10 03:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:29:04] Production.INFO: ==26973== Releasing lock...
[2025-03-10 03:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:29:04] Production.INFO: ==26969== Releasing lock...
[2025-03-10 03:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:29:04] Production.ERROR: done
[2025-03-10 03:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:29:04] Production.ERROR: done
[2025-03-10 03:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:29:05
[end_date_ymd] => 2025-03-10 03:29:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:29:05' and `end` < '2025-03-10 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-03-10 03:29:12] Production.ERROR: CronJobId end10
[2025-03-10 03:29:12] Production.INFO: ==26971== Releasing lock...
[2025-03-10 03:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:29:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:29:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:29:15] Production.INFO: call_cost start
[2025-03-10 03:29:15] Production.INFO: call_cost end
[2025-03-10 03:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:29:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:29:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:29:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:29:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:29:15] Production.INFO: ==26967== Releasing lock...
[2025-03-10 03:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:29:17] Production.INFO: count ==268
[2025-03-10 03:29:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:29:05 - End Time 2025-03-10 03:29:05
[2025-03-10 03:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646766', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646766', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646766', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646766', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:29:17] Production.INFO: ProcessCDR(1,14646766,1,1,2)
[2025-03-10 03:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646766', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646766', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:29:21] Production.INFO: ==26975== Releasing lock...
[2025-03-10 03:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:29:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:30:02] Production.INFO: ==27088== Lock acquired, processing the job...
[2025-03-10 07:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:30:02] Production.INFO: neon service started
[2025-03-10 07:30:02] Production.INFO: neon service started
[2025-03-10 07:30:02] Production.INFO: ==27088== Releasing lock...
[2025-03-10 07:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:30:02] Production.INFO: ==27092== Lock acquired, processing the job...
[2025-03-10 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:30:02] Production.INFO: ==27092== Releasing lock...
[2025-03-10 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:30:02] Production.INFO: ==27090== Lock acquired, processing the job...
[2025-03-10 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:30:03] Production.INFO: ==27090== Releasing lock...
[2025-03-10 03:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:30:04] Production.INFO: ==27103== Lock acquired, processing the job...
[2025-03-10 03:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:30:04] Production.INFO: ==27107== Lock acquired, processing the job...
[2025-03-10 03:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:30:04] Production.INFO: ==27105== Lock acquired, processing the job...
[2025-03-10 03:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:30:04] Production.INFO: Account Balance Start.
[2025-03-10 03:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:30:04] Production.INFO: 117
[2025-03-10 03:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:30:04] Production.INFO: ==27095== Lock acquired, processing the job...
[2025-03-10 03:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 03:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:30:04] Production.INFO: ==27097== Lock acquired, processing the job...
[2025-03-10 03:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:30:04] Production.INFO: Total Charge 0
[2025-03-10 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:30:04] Production.INFO: ==27099== Lock acquired, processing the job...
[2025-03-10 03:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 03:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 03:30:04] Production.ERROR: CronJob PID - 27097
[2025-03-10 03:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 03:30:04] Production.ERROR: CronJob ID - 5
[2025-03-10 03:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 03:30:00
[2025-03-10 03:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 03:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 03:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 03:30:04] Production.ERROR: CronJob PID - 27103
[2025-03-10 03:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 03:30:04] Production.ERROR: CronJob ID - 12
[2025-03-10 03:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 03:30:00
[2025-03-10 03:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 03:30:04] Production.INFO: CreateAllLog End
[2025-03-10 03:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 03:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 03:30:04] Production.ERROR: CronJob PID - 27105
[2025-03-10 03:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 03:30:04] Production.ERROR: CronJob ID - 16
[2025-03-10 03:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 03:30:00
[2025-03-10 03:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 03:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 03:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 03:30:04] Production.ERROR: CronJob PID - 27107
[2025-03-10 03:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 03:30:04] Production.ERROR: CronJob ID - 17
[2025-03-10 03:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 03:30:00
[2025-03-10 03:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 03:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 03:30:04] Production.INFO: ==27101== Lock acquired, processing the job...
[2025-03-10 03:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:30:04] Production.INFO: ==27109== Lock acquired, processing the job...
[2025-03-10 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 03:30:04] Production.INFO: ==27095== Releasing lock...
[2025-03-10 03:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 03:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 03:30:04] Production.ERROR: done
[2025-03-10 03:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 03:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646770', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 03:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 03:30:05] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:30:05] Production.INFO: count ==21
[2025-03-10 03:30:05] Production.ERROR: done
[2025-03-10 03:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646769') start
[2025-03-10 03:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:30:05] Production.INFO: Account Balance End.
[2025-03-10 03:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646769') end
[2025-03-10 03:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:30:05] Production.INFO: 1
[2025-03-10 03:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:30:05] Production.INFO: ==27109== Releasing lock...
[2025-03-10 03:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:30:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:30:05] Production.INFO: ==27103== Releasing lock...
[2025-03-10 03:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:30:05] Production.ERROR: done
[2025-03-10 03:30:05] Production.INFO: ==27099== Releasing lock...
[2025-03-10 03:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:30:06
[end_date_ymd] => 2025-03-10 03:30:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:30:06' and `end` < '2025-03-10 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-03-10 03:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646770', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 03:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 03:30:09] Production.INFO: ProcessCDR(1,14646770,1,1,2)
[2025-03-10 03:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646770,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646770,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:30:09] Production.INFO: ==27107== Releasing lock...
[2025-03-10 03:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 03:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 03:30:15] Production.ERROR: CronJobId end10
[2025-03-10 03:30:15] Production.INFO: ==27101== Releasing lock...
[2025-03-10 03:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:30:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:30:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:30:18] Production.INFO: call_cost start
[2025-03-10 03:30:18] Production.INFO: call_cost end
[2025-03-10 03:30:18] Production.INFO: count ==262
[2025-03-10 03:30:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:30:06 - End Time 2025-03-10 03:30:06
[2025-03-10 03:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646772', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646772', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646772', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646772', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:30:18] Production.INFO: ProcessCDR(1,14646772,1,1,2)
[2025-03-10 03:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:30:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:30:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:30:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:30:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:30:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:30:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:30:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:30:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:30:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:30:19] Production.INFO: ==27097== Releasing lock...
[2025-03-10 03:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:30:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646772', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646772', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:30:22] Production.INFO: ==27105== Releasing lock...
[2025-03-10 03:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:30:22] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:31:01] Production.INFO: ==27174== Lock acquired, processing the job...
[2025-03-10 07:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:31:01] Production.INFO: neon service started
[2025-03-10 07:31:01] Production.INFO: neon service started
[2025-03-10 07:31:01] Production.INFO: ==27174== Releasing lock...
[2025-03-10 07:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:31:02] Production.INFO: ==27176== Lock acquired, processing the job...
[2025-03-10 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:31:02] Production.INFO: ==27176== Releasing lock...
[2025-03-10 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:31:02] Production.INFO: ==27178== Lock acquired, processing the job...
[2025-03-10 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:31:02] Production.INFO: ==27178== Releasing lock...
[2025-03-10 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:31:03] Production.INFO: ==27187== Lock acquired, processing the job...
[2025-03-10 03:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:31:03] Production.INFO: Account Balance Start.
[2025-03-10 03:31:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:31:03] Production.INFO: 117
[2025-03-10 03:31:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:31:03] Production.INFO: ==27191== Lock acquired, processing the job...
[2025-03-10 03:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:31:03] Production.INFO: Date 2025-03-09
[2025-03-10 03:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:31:03] Production.INFO: Date 2025-03-10
[2025-03-10 03:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:31:03] Production.INFO: Total Charge 0
[2025-03-10 03:31:03] Production.INFO: CreateAllLog End
[2025-03-10 03: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-03-10 03:31:03] Production.INFO: count ==13
[2025-03-10 03:31:03] Production.INFO: Account Balance End.
[2025-03-10 03:31:04] Production.INFO: ==27181== Lock acquired, processing the job...
[2025-03-10 03:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 03:31:04] Production.INFO: count ==21
[2025-03-10 03:31:04] Production.INFO: ==27183== Lock acquired, processing the job...
[2025-03-10 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:31:04] Production.INFO: ==27185== Lock acquired, processing the job...
[2025-03-10 03:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:31:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:31:04] Production.INFO: ==27187== Releasing lock...
[2025-03-10 03:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:31:04] Production.INFO: ==27189== Lock acquired, processing the job...
[2025-03-10 03:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646774') start
[2025-03-10 03:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646774') end
[2025-03-10 03:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:31:04] Production.INFO: 1
[2025-03-10 03:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:31:04] Production.INFO: ==27191== Releasing lock...
[2025-03-10 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:31:04] Production.INFO: ==27183== Releasing lock...
[2025-03-10 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:31:04] Production.ERROR: done
[2025-03-10 03:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:31:04] Production.ERROR: done
[2025-03-10 03:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:31:05
[end_date_ymd] => 2025-03-10 03:31:05
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:31:05' and `end` < '2025-03-10 03: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-03-10 03:31:12] Production.ERROR: CronJobId end10
[2025-03-10 03:31:12] Production.INFO: ==27185== Releasing lock...
[2025-03-10 03:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:31:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:31:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:31:16] Production.INFO: call_cost start
[2025-03-10 03:31:16] Production.INFO: call_cost end
[2025-03-10 03:31:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:31:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:31:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:31:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:31:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:31:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:31:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:31:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:31:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:31:17] Production.INFO: ==27181== Releasing lock...
[2025-03-10 03:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:31:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:31:17] Production.INFO: count ==262
[2025-03-10 03:31:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:31:05 - End Time 2025-03-10 03:31:05
[2025-03-10 03:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646777', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646777', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646777', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646777', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:31:17] Production.INFO: ProcessCDR(1,14646777,1,1,2)
[2025-03-10 03:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646777', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646777', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:31:21] Production.INFO: ==27189== Releasing lock...
[2025-03-10 03:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:31:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:32:02] Production.INFO: ==27255== Lock acquired, processing the job...
[2025-03-10 07:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:32:02] Production.INFO: neon service started
[2025-03-10 07:32:02] Production.INFO: neon service started
[2025-03-10 07:32:02] Production.INFO: ==27255== Releasing lock...
[2025-03-10 07:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:32:02] Production.INFO: ==27259== Lock acquired, processing the job...
[2025-03-10 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:32:02] Production.INFO: ==27259== Releasing lock...
[2025-03-10 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:32:03] Production.INFO: ==27257== Lock acquired, processing the job...
[2025-03-10 03:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:32:03] Production.INFO: ==27257== Releasing lock...
[2025-03-10 03:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:32:04] Production.INFO: ==27262== Lock acquired, processing the job...
[2025-03-10 03:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:32:04] Production.INFO: ==27270== Lock acquired, processing the job...
[2025-03-10 03:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:32:04] Production.INFO: ==27264== Lock acquired, processing the job...
[2025-03-10 03:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:32:04] Production.INFO: ==27266== Lock acquired, processing the job...
[2025-03-10 03:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:32:04] Production.INFO: ==27268== Lock acquired, processing the job...
[2025-03-10 03:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:32:04] Production.INFO: ==27272== Lock acquired, processing the job...
[2025-03-10 03:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:32:04] Production.ERROR: done
[2025-03-10 03:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:32:04] Production.INFO: Account Balance Start.
[2025-03-10 03:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:32:04] Production.INFO: 117
[2025-03-10 03:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 03:32:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:32:04] Production.INFO: count ==21
[2025-03-10 03:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646780') start
[2025-03-10 03:32:05] Production.INFO: Date 2025-03-10
[2025-03-10 03:32:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646780') end
[2025-03-10 03:32:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:32:05] Production.INFO: 1
[2025-03-10 03:32:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:32:05] Production.ERROR: done
[2025-03-10 03:32:05] Production.INFO: Total Charge 0
[2025-03-10 03:32:05] Production.INFO: ==27272== Releasing lock...
[2025-03-10 03:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:32:05] Production.INFO: CreateAllLog End
[2025-03-10 03:32:05] Production.INFO: ==27264== Releasing lock...
[2025-03-10 03:32:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:32:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:32:05] Production.INFO: Account Balance End.
[2025-03-10 03:32:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:32:05] Production.INFO: ==27268== Releasing lock...
[2025-03-10 03:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:32:06
[end_date_ymd] => 2025-03-10 03:32:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:32:06' and `end` < '2025-03-10 03: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-03-10 03:32:12] Production.ERROR: CronJobId end10
[2025-03-10 03:32:12] Production.INFO: ==27266== Releasing lock...
[2025-03-10 03:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:32:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:32:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:32:16] Production.INFO: call_cost start
[2025-03-10 03:32:16] Production.INFO: call_cost end
[2025-03-10 03:32:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:32:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:32:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:32:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:32:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:32:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:32:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:32:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:32:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:32:17] Production.INFO: ==27262== Releasing lock...
[2025-03-10 03:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:32:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:32:18] Production.INFO: count ==262
[2025-03-10 03:32:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:32:06 - End Time 2025-03-10 03:32:06
[2025-03-10 03:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646782', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646782', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646782', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646782', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:32:18] Production.INFO: ProcessCDR(1,14646782,1,1,2)
[2025-03-10 03:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646782', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646782', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:32:22] Production.INFO: ==27270== Releasing lock...
[2025-03-10 03:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:32:22] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:33:01] Production.INFO: ==27333== Lock acquired, processing the job...
[2025-03-10 07:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:33:01] Production.INFO: neon service started
[2025-03-10 07:33:01] Production.INFO: neon service started
[2025-03-10 07:33:01] Production.INFO: ==27333== Releasing lock...
[2025-03-10 07:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:33:02] Production.INFO: ==27335== Lock acquired, processing the job...
[2025-03-10 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:33:02] Production.INFO: ==27337== Lock acquired, processing the job...
[2025-03-10 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:33:02] Production.INFO: ==27337== Releasing lock...
[2025-03-10 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:33:02] Production.INFO: ==27335== Releasing lock...
[2025-03-10 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:33:03] Production.INFO: ==27342== Lock acquired, processing the job...
[2025-03-10 03:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:33:03] Production.INFO: ==27344== Lock acquired, processing the job...
[2025-03-10 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:33:03] Production.INFO: ==27348== Lock acquired, processing the job...
[2025-03-10 03:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:33:03] Production.INFO: Account Balance Start.
[2025-03-10 03:33:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:33:03] Production.INFO: 117
[2025-03-10 03:33:03] Production.INFO: ==27344== Releasing lock...
[2025-03-10 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:33:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:33:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:33:03] Production.INFO: Date 2025-03-09
[2025-03-10 03:33:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:33:04] Production.INFO: ==27346== Lock acquired, processing the job...
[2025-03-10 03:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:33:04] Production.INFO: Total Charge 0
[2025-03-10 03:33:04] Production.INFO: CreateAllLog End
[2025-03-10 03:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:33:04] Production.INFO: ==27350== Lock acquired, processing the job...
[2025-03-10 03:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:33:04] Production.INFO: Account Balance End.
[2025-03-10 03:33:04] Production.INFO: ==27352== Lock acquired, processing the job...
[2025-03-10 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:33:04] Production.INFO: ==27348== Releasing lock...
[2025-03-10 03:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03: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-03-10 03:33:04] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:33:04] Production.INFO: count ==21
[2025-03-10 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646786') start
[2025-03-10 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646786') end
[2025-03-10 03:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:33:04] Production.INFO: 1
[2025-03-10 03:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:33:04] Production.INFO: ==27352== Releasing lock...
[2025-03-10 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:33:04] Production.ERROR: done
[2025-03-10 03:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:33:04] Production.ERROR: done
[2025-03-10 03:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:33:05
[end_date_ymd] => 2025-03-10 03:33:05
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:33:05' and `end` < '2025-03-10 03: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-03-10 03:33:13] Production.ERROR: CronJobId end10
[2025-03-10 03:33:13] Production.INFO: ==27346== Releasing lock...
[2025-03-10 03:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:33:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:33:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:33:15] Production.INFO: call_cost start
[2025-03-10 03:33:15] Production.INFO: call_cost end
[2025-03-10 03:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:33:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:33:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:33:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:33:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:33:16] Production.INFO: ==27342== Releasing lock...
[2025-03-10 03:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:33:17] Production.INFO: count ==260
[2025-03-10 03:33:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:33:05 - End Time 2025-03-10 03:33:05
[2025-03-10 03:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646787', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646787', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646787', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646787', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:33:17] Production.INFO: ProcessCDR(1,14646787,1,1,2)
[2025-03-10 03:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646787', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646787', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:33:21] Production.INFO: ==27350== Releasing lock...
[2025-03-10 03:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:33:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:34:02] Production.INFO: ==27413== Lock acquired, processing the job...
[2025-03-10 07:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:34:02] Production.INFO: neon service started
[2025-03-10 07:34:02] Production.INFO: neon service started
[2025-03-10 07:34:02] Production.INFO: ==27413== Releasing lock...
[2025-03-10 07:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:34:02] Production.INFO: ==27417== Lock acquired, processing the job...
[2025-03-10 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:34:03] Production.INFO: ==27417== Releasing lock...
[2025-03-10 03:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:34:03] Production.INFO: ==27419== Lock acquired, processing the job...
[2025-03-10 07:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:34:03] Production.INFO: ==27419== Releasing lock...
[2025-03-10 07:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:34:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:34:04] Production.INFO: ==27425== Lock acquired, processing the job...
[2025-03-10 03:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:34:04] Production.INFO: ==27429== Lock acquired, processing the job...
[2025-03-10 03:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:34:04] Production.INFO: ==27421== Lock acquired, processing the job...
[2025-03-10 03:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:34:04] Production.INFO: ==27423== Lock acquired, processing the job...
[2025-03-10 03:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:34:04] Production.INFO: ==27427== Lock acquired, processing the job...
[2025-03-10 03:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:34:04] Production.INFO: ==27432== Lock acquired, processing the job...
[2025-03-10 03:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:34:04] Production.INFO: Account Balance Start.
[2025-03-10 03:34:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:34:04] Production.INFO: 117
[2025-03-10 03:34:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:34:04] Production.ERROR: done
[2025-03-10 03:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:34:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 03:34:04] Production.INFO: CreateAllLog End
[2025-03-10 03:34:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:34:04] Production.INFO: count ==21
[2025-03-10 03:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646791') start
[2025-03-10 03:34:04] Production.ERROR: done
[2025-03-10 03:34:04] Production.INFO: ==27423== Releasing lock...
[2025-03-10 03:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:34:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646791') end
[2025-03-10 03:34:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:34:05] Production.INFO: 1
[2025-03-10 03:34:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:34:05] Production.INFO: ==27432== Releasing lock...
[2025-03-10 03:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:34:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:34:05] Production.INFO: Account Balance End.
[2025-03-10 03:34:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:34:05] Production.INFO: ==27427== Releasing lock...
[2025-03-10 03:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:34:06
[end_date_ymd] => 2025-03-10 03:34:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:34:06' and `end` < '2025-03-10 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-03-10 03:34:13] Production.ERROR: CronJobId end10
[2025-03-10 03:34:13] Production.INFO: ==27425== Releasing lock...
[2025-03-10 03:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:34:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:34:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:34:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:34:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:34:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:34:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:34:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:34:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:34:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:34:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:34:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:34:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:34:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:34:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:34:16] Production.INFO: call_cost start
[2025-03-10 03:34:16] Production.INFO: call_cost end
[2025-03-10 03:34:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:34:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:34:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:34:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:34:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:34:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:34:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:34:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:34:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:34:17] Production.INFO: ==27421== Releasing lock...
[2025-03-10 03:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:34:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:34:18] Production.INFO: count ==259
[2025-03-10 03:34:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:34:06 - End Time 2025-03-10 03:34:06
[2025-03-10 03:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646792', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646792', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646792', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646792', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:34:18] Production.INFO: ProcessCDR(1,14646792,1,1,2)
[2025-03-10 03:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646792', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646792', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:34:21] Production.INFO: ==27429== Releasing lock...
[2025-03-10 03:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:34:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:35:01] Production.INFO: ==27501== Lock acquired, processing the job...
[2025-03-10 07:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:35:01] Production.INFO: neon service started
[2025-03-10 07:35:01] Production.INFO: neon service started
[2025-03-10 07:35:01] Production.INFO: ==27501== Releasing lock...
[2025-03-10 07:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:35:02] Production.INFO: ==27503== Lock acquired, processing the job...
[2025-03-10 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:35:02] Production.INFO: ==27503== Releasing lock...
[2025-03-10 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:35:02] Production.INFO: ==27505== Lock acquired, processing the job...
[2025-03-10 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:35:02] Production.INFO: ==27505== Releasing lock...
[2025-03-10 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:35:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:35:03] Production.INFO: ==27508== Lock acquired, processing the job...
[2025-03-10 03:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:35:03] Production.INFO: ==27510== Lock acquired, processing the job...
[2025-03-10 03:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:35:03] Production.INFO: ==27512== Lock acquired, processing the job...
[2025-03-10 03:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:35:03] Production.INFO: ==27514== Lock acquired, processing the job...
[2025-03-10 03:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:35:04] Production.INFO: ==27516== Lock acquired, processing the job...
[2025-03-10 03:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:35:04] Production.INFO: ==27518== Lock acquired, processing the job...
[2025-03-10 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:35:04] Production.INFO: ==27510== Releasing lock...
[2025-03-10 03:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 03:35:04] Production.INFO: count ==13
[2025-03-10 03:35:04] Production.INFO: Account Balance Start.
[2025-03-10 03:35:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:35:04] Production.INFO: 117
[2025-03-10 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-03-10 03:35:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:35:04] Production.INFO: count ==21
[2025-03-10 03:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:35:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646795') start
[2025-03-10 03:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:35:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:35:04] Production.ERROR: done
[2025-03-10 03:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646795') end
[2025-03-10 03:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:35:04] Production.INFO: 1
[2025-03-10 03:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:35:04] Production.INFO: Total Charge 0
[2025-03-10 03:35:04] Production.INFO: CreateAllLog End
[2025-03-10 03:35:04] Production.INFO: ==27518== Releasing lock...
[2025-03-10 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:35:04] Production.ERROR: done
[2025-03-10 03:35:05] Production.INFO: Account Balance End.
[2025-03-10 03:35:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:35:05] Production.INFO: ==27514== Releasing lock...
[2025-03-10 03:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:35:06
[end_date_ymd] => 2025-03-10 03:35:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:35:06' and `end` < '2025-03-10 03: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-03-10 03:35:14] Production.ERROR: CronJobId end10
[2025-03-10 03:35:14] Production.INFO: ==27512== Releasing lock...
[2025-03-10 03:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:35:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:35:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:35:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:35:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:35:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:35:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:35:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:35:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:35:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:35:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:35:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:35:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:35:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:35:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:35:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:35:16] Production.INFO: call_cost start
[2025-03-10 03:35:16] Production.INFO: call_cost end
[2025-03-10 03:35:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:35:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:35:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:35:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:35:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:35:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:35:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:35:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:35:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:35:17] Production.INFO: ==27508== Releasing lock...
[2025-03-10 03:35:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:35:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:35:18] Production.INFO: count ==259
[2025-03-10 03:35:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:35:06 - End Time 2025-03-10 03:35:06
[2025-03-10 03:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646797', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646797', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646797', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646797', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:35:18] Production.INFO: ProcessCDR(1,14646797,1,1,2)
[2025-03-10 03:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646797', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646797', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:35:21] Production.INFO: ==27516== Releasing lock...
[2025-03-10 03:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:35:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:36:02] Production.INFO: ==27586== Lock acquired, processing the job...
[2025-03-10 07:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:36:02] Production.INFO: neon service started
[2025-03-10 07:36:02] Production.INFO: neon service started
[2025-03-10 07:36:02] Production.INFO: ==27586== Releasing lock...
[2025-03-10 07:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:36:02] Production.INFO: ==27590== Lock acquired, processing the job...
[2025-03-10 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:36:02] Production.INFO: ==27590== Releasing lock...
[2025-03-10 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:36:03] Production.INFO: ==27588== Lock acquired, processing the job...
[2025-03-10 03:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:36:03] Production.INFO: ==27588== Releasing lock...
[2025-03-10 03:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:36:04] Production.INFO: ==27595== Lock acquired, processing the job...
[2025-03-10 03:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:36:04] Production.INFO: ==27597== Lock acquired, processing the job...
[2025-03-10 03:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:36:04] Production.INFO: ==27593== Lock acquired, processing the job...
[2025-03-10 03:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:36:04] Production.INFO: ==27595== Releasing lock...
[2025-03-10 03:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:36:04] Production.INFO: ==27599== Lock acquired, processing the job...
[2025-03-10 03:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:36:04] Production.INFO: ==27601== Lock acquired, processing the job...
[2025-03-10 03:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:36:04] Production.INFO: ==27603== Lock acquired, processing the job...
[2025-03-10 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:36:04] Production.INFO: Account Balance Start.
[2025-03-10 03:36:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:36:04] Production.INFO: 117
[2025-03-10 03:36:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 03: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-03-10 03:36:04] Production.INFO: count ==13
[2025-03-10 03:36:05] Production.INFO: Total Charge 0
[2025-03-10 03:36: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-03-10 03:36:05] Production.INFO: count ==21
[2025-03-10 03:36:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646801') start
[2025-03-10 03:36:05] Production.INFO: CreateAllLog End
[2025-03-10 03:36:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646801') end
[2025-03-10 03:36:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:36:05] Production.INFO: 1
[2025-03-10 03:36:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:36:05] Production.ERROR: done
[2025-03-10 03:36:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:36:05] Production.INFO: ==27603== Releasing lock...
[2025-03-10 03:36:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:36:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:36:05] Production.INFO: Account Balance End.
[2025-03-10 03:36:05] Production.ERROR: done
[2025-03-10 03:36:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:36:05] Production.INFO: ==27599== Releasing lock...
[2025-03-10 03:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:36:06
[end_date_ymd] => 2025-03-10 03:36:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:36:06' and `end` < '2025-03-10 03: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-03-10 03:36:14] Production.ERROR: CronJobId end10
[2025-03-10 03:36:14] Production.INFO: ==27597== Releasing lock...
[2025-03-10 03:36:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:36:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:36:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:36:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:36:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:36:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:36:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:36:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:36:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:36:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:36:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:36:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:36:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:36:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:36:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:36:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:36:17] Production.INFO: call_cost start
[2025-03-10 03:36:17] Production.INFO: call_cost end
[2025-03-10 03:36:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:36:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:36:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:36:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:36:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:36:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:36:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:36:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:36:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:36:18] Production.INFO: ==27593== Releasing lock...
[2025-03-10 03:36:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:36:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:36:18] Production.INFO: count ==259
[2025-03-10 03:36:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:36:06 - End Time 2025-03-10 03:36:06
[2025-03-10 03:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646802', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646802', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646802', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646802', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:36:18] Production.INFO: ProcessCDR(1,14646802,1,1,2)
[2025-03-10 03:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646802', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646802', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:36:22] Production.INFO: ==27601== Releasing lock...
[2025-03-10 03:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:36:22] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:37:01] Production.INFO: ==27665== Lock acquired, processing the job...
[2025-03-10 07:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:37:01] Production.INFO: neon service started
[2025-03-10 07:37:01] Production.INFO: neon service started
[2025-03-10 07:37:01] Production.INFO: ==27665== Releasing lock...
[2025-03-10 07:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:37:02] Production.INFO: ==27669== Lock acquired, processing the job...
[2025-03-10 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:37:02] Production.INFO: ==27669== Releasing lock...
[2025-03-10 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:37:02] Production.INFO: ==27667== Lock acquired, processing the job...
[2025-03-10 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:37:02] Production.INFO: ==27667== Releasing lock...
[2025-03-10 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:37:03] Production.INFO: ==27672== Lock acquired, processing the job...
[2025-03-10 03:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:37:03] Production.INFO: ==27674== Lock acquired, processing the job...
[2025-03-10 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:37:03] Production.INFO: ==27682== Lock acquired, processing the job...
[2025-03-10 03:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 03:37:04] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:37:04] Production.INFO: count ==21
[2025-03-10 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646805') start
[2025-03-10 03:37:04] Production.INFO: ==27676== Lock acquired, processing the job...
[2025-03-10 03:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:37:04] Production.INFO: ==27678== Lock acquired, processing the job...
[2025-03-10 03:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:37:04] Production.INFO: ==27680== Lock acquired, processing the job...
[2025-03-10 03:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646805') end
[2025-03-10 03:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:37:04] Production.INFO: 1
[2025-03-10 03:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:37:04] Production.INFO: ==27682== Releasing lock...
[2025-03-10 03:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:37:04] Production.INFO: Account Balance Start.
[2025-03-10 03:37:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:37:04] Production.INFO: 117
[2025-03-10 03:37:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:37:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:37:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:37:04] Production.INFO: Total Charge 0
[2025-03-10 03:37:04] Production.INFO: ==27674== Releasing lock...
[2025-03-10 03:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:37:04] Production.INFO: CreateAllLog End
[2025-03-10 03:37:04] Production.ERROR: done
[2025-03-10 03:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:37:04] Production.INFO: Account Balance End.
[2025-03-10 03:37:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:37:04] Production.INFO: ==27678== Releasing lock...
[2025-03-10 03:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:37:04] Production.ERROR: done
[2025-03-10 03:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:37:06
[end_date_ymd] => 2025-03-10 03:37:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:37:06' and `end` < '2025-03-10 03: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-03-10 03:37:14] Production.ERROR: CronJobId end10
[2025-03-10 03:37:14] Production.INFO: ==27676== Releasing lock...
[2025-03-10 03:37:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:37:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:37:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:37:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:37:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:37:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:37:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:37:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:37:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:37:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:37:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:37:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:37:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:37:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:37:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:37:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:37:16] Production.INFO: call_cost start
[2025-03-10 03:37:16] Production.INFO: call_cost end
[2025-03-10 03:37:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:37:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:37:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:37:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:37:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:37:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:37:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:37:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:37:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:37:17] Production.INFO: ==27672== Releasing lock...
[2025-03-10 03:37:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:37:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:37:18] Production.INFO: count ==253
[2025-03-10 03:37:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:37:06 - End Time 2025-03-10 03:37:06
[2025-03-10 03:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646807', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646807', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646807', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646807', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:37:18] Production.INFO: ProcessCDR(1,14646807,1,1,2)
[2025-03-10 03:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646807', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646807', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:37:21] Production.INFO: ==27680== Releasing lock...
[2025-03-10 03:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:37:21] Production.INFO: 30 MB #Memory Used#
[2025-03-10 07:38:02] Production.INFO: ==27746== Lock acquired, processing the job...
[2025-03-10 07:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:38:02] Production.INFO: neon service started
[2025-03-10 07:38:02] Production.INFO: neon service started
[2025-03-10 07:38:02] Production.INFO: ==27746== Releasing lock...
[2025-03-10 07:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:38:02] Production.INFO: ==27750== Lock acquired, processing the job...
[2025-03-10 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:38:02] Production.INFO: ==27750== Releasing lock...
[2025-03-10 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:38:02] Production.INFO: ==27748== Lock acquired, processing the job...
[2025-03-10 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:38:03] Production.INFO: ==27748== Releasing lock...
[2025-03-10 03:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:38:04] Production.INFO: ==27757== Lock acquired, processing the job...
[2025-03-10 03:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:38:04] Production.INFO: ==27755== Lock acquired, processing the job...
[2025-03-10 03:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:38:04] Production.INFO: ==27761== Lock acquired, processing the job...
[2025-03-10 03:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:38:04] Production.INFO: ==27753== Lock acquired, processing the job...
[2025-03-10 03:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:38:04] Production.INFO: ==27759== Lock acquired, processing the job...
[2025-03-10 03:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:38:04] Production.INFO: ==27763== Lock acquired, processing the job...
[2025-03-10 03:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:38:04] Production.INFO: ==27755== Releasing lock...
[2025-03-10 03:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:38:04] Production.INFO: Account Balance Start.
[2025-03-10 03:38:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:38:04] Production.INFO: 117
[2025-03-10 03:38:04] Production.INFO: Date 2025-03-08
[2025-03-10 03: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-03-10 03:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:38:04] Production.INFO: count ==13
[2025-03-10 03:38:05] Production.ERROR: done
[2025-03-10 03:38: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-03-10 03:38:05] Production.INFO: count ==21
[2025-03-10 03:38:05] Production.INFO: Date 2025-03-09
[2025-03-10 03:38:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:38:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:38:05] Production.INFO: Date 2025-03-10
[2025-03-10 03:38:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:38:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646811') start
[2025-03-10 03:38:05] Production.INFO: Total Charge 0
[2025-03-10 03:38:05] Production.INFO: CreateAllLog End
[2025-03-10 03:38:05] Production.ERROR: done
[2025-03-10 03:38:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646811') end
[2025-03-10 03:38:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:38:05] Production.INFO: 1
[2025-03-10 03:38:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:38:05] Production.INFO: ==27763== Releasing lock...
[2025-03-10 03:38:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:38:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:38:05] Production.INFO: Account Balance End.
[2025-03-10 03:38:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:38:05] Production.INFO: ==27759== Releasing lock...
[2025-03-10 03:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:38:06
[end_date_ymd] => 2025-03-10 03:38:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:38:06' and `end` < '2025-03-10 03: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-03-10 03:38:12] Production.ERROR: CronJobId end10
[2025-03-10 03:38:12] Production.INFO: ==27757== Releasing lock...
[2025-03-10 03:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:38:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:38:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:38:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:38:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:38:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:38:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:38:16] Production.INFO: call_cost start
[2025-03-10 03:38:16] Production.INFO: call_cost end
[2025-03-10 03:38:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:38:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:38:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:38:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:38:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:38:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:38:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:38:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:38:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:38:17] Production.INFO: ==27753== Releasing lock...
[2025-03-10 03:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:38:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:38:18] Production.INFO: count ==253
[2025-03-10 03:38:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:38:06 - End Time 2025-03-10 03:38:06
[2025-03-10 03:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646812', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646812', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646812', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646812', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:38:18] Production.INFO: ProcessCDR(1,14646812,1,1,2)
[2025-03-10 03:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646812', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646812', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:38:22] Production.INFO: ==27761== Releasing lock...
[2025-03-10 03:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:38:22] Production.INFO: 30 MB #Memory Used#
[2025-03-10 07:39:01] Production.INFO: ==27827== Lock acquired, processing the job...
[2025-03-10 07:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:39:01] Production.INFO: neon service started
[2025-03-10 07:39:01] Production.INFO: neon service started
[2025-03-10 07:39:01] Production.INFO: ==27827== Releasing lock...
[2025-03-10 07:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:39:02] Production.INFO: ==27829== Lock acquired, processing the job...
[2025-03-10 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:39:02] Production.INFO: ==27829== Releasing lock...
[2025-03-10 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:39:02] Production.INFO: ==27831== Lock acquired, processing the job...
[2025-03-10 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:39:02] Production.INFO: ==27831== Releasing lock...
[2025-03-10 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:39:03] Production.INFO: ==27842== Lock acquired, processing the job...
[2025-03-10 03:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:39:03] Production.INFO: ==27844== Lock acquired, processing the job...
[2025-03-10 03:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:39:03] Production.INFO: ==27833== Lock acquired, processing the job...
[2025-03-10 03:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:39:03] Production.INFO: ==27835== Lock acquired, processing the job...
[2025-03-10 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03: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-03-10 03:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:39:04] Production.INFO: count ==13
[2025-03-10 03:39:04] Production.INFO: ==27840== Lock acquired, processing the job...
[2025-03-10 03:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 03:39:04] Production.INFO: count ==21
[2025-03-10 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646813') start
[2025-03-10 03:39:04] Production.INFO: ==27838== Lock acquired, processing the job...
[2025-03-10 03:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:39:04] Production.INFO: Account Balance Start.
[2025-03-10 03:39:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646813') end
[2025-03-10 03:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:39:04] Production.INFO: 1
[2025-03-10 03:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:39:04] Production.INFO: 117
[2025-03-10 03:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:39:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:39:04] Production.INFO: ==27844== Releasing lock...
[2025-03-10 03:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:39:04] Production.ERROR: done
[2025-03-10 03:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:39:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:39:04] Production.ERROR: done
[2025-03-10 03:39:04] Production.INFO: ==27835== Releasing lock...
[2025-03-10 03:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:39:04] Production.INFO: Total Charge 0
[2025-03-10 03:39:04] Production.INFO: CreateAllLog End
[2025-03-10 03:39:04] Production.INFO: Account Balance End.
[2025-03-10 03:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:39:04] Production.INFO: ==27840== Releasing lock...
[2025-03-10 03:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:39:05
[end_date_ymd] => 2025-03-10 03:39:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:39:05' and `end` < '2025-03-10 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-03-10 03:39:13] Production.ERROR: CronJobId end10
[2025-03-10 03:39:13] Production.INFO: ==27838== Releasing lock...
[2025-03-10 03:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:39:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:39:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:39:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:39:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:39:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:39:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:39:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:39:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:39:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:39:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:39:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:39:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:39:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:39:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:39:17] Production.INFO: call_cost start
[2025-03-10 03:39:17] Production.INFO: call_cost end
[2025-03-10 03:39:17] Production.INFO: count ==250
[2025-03-10 03:39:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:39:05 - End Time 2025-03-10 03:39:05
[2025-03-10 03:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646817', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646817', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646817', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646817', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:39:18] Production.INFO: ProcessCDR(1,14646817,1,1,2)
[2025-03-10 03:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:39:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:39:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:39:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:39:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:39:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:39:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:39:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:39:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:39:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:39:18] Production.INFO: ==27833== Releasing lock...
[2025-03-10 03:39:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:39:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646817', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646817', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:39:21] Production.INFO: ==27842== Releasing lock...
[2025-03-10 03:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:39:21] Production.INFO: 30.25 MB #Memory Used#
[2025-03-10 07:40:02] Production.INFO: ==27912== Lock acquired, processing the job...
[2025-03-10 07:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:40:02] Production.INFO: neon service started
[2025-03-10 07:40:02] Production.INFO: neon service started
[2025-03-10 07:40:02] Production.INFO: ==27912== Releasing lock...
[2025-03-10 07:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:40:02] Production.INFO: ==27914== Lock acquired, processing the job...
[2025-03-10 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:40:03] Production.INFO: ==27914== Releasing lock...
[2025-03-10 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:40:03] Production.INFO: ==27916== Lock acquired, processing the job...
[2025-03-10 07:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:40:03] Production.INFO: ==27916== Releasing lock...
[2025-03-10 07:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:40:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:40:04] Production.INFO: ==27919== Lock acquired, processing the job...
[2025-03-10 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 03:40:04] Production.INFO: ==27921== Lock acquired, processing the job...
[2025-03-10 03:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:40:04] Production.INFO: ==27923== Lock acquired, processing the job...
[2025-03-10 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 03:40:04] Production.ERROR: CronJob PID - 27921
[2025-03-10 03:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 03:40:04] Production.ERROR: CronJob ID - 5
[2025-03-10 03:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 03:40:00
[2025-03-10 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 03:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 03:40:04] Production.INFO: ==27919== Releasing lock...
[2025-03-10 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 03:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 03:40:04] Production.INFO: ==27925== Lock acquired, processing the job...
[2025-03-10 03:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:40:04] Production.INFO: ==27927== Lock acquired, processing the job...
[2025-03-10 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:40:04] Production.INFO: ==27923== Releasing lock...
[2025-03-10 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:40:04] Production.INFO: ==27929== Lock acquired, processing the job...
[2025-03-10 03:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:40:04] Production.INFO: Account Balance Start.
[2025-03-10 03:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:40:04] Production.INFO: 117
[2025-03-10 03:40:05] Production.INFO: Date 2025-03-08
[2025-03-10 03:40:05] Production.INFO: ==27931== Lock acquired, processing the job...
[2025-03-10 03:40:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 03:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:40:05] Production.INFO: ==27933== Lock acquired, processing the job...
[2025-03-10 03:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:40:05] Production.INFO: Date 2025-03-09
[2025-03-10 03:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:40:05] Production.INFO: Date 2025-03-10
[2025-03-10 03:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:40:05] Production.INFO: Total Charge 0
[2025-03-10 03:40:05] Production.INFO: CreateAllLog End
[2025-03-10 03: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-03-10 03:40:05] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:40:05] Production.INFO: count ==21
[2025-03-10 03:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646821') start
[2025-03-10 03:40:05] Production.ERROR: done
[2025-03-10 03:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646821') end
[2025-03-10 03:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:40:05] Production.INFO: 1
[2025-03-10 03:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:40:05] Production.ERROR: done
[2025-03-10 03:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 03:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646822', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 03:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:40:05] Production.INFO: ==27933== Releasing lock...
[2025-03-10 03:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:40:05] Production.INFO: Account Balance End.
[2025-03-10 03:40:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:40:05] Production.INFO: ==27927== Releasing lock...
[2025-03-10 03:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:40:06] Production.ERROR: done
[2025-03-10 03:40:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:40:07
[end_date_ymd] => 2025-03-10 03:40:07
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:40:07' and `end` < '2025-03-10 03: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-03-10 03:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646822', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 03:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 03:40:10] Production.INFO: ProcessCDR(1,14646822,1,1,2)
[2025-03-10 03:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646822,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646822,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:40:11] Production.INFO: ==27931== Releasing lock...
[2025-03-10 03:40:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 03:40:11] Production.INFO: 26 MB #Memory Used#
[2025-03-10 03:40:15] Production.ERROR: CronJobId end10
[2025-03-10 03:40:15] Production.INFO: ==27925== Releasing lock...
[2025-03-10 03:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:40:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:40:18] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:40:18] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:40:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:40:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:40:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:40:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:40:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:40:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:40:18] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:40:18] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:40:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:40:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:40:18] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:40:18] Production.INFO: call_cost start
[2025-03-10 03:40:18] Production.INFO: call_cost end
[2025-03-10 03:40:19] Production.INFO: count ==241
[2025-03-10 03:40:19] Production.ERROR: pbx CDR StartTime 2025-03-10 00:40:07 - End Time 2025-03-10 03:40:07
[2025-03-10 03:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646823', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646823', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646823', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646823', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:40:19] Production.INFO: ProcessCDR(1,14646823,1,1,2)
[2025-03-10 03:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:40:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:40:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:40:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:40:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:40:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:40:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:40:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:40:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:40:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:40:19] Production.INFO: ==27921== Releasing lock...
[2025-03-10 03:40:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:40:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646823', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646823', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:40:23] Production.INFO: ==27929== Releasing lock...
[2025-03-10 03:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:40:23] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:41:01] Production.INFO: ==28000== Lock acquired, processing the job...
[2025-03-10 07:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:41:01] Production.INFO: neon service started
[2025-03-10 07:41:01] Production.INFO: neon service started
[2025-03-10 07:41:01] Production.INFO: ==28000== Releasing lock...
[2025-03-10 07:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:41:02] Production.INFO: ==28004== Lock acquired, processing the job...
[2025-03-10 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:41:02] Production.INFO: ==28004== Releasing lock...
[2025-03-10 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:41:02] Production.INFO: ==28002== Lock acquired, processing the job...
[2025-03-10 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:41:02] Production.INFO: ==28002== Releasing lock...
[2025-03-10 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:41:03] Production.INFO: ==28011== Lock acquired, processing the job...
[2025-03-10 03:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:41:03] Production.INFO: ==28013== Lock acquired, processing the job...
[2025-03-10 03:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:41:04] Production.INFO: ==28009== Lock acquired, processing the job...
[2025-03-10 03:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:41:04] Production.INFO: ==28007== Lock acquired, processing the job...
[2025-03-10 03:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:41:04] Production.INFO: Account Balance Start.
[2025-03-10 03:41:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:41:04] Production.INFO: 117
[2025-03-10 03:41:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:41:04] Production.INFO: ==28015== Lock acquired, processing the job...
[2025-03-10 03:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:41:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:41:04] Production.INFO: ==28017== Lock acquired, processing the job...
[2025-03-10 03:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:41:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:41:04] Production.INFO: Total Charge 0
[2025-03-10 03:41:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 03:41:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:41:04] Production.INFO: count ==21
[2025-03-10 03:41:04] Production.INFO: ==28009== Releasing lock...
[2025-03-10 03:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646827') start
[2025-03-10 03:41:04] Production.INFO: Account Balance End.
[2025-03-10 03:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646827') end
[2025-03-10 03:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:41:04] Production.INFO: 1
[2025-03-10 03:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:41:04] Production.INFO: ==28017== Releasing lock...
[2025-03-10 03:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:41:04] Production.INFO: ==28013== Releasing lock...
[2025-03-10 03:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:41:04] Production.ERROR: done
[2025-03-10 03:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:41:05] Production.ERROR: done
[2025-03-10 03:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:41:06
[end_date_ymd] => 2025-03-10 03:41:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:41:06' and `end` < '2025-03-10 03: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-03-10 03:41:12] Production.ERROR: CronJobId end10
[2025-03-10 03:41:12] Production.INFO: ==28011== Releasing lock...
[2025-03-10 03:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:41:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:41:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:41:15] Production.INFO: call_cost start
[2025-03-10 03:41:15] Production.INFO: call_cost end
[2025-03-10 03:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:41:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:41:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:41:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:41:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:41:16] Production.INFO: ==28007== Releasing lock...
[2025-03-10 03:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:41:18] Production.INFO: count ==240
[2025-03-10 03:41:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:41:06 - End Time 2025-03-10 03:41:06
[2025-03-10 03:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646828', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646828', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646828', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646828', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:41:18] Production.INFO: ProcessCDR(1,14646828,1,1,2)
[2025-03-10 03:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646828', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646828', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:41:21] Production.INFO: ==28015== Releasing lock...
[2025-03-10 03:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:41:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 07:42:02] Production.INFO: ==28079== Lock acquired, processing the job...
[2025-03-10 07:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:42:02] Production.INFO: neon service started
[2025-03-10 07:42:02] Production.INFO: neon service started
[2025-03-10 07:42:02] Production.INFO: ==28079== Releasing lock...
[2025-03-10 07:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:42:02] Production.INFO: ==28081== Lock acquired, processing the job...
[2025-03-10 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:42:03] Production.INFO: ==28081== Releasing lock...
[2025-03-10 03:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:42:03] Production.INFO: ==28083== Lock acquired, processing the job...
[2025-03-10 07:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:42:03] Production.INFO: ==28083== Releasing lock...
[2025-03-10 07:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:42:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:42:04] Production.INFO: ==28092== Lock acquired, processing the job...
[2025-03-10 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:42:04] Production.INFO: ==28089== Lock acquired, processing the job...
[2025-03-10 03:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:42:04] Production.INFO: Account Balance Start.
[2025-03-10 03:42:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:42:04] Production.INFO: 117
[2025-03-10 03:42:04] Production.INFO: ==28085== Lock acquired, processing the job...
[2025-03-10 03:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:42:04] Production.INFO: Total Charge 0
[2025-03-10 03:42:04] Production.INFO: CreateAllLog End
[2025-03-10 03:42:04] Production.INFO: ==28087== Lock acquired, processing the job...
[2025-03-10 03:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:42:04] Production.INFO: Account Balance End.
[2025-03-10 03:42:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:42:04] Production.INFO: ==28092== Releasing lock...
[2025-03-10 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:42:04] Production.INFO: ==28094== Lock acquired, processing the job...
[2025-03-10 03:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:42:04] Production.INFO: ==28096== Lock acquired, processing the job...
[2025-03-10 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 03:42:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:42:04] Production.INFO: count ==21
[2025-03-10 03:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646832') start
[2025-03-10 03:42:05] Production.INFO: ==28087== Releasing lock...
[2025-03-10 03:42:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:42:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646832') end
[2025-03-10 03:42:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:42:05] Production.INFO: 1
[2025-03-10 03:42:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:42:05] Production.INFO: ==28096== Releasing lock...
[2025-03-10 03:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:42:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:42:05] Production.ERROR: done
[2025-03-10 03:42:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:42:05] Production.ERROR: done
[2025-03-10 03:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:42:06
[end_date_ymd] => 2025-03-10 03:42:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:42:06' and `end` < '2025-03-10 03: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-03-10 03:42:13] Production.ERROR: CronJobId end10
[2025-03-10 03:42:13] Production.INFO: ==28089== Releasing lock...
[2025-03-10 03:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:42:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:42:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:42:16] Production.INFO: call_cost start
[2025-03-10 03:42:16] Production.INFO: call_cost end
[2025-03-10 03:42:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:42:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:42:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:42:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:42:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:42:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:42:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:42:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:42:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:42:17] Production.INFO: ==28085== Releasing lock...
[2025-03-10 03:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:42:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:42:18] Production.INFO: count ==239
[2025-03-10 03:42:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:42:06 - End Time 2025-03-10 03:42:06
[2025-03-10 03:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646833', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646833', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646833', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646833', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:42:18] Production.INFO: ProcessCDR(1,14646833,1,1,2)
[2025-03-10 03:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646833', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646833', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:42:22] Production.INFO: ==28094== Releasing lock...
[2025-03-10 03:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:42:22] Production.INFO: 30.25 MB #Memory Used#
[2025-03-10 07:43:01] Production.INFO: ==28160== Lock acquired, processing the job...
[2025-03-10 07:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:43:01] Production.INFO: neon service started
[2025-03-10 07:43:01] Production.INFO: neon service started
[2025-03-10 07:43:01] Production.INFO: ==28160== Releasing lock...
[2025-03-10 07:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:43:02] Production.INFO: ==28165== Lock acquired, processing the job...
[2025-03-10 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:43:02] Production.INFO: ==28165== Releasing lock...
[2025-03-10 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:43:02] Production.INFO: ==28163== Lock acquired, processing the job...
[2025-03-10 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:43:02] Production.INFO: ==28163== Releasing lock...
[2025-03-10 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:43:03] Production.INFO: ==28167== Lock acquired, processing the job...
[2025-03-10 03:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:43:03] Production.INFO: ==28169== Lock acquired, processing the job...
[2025-03-10 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:43:03] Production.INFO: ==28177== Lock acquired, processing the job...
[2025-03-10 03:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:43:04] Production.INFO: ==28169== Releasing lock...
[2025-03-10 03:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 03:43:04] Production.INFO: count ==13
[2025-03-10 03:43:04] Production.INFO: ==28171== Lock acquired, processing the job...
[2025-03-10 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-03-10 03:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:43:04] Production.INFO: count ==21
[2025-03-10 03:43:04] Production.INFO: ==28173== Lock acquired, processing the job...
[2025-03-10 03:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646836') start
[2025-03-10 03:43:04] Production.INFO: ==28175== Lock acquired, processing the job...
[2025-03-10 03:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:43:04] Production.INFO: Account Balance Start.
[2025-03-10 03:43:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:43:04] Production.INFO: 117
[2025-03-10 03:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:43:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:43:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646836') end
[2025-03-10 03:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:43:04] Production.INFO: 1
[2025-03-10 03:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:43:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:43:04] Production.INFO: Total Charge 0
[2025-03-10 03:43:04] Production.INFO: CreateAllLog End
[2025-03-10 03:43:04] Production.INFO: ==28177== Releasing lock...
[2025-03-10 03:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:43:04] Production.INFO: Account Balance End.
[2025-03-10 03:43:04] Production.ERROR: done
[2025-03-10 03:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:43:04] Production.INFO: ==28173== Releasing lock...
[2025-03-10 03:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:43:05] Production.ERROR: done
[2025-03-10 03:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:43:06
[end_date_ymd] => 2025-03-10 03:43:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:43:06' and `end` < '2025-03-10 03: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-03-10 03:43:14] Production.ERROR: CronJobId end10
[2025-03-10 03:43:14] Production.INFO: ==28171== Releasing lock...
[2025-03-10 03:43:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:43:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:43:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:43:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:43:16] Production.INFO: call_cost start
[2025-03-10 03:43:16] Production.INFO: call_cost end
[2025-03-10 03:43:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:43:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:43:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:43:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:43:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:43:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:43:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:43:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:43:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:43:17] Production.INFO: ==28167== Releasing lock...
[2025-03-10 03:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:43:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:43:18] Production.INFO: count ==238
[2025-03-10 03:43:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:43:06 - End Time 2025-03-10 03:43:06
[2025-03-10 03:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646838', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646838', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646838', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646838', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:43:18] Production.INFO: ProcessCDR(1,14646838,1,1,2)
[2025-03-10 03:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646838', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646838', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:43:22] Production.INFO: ==28175== Releasing lock...
[2025-03-10 03:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:43:22] Production.INFO: 30.25 MB #Memory Used#
[2025-03-10 07:44:01] Production.INFO: ==28239== Lock acquired, processing the job...
[2025-03-10 07:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:44:01] Production.INFO: neon service started
[2025-03-10 07:44:01] Production.INFO: neon service started
[2025-03-10 07:44:01] Production.INFO: ==28239== Releasing lock...
[2025-03-10 07:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:44:01] Production.INFO: ==28243== Lock acquired, processing the job...
[2025-03-10 07:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:44:01] Production.INFO: ==28243== Releasing lock...
[2025-03-10 07:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:44:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:44:02] Production.INFO: ==28241== Lock acquired, processing the job...
[2025-03-10 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:44:02] Production.INFO: ==28241== Releasing lock...
[2025-03-10 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:44:03] Production.INFO: ==28248== Lock acquired, processing the job...
[2025-03-10 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:44:03] Production.INFO: ==28256== Lock acquired, processing the job...
[2025-03-10 03:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:44:03] Production.INFO: ==28246== Lock acquired, processing the job...
[2025-03-10 03:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 03:44:03] Production.INFO: ==28250== Lock acquired, processing the job...
[2025-03-10 03:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:44:03] Production.INFO: ==28248== Releasing lock...
[2025-03-10 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:44:03] Production.INFO: ==28252== Lock acquired, processing the job...
[2025-03-10 03:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:44:03] Production.INFO: count ==13
[2025-03-10 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-03-10 03:44:03] Production.INFO: count ==21
[2025-03-10 03:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646840') start
[2025-03-10 03:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:44:03] Production.INFO: ==28254== Lock acquired, processing the job...
[2025-03-10 03:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646840') end
[2025-03-10 03:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:44:03] Production.INFO: 1
[2025-03-10 03:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:44:03] Production.INFO: Account Balance Start.
[2025-03-10 03:44:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:44:03] Production.INFO: 117
[2025-03-10 03:44:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:44:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:44:04] Production.INFO: ==28256== Releasing lock...
[2025-03-10 03:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:44:04] Production.INFO: Total Charge 0
[2025-03-10 03:44:04] Production.INFO: CreateAllLog End
[2025-03-10 03:44:04] Production.ERROR: done
[2025-03-10 03:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:44:04] Production.ERROR: done
[2025-03-10 03:44:04] Production.INFO: Account Balance End.
[2025-03-10 03:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:44:04] Production.INFO: ==28252== Releasing lock...
[2025-03-10 03:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:44:05
[end_date_ymd] => 2025-03-10 03:44:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:44:05' and `end` < '2025-03-10 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-03-10 03:44:12] Production.ERROR: CronJobId end10
[2025-03-10 03:44:12] Production.INFO: ==28250== Releasing lock...
[2025-03-10 03:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:44:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:44:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:44:15] Production.INFO: call_cost start
[2025-03-10 03:44:15] Production.INFO: call_cost end
[2025-03-10 03:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:44:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:44:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:44:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:44:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:44:16] Production.INFO: ==28246== Releasing lock...
[2025-03-10 03:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:44:17] Production.INFO: count ==238
[2025-03-10 03:44:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:44:05 - End Time 2025-03-10 03:44:05
[2025-03-10 03:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646843', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646843', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646843', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646843', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:44:17] Production.INFO: ProcessCDR(1,14646843,1,1,2)
[2025-03-10 03:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646843', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646843', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:44:21] Production.INFO: ==28254== Releasing lock...
[2025-03-10 03:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:44:21] Production.INFO: 30.25 MB #Memory Used#
[2025-03-10 07:45:01] Production.INFO: ==28364== Lock acquired, processing the job...
[2025-03-10 07:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:45:01] Production.INFO: neon service started
[2025-03-10 07:45:01] Production.INFO: neon service started
[2025-03-10 07:45:01] Production.INFO: ==28364== Releasing lock...
[2025-03-10 07:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:45:02] Production.INFO: ==28366== Lock acquired, processing the job...
[2025-03-10 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:45:02] Production.INFO: ==28366== Releasing lock...
[2025-03-10 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:45:02] Production.INFO: ==28368== Lock acquired, processing the job...
[2025-03-10 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:45:02] Production.INFO: ==28368== Releasing lock...
[2025-03-10 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:45:03] Production.INFO: ==28377== Lock acquired, processing the job...
[2025-03-10 03:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:45:03] Production.INFO: ==28381== Lock acquired, processing the job...
[2025-03-10 03:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:45:03] Production.INFO: ==28370== Lock acquired, processing the job...
[2025-03-10 03:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:45:03] Production.INFO: Account Balance Start.
[2025-03-10 03:45:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:45:03] Production.INFO: 117
[2025-03-10 03:45:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:45:03] Production.INFO: Date 2025-03-09
[2025-03-10 03:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:45:03] Production.INFO: Date 2025-03-10
[2025-03-10 03:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:45:03] Production.INFO: Total Charge 0
[2025-03-10 03:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:45:03] Production.INFO: ==28373== Lock acquired, processing the job...
[2025-03-10 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03: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-03-10 03:45:03] Production.INFO: ==28375== Lock acquired, processing the job...
[2025-03-10 03:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:45:04] Production.INFO: CreateAllLog End
[2025-03-10 03:45:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:45:04] Production.INFO: count ==21
[2025-03-10 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646845') start
[2025-03-10 03:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:45:04] Production.INFO: ==28379== Lock acquired, processing the job...
[2025-03-10 03:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:45:04] Production.INFO: Account Balance End.
[2025-03-10 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646845') end
[2025-03-10 03:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:45:04] Production.INFO: 1
[2025-03-10 03:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:45:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:45:04] Production.INFO: ==28377== Releasing lock...
[2025-03-10 03:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:45:04] Production.INFO: ==28381== Releasing lock...
[2025-03-10 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:45:04] Production.INFO: ==28373== Releasing lock...
[2025-03-10 03:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:45:04] Production.ERROR: done
[2025-03-10 03:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:45:04] Production.ERROR: done
[2025-03-10 03:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:45:05
[end_date_ymd] => 2025-03-10 03:45:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:45:05' and `end` < '2025-03-10 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-03-10 03:45:12] Production.ERROR: CronJobId end10
[2025-03-10 03:45:12] Production.INFO: ==28375== Releasing lock...
[2025-03-10 03:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:45:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:45:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:45:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:45:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:45:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:45:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:45:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:45:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:45:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:45:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:45:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:45:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:45:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:45:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:45:15] Production.INFO: call_cost start
[2025-03-10 03:45:15] Production.INFO: call_cost end
[2025-03-10 03:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:45:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:45:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:45:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:45:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:45:16] Production.INFO: ==28370== Releasing lock...
[2025-03-10 03:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:45:17] Production.INFO: count ==234
[2025-03-10 03:45:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:45:05 - End Time 2025-03-10 03:45:05
[2025-03-10 03:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646848', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646848', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646848', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646848', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:45:17] Production.INFO: ProcessCDR(1,14646848,1,1,2)
[2025-03-10 03:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646848', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646848', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:45:21] Production.INFO: ==28379== Releasing lock...
[2025-03-10 03:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:45:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 07:46:01] Production.INFO: ==28445== Lock acquired, processing the job...
[2025-03-10 07:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:46:01] Production.INFO: neon service started
[2025-03-10 07:46:01] Production.INFO: neon service started
[2025-03-10 07:46:01] Production.INFO: ==28445== Releasing lock...
[2025-03-10 07:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:46:01] Production.INFO: ==28447== Lock acquired, processing the job...
[2025-03-10 03:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:46:02] Production.INFO: ==28447== Releasing lock...
[2025-03-10 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:46:02] Production.INFO: ==28449== Lock acquired, processing the job...
[2025-03-10 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:46:02] Production.INFO: ==28449== Releasing lock...
[2025-03-10 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:46:03] Production.INFO: ==28455== Lock acquired, processing the job...
[2025-03-10 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:46:03] Production.INFO: ==28453== Lock acquired, processing the job...
[2025-03-10 03:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:46:03] Production.INFO: ==28464== Lock acquired, processing the job...
[2025-03-10 03:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:46:03] Production.INFO: ==28458== Lock acquired, processing the job...
[2025-03-10 03:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 03:46:03] Production.INFO: count ==13
[2025-03-10 03:46:03] Production.INFO: ==28460== Lock acquired, processing the job...
[2025-03-10 03:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:46:03] Production.INFO: ==28455== Releasing lock...
[2025-03-10 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-03-10 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:46:03] Production.INFO: count ==21
[2025-03-10 03:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646851') start
[2025-03-10 03:46:03] Production.INFO: ==28462== Lock acquired, processing the job...
[2025-03-10 03:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:46:03] Production.INFO: Account Balance Start.
[2025-03-10 03:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646851') end
[2025-03-10 03:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:46:03] Production.INFO: 1
[2025-03-10 03:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:46:03] Production.INFO: CreateAllLog Start
[2025-03-10 03:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:46:03] Production.INFO: 117
[2025-03-10 03:46:03] Production.INFO: Date 2025-03-08
[2025-03-10 03:46:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:46:03] Production.INFO: ==28464== Releasing lock...
[2025-03-10 03:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:46:03] Production.INFO: Date 2025-03-09
[2025-03-10 03:46:03] Production.INFO: Reseller ==> 0
[2025-03-10 03:46:04] Production.ERROR: done
[2025-03-10 03:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:46:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:46:04] Production.ERROR: done
[2025-03-10 03:46:04] Production.INFO: Total Charge 0
[2025-03-10 03:46:04] Production.INFO: CreateAllLog End
[2025-03-10 03:46:04] Production.INFO: Account Balance End.
[2025-03-10 03:46:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:46:04] Production.INFO: ==28460== Releasing lock...
[2025-03-10 03:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:46:05
[end_date_ymd] => 2025-03-10 03:46:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:46:05' and `end` < '2025-03-10 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-03-10 03:46:11] Production.ERROR: CronJobId end10
[2025-03-10 03:46:11] Production.INFO: ==28458== Releasing lock...
[2025-03-10 03:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:46:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:46:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:46:15] Production.INFO: call_cost start
[2025-03-10 03:46:15] Production.INFO: call_cost end
[2025-03-10 03:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:46:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:46:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:46:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:46:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:46:16] Production.INFO: ==28453== Releasing lock...
[2025-03-10 03:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:46:17] Production.INFO: count ==230
[2025-03-10 03:46:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:46:05 - End Time 2025-03-10 03:46:05
[2025-03-10 03:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646853', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646853', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646853', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646853', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:46:17] Production.INFO: ProcessCDR(1,14646853,1,1,2)
[2025-03-10 03:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646853', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646853', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:46:21] Production.INFO: ==28462== Releasing lock...
[2025-03-10 03:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:46:21] Production.INFO: 30.25 MB #Memory Used#
[2025-03-10 07:47:01] Production.INFO: ==28527== Lock acquired, processing the job...
[2025-03-10 07:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:47:01] Production.INFO: neon service started
[2025-03-10 07:47:01] Production.INFO: neon service started
[2025-03-10 07:47:01] Production.INFO: ==28527== Releasing lock...
[2025-03-10 07:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:47:02] Production.INFO: ==28529== Lock acquired, processing the job...
[2025-03-10 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:47:02] Production.INFO: ==28531== Lock acquired, processing the job...
[2025-03-10 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:47:02] Production.INFO: ==28529== Releasing lock...
[2025-03-10 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:47:02] Production.INFO: ==28531== Releasing lock...
[2025-03-10 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:47:03] Production.INFO: ==28537== Lock acquired, processing the job...
[2025-03-10 03:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:47:03] Production.INFO: ==28544== Lock acquired, processing the job...
[2025-03-10 03:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03: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-03-10 03:47:03] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:47:03] Production.INFO: count ==21
[2025-03-10 03:47:03] Production.INFO: ==28533== Lock acquired, processing the job...
[2025-03-10 03:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646854') start
[2025-03-10 03:47:03] Production.INFO: ==28535== Lock acquired, processing the job...
[2025-03-10 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646854') end
[2025-03-10 03:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:47:03] Production.INFO: 1
[2025-03-10 03:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:47:03] Production.INFO: ==28544== Releasing lock...
[2025-03-10 03:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:47:03] Production.INFO: ==28539== Lock acquired, processing the job...
[2025-03-10 03:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:47:04] Production.INFO: ==28541== Lock acquired, processing the job...
[2025-03-10 03:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:47:04] Production.INFO: Account Balance Start.
[2025-03-10 03:47:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:47:04] Production.INFO: 117
[2025-03-10 03:47:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:47:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:47:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:47:04] Production.INFO: ==28535== Releasing lock...
[2025-03-10 03:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:47:04] Production.INFO: Total Charge 0
[2025-03-10 03:47:04] Production.INFO: CreateAllLog End
[2025-03-10 03:47:04] Production.ERROR: done
[2025-03-10 03:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:47:04] Production.ERROR: done
[2025-03-10 03:47:04] Production.INFO: Account Balance End.
[2025-03-10 03:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:47:04] Production.INFO: ==28539== Releasing lock...
[2025-03-10 03:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:47:05
[end_date_ymd] => 2025-03-10 03:47:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:47:05' and `end` < '2025-03-10 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-03-10 03:47:12] Production.ERROR: CronJobId end10
[2025-03-10 03:47:12] Production.INFO: ==28537== Releasing lock...
[2025-03-10 03:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:47:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:47:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:47:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:47:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:47:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:47:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:47:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:47:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:47:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:47:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:47:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:47:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:47:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:47:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:47:15] Production.INFO: call_cost start
[2025-03-10 03:47:15] Production.INFO: call_cost end
[2025-03-10 03:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:47:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:47:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:47:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:47:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:47:16] Production.INFO: ==28533== Releasing lock...
[2025-03-10 03:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:47:17] Production.INFO: count ==226
[2025-03-10 03:47:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:47:05 - End Time 2025-03-10 03:47:05
[2025-03-10 03:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646858', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646858', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646858', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646858', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:47:17] Production.INFO: ProcessCDR(1,14646858,1,1,2)
[2025-03-10 03:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646858', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646858', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:47:21] Production.INFO: ==28541== Releasing lock...
[2025-03-10 03:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:47:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 07:48:02] Production.INFO: ==28611== Lock acquired, processing the job...
[2025-03-10 07:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:48:02] Production.INFO: neon service started
[2025-03-10 07:48:02] Production.INFO: neon service started
[2025-03-10 07:48:02] Production.INFO: ==28611== Releasing lock...
[2025-03-10 07:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:48:02] Production.INFO: ==28613== Lock acquired, processing the job...
[2025-03-10 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:48:03] Production.INFO: ==28613== Releasing lock...
[2025-03-10 03:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:48:03] Production.INFO: ==28615== Lock acquired, processing the job...
[2025-03-10 07:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:48:03] Production.INFO: ==28615== Releasing lock...
[2025-03-10 07:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:48:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:48:04] Production.INFO: ==28618== Lock acquired, processing the job...
[2025-03-10 03:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:48:04] Production.INFO: ==28624== Lock acquired, processing the job...
[2025-03-10 03:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:48:04] Production.INFO: ==28622== Lock acquired, processing the job...
[2025-03-10 03:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:48:04] Production.INFO: Account Balance Start.
[2025-03-10 03:48:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:48:04] Production.INFO: ==28620== Lock acquired, processing the job...
[2025-03-10 03:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:48:04] Production.INFO: 117
[2025-03-10 03:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:48:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:48:04] Production.INFO: ==28626== Lock acquired, processing the job...
[2025-03-10 03:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:48:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:48:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:48:04] Production.INFO: ==28628== Lock acquired, processing the job...
[2025-03-10 03:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:48:04] Production.INFO: Total Charge 0
[2025-03-10 03:48:04] Production.INFO: CreateAllLog End
[2025-03-10 03:48:04] Production.INFO: ==28620== Releasing lock...
[2025-03-10 03:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03: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-03-10 03:48:04] Production.ERROR: done
[2025-03-10 03:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:48:04] Production.INFO: count ==13
[2025-03-10 03:48:04] Production.INFO: Account Balance End.
[2025-03-10 03: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-03-10 03:48:04] Production.INFO: count ==21
[2025-03-10 03:48:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:48:05] Production.INFO: ==28624== Releasing lock...
[2025-03-10 03:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:48:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646862') start
[2025-03-10 03:48:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646862') end
[2025-03-10 03:48:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:48:05] Production.INFO: 1
[2025-03-10 03:48:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:48:05] Production.ERROR: done
[2025-03-10 03:48:05] Production.INFO: ==28628== Releasing lock...
[2025-03-10 03:48:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:48:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:48:06
[end_date_ymd] => 2025-03-10 03:48:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:48:06' and `end` < '2025-03-10 03: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-03-10 03:48:13] Production.ERROR: CronJobId end10
[2025-03-10 03:48:13] Production.INFO: ==28622== Releasing lock...
[2025-03-10 03:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:48:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:48:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:48:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:48:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:48:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:48:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:48:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:48:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:48:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:48:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:48:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:48:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:48:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:48:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:48:17] Production.INFO: call_cost start
[2025-03-10 03:48:17] Production.INFO: call_cost end
[2025-03-10 03:48:18] Production.INFO: count ==225
[2025-03-10 03:48:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:48:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:48:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:48:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:48:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:48:06 - End Time 2025-03-10 03:48:06
[2025-03-10 03:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646863', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:48:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:48:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:48:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:48:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:48:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646863', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646863', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:48:18] Production.INFO: ==28618== Releasing lock...
[2025-03-10 03:48:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:48:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646863', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:48:18] Production.INFO: ProcessCDR(1,14646863,1,1,2)
[2025-03-10 03:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646863', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646863', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:48:22] Production.INFO: ==28626== Releasing lock...
[2025-03-10 03:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:48:22] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 07:49:01] Production.INFO: ==28687== Lock acquired, processing the job...
[2025-03-10 07:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:49:01] Production.INFO: neon service started
[2025-03-10 07:49:01] Production.INFO: neon service started
[2025-03-10 07:49:01] Production.INFO: ==28687== Releasing lock...
[2025-03-10 07:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:49:02] Production.INFO: ==28690== Lock acquired, processing the job...
[2025-03-10 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:49:02] Production.INFO: ==28692== Lock acquired, processing the job...
[2025-03-10 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:49:02] Production.INFO: ==28690== Releasing lock...
[2025-03-10 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:49:02] Production.INFO: ==28692== Releasing lock...
[2025-03-10 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:49:03] Production.INFO: ==28696== Lock acquired, processing the job...
[2025-03-10 03:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:49:03] Production.INFO: ==28698== Lock acquired, processing the job...
[2025-03-10 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:49:03] Production.INFO: ==28700== Lock acquired, processing the job...
[2025-03-10 03:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:49:03] Production.INFO: ==28702== Lock acquired, processing the job...
[2025-03-10 03:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:49:03] Production.INFO: ==28698== Releasing lock...
[2025-03-10 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:49:04] Production.INFO: ==28704== Lock acquired, processing the job...
[2025-03-10 03:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:49:04] Production.INFO: ==28706== Lock acquired, processing the job...
[2025-03-10 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:49:04] Production.INFO: Account Balance Start.
[2025-03-10 03:49:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:49:04] Production.INFO: 117
[2025-03-10 03:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:49:04] Production.INFO: Date 2025-03-08
[2025-03-10 03: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-03-10 03:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:49:04] Production.INFO: count ==13
[2025-03-10 03:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 03:49:04] Production.INFO: count ==21
[2025-03-10 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646867') start
[2025-03-10 03:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:49:04] Production.INFO: Total Charge 0
[2025-03-10 03:49:04] Production.INFO: CreateAllLog End
[2025-03-10 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646867') end
[2025-03-10 03:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:49:04] Production.INFO: 1
[2025-03-10 03:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:49:04] Production.ERROR: done
[2025-03-10 03:49:04] Production.INFO: ==28706== Releasing lock...
[2025-03-10 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:49:04] Production.INFO: Account Balance End.
[2025-03-10 03:49:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:49:04] Production.INFO: ==28702== Releasing lock...
[2025-03-10 03:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:49:04] Production.ERROR: done
[2025-03-10 03:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:49:06
[end_date_ymd] => 2025-03-10 03:49:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:49:06' and `end` < '2025-03-10 03: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-03-10 03:49:13] Production.ERROR: CronJobId end10
[2025-03-10 03:49:13] Production.INFO: ==28700== Releasing lock...
[2025-03-10 03:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:49:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:49:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:49:15] Production.INFO: call_cost start
[2025-03-10 03:49:15] Production.INFO: call_cost end
[2025-03-10 03:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:49:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:49:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:49:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:49:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:49:16] Production.INFO: ==28696== Releasing lock...
[2025-03-10 03:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:49:18] Production.INFO: count ==225
[2025-03-10 03:49:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:49:06 - End Time 2025-03-10 03:49:06
[2025-03-10 03:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646868', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646868', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646868', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646868', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:49:18] Production.INFO: ProcessCDR(1,14646868,1,1,2)
[2025-03-10 03:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646868', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646868', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:49:21] Production.INFO: ==28704== Releasing lock...
[2025-03-10 03:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:49:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 07:50:02] Production.INFO: ==28771== Lock acquired, processing the job...
[2025-03-10 07:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:50:02] Production.INFO: neon service started
[2025-03-10 07:50:02] Production.INFO: neon service started
[2025-03-10 07:50:02] Production.INFO: ==28771== Releasing lock...
[2025-03-10 07:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:50:02] Production.INFO: ==28773== Lock acquired, processing the job...
[2025-03-10 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:50:03] Production.INFO: ==28773== Releasing lock...
[2025-03-10 03:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:50:03] Production.INFO: ==28775== Lock acquired, processing the job...
[2025-03-10 07:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:50:03] Production.INFO: ==28775== Releasing lock...
[2025-03-10 07:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:50:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:50:04] Production.INFO: ==28778== Lock acquired, processing the job...
[2025-03-10 03:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 03:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 03:50:04] Production.INFO: ==28780== Lock acquired, processing the job...
[2025-03-10 03:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 03:50:04] Production.INFO: ==28778== Releasing lock...
[2025-03-10 03:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 03:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 03:50:04] Production.INFO: ==28782== Lock acquired, processing the job...
[2025-03-10 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:50:04] Production.INFO: ==28786== Lock acquired, processing the job...
[2025-03-10 03:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:50:04] Production.INFO: ==28784== Lock acquired, processing the job...
[2025-03-10 03:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:50:04] Production.INFO: ==28788== Lock acquired, processing the job...
[2025-03-10 03:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:50:04] Production.INFO: Account Balance Start.
[2025-03-10 03:50:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:50:04] Production.INFO: 117
[2025-03-10 03:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:50:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:50:04] Production.INFO: ==28792== Lock acquired, processing the job...
[2025-03-10 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:50:04] Production.INFO: ==28790== Lock acquired, processing the job...
[2025-03-10 03:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 03:50:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:50:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:50:04] Production.INFO: Total Charge 0
[2025-03-10 03:50:04] Production.INFO: CreateAllLog End
[2025-03-10 03:50:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:50:05] Production.INFO: ==28782== Releasing lock...
[2025-03-10 03:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:50:05] Production.ERROR: done
[2025-03-10 03:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 03:50:05] Production.INFO: count ==13
[2025-03-10 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-03-10 03:50:05] Production.INFO: count ==21
[2025-03-10 03:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646872') start
[2025-03-10 03:50:05] Production.ERROR: done
[2025-03-10 03:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646872') end
[2025-03-10 03:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:50:05] Production.INFO: 1
[2025-03-10 03:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:50:05] Production.INFO: ==28792== Releasing lock...
[2025-03-10 03:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:50:05] Production.ERROR: done
[2025-03-10 03:50:05] Production.INFO: Account Balance End.
[2025-03-10 03:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 03:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646874', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 03:50:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:50:05] Production.INFO: ==28786== Releasing lock...
[2025-03-10 03:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:50:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:50:07
[end_date_ymd] => 2025-03-10 03:50:07
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:50:07' and `end` < '2025-03-10 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-03-10 03:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646874', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 03:50:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 03:50:10] Production.INFO: ProcessCDR(1,14646874,1,1,2)
[2025-03-10 03:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646874,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646874,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:50:10] Production.INFO: ==28790== Releasing lock...
[2025-03-10 03:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 03:50:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 03:50:16] Production.ERROR: CronJobId end10
[2025-03-10 03:50:16] Production.INFO: ==28784== Releasing lock...
[2025-03-10 03:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:50:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:50:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:50:18] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:50:18] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:50:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:50:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:50:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:50:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:50:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:50:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:50:18] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:50:18] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:50:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:50:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:50:18] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:50:18] Production.INFO: call_cost start
[2025-03-10 03:50:18] Production.INFO: call_cost end
[2025-03-10 03:50:19] Production.INFO: count ==215
[2025-03-10 03:50:19] Production.ERROR: pbx CDR StartTime 2025-03-10 00:50:07 - End Time 2025-03-10 03:50:07
[2025-03-10 03:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646873', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646873', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646873', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646873', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:50:19] Production.INFO: ProcessCDR(1,14646873,1,1,2)
[2025-03-10 03:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:50:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:50:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:50:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:50:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:50:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:50:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:50:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:50:20] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:50:20] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:50:20] Production.INFO: ==28780== Releasing lock...
[2025-03-10 03:50:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:50:20] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646873', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646873', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:50:23] Production.INFO: ==28788== Releasing lock...
[2025-03-10 03:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:50:23] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 07:51:01] Production.INFO: ==28852== Lock acquired, processing the job...
[2025-03-10 07:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:51:01] Production.INFO: neon service started
[2025-03-10 07:51:01] Production.INFO: neon service started
[2025-03-10 07:51:01] Production.INFO: ==28852== Releasing lock...
[2025-03-10 07:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:51:02] Production.INFO: ==28854== Lock acquired, processing the job...
[2025-03-10 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:51:02] Production.INFO: ==28856== Lock acquired, processing the job...
[2025-03-10 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:51:02] Production.INFO: ==28856== Releasing lock...
[2025-03-10 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:51:03] Production.INFO: ==28854== Releasing lock...
[2025-03-10 03:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:51:03] Production.INFO: ==28865== Lock acquired, processing the job...
[2025-03-10 03:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:51:04] Production.INFO: ==28869== Lock acquired, processing the job...
[2025-03-10 03:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:51:04] Production.INFO: ==28861== Lock acquired, processing the job...
[2025-03-10 03:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:51:04] Production.INFO: ==28863== Lock acquired, processing the job...
[2025-03-10 03:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:51:04] Production.INFO: ==28867== Lock acquired, processing the job...
[2025-03-10 03:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:51:04] Production.INFO: ==28871== Lock acquired, processing the job...
[2025-03-10 03:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:51:04] Production.ERROR: done
[2025-03-10 03:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:51:04] Production.INFO: Account Balance Start.
[2025-03-10 03:51:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:51:04] Production.INFO: 117
[2025-03-10 03:51:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 03:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:51:04] Production.INFO: count ==13
[2025-03-10 03:51:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 03:51:04] Production.INFO: count ==21
[2025-03-10 03:51:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646878') start
[2025-03-10 03:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:51:04] Production.ERROR: done
[2025-03-10 03:51:04] Production.INFO: Total Charge 0
[2025-03-10 03:51:04] Production.INFO: CreateAllLog End
[2025-03-10 03:51:04] Production.INFO: ==28863== Releasing lock...
[2025-03-10 03:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:51:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646878') end
[2025-03-10 03:51:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:51:05] Production.INFO: 1
[2025-03-10 03:51:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:51:05] Production.INFO: Account Balance End.
[2025-03-10 03:51:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:51:05] Production.INFO: ==28867== Releasing lock...
[2025-03-10 03:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:51:05] Production.INFO: ==28871== Releasing lock...
[2025-03-10 03:51:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:51:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:51:06
[end_date_ymd] => 2025-03-10 03:51:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:51:06' and `end` < '2025-03-10 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-03-10 03:51:13] Production.ERROR: CronJobId end10
[2025-03-10 03:51:13] Production.INFO: ==28865== Releasing lock...
[2025-03-10 03:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:51:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:51:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:51:15] Production.INFO: call_cost start
[2025-03-10 03:51:15] Production.INFO: call_cost end
[2025-03-10 03:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:51:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:51:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:51:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:51:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:51:16] Production.INFO: ==28861== Releasing lock...
[2025-03-10 03:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:51:18] Production.INFO: count ==218
[2025-03-10 03:51:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:51:06 - End Time 2025-03-10 03:51:06
[2025-03-10 03:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646879', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646879', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646879', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646879', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:51:18] Production.INFO: ProcessCDR(1,14646879,1,1,2)
[2025-03-10 03:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646879', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646879', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:51:22] Production.INFO: ==28869== Releasing lock...
[2025-03-10 03:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:51:22] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 07:52:02] Production.INFO: ==28925== Lock acquired, processing the job...
[2025-03-10 07:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:52:02] Production.INFO: neon service started
[2025-03-10 07:52:02] Production.INFO: neon service started
[2025-03-10 07:52:02] Production.INFO: ==28925== Releasing lock...
[2025-03-10 07:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:52:03] Production.INFO: ==28929== Lock acquired, processing the job...
[2025-03-10 07:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:52:03] Production.INFO: ==28927== Lock acquired, processing the job...
[2025-03-10 03:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:52:03] Production.INFO: ==28929== Releasing lock...
[2025-03-10 07:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:52:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:52:03] Production.INFO: ==28927== Releasing lock...
[2025-03-10 03:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:52:04] Production.INFO: ==28936== Lock acquired, processing the job...
[2025-03-10 03:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:52:04] Production.INFO: ==28940== Lock acquired, processing the job...
[2025-03-10 03:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:52:04] Production.INFO: ==28932== Lock acquired, processing the job...
[2025-03-10 03:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:52:04] Production.INFO: ==28934== Lock acquired, processing the job...
[2025-03-10 03:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:52:04] Production.INFO: ==28938== Lock acquired, processing the job...
[2025-03-10 03:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:52:04] Production.INFO: ==28942== Lock acquired, processing the job...
[2025-03-10 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:52:04] Production.ERROR: done
[2025-03-10 03:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:52:05] Production.INFO: Account Balance Start.
[2025-03-10 03:52:05] Production.INFO: CreateAllLog Start
[2025-03-10 03:52: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-03-10 03:52:05] Production.INFO: 117
[2025-03-10 03:52:05] Production.INFO: Date 2025-03-08
[2025-03-10 03:52:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:52:05] Production.INFO: count ==13
[2025-03-10 03:52:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:52: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-03-10 03:52:05] Production.INFO: count ==21
[2025-03-10 03:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646881') start
[2025-03-10 03:52:05] Production.INFO: Date 2025-03-09
[2025-03-10 03:52:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:52:05] Production.ERROR: done
[2025-03-10 03:52:05] Production.INFO: Date 2025-03-10
[2025-03-10 03:52:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646881') end
[2025-03-10 03:52:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:52:05] Production.INFO: 1
[2025-03-10 03:52:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:52:05] Production.INFO: Total Charge 0
[2025-03-10 03:52:05] Production.INFO: CreateAllLog End
[2025-03-10 03:52:05] Production.INFO: ==28942== Releasing lock...
[2025-03-10 03:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:52:05] Production.INFO: ==28934== Releasing lock...
[2025-03-10 03:52:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:52:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:52:05] Production.INFO: Account Balance End.
[2025-03-10 03:52:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:52:05] Production.INFO: ==28938== Releasing lock...
[2025-03-10 03:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:52:06
[end_date_ymd] => 2025-03-10 03:52:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:52:06' and `end` < '2025-03-10 03: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-03-10 03:52:14] Production.ERROR: CronJobId end10
[2025-03-10 03:52:14] Production.INFO: ==28936== Releasing lock...
[2025-03-10 03:52:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:52:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:52:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:52:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:52:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:52:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:52:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:52:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:52:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:52:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:52:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:52:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:52:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:52:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:52:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:52:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:52:17] Production.INFO: call_cost start
[2025-03-10 03:52:17] Production.INFO: call_cost end
[2025-03-10 03:52:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:52:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:52:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:52:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:52:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:52:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:52:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:52:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:52:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:52:18] Production.INFO: ==28932== Releasing lock...
[2025-03-10 03:52:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:52:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:52:18] Production.INFO: count ==215
[2025-03-10 03:52:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:52:06 - End Time 2025-03-10 03:52:06
[2025-03-10 03:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646884', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646884', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646884', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646884', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:52:18] Production.INFO: ProcessCDR(1,14646884,1,1,2)
[2025-03-10 03:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646884', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646884', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:52:22] Production.INFO: ==28940== Releasing lock...
[2025-03-10 03:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:52:22] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 07:53:01] Production.INFO: ==29005== Lock acquired, processing the job...
[2025-03-10 07:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:53:01] Production.INFO: neon service started
[2025-03-10 07:53:01] Production.INFO: neon service started
[2025-03-10 07:53:01] Production.INFO: ==29005== Releasing lock...
[2025-03-10 07:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:53:02] Production.INFO: ==29007== Lock acquired, processing the job...
[2025-03-10 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:53:02] Production.INFO: ==29009== Lock acquired, processing the job...
[2025-03-10 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:53:02] Production.INFO: ==29009== Releasing lock...
[2025-03-10 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:53:02] Production.INFO: ==29007== Releasing lock...
[2025-03-10 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:53:03] Production.INFO: ==29016== Lock acquired, processing the job...
[2025-03-10 03:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:53:04] Production.INFO: ==29020== Lock acquired, processing the job...
[2025-03-10 03:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:53:04] Production.INFO: ==29012== Lock acquired, processing the job...
[2025-03-10 03:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:53:04] Production.INFO: ==29014== Lock acquired, processing the job...
[2025-03-10 03:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:53:04] Production.INFO: ==29018== Lock acquired, processing the job...
[2025-03-10 03:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:53:04] Production.INFO: ==29022== Lock acquired, processing the job...
[2025-03-10 03:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:53:04] Production.INFO: Account Balance Start.
[2025-03-10 03:53:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:53:04] Production.INFO: 117
[2025-03-10 03:53:04] Production.ERROR: done
[2025-03-10 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-03-10 03:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:53:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:53:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:53:04] Production.INFO: count ==21
[2025-03-10 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646887') start
[2025-03-10 03:53:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:53:04] Production.INFO: ==29014== Releasing lock...
[2025-03-10 03:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:53:04] Production.ERROR: done
[2025-03-10 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646887') end
[2025-03-10 03:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:53:04] Production.INFO: 1
[2025-03-10 03:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:53:04] Production.INFO: Total Charge 0
[2025-03-10 03:53:04] Production.INFO: CreateAllLog End
[2025-03-10 03:53:04] Production.INFO: ==29022== Releasing lock...
[2025-03-10 03:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:53:04] Production.INFO: Account Balance End.
[2025-03-10 03:53:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:53:05] Production.INFO: ==29018== Releasing lock...
[2025-03-10 03:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:53:05
[end_date_ymd] => 2025-03-10 03:53:05
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:53:05' and `end` < '2025-03-10 03: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-03-10 03:53:12] Production.ERROR: CronJobId end10
[2025-03-10 03:53:12] Production.INFO: ==29016== Releasing lock...
[2025-03-10 03:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:53:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:53:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:53:16] Production.INFO: call_cost start
[2025-03-10 03:53:16] Production.INFO: call_cost end
[2025-03-10 03:53:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:53:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:53:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:53:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:53:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:53:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:53:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:53:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:53:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:53:17] Production.INFO: ==29012== Releasing lock...
[2025-03-10 03:53:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:53:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:53:17] Production.INFO: count ==215
[2025-03-10 03:53:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:53:05 - End Time 2025-03-10 03:53:05
[2025-03-10 03:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646889', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646889', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646889', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646889', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:53:18] Production.INFO: ProcessCDR(1,14646889,1,1,2)
[2025-03-10 03:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646889', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646889', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:53:21] Production.INFO: ==29020== Releasing lock...
[2025-03-10 03:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:53:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 07:54:02] Production.INFO: ==29077== Lock acquired, processing the job...
[2025-03-10 07:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:54:02] Production.INFO: neon service started
[2025-03-10 07:54:02] Production.INFO: neon service started
[2025-03-10 07:54:02] Production.INFO: ==29077== Releasing lock...
[2025-03-10 07:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:54:03] Production.INFO: ==29082== Lock acquired, processing the job...
[2025-03-10 07:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:54:03] Production.INFO: ==29082== Releasing lock...
[2025-03-10 07:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:54:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:54:03] Production.INFO: ==29080== Lock acquired, processing the job...
[2025-03-10 03:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:54:03] Production.INFO: ==29080== Releasing lock...
[2025-03-10 03:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:54:04] Production.INFO: ==29088== Lock acquired, processing the job...
[2025-03-10 03:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:54:04] Production.INFO: ==29094== Lock acquired, processing the job...
[2025-03-10 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:54:04] Production.INFO: ==29084== Lock acquired, processing the job...
[2025-03-10 03:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03: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-03-10 03:54:04] Production.INFO: ==29086== Lock acquired, processing the job...
[2025-03-10 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:54:04] Production.INFO: count ==13
[2025-03-10 03: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-03-10 03:54:04] Production.INFO: count ==21
[2025-03-10 03:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646890') start
[2025-03-10 03:54:04] Production.INFO: ==29092== Lock acquired, processing the job...
[2025-03-10 03:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:54:04] Production.INFO: ==29090== Lock acquired, processing the job...
[2025-03-10 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646890') end
[2025-03-10 03:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:54:04] Production.INFO: 1
[2025-03-10 03:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:54:04] Production.INFO: ==29094== Releasing lock...
[2025-03-10 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:54:04] Production.INFO: Account Balance Start.
[2025-03-10 03:54:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:54:04] Production.INFO: 117
[2025-03-10 03:54:05] Production.INFO: Date 2025-03-08
[2025-03-10 03:54:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:54:05] Production.INFO: Date 2025-03-09
[2025-03-10 03:54:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:54:05] Production.INFO: Date 2025-03-10
[2025-03-10 03:54:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:54:05] Production.INFO: Total Charge 0
[2025-03-10 03:54:05] Production.INFO: CreateAllLog End
[2025-03-10 03:54:05] Production.INFO: ==29086== Releasing lock...
[2025-03-10 03:54:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:54:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:54:05] Production.ERROR: done
[2025-03-10 03:54:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:54:05] Production.ERROR: done
[2025-03-10 03:54:05] Production.INFO: Account Balance End.
[2025-03-10 03:54:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:54:05] Production.INFO: ==29090== Releasing lock...
[2025-03-10 03:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:54:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:54:07
[end_date_ymd] => 2025-03-10 03:54:07
[RateCDR] => 1
)
[2025-03-10 03:54: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-03-10 00:54:07' and `end` < '2025-03-10 03:54: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-03-10 03:54:12] Production.ERROR: CronJobId end10
[2025-03-10 03:54:12] Production.INFO: ==29088== Releasing lock...
[2025-03-10 03:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:54:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:54:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:54:15] Production.INFO: call_cost start
[2025-03-10 03:54:15] Production.INFO: call_cost end
[2025-03-10 03:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:54:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:54:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:54:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:54:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:54:16] Production.INFO: ==29084== Releasing lock...
[2025-03-10 03:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:54:19] Production.INFO: count ==215
[2025-03-10 03:54:19] Production.ERROR: pbx CDR StartTime 2025-03-10 00:54:07 - End Time 2025-03-10 03:54:07
[2025-03-10 03:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646894', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646894', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646894', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646894', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:54:19] Production.INFO: ProcessCDR(1,14646894,1,1,2)
[2025-03-10 03:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646894', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646894', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:54:22] Production.INFO: ==29092== Releasing lock...
[2025-03-10 03:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:54:22] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 07:55:01] Production.INFO: ==29155== Lock acquired, processing the job...
[2025-03-10 07:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:55:01] Production.INFO: neon service started
[2025-03-10 07:55:01] Production.INFO: neon service started
[2025-03-10 07:55:01] Production.INFO: ==29155== Releasing lock...
[2025-03-10 07:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:55:02] Production.INFO: ==29157== Lock acquired, processing the job...
[2025-03-10 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:55:02] Production.INFO: ==29159== Lock acquired, processing the job...
[2025-03-10 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 03:55:02] Production.INFO: ==29157== Releasing lock...
[2025-03-10 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:55:02] Production.INFO: ==29159== Releasing lock...
[2025-03-10 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:55:03] Production.INFO: ==29162== Lock acquired, processing the job...
[2025-03-10 03:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:55:03] Production.INFO: ==29166== Lock acquired, processing the job...
[2025-03-10 03:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:55:03] Production.INFO: ==29164== Lock acquired, processing the job...
[2025-03-10 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:55:03] Production.INFO: ==29168== Lock acquired, processing the job...
[2025-03-10 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:55:03] Production.INFO: ==29172== Lock acquired, processing the job...
[2025-03-10 03:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:55:03] Production.INFO: ==29170== Lock acquired, processing the job...
[2025-03-10 03:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:55:04] Production.INFO: Account Balance Start.
[2025-03-10 03:55:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:55:04] Production.INFO: 117
[2025-03-10 03:55:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 03:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:55:04] Production.INFO: count ==13
[2025-03-10 03:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 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-03-10 03:55:04] Production.INFO: count ==21
[2025-03-10 03:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646898') start
[2025-03-10 03:55:04] Production.INFO: Total Charge 0
[2025-03-10 03:55:04] Production.INFO: CreateAllLog End
[2025-03-10 03:55:04] Production.INFO: ==29164== Releasing lock...
[2025-03-10 03:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646898') end
[2025-03-10 03:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:55:04] Production.INFO: 1
[2025-03-10 03:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:55:04] Production.INFO: ==29172== Releasing lock...
[2025-03-10 03:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:55:04] Production.ERROR: done
[2025-03-10 03:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:55:04] Production.INFO: Account Balance End.
[2025-03-10 03:55:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:55:04] Production.INFO: ==29168== Releasing lock...
[2025-03-10 03:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:55:04] Production.ERROR: done
[2025-03-10 03:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:55:05
[end_date_ymd] => 2025-03-10 03:55:05
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:55:05' and `end` < '2025-03-10 03: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-03-10 03:55:11] Production.ERROR: CronJobId end10
[2025-03-10 03:55:11] Production.INFO: ==29166== Releasing lock...
[2025-03-10 03:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:55:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:55:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:55:15] Production.INFO: call_cost start
[2025-03-10 03:55:15] Production.INFO: call_cost end
[2025-03-10 03:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:55:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:55:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:55:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:55:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:55:16] Production.INFO: ==29162== Releasing lock...
[2025-03-10 03:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:55:17] Production.INFO: count ==215
[2025-03-10 03:55:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:55:05 - End Time 2025-03-10 03:55:05
[2025-03-10 03:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646899', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646899', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646899', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646899', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:55:17] Production.INFO: ProcessCDR(1,14646899,1,1,2)
[2025-03-10 03:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646899', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646899', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:55:21] Production.INFO: ==29170== Releasing lock...
[2025-03-10 03:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:55:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 07:56:02] Production.INFO: ==29228== Lock acquired, processing the job...
[2025-03-10 07:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:56:02] Production.INFO: neon service started
[2025-03-10 07:56:02] Production.INFO: neon service started
[2025-03-10 07:56:02] Production.INFO: ==29228== Releasing lock...
[2025-03-10 07:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:56:02] Production.INFO: ==29230== Lock acquired, processing the job...
[2025-03-10 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:56:03] Production.INFO: ==29230== Releasing lock...
[2025-03-10 03:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:56:03] Production.INFO: ==29232== Lock acquired, processing the job...
[2025-03-10 07:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:56:03] Production.INFO: ==29232== Releasing lock...
[2025-03-10 07:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:56:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:56:04] Production.INFO: ==29237== Lock acquired, processing the job...
[2025-03-10 03:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:56:04] Production.INFO: ==29243== Lock acquired, processing the job...
[2025-03-10 03:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:56:04] Production.INFO: ==29234== Lock acquired, processing the job...
[2025-03-10 03:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:56:04] Production.INFO: ==29239== Lock acquired, processing the job...
[2025-03-10 03:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:56:04] Production.INFO: ==29241== Lock acquired, processing the job...
[2025-03-10 03:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:56:04] Production.INFO: ==29245== Lock acquired, processing the job...
[2025-03-10 03:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:56:04] Production.INFO: ==29237== Releasing lock...
[2025-03-10 03:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:56:04] Production.ERROR: done
[2025-03-10 03:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:56:04] Production.INFO: Account Balance Start.
[2025-03-10 03:56:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:56:04] Production.INFO: 117
[2025-03-10 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-03-10 03:56:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:56:04] Production.ERROR: done
[2025-03-10 03:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:56:04] Production.INFO: count ==13
[2025-03-10 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-03-10 03:56:04] Production.INFO: count ==21
[2025-03-10 03:56:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646903') start
[2025-03-10 03:56:05] Production.INFO: Date 2025-03-10
[2025-03-10 03:56:05] Production.INFO: Reseller ==> 0
[2025-03-10 03:56:05] Production.INFO: Total Charge 0
[2025-03-10 03:56:05] Production.INFO: CreateAllLog End
[2025-03-10 03:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646903') end
[2025-03-10 03:56:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:56:05] Production.INFO: 1
[2025-03-10 03:56:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:56:05] Production.INFO: ==29245== Releasing lock...
[2025-03-10 03:56:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:56:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:56:05] Production.INFO: Account Balance End.
[2025-03-10 03:56:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:56:05] Production.INFO: ==29241== Releasing lock...
[2025-03-10 03:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:56:06
[end_date_ymd] => 2025-03-10 03:56:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:56:06' and `end` < '2025-03-10 03: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-03-10 03:56:13] Production.ERROR: CronJobId end10
[2025-03-10 03:56:13] Production.INFO: ==29239== Releasing lock...
[2025-03-10 03:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:56:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:56:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:56:16] Production.INFO: call_cost start
[2025-03-10 03:56:16] Production.INFO: call_cost end
[2025-03-10 03:56:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:56:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:56:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:56:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:56:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:56:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:56:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:56:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:56:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:56:17] Production.INFO: ==29234== Releasing lock...
[2025-03-10 03:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:56:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:56:18] Production.INFO: count ==215
[2025-03-10 03:56:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:56:06 - End Time 2025-03-10 03:56:06
[2025-03-10 03:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646904', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646904', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646904', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646904', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:56:18] Production.INFO: ProcessCDR(1,14646904,1,1,2)
[2025-03-10 03:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646904', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646904', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:56:21] Production.INFO: ==29243== Releasing lock...
[2025-03-10 03:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:56:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 07:57:02] Production.INFO: ==29298== Lock acquired, processing the job...
[2025-03-10 07:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:57:02] Production.INFO: neon service started
[2025-03-10 07:57:02] Production.INFO: neon service started
[2025-03-10 07:57:02] Production.INFO: ==29298== Releasing lock...
[2025-03-10 07:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 03:57:02] Production.INFO: ==29300== Lock acquired, processing the job...
[2025-03-10 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:57:02] Production.INFO: ==29300== Releasing lock...
[2025-03-10 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:57:03] Production.INFO: ==29302== Lock acquired, processing the job...
[2025-03-10 07:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:57:03] Production.INFO: ==29302== Releasing lock...
[2025-03-10 07:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:57:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:57:03] Production.INFO: ==29307== Lock acquired, processing the job...
[2025-03-10 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:57:03] Production.INFO: ==29315== Lock acquired, processing the job...
[2025-03-10 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03: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-03-10 03:57:04] Production.INFO: ==29305== Lock acquired, processing the job...
[2025-03-10 03:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:57:04] Production.INFO: ==29309== Lock acquired, processing the job...
[2025-03-10 03:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:57:04] Production.INFO: count ==13
[2025-03-10 03:57:04] Production.INFO: ==29311== Lock acquired, processing the job...
[2025-03-10 03:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03: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-03-10 03:57:04] Production.INFO: count ==21
[2025-03-10 03:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:57:04] Production.INFO: ==29313== Lock acquired, processing the job...
[2025-03-10 03:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:57:04] Production.INFO: ==29307== Releasing lock...
[2025-03-10 03:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646906') start
[2025-03-10 03:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:57:04] Production.INFO: Account Balance Start.
[2025-03-10 03:57:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:57:04] Production.INFO: 117
[2025-03-10 03:57:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646906') end
[2025-03-10 03:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:57:04] Production.INFO: 1
[2025-03-10 03:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:57:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:57:04] Production.INFO: ==29315== Releasing lock...
[2025-03-10 03:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:57:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:57:04] Production.INFO: Total Charge 0
[2025-03-10 03:57:04] Production.INFO: CreateAllLog End
[2025-03-10 03:57:04] Production.ERROR: done
[2025-03-10 03:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:57:04] Production.ERROR: done
[2025-03-10 03:57:05] Production.INFO: Account Balance End.
[2025-03-10 03:57:05] Production.ERROR: CronJobId end 12
[2025-03-10 03:57:05] Production.INFO: ==29311== Releasing lock...
[2025-03-10 03:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:57:06
[end_date_ymd] => 2025-03-10 03:57:06
[RateCDR] => 1
)
[2025-03-10 03: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-03-10 00:57:06' and `end` < '2025-03-10 03: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-03-10 03:57:13] Production.ERROR: CronJobId end10
[2025-03-10 03:57:13] Production.INFO: ==29309== Releasing lock...
[2025-03-10 03:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:57:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:57:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:57:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:57:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:57:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:57:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:57:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:57:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:57:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:57:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:57:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:57:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:57:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:57:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:57:16] Production.INFO: call_cost start
[2025-03-10 03:57:16] Production.INFO: call_cost end
[2025-03-10 03:57:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:57:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:57:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:57:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:57:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:57:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:57:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:57:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:57:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:57:17] Production.INFO: ==29305== Releasing lock...
[2025-03-10 03:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:57:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:57:18] Production.INFO: count ==214
[2025-03-10 03:57:18] Production.ERROR: pbx CDR StartTime 2025-03-10 00:57:06 - End Time 2025-03-10 03:57:06
[2025-03-10 03:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646909', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646909', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646909', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646909', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:57:18] Production.INFO: ProcessCDR(1,14646909,1,1,2)
[2025-03-10 03:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646909', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646909', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:57:21] Production.INFO: ==29313== Releasing lock...
[2025-03-10 03:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:57:21] Production.INFO: 30 MB #Memory Used#
[2025-03-10 07:58:01] Production.INFO: ==29371== Lock acquired, processing the job...
[2025-03-10 07:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:58:01] Production.INFO: neon service started
[2025-03-10 07:58:01] Production.INFO: neon service started
[2025-03-10 07:58:01] Production.INFO: ==29371== Releasing lock...
[2025-03-10 07:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:58:01] Production.INFO: ==29375== Lock acquired, processing the job...
[2025-03-10 07:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:58:01] Production.INFO: ==29375== Releasing lock...
[2025-03-10 07:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:58:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:58:02] Production.INFO: ==29373== Lock acquired, processing the job...
[2025-03-10 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:58:02] Production.INFO: ==29373== Releasing lock...
[2025-03-10 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:58:03] Production.INFO: ==29377== Lock acquired, processing the job...
[2025-03-10 03:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:58:03] Production.INFO: ==29380== Lock acquired, processing the job...
[2025-03-10 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:58:03] Production.INFO: ==29386== Lock acquired, processing the job...
[2025-03-10 03:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:58:03] Production.INFO: ==29382== Lock acquired, processing the job...
[2025-03-10 03:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:58:03] Production.INFO: ==29384== Lock acquired, processing the job...
[2025-03-10 03:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:58:03] Production.INFO: ==29388== Lock acquired, processing the job...
[2025-03-10 03:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 03:58:03] Production.INFO: ==29380== Releasing lock...
[2025-03-10 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 03:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:58:04] Production.INFO: count ==13
[2025-03-10 03:58:04] Production.INFO: Account Balance Start.
[2025-03-10 03:58:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:58:04] Production.INFO: 117
[2025-03-10 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-03-10 03:58:04] Production.INFO: count ==21
[2025-03-10 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646913') start
[2025-03-10 03:58:04] Production.ERROR: done
[2025-03-10 03:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:58:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:58:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646913') end
[2025-03-10 03:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:58:04] Production.INFO: 1
[2025-03-10 03:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:58:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:58:04] Production.ERROR: done
[2025-03-10 03:58:04] Production.INFO: Total Charge 0
[2025-03-10 03:58:04] Production.INFO: ==29388== Releasing lock...
[2025-03-10 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:58:04] Production.INFO: CreateAllLog End
[2025-03-10 03:58:04] Production.INFO: Account Balance End.
[2025-03-10 03:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:58:04] Production.INFO: ==29384== Releasing lock...
[2025-03-10 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:58:05
[end_date_ymd] => 2025-03-10 03:58:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:58:05' and `end` < '2025-03-10 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-03-10 03:58:12] Production.ERROR: CronJobId end10
[2025-03-10 03:58:12] Production.INFO: ==29382== Releasing lock...
[2025-03-10 03:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:58:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:58:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:58:15] Production.INFO: call_cost start
[2025-03-10 03:58:15] Production.INFO: call_cost end
[2025-03-10 03:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:58:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:58:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:58:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:58:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:58:16] Production.INFO: ==29377== Releasing lock...
[2025-03-10 03:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:58:17] Production.INFO: count ==213
[2025-03-10 03:58:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:58:05 - End Time 2025-03-10 03:58:05
[2025-03-10 03:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646914', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646914', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646914', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646914', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:58:17] Production.INFO: ProcessCDR(1,14646914,1,1,2)
[2025-03-10 03:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646914', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646914', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:58:21] Production.INFO: ==29386== Releasing lock...
[2025-03-10 03:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:58:21] Production.INFO: 30 MB #Memory Used#
[2025-03-10 07:59:01] Production.INFO: ==29444== Lock acquired, processing the job...
[2025-03-10 07:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 07:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 07:59:01] Production.INFO: neon service started
[2025-03-10 07:59:01] Production.INFO: neon service started
[2025-03-10 07:59:01] Production.INFO: ==29444== Releasing lock...
[2025-03-10 07:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 07:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:59:02] Production.INFO: ==29448== Lock acquired, processing the job...
[2025-03-10 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:59:02] Production.INFO: ==29448== Releasing lock...
[2025-03-10 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 07:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 03:59:02] Production.INFO: ==29446== Lock acquired, processing the job...
[2025-03-10 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 03:59:02] Production.INFO: ==29446== Releasing lock...
[2025-03-10 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 03:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 03:59:03] Production.INFO: ==29461== Lock acquired, processing the job...
[2025-03-10 03:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 03:59:03] Production.INFO: count ==13
[2025-03-10 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-03-10 03:59:03] Production.INFO: count ==21
[2025-03-10 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646915') start
[2025-03-10 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646915') end
[2025-03-10 03:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 03:59:03] Production.INFO: 1
[2025-03-10 03:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 03:59:03] Production.INFO: ==29461== Releasing lock...
[2025-03-10 03:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 03:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 03:59:04] Production.INFO: ==29457== Lock acquired, processing the job...
[2025-03-10 03:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 03:59:04] Production.INFO: ==29451== Lock acquired, processing the job...
[2025-03-10 03:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 03:59:04] Production.INFO: ==29453== Lock acquired, processing the job...
[2025-03-10 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 03:59:04] Production.INFO: ==29455== Lock acquired, processing the job...
[2025-03-10 03:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 03:59:04] Production.INFO: Account Balance Start.
[2025-03-10 03:59:04] Production.INFO: CreateAllLog Start
[2025-03-10 03:59:04] Production.INFO: 117
[2025-03-10 03:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 03:59:04] Production.INFO: ==29459== Lock acquired, processing the job...
[2025-03-10 03:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 03:59:04] Production.INFO: Date 2025-03-08
[2025-03-10 03:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 03:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 03:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 03:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 03:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:59:04] Production.INFO: Date 2025-03-09
[2025-03-10 03:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 03:59:04] Production.INFO: Date 2025-03-10
[2025-03-10 03:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 03:59:04] Production.INFO: Total Charge 0
[2025-03-10 03:59:04] Production.INFO: CreateAllLog End
[2025-03-10 03:59:04] Production.INFO: ==29453== Releasing lock...
[2025-03-10 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 03:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 03:59:04] Production.ERROR: done
[2025-03-10 03:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 03:59:04] Production.INFO: Account Balance End.
[2025-03-10 03:59:04] Production.ERROR: CronJobId end 12
[2025-03-10 03:59:04] Production.INFO: ==29457== Releasing lock...
[2025-03-10 03:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 03:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 03:59:04] Production.ERROR: done
[2025-03-10 03:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 00:59:05
[end_date_ymd] => 2025-03-10 03:59:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 00:59:05' and `end` < '2025-03-10 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-03-10 03:59:13] Production.ERROR: CronJobId end10
[2025-03-10 03:59:13] Production.INFO: ==29455== Releasing lock...
[2025-03-10 03:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 03:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 03:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 03:59:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 03:59:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 03:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 03:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 03:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 03:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 03:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 03:59:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 03:59:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 03:59:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 03:59:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 03:59:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 03:59:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 03:59:16] Production.INFO: call_cost start
[2025-03-10 03:59:16] Production.INFO: call_cost end
[2025-03-10 03:59:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 03:59:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 03:59:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 03:59:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 03:59:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 03:59:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 03:59:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 03:59:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 03:59:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 03:59:17] Production.INFO: ==29451== Releasing lock...
[2025-03-10 03:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 03:59:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 03:59:17] Production.INFO: count ==214
[2025-03-10 03:59:17] Production.ERROR: pbx CDR StartTime 2025-03-10 00:59:05 - End Time 2025-03-10 03:59:05
[2025-03-10 03:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 03:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646919', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646919', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646919', 'tblTempVendorCDR_20' ) start
[2025-03-10 03:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646919', 'tblTempVendorCDR_20' ) end
[2025-03-10 03:59:17] Production.INFO: ProcessCDR(1,14646919,1,1,2)
[2025-03-10 03:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 03:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 03:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646919', 'tblTempUsageDetail_20' ) start
[2025-03-10 03:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646919', 'tblTempUsageDetail_20' ) end
[2025-03-10 03:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 03:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 03:59:21] Production.INFO: ==29459== Releasing lock...
[2025-03-10 03:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 03:59:21] Production.INFO: 30 MB #Memory Used#
[2025-03-10 08:00:01] Production.INFO: ==29519== Lock acquired, processing the job...
[2025-03-10 08:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:00:01] Production.INFO: neon service started
[2025-03-10 08:00:01] Production.INFO: neon service started
[2025-03-10 08:00:01] Production.INFO: ==29519== Releasing lock...
[2025-03-10 08:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:00:01] Production.INFO: ==29521== Lock acquired, processing the job...
[2025-03-10 04:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:00:02] Production.INFO: ==29523== Lock acquired, processing the job...
[2025-03-10 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:00:02] Production.INFO: ==29523== Releasing lock...
[2025-03-10 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:00:02] Production.INFO: ==29521== Releasing lock...
[2025-03-10 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:00:03] Production.INFO: ==29525== Lock acquired, processing the job...
[2025-03-10 04:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 04:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 04:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 04:00:03] Production.INFO: ==29525== Releasing lock...
[2025-03-10 04:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 04:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 04:00:03] Production.INFO: ==29529== Lock acquired, processing the job...
[2025-03-10 04:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:00:03] Production.INFO: ==29531== Lock acquired, processing the job...
[2025-03-10 04:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:00:03] Production.INFO: ==29540== Lock acquired, processing the job...
[2025-03-10 04:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:00:03] Production.INFO: ==29527== Lock acquired, processing the job...
[2025-03-10 04:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04: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-03-10 04:00:03] Production.INFO: ==29533== Lock acquired, processing the job...
[2025-03-10 04:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:00:03] Production.INFO: count ==13
[2025-03-10 04:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:00:03] Production.INFO: ==29536== Lock acquired, processing the job...
[2025-03-10 04:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04: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-03-10 04:00:03] Production.INFO: count ==21
[2025-03-10 04:00:03] Production.INFO: ==29529== Releasing lock...
[2025-03-10 04:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:00:03] Production.INFO: Account Balance Start.
[2025-03-10 04:00:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:00:03] Production.INFO: 117
[2025-03-10 04:00:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646921') start
[2025-03-10 04:00:03] Production.INFO: ==29538== Lock acquired, processing the job...
[2025-03-10 04:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 04:00:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:00:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:00:04] Production.INFO: Total Charge 0
[2025-03-10 04:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646921') end
[2025-03-10 04:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:00:04] Production.INFO: 1
[2025-03-10 04:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:00:04] Production.INFO: CreateAllLog End
[2025-03-10 04:00:04] Production.INFO: ==29540== Releasing lock...
[2025-03-10 04:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:00:04] Production.ERROR: done
[2025-03-10 04:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:00:04] Production.ERROR: done
[2025-03-10 04:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 04:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646924', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 04:00:04] Production.ERROR: done
[2025-03-10 04:00:04] Production.INFO: Account Balance End.
[2025-03-10 04:00:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:00:04] Production.INFO: ==29533== Releasing lock...
[2025-03-10 04:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:00:06
[end_date_ymd] => 2025-03-10 04:00:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:00:06' and `end` < '2025-03-10 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-03-10 04:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646924', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 04:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 04:00:09] Production.INFO: ProcessCDR(1,14646924,1,1,2)
[2025-03-10 04:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646924,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646924,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:00:09] Production.INFO: ==29538== Releasing lock...
[2025-03-10 04:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 04:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 04:00:14] Production.ERROR: CronJobId end10
[2025-03-10 04:00:14] Production.INFO: ==29531== Releasing lock...
[2025-03-10 04:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:00:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:00:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:00:17] Production.INFO: call_cost start
[2025-03-10 04:00:17] Production.INFO: call_cost end
[2025-03-10 04:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:00:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:00:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:00:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:00:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:00:18] Production.INFO: ==29527== Releasing lock...
[2025-03-10 04:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:00:18] Production.INFO: count ==205
[2025-03-10 04:00:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:00:06 - End Time 2025-03-10 04:00:06
[2025-03-10 04:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646925', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646925', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646925', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646925', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:00:18] Production.INFO: ProcessCDR(1,14646925,1,1,2)
[2025-03-10 04:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646925', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646925', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:00:21] Production.INFO: ==29536== Releasing lock...
[2025-03-10 04:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:00:21] Production.INFO: 30 MB #Memory Used#
[2025-03-10 08:01:01] Production.INFO: ==29638== Lock acquired, processing the job...
[2025-03-10 08:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:01:01] Production.INFO: neon service started
[2025-03-10 08:01:01] Production.INFO: neon service started
[2025-03-10 08:01:01] Production.INFO: ==29638== Releasing lock...
[2025-03-10 08:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:01:02] Production.INFO: ==29649== Lock acquired, processing the job...
[2025-03-10 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:01:02] Production.INFO: ==29651== Lock acquired, processing the job...
[2025-03-10 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:01:02] Production.INFO: ==29649== Releasing lock...
[2025-03-10 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:01:02] Production.INFO: ==29651== Releasing lock...
[2025-03-10 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:01:03] Production.INFO: ==29658== Lock acquired, processing the job...
[2025-03-10 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:01:03] Production.INFO: ==29664== Lock acquired, processing the job...
[2025-03-10 04:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:01:04] Production.INFO: ==29654== Lock acquired, processing the job...
[2025-03-10 04:01:04] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Starts#
[2025-03-10 04:01:04] Production.INFO: ==29656== Lock acquired, processing the job...
[2025-03-10 04:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:01:04] Production.INFO: ==29658== Releasing lock...
[2025-03-10 04:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:01:04] Production.INFO: ==29660== Lock acquired, processing the job...
[2025-03-10 04:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:01:04] Production.INFO: DBcleanup Starts.
[2025-03-10 04:01:04] Production.INFO: Usage Download Log Start.
[2025-03-10 04:01:04] Production.INFO: Usage Download Log End.
[2025-03-10 04:01:04] Production.INFO: Cronjob History Delete Start.
[2025-03-10 04:01:04] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-03-10','Cronjob')
[2025-03-10 04:01:04] Production.INFO: ==29662== Lock acquired, processing the job...
[2025-03-10 04:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:01:04] Production.INFO: ==29666== Lock acquired, processing the job...
[2025-03-10 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:01:04] Production.ERROR: done
[2025-03-10 04:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:01:04] Production.ERROR: done
[2025-03-10 04:01:04] Production.INFO: Account Balance Start.
[2025-03-10 04:01:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:01:04] Production.INFO: 117
[2025-03-10 04:01:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 04: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-03-10 04:01:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:01:04] Production.INFO: count ==13
[2025-03-10 04:01:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 04: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-03-10 04:01:04] Production.INFO: Total Charge 0
[2025-03-10 04:01:04] Production.INFO: count ==21
[2025-03-10 04:01:04] Production.INFO: CreateAllLog End
[2025-03-10 04:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646930') start
[2025-03-10 04:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646930') end
[2025-03-10 04:01:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:01:05] Production.INFO: 1
[2025-03-10 04:01:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:01:05] Production.INFO: Account Balance End.
[2025-03-10 04:01:05] Production.ERROR: CronJobId end 12
[2025-03-10 04:01:05] Production.INFO: ==29662== Releasing lock...
[2025-03-10 04:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:01:05] Production.INFO: ==29666== Releasing lock...
[2025-03-10 04:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:01:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:01:06
[end_date_ymd] => 2025-03-10 04:01:06
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:01:06' and `end` < '2025-03-10 04: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-03-10 04:01:16] Production.INFO: Cronjob History Delete End.
[2025-03-10 04:01:16] Production.INFO: Job Log Delete Start.
[2025-03-10 04:01:16] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-03-10','Job')
[2025-03-10 04:01:16] Production.INFO: Job Log Delete End.
[2025-03-10 04:01:16] Production.INFO: Customer RateSheet History Delete Starts.
[2025-03-10 04:01:16] Production.INFO: Customer RateSheet History Delete End.
[2025-03-10 04:01:16] Production.INFO: Vendor RateSheet History Delete Start.
[2025-03-10 04:01:16] Production.INFO: Vendor RateSheet History Delete End.
[2025-03-10 04:01:16] Production.INFO: All Old Rate Delete Start
[2025-03-10 04:01:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Start.
[2025-03-10 04:01:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Done.
[2025-03-10 04:01:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Start.
[2025-03-10 04:01:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Done.
[2025-03-10 04:01:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Start.
[2025-03-10 04:01:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Done.
[2025-03-10 04:01:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Start.
[2025-03-10 04:01:16] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Done.
[2025-03-10 04:01:16] Production.INFO: All Old Rate Delete End
[2025-03-10 04:01:16] Production.INFO: Customer CDR Delete Start.
[2025-03-10 04:01:16] Production.INFO: Customer CDR Delete End.
[2025-03-10 04:01:16] Production.INFO: Customer Failed Call Start.
[2025-03-10 04:01:16] Production.INFO: Customer Failed Call Delete End.
[2025-03-10 04:01:16] Production.INFO: Vendor CDR Delete Start.
[2025-03-10 04:01:16] Production.INFO: Vendor CDR Delete End.
[2025-03-10 04:01:16] Production.INFO: Vendor CDR Delete Start.
[2025-03-10 04:01:16] Production.INFO: Vendor CDR Delete End.
[2025-03-10 04:01:16] Production.INFO: RateLog Delete Start.
[2025-03-10 04:01:17] Production.INFO: RateLog Delete End.
[2025-03-10 04:01:17] Production.INFO: Archive Old Rate Delete Start.
[2025-03-10 04:01:17] Production.INFO: Archive Old Rate Delete End.
[2025-03-10 04:01:17] Production.INFO: Tickets Delete Start.
[2025-03-10 04:01:17] Production.INFO: Tickets Delete End.
[2025-03-10 04:01:17] Production.INFO: DBcleanup Done.
[2025-03-10 04:01:17] Production.ERROR: CronJobId end 3
[2025-03-10 04:01:17] Production.INFO: ==29654== Releasing lock...
[2025-03-10 04:01:17] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Stops#
[2025-03-10 04:01:17] Production.INFO: 26 MB #Memory Used#
[2025-03-10 04:01:18] Production.INFO: count ==203
[2025-03-10 04:01:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:01:06 - End Time 2025-03-10 04:01:06
[2025-03-10 04:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646931', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646931', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646931', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646931', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:01:18] Production.INFO: ProcessCDR(1,14646931,1,1,2)
[2025-03-10 04:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:01:19] Production.ERROR: CronJobId end10
[2025-03-10 04:01:19] Production.INFO: ==29660== Releasing lock...
[2025-03-10 04:01:19] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:01:19] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:01:20] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:01:20] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:01:20] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:01:20] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:01:20] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:01:20] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:01:20] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:01:20] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:01:20] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:01:20] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:01:20] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:01:20] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:01:20] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:01:20] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:01:20] Production.INFO: call_cost start
[2025-03-10 04:01:20] Production.INFO: call_cost end
[2025-03-10 04:01:21] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:01:21] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:01:21] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:01:21] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:01:21] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:01:21] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:01:21] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:01:21] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:01:21] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:01:21] Production.INFO: ==29656== Releasing lock...
[2025-03-10 04:01:21] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:01:21] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646931', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646931', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:01:22] Production.INFO: ==29664== Releasing lock...
[2025-03-10 04:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:01:22] Production.INFO: 30 MB #Memory Used#
[2025-03-10 08:02:01] Production.INFO: ==29720== Lock acquired, processing the job...
[2025-03-10 08:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:02:01] Production.INFO: neon service started
[2025-03-10 08:02:01] Production.INFO: neon service started
[2025-03-10 08:02:01] Production.INFO: ==29720== Releasing lock...
[2025-03-10 08:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:02:02] Production.INFO: ==29722== Lock acquired, processing the job...
[2025-03-10 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:02:02] Production.INFO: ==29724== Lock acquired, processing the job...
[2025-03-10 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:02:02] Production.INFO: ==29722== Releasing lock...
[2025-03-10 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:02:02] Production.INFO: ==29724== Releasing lock...
[2025-03-10 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:02:03] Production.INFO: ==29728== Lock acquired, processing the job...
[2025-03-10 04:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:02:03] Production.INFO: ==29731== Lock acquired, processing the job...
[2025-03-10 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:02:03] Production.INFO: ==29733== Lock acquired, processing the job...
[2025-03-10 04:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:02:03] Production.INFO: ==29735== Lock acquired, processing the job...
[2025-03-10 04:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:02:03] Production.INFO: ==29737== Lock acquired, processing the job...
[2025-03-10 04:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:02:03] Production.INFO: ==29739== Lock acquired, processing the job...
[2025-03-10 04:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:02:03] Production.INFO: Account Balance Start.
[2025-03-10 04:02:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:02:03] Production.INFO: 117
[2025-03-10 04:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:02:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:02:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:02:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:02:03] Production.INFO: ==29731== Releasing lock...
[2025-03-10 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:02:03] Production.INFO: Total Charge 0
[2025-03-10 04:02:03] Production.INFO: CreateAllLog End
[2025-03-10 04: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-03-10 04:02:04] Production.INFO: count ==13
[2025-03-10 04:02:04] Production.ERROR: done
[2025-03-10 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-03-10 04:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:02:04] Production.INFO: count ==21
[2025-03-10 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646935') start
[2025-03-10 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646935') end
[2025-03-10 04:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:02:04] Production.INFO: 1
[2025-03-10 04:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:02:04] Production.INFO: ==29739== Releasing lock...
[2025-03-10 04:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:02:04] Production.ERROR: done
[2025-03-10 04:02:04] Production.INFO: Account Balance End.
[2025-03-10 04:02:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:02:04] Production.INFO: ==29735== Releasing lock...
[2025-03-10 04:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:02:05
[end_date_ymd] => 2025-03-10 04:02:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:02:05' and `end` < '2025-03-10 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-03-10 04:02:12] Production.ERROR: CronJobId end10
[2025-03-10 04:02:12] Production.INFO: ==29733== Releasing lock...
[2025-03-10 04:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:02:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:02:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:02:14] Production.INFO: call_cost start
[2025-03-10 04:02:14] Production.INFO: call_cost end
[2025-03-10 04:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:02:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:02:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:02:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:02:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:02:15] Production.INFO: ==29728== Releasing lock...
[2025-03-10 04:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:02:17] Production.INFO: count ==202
[2025-03-10 04:02:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:02:05 - End Time 2025-03-10 04:02:05
[2025-03-10 04:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646936', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646936', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646936', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646936', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:02:17] Production.INFO: ProcessCDR(1,14646936,1,1,2)
[2025-03-10 04:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646936', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646936', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:02:21] Production.INFO: ==29737== Releasing lock...
[2025-03-10 04:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:02:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 08:03:02] Production.INFO: ==29796== Lock acquired, processing the job...
[2025-03-10 08:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:03:02] Production.INFO: neon service started
[2025-03-10 08:03:02] Production.INFO: neon service started
[2025-03-10 08:03:02] Production.INFO: ==29796== Releasing lock...
[2025-03-10 08:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:03:02] Production.INFO: ==29799== Lock acquired, processing the job...
[2025-03-10 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:03:02] Production.INFO: ==29799== Releasing lock...
[2025-03-10 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:03:02] Production.INFO: ==29801== Lock acquired, processing the job...
[2025-03-10 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:03:03] Production.INFO: ==29801== Releasing lock...
[2025-03-10 08:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:03:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:03:03] Production.INFO: ==29807== Lock acquired, processing the job...
[2025-03-10 04:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:03:04] Production.INFO: ==29813== Lock acquired, processing the job...
[2025-03-10 04:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:03:04] Production.INFO: ==29803== Lock acquired, processing the job...
[2025-03-10 04:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:03:04] Production.INFO: ==29805== Lock acquired, processing the job...
[2025-03-10 04:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04: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-03-10 04:03:04] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:03:04] Production.INFO: count ==21
[2025-03-10 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646937') start
[2025-03-10 04:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:03:04] Production.INFO: ==29809== Lock acquired, processing the job...
[2025-03-10 04:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:03:04] Production.INFO: ==29811== Lock acquired, processing the job...
[2025-03-10 04:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646937') end
[2025-03-10 04:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:03:04] Production.INFO: 1
[2025-03-10 04:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:03:04] Production.INFO: Account Balance Start.
[2025-03-10 04:03:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:03:04] Production.INFO: 117
[2025-03-10 04:03:04] Production.INFO: ==29813== Releasing lock...
[2025-03-10 04:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:03:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:03:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:03:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:03:04] Production.INFO: Total Charge 0
[2025-03-10 04:03:04] Production.INFO: CreateAllLog End
[2025-03-10 04:03:04] Production.INFO: ==29805== Releasing lock...
[2025-03-10 04:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:03:04] Production.ERROR: done
[2025-03-10 04:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:03:04] Production.INFO: Account Balance End.
[2025-03-10 04:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:03:04] Production.INFO: ==29809== Releasing lock...
[2025-03-10 04:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:03:04] Production.ERROR: done
[2025-03-10 04:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:03:06
[end_date_ymd] => 2025-03-10 04:03:06
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:03:06' and `end` < '2025-03-10 04: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-03-10 04:03:13] Production.ERROR: CronJobId end10
[2025-03-10 04:03:13] Production.INFO: ==29807== Releasing lock...
[2025-03-10 04:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:03:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:03:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:03:15] Production.INFO: call_cost start
[2025-03-10 04:03:15] Production.INFO: call_cost end
[2025-03-10 04:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:03:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:03:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:03:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:03:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:03:16] Production.INFO: ==29803== Releasing lock...
[2025-03-10 04:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:03:18] Production.INFO: count ==202
[2025-03-10 04:03:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:03:06 - End Time 2025-03-10 04:03:06
[2025-03-10 04:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646941', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646941', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646941', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646941', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:03:18] Production.INFO: ProcessCDR(1,14646941,1,1,2)
[2025-03-10 04:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646941', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646941', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:03:21] Production.INFO: ==29811== Releasing lock...
[2025-03-10 04:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:03:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 08:04:01] Production.INFO: ==29875== Lock acquired, processing the job...
[2025-03-10 08:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:04:01] Production.INFO: neon service started
[2025-03-10 08:04:01] Production.INFO: neon service started
[2025-03-10 08:04:01] Production.INFO: ==29875== Releasing lock...
[2025-03-10 08:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:04:02] Production.INFO: ==29877== Lock acquired, processing the job...
[2025-03-10 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:04:02] Production.INFO: ==29879== Lock acquired, processing the job...
[2025-03-10 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:04:02] Production.INFO: ==29879== Releasing lock...
[2025-03-10 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:04:02] Production.INFO: ==29877== Releasing lock...
[2025-03-10 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:04:03] Production.INFO: ==29884== Lock acquired, processing the job...
[2025-03-10 04:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:04:03] Production.INFO: ==29882== Lock acquired, processing the job...
[2025-03-10 04:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:04:03] Production.INFO: ==29888== Lock acquired, processing the job...
[2025-03-10 04:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:04:03] Production.INFO: Account Balance Start.
[2025-03-10 04:04:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:04:03] Production.INFO: 117
[2025-03-10 04:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:04:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:04:03] Production.INFO: ==29886== Lock acquired, processing the job...
[2025-03-10 04:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:04:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:04:03] Production.INFO: ==29890== Lock acquired, processing the job...
[2025-03-10 04:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:04:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:04:03] Production.INFO: ==29884== Releasing lock...
[2025-03-10 04:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:04:04] Production.INFO: Total Charge 0
[2025-03-10 04:04:04] Production.INFO: CreateAllLog End
[2025-03-10 04:04:04] Production.INFO: ==29892== Lock acquired, processing the job...
[2025-03-10 04:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 04:04:04] Production.INFO: count ==13
[2025-03-10 04:04:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 04:04:04] Production.INFO: count ==21
[2025-03-10 04:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:04:04] Production.INFO: ==29888== Releasing lock...
[2025-03-10 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646945') start
[2025-03-10 04:04:04] Production.ERROR: done
[2025-03-10 04:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646945') end
[2025-03-10 04:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:04:04] Production.INFO: 1
[2025-03-10 04:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:04:04] Production.ERROR: done
[2025-03-10 04:04:04] Production.INFO: ==29892== Releasing lock...
[2025-03-10 04:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:04:05
[end_date_ymd] => 2025-03-10 04:04:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:04:05' and `end` < '2025-03-10 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-03-10 04:04:11] Production.ERROR: CronJobId end10
[2025-03-10 04:04:11] Production.INFO: ==29886== Releasing lock...
[2025-03-10 04:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:04:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:04:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:04:15] Production.INFO: call_cost start
[2025-03-10 04:04:15] Production.INFO: call_cost end
[2025-03-10 04:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:04:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:04:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:04:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:04:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:04:16] Production.INFO: ==29882== Releasing lock...
[2025-03-10 04:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:04:17] Production.INFO: count ==202
[2025-03-10 04:04:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:04:05 - End Time 2025-03-10 04:04:05
[2025-03-10 04:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646946', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646946', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646946', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646946', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:04:17] Production.INFO: ProcessCDR(1,14646946,1,1,2)
[2025-03-10 04:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646946', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646946', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:04:21] Production.INFO: ==29890== Releasing lock...
[2025-03-10 04:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:04:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 08:05:02] Production.INFO: ==29953== Lock acquired, processing the job...
[2025-03-10 08:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:05:02] Production.INFO: neon service started
[2025-03-10 08:05:02] Production.INFO: neon service started
[2025-03-10 08:05:02] Production.INFO: ==29953== Releasing lock...
[2025-03-10 08:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:05:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 08:05:02] Production.INFO: ==29957== Lock acquired, processing the job...
[2025-03-10 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:05:02] Production.INFO: ==29957== Releasing lock...
[2025-03-10 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:05:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:05:02] Production.INFO: ==29955== Lock acquired, processing the job...
[2025-03-10 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:05:02] Production.INFO: ==29955== Releasing lock...
[2025-03-10 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:05:03] Production.INFO: ==29968== Lock acquired, processing the job...
[2025-03-10 04:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:05:03] Production.INFO: ==29970== Lock acquired, processing the job...
[2025-03-10 04:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:05:03] Production.INFO: ==29959== Lock acquired, processing the job...
[2025-03-10 04:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:05:03] Production.INFO: ==29961== Lock acquired, processing the job...
[2025-03-10 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:05:03] Production.INFO: ==29963== Lock acquired, processing the job...
[2025-03-10 04:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:05:03] Production.INFO: ==29966== Lock acquired, processing the job...
[2025-03-10 04:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 04:05:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:05:04] Production.INFO: count ==21
[2025-03-10 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646947') start
[2025-03-10 04:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:05:04] Production.INFO: Account Balance Start.
[2025-03-10 04:05:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:05:04] Production.INFO: 117
[2025-03-10 04:05:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:05:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646947') end
[2025-03-10 04:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:05:04] Production.INFO: 1
[2025-03-10 04:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:05:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:05:04] Production.INFO: Total Charge 0
[2025-03-10 04:05:04] Production.INFO: CreateAllLog End
[2025-03-10 04:05:04] Production.INFO: ==29961== Releasing lock...
[2025-03-10 04:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:05:04] Production.INFO: ==29970== Releasing lock...
[2025-03-10 04:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:05:04] Production.ERROR: done
[2025-03-10 04:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:05:04] Production.ERROR: done
[2025-03-10 04:05:04] Production.INFO: Account Balance End.
[2025-03-10 04:05:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:05:04] Production.INFO: ==29966== Releasing lock...
[2025-03-10 04:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:05:05
[end_date_ymd] => 2025-03-10 04:05:05
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:05:05' and `end` < '2025-03-10 04: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-03-10 04:05:12] Production.ERROR: CronJobId end10
[2025-03-10 04:05:12] Production.INFO: ==29963== Releasing lock...
[2025-03-10 04:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:05:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:05:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:05:15] Production.INFO: call_cost start
[2025-03-10 04:05:15] Production.INFO: call_cost end
[2025-03-10 04:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:05:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:05:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:05:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:05:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:05:16] Production.INFO: ==29959== Releasing lock...
[2025-03-10 04:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:05:17] Production.INFO: count ==202
[2025-03-10 04:05:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:05:05 - End Time 2025-03-10 04:05:05
[2025-03-10 04:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646951', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646951', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646951', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646951', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:05:17] Production.INFO: ProcessCDR(1,14646951,1,1,2)
[2025-03-10 04:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646951', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646951', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:05:21] Production.INFO: ==29968== Releasing lock...
[2025-03-10 04:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:05:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 08:06:01] Production.INFO: ==30024== Lock acquired, processing the job...
[2025-03-10 08:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:06:01] Production.INFO: neon service started
[2025-03-10 08:06:01] Production.INFO: neon service started
[2025-03-10 08:06:01] Production.INFO: ==30024== Releasing lock...
[2025-03-10 08:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:06:01] Production.INFO: ==30028== Lock acquired, processing the job...
[2025-03-10 08:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:06:01] Production.INFO: ==30028== Releasing lock...
[2025-03-10 08:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:06:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:06:02] Production.INFO: ==30026== Lock acquired, processing the job...
[2025-03-10 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:06:02] Production.INFO: ==30026== Releasing lock...
[2025-03-10 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:06:03] Production.INFO: ==30031== Lock acquired, processing the job...
[2025-03-10 04:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:06:03] Production.INFO: ==30033== Lock acquired, processing the job...
[2025-03-10 04:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:06:03] Production.INFO: ==30037== Lock acquired, processing the job...
[2025-03-10 04:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:06:03] Production.INFO: Account Balance Start.
[2025-03-10 04:06:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:06:03] Production.INFO: 117
[2025-03-10 04:06:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:06:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:06:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:06:03] Production.INFO: Total Charge 0
[2025-03-10 04:06:03] Production.INFO: ==30035== Lock acquired, processing the job...
[2025-03-10 04:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:06:03] Production.INFO: CreateAllLog End
[2025-03-10 04:06:03] Production.INFO: ==30033== Releasing lock...
[2025-03-10 04:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:06:03] Production.INFO: Account Balance End.
[2025-03-10 04:06:03] Production.ERROR: CronJobId end 12
[2025-03-10 04:06:03] Production.INFO: ==30037== Releasing lock...
[2025-03-10 04:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:06:03] Production.INFO: ==30039== Lock acquired, processing the job...
[2025-03-10 04:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:06:03] Production.INFO: ==30041== Lock acquired, processing the job...
[2025-03-10 04:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 04:06:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:06:04] Production.INFO: count ==21
[2025-03-10 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646955') start
[2025-03-10 04:06:04] Production.ERROR: done
[2025-03-10 04:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646955') end
[2025-03-10 04:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:06:04] Production.INFO: 1
[2025-03-10 04:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:06:04] Production.INFO: ==30041== Releasing lock...
[2025-03-10 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:06:04] Production.ERROR: done
[2025-03-10 04:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:06:05
[end_date_ymd] => 2025-03-10 04:06:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:06:05' and `end` < '2025-03-10 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-03-10 04:06:11] Production.ERROR: CronJobId end10
[2025-03-10 04:06:11] Production.INFO: ==30035== Releasing lock...
[2025-03-10 04:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:06:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:06:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:06:14] Production.INFO: call_cost start
[2025-03-10 04:06:14] Production.INFO: call_cost end
[2025-03-10 04:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:06:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:06:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:06:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:06:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:06:15] Production.INFO: ==30031== Releasing lock...
[2025-03-10 04:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:06:17] Production.INFO: count ==202
[2025-03-10 04:06:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:06:05 - End Time 2025-03-10 04:06:05
[2025-03-10 04:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646956', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646956', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646956', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646956', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:06:17] Production.INFO: ProcessCDR(1,14646956,1,1,2)
[2025-03-10 04:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646956', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646956', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:06:21] Production.INFO: ==30039== Releasing lock...
[2025-03-10 04:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:06:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 08:07:01] Production.INFO: ==30100== Lock acquired, processing the job...
[2025-03-10 08:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:07:01] Production.INFO: neon service started
[2025-03-10 08:07:02] Production.INFO: neon service started
[2025-03-10 08:07:02] Production.INFO: ==30100== Releasing lock...
[2025-03-10 08:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:07:02] Production.INFO: ==30102== Lock acquired, processing the job...
[2025-03-10 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:07:02] Production.INFO: ==30104== Lock acquired, processing the job...
[2025-03-10 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:07:02] Production.INFO: ==30104== Releasing lock...
[2025-03-10 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:07:03] Production.INFO: ==30102== Releasing lock...
[2025-03-10 04:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:07:03] Production.INFO: ==30107== Lock acquired, processing the job...
[2025-03-10 04:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:07:04] Production.INFO: ==30117== Lock acquired, processing the job...
[2025-03-10 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:07:04] Production.INFO: ==30115== Lock acquired, processing the job...
[2025-03-10 04:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 04:07:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:07:04] Production.INFO: ==30111== Lock acquired, processing the job...
[2025-03-10 04:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:07:04] Production.INFO: count ==21
[2025-03-10 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646958') start
[2025-03-10 04:07:04] Production.INFO: ==30109== Lock acquired, processing the job...
[2025-03-10 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:07:04] Production.INFO: ==30113== Lock acquired, processing the job...
[2025-03-10 04:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646958') end
[2025-03-10 04:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:07:04] Production.INFO: 1
[2025-03-10 04:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:07:04] Production.ERROR: done
[2025-03-10 04:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:07:04] Production.INFO: Account Balance Start.
[2025-03-10 04:07:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:07:04] Production.INFO: 117
[2025-03-10 04:07:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:07:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:07:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:07:04] Production.INFO: ==30117== Releasing lock...
[2025-03-10 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:07:04] Production.ERROR: done
[2025-03-10 04:07:04] Production.INFO: Total Charge 0
[2025-03-10 04:07:04] Production.INFO: CreateAllLog End
[2025-03-10 04:07:04] Production.INFO: Account Balance End.
[2025-03-10 04:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:07:04] Production.INFO: ==30113== Releasing lock...
[2025-03-10 04:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:07:05] Production.INFO: ==30109== Releasing lock...
[2025-03-10 04:07:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:07:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:07:05
[end_date_ymd] => 2025-03-10 04:07:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:07:05' and `end` < '2025-03-10 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-03-10 04:07:12] Production.ERROR: CronJobId end10
[2025-03-10 04:07:12] Production.INFO: ==30111== Releasing lock...
[2025-03-10 04:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:07:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:07:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:07:15] Production.INFO: call_cost start
[2025-03-10 04:07:15] Production.INFO: call_cost end
[2025-03-10 04:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:07:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:07:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:07:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:07:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:07:16] Production.INFO: ==30107== Releasing lock...
[2025-03-10 04:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:07:17] Production.INFO: count ==202
[2025-03-10 04:07:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:07:05 - End Time 2025-03-10 04:07:05
[2025-03-10 04:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646961', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646961', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646961', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646961', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:07:17] Production.INFO: ProcessCDR(1,14646961,1,1,2)
[2025-03-10 04:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646961', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646961', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:07:21] Production.INFO: ==30115== Releasing lock...
[2025-03-10 04:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:07:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 08:08:01] Production.INFO: ==30173== Lock acquired, processing the job...
[2025-03-10 08:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:08:01] Production.INFO: neon service started
[2025-03-10 08:08:01] Production.INFO: neon service started
[2025-03-10 08:08:01] Production.INFO: ==30173== Releasing lock...
[2025-03-10 08:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:08:01] Production.INFO: ==30177== Lock acquired, processing the job...
[2025-03-10 08:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:08:01] Production.INFO: ==30177== Releasing lock...
[2025-03-10 08:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:08:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:08:01] Production.INFO: ==30175== Lock acquired, processing the job...
[2025-03-10 04:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:08:02] Production.INFO: ==30175== Releasing lock...
[2025-03-10 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:08:03] Production.INFO: ==30184== Lock acquired, processing the job...
[2025-03-10 04:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:08:03] Production.INFO: ==30190== Lock acquired, processing the job...
[2025-03-10 04:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 04:08:03] Production.INFO: count ==13
[2025-03-10 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-03-10 04:08:03] Production.INFO: count ==21
[2025-03-10 04:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646962') start
[2025-03-10 04:08:03] Production.INFO: ==30180== Lock acquired, processing the job...
[2025-03-10 04:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:08:03] Production.INFO: ==30182== Lock acquired, processing the job...
[2025-03-10 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646962') end
[2025-03-10 04:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:08:03] Production.INFO: 1
[2025-03-10 04:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:08:03] Production.INFO: ==30190== Releasing lock...
[2025-03-10 04:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:08:03] Production.INFO: ==30186== Lock acquired, processing the job...
[2025-03-10 04:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:08:03] Production.INFO: ==30188== Lock acquired, processing the job...
[2025-03-10 04:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:08:03] Production.INFO: Account Balance Start.
[2025-03-10 04:08:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:08:03] Production.INFO: 117
[2025-03-10 04:08:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:08:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:08:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:08:04] Production.INFO: Total Charge 0
[2025-03-10 04:08:04] Production.INFO: CreateAllLog End
[2025-03-10 04:08:04] Production.INFO: ==30182== Releasing lock...
[2025-03-10 04:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:08:04] Production.ERROR: done
[2025-03-10 04:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:08:04] Production.ERROR: done
[2025-03-10 04:08:04] Production.INFO: Account Balance End.
[2025-03-10 04:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:08:04] Production.INFO: ==30186== Releasing lock...
[2025-03-10 04:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:08:05
[end_date_ymd] => 2025-03-10 04:08:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:08:05' and `end` < '2025-03-10 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-03-10 04:08:12] Production.ERROR: CronJobId end10
[2025-03-10 04:08:12] Production.INFO: ==30184== Releasing lock...
[2025-03-10 04:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:08:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:08:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:08:14] Production.INFO: call_cost start
[2025-03-10 04:08:14] Production.INFO: call_cost end
[2025-03-10 04:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:08:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:08:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:08:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:08:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:08:15] Production.INFO: ==30180== Releasing lock...
[2025-03-10 04:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:08:17] Production.INFO: count ==202
[2025-03-10 04:08:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:08:05 - End Time 2025-03-10 04:08:05
[2025-03-10 04:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646966', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646966', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646966', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646966', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:08:17] Production.INFO: ProcessCDR(1,14646966,1,1,2)
[2025-03-10 04:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646966', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646966', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:08:21] Production.INFO: ==30188== Releasing lock...
[2025-03-10 04:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:08:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 08:09:01] Production.INFO: ==30248== Lock acquired, processing the job...
[2025-03-10 08:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:09:01] Production.INFO: neon service started
[2025-03-10 08:09:01] Production.INFO: neon service started
[2025-03-10 08:09:01] Production.INFO: ==30248== Releasing lock...
[2025-03-10 08:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:09:02] Production.INFO: ==30250== Lock acquired, processing the job...
[2025-03-10 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:09:02] Production.INFO: ==30250== Releasing lock...
[2025-03-10 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:09:02] Production.INFO: ==30252== Lock acquired, processing the job...
[2025-03-10 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:09:02] Production.INFO: ==30252== Releasing lock...
[2025-03-10 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:09:03] Production.INFO: ==30254== Lock acquired, processing the job...
[2025-03-10 04:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:09:03] Production.INFO: ==30256== Lock acquired, processing the job...
[2025-03-10 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:09:03] Production.INFO: ==30260== Lock acquired, processing the job...
[2025-03-10 04:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:09:03] Production.INFO: Account Balance Start.
[2025-03-10 04:09:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:09:03] Production.INFO: 117
[2025-03-10 04:09:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:09:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:09:03] Production.INFO: ==30258== Lock acquired, processing the job...
[2025-03-10 04:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:09:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:09:03] Production.INFO: ==30256== Releasing lock...
[2025-03-10 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:09:03] Production.INFO: Total Charge 0
[2025-03-10 04:09:03] Production.INFO: CreateAllLog End
[2025-03-10 04:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:09:03] Production.INFO: ==30262== Lock acquired, processing the job...
[2025-03-10 04:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:09:03] Production.INFO: Account Balance End.
[2025-03-10 04:09:04] Production.INFO: ==30265== Lock acquired, processing the job...
[2025-03-10 04:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:09:04] Production.INFO: ==30260== Releasing lock...
[2025-03-10 04:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 04:09:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:09:04] Production.INFO: count ==21
[2025-03-10 04:09:04] Production.ERROR: done
[2025-03-10 04:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646970') start
[2025-03-10 04:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646970') end
[2025-03-10 04:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:09:04] Production.INFO: 1
[2025-03-10 04:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:09:04] Production.INFO: ==30265== Releasing lock...
[2025-03-10 04:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:09:04] Production.ERROR: done
[2025-03-10 04:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:09:05
[end_date_ymd] => 2025-03-10 04:09:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:09:05' and `end` < '2025-03-10 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-03-10 04:09:12] Production.ERROR: CronJobId end10
[2025-03-10 04:09:12] Production.INFO: ==30258== Releasing lock...
[2025-03-10 04:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:09:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:09:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:09:14] Production.INFO: call_cost start
[2025-03-10 04:09:14] Production.INFO: call_cost end
[2025-03-10 04:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:09:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:09:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:09:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:09:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:09:15] Production.INFO: ==30254== Releasing lock...
[2025-03-10 04:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:09:17] Production.INFO: count ==197
[2025-03-10 04:09:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:09:05 - End Time 2025-03-10 04:09:05
[2025-03-10 04:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646971', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646971', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646971', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646971', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:09:17] Production.INFO: ProcessCDR(1,14646971,1,1,2)
[2025-03-10 04:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646971', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646971', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:09:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:09:21] Production.INFO: ==30262== Releasing lock...
[2025-03-10 04:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:09:21] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 08:10:02] Production.INFO: ==30319== Lock acquired, processing the job...
[2025-03-10 08:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:10:02] Production.INFO: neon service started
[2025-03-10 08:10:02] Production.INFO: neon service started
[2025-03-10 08:10:02] Production.INFO: ==30319== Releasing lock...
[2025-03-10 08:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:10:02] Production.INFO: ==30324== Lock acquired, processing the job...
[2025-03-10 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:10:02] Production.INFO: ==30324== Releasing lock...
[2025-03-10 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:10:02] Production.INFO: ==30322== Lock acquired, processing the job...
[2025-03-10 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:10:03] Production.INFO: ==30322== Releasing lock...
[2025-03-10 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:10:04] Production.INFO: ==30328== Lock acquired, processing the job...
[2025-03-10 04:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:10:04] Production.INFO: ==30332== Lock acquired, processing the job...
[2025-03-10 04:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:10:04] Production.INFO: ==30338== Lock acquired, processing the job...
[2025-03-10 04:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 04:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:10:04] Production.INFO: ==30326== Lock acquired, processing the job...
[2025-03-10 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 04:10:04] Production.INFO: ==30330== Lock acquired, processing the job...
[2025-03-10 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:10:04] Production.INFO: ==30334== Lock acquired, processing the job...
[2025-03-10 04:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:10:04] Production.INFO: ==30336== Lock acquired, processing the job...
[2025-03-10 04:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 04:10:04] Production.ERROR: CronJob PID - 30328
[2025-03-10 04:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 04:10:04] Production.ERROR: CronJob ID - 5
[2025-03-10 04:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 04:10:00
[2025-03-10 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 04:10:04] Production.ERROR: CronJob PID - 30332
[2025-03-10 04:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 04:10:04] Production.ERROR: CronJob ID - 10
[2025-03-10 04:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 04:10:00
[2025-03-10 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 04:10:04] Production.ERROR: CronJob PID - 30338
[2025-03-10 04:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 04:10:04] Production.ERROR: CronJob ID - 17
[2025-03-10 04:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 04:10:00
[2025-03-10 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 04:10:04] Production.INFO: ==30340== Lock acquired, processing the job...
[2025-03-10 04:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:10:05] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 04:10:05] Production.INFO: ==30326== Releasing lock...
[2025-03-10 04:10:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 04:10:05] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 04:10:05] Production.ERROR: done
[2025-03-10 04:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 04:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646974', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 04:10:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:10:05] Production.INFO: Account Balance Start.
[2025-03-10 04:10:05] Production.INFO: CreateAllLog Start
[2025-03-10 04:10:05] Production.INFO: 117
[2025-03-10 04:10:05] Production.INFO: Date 2025-03-08
[2025-03-10 04: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-03-10 04:10:05] Production.INFO: Reseller ==> 0
[2025-03-10 04:10:05] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:10:05] Production.INFO: count ==21
[2025-03-10 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646975') start
[2025-03-10 04:10:05] Production.INFO: Date 2025-03-09
[2025-03-10 04:10:05] Production.INFO: Reseller ==> 0
[2025-03-10 04:10:05] Production.INFO: Date 2025-03-10
[2025-03-10 04:10:05] Production.INFO: Reseller ==> 0
[2025-03-10 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14646975') end
[2025-03-10 04:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:10:05] Production.INFO: 1
[2025-03-10 04:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:10:05] Production.INFO: ==30340== Releasing lock...
[2025-03-10 04:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:10:05] Production.INFO: Total Charge 0
[2025-03-10 04:10:05] Production.INFO: CreateAllLog End
[2025-03-10 04:10:05] Production.INFO: ==30330== Releasing lock...
[2025-03-10 04:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:10:05] Production.ERROR: done
[2025-03-10 04:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:10:05] Production.ERROR: done
[2025-03-10 04:10:05] Production.INFO: Account Balance End.
[2025-03-10 04:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 04:10:05] Production.INFO: ==30334== Releasing lock...
[2025-03-10 04:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:10:07
[end_date_ymd] => 2025-03-10 04:10:07
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:10:07' and `end` < '2025-03-10 04: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-03-10 04:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14646974', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 04:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 04:10:09] Production.INFO: ProcessCDR(1,14646974,1,1,2)
[2025-03-10 04:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14646974,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14646974,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:10:10] Production.INFO: ==30338== Releasing lock...
[2025-03-10 04:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 04:10:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 04:10:14] Production.ERROR: CronJobId end10
[2025-03-10 04:10:14] Production.INFO: ==30332== Releasing lock...
[2025-03-10 04:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:10:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:10:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:10:16] Production.INFO: call_cost start
[2025-03-10 04:10:16] Production.INFO: call_cost end
[2025-03-10 04:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:10:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:10:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:10:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:10:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:10:17] Production.INFO: ==30328== Releasing lock...
[2025-03-10 04:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:10:19] Production.INFO: count ==185
[2025-03-10 04:10:19] Production.ERROR: pbx CDR StartTime 2025-03-10 01:10:07 - End Time 2025-03-10 04:10:07
[2025-03-10 04:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646977', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646977', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646977', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646977', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:10:19] Production.INFO: ProcessCDR(1,14646977,1,1,2)
[2025-03-10 04:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646977', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646977', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:10:22] Production.INFO: ==30336== Releasing lock...
[2025-03-10 04:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:10:22] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 08:11:01] Production.INFO: ==30398== Lock acquired, processing the job...
[2025-03-10 08:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:11:01] Production.INFO: neon service started
[2025-03-10 08:11:01] Production.INFO: neon service started
[2025-03-10 08:11:01] Production.INFO: ==30398== Releasing lock...
[2025-03-10 08:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:11:02] Production.INFO: ==30400== Lock acquired, processing the job...
[2025-03-10 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:11:02] Production.INFO: ==30400== Releasing lock...
[2025-03-10 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:11:02] Production.INFO: ==30402== Lock acquired, processing the job...
[2025-03-10 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:11:02] Production.INFO: ==30402== Releasing lock...
[2025-03-10 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:11:03] Production.INFO: ==30409== Lock acquired, processing the job...
[2025-03-10 04:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:11:03] Production.INFO: ==30405== Lock acquired, processing the job...
[2025-03-10 04:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:11:03] Production.INFO: ==30407== Lock acquired, processing the job...
[2025-03-10 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:11:03] Production.INFO: ==30415== Lock acquired, processing the job...
[2025-03-10 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:11:03] Production.INFO: ==30411== Lock acquired, processing the job...
[2025-03-10 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 04:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:11:03] Production.INFO: count ==13
[2025-03-10 04:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04: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-03-10 04:11:03] Production.INFO: count ==21
[2025-03-10 04:11:03] Production.INFO: ==30413== Lock acquired, processing the job...
[2025-03-10 04:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646979') start
[2025-03-10 04:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:11:03] Production.INFO: Account Balance Start.
[2025-03-10 04:11:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646979') end
[2025-03-10 04:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:11:03] Production.INFO: 1
[2025-03-10 04:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:11:03] Production.INFO: 117
[2025-03-10 04:11:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:11:04] Production.INFO: ==30407== Releasing lock...
[2025-03-10 04:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:11:04] Production.INFO: ==30415== Releasing lock...
[2025-03-10 04:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:11:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:11:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:11:04] Production.INFO: Total Charge 0
[2025-03-10 04:11:04] Production.INFO: CreateAllLog End
[2025-03-10 04:11:04] Production.ERROR: done
[2025-03-10 04:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:11:04] Production.ERROR: done
[2025-03-10 04:11:04] Production.INFO: Account Balance End.
[2025-03-10 04:11:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:11:04] Production.INFO: ==30411== Releasing lock...
[2025-03-10 04:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:11:05
[end_date_ymd] => 2025-03-10 04:11:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:11:05' and `end` < '2025-03-10 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-03-10 04:11:12] Production.ERROR: CronJobId end10
[2025-03-10 04:11:12] Production.INFO: ==30409== Releasing lock...
[2025-03-10 04:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:11:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:11:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:11:15] Production.INFO: call_cost start
[2025-03-10 04:11:15] Production.INFO: call_cost end
[2025-03-10 04:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:11:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:11:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:11:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:11:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:11:16] Production.INFO: ==30405== Releasing lock...
[2025-03-10 04:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:11:17] Production.INFO: count ==183
[2025-03-10 04:11:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:11:05 - End Time 2025-03-10 04:11:05
[2025-03-10 04:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646982', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646982', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646982', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646982', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:11:17] Production.INFO: ProcessCDR(1,14646982,1,1,2)
[2025-03-10 04:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646982', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646982', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:11:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:11:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:11:20] Production.INFO: ==30413== Releasing lock...
[2025-03-10 04:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:11:20] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 08:12:02] Production.INFO: ==30469== Lock acquired, processing the job...
[2025-03-10 08:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:12:02] Production.INFO: neon service started
[2025-03-10 08:12:02] Production.INFO: neon service started
[2025-03-10 08:12:02] Production.INFO: ==30469== Releasing lock...
[2025-03-10 08:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:12:02] Production.INFO: ==30473== Lock acquired, processing the job...
[2025-03-10 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:12:02] Production.INFO: ==30473== Releasing lock...
[2025-03-10 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:12:02] Production.INFO: ==30471== Lock acquired, processing the job...
[2025-03-10 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:12:03] Production.INFO: ==30471== Releasing lock...
[2025-03-10 04:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:12:04] Production.INFO: ==30478== Lock acquired, processing the job...
[2025-03-10 04:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:12:04] Production.INFO: ==30480== Lock acquired, processing the job...
[2025-03-10 04:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:12:04] Production.INFO: ==30486== Lock acquired, processing the job...
[2025-03-10 04:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:12:04] Production.INFO: ==30476== Lock acquired, processing the job...
[2025-03-10 04:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:12:04] Production.INFO: ==30482== Lock acquired, processing the job...
[2025-03-10 04:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 04:12:04] Production.INFO: ==30484== Lock acquired, processing the job...
[2025-03-10 04:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:12:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:12:04] Production.INFO: count ==21
[2025-03-10 04:12:04] Production.INFO: ==30478== Releasing lock...
[2025-03-10 04:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646984') start
[2025-03-10 04:12:04] Production.INFO: Account Balance Start.
[2025-03-10 04:12:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:12:04] Production.INFO: 117
[2025-03-10 04:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:12:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14646984') end
[2025-03-10 04:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:12:04] Production.INFO: 1
[2025-03-10 04:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:12:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:12:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:12:04] Production.INFO: Total Charge 0
[2025-03-10 04:12:04] Production.INFO: CreateAllLog End
[2025-03-10 04:12:04] Production.INFO: ==30486== Releasing lock...
[2025-03-10 04:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:12:05] Production.INFO: Account Balance End.
[2025-03-10 04:12:05] Production.ERROR: done
[2025-03-10 04:12:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:12:05] Production.ERROR: CronJobId end 12
[2025-03-10 04:12:05] Production.INFO: ==30482== Releasing lock...
[2025-03-10 04:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:12:05] Production.ERROR: done
[2025-03-10 04:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:12:06
[end_date_ymd] => 2025-03-10 04:12:06
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:12:06' and `end` < '2025-03-10 04: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-03-10 04:12:13] Production.ERROR: CronJobId end10
[2025-03-10 04:12:13] Production.INFO: ==30480== Releasing lock...
[2025-03-10 04:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:12:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:12:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:12:15] Production.INFO: call_cost start
[2025-03-10 04:12:15] Production.INFO: call_cost end
[2025-03-10 04:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:12:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:12:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:12:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:12:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:12:15] Production.INFO: ==30476== Releasing lock...
[2025-03-10 04:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:12:18] Production.INFO: count ==180
[2025-03-10 04:12:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:12:06 - End Time 2025-03-10 04:12:06
[2025-03-10 04:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646987', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646987', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646987', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646987', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:12:18] Production.INFO: ProcessCDR(1,14646987,1,1,2)
[2025-03-10 04:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646987', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646987', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:12:21] Production.INFO: ==30484== Releasing lock...
[2025-03-10 04:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:12:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 08:13:01] Production.INFO: ==30548== Lock acquired, processing the job...
[2025-03-10 08:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:13:01] Production.INFO: neon service started
[2025-03-10 08:13:01] Production.INFO: neon service started
[2025-03-10 08:13:01] Production.INFO: ==30548== Releasing lock...
[2025-03-10 08:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:13:02] Production.INFO: ==30550== Lock acquired, processing the job...
[2025-03-10 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:13:02] Production.INFO: ==30550== Releasing lock...
[2025-03-10 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:13:02] Production.INFO: ==30552== Lock acquired, processing the job...
[2025-03-10 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:13:02] Production.INFO: ==30552== Releasing lock...
[2025-03-10 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:13:03] Production.INFO: ==30558== Lock acquired, processing the job...
[2025-03-10 04:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:13:03] Production.INFO: ==30564== Lock acquired, processing the job...
[2025-03-10 04:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04: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-03-10 04:13:03] Production.INFO: ==30554== Lock acquired, processing the job...
[2025-03-10 04:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:13:03] Production.INFO: ==30556== Lock acquired, processing the job...
[2025-03-10 04:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:13:03] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:13:03] Production.INFO: count ==21
[2025-03-10 04:13:03] Production.INFO: ==30560== Lock acquired, processing the job...
[2025-03-10 04:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646988') start
[2025-03-10 04:13:03] Production.INFO: ==30562== Lock acquired, processing the job...
[2025-03-10 04:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646988') end
[2025-03-10 04:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:13:03] Production.INFO: 1
[2025-03-10 04:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:13:04] Production.INFO: ==30564== Releasing lock...
[2025-03-10 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:13:04] Production.INFO: Account Balance Start.
[2025-03-10 04:13:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:13:04] Production.INFO: 117
[2025-03-10 04:13:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:13:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:13:04] Production.INFO: Total Charge 0
[2025-03-10 04:13:04] Production.INFO: CreateAllLog End
[2025-03-10 04:13:04] Production.INFO: ==30556== Releasing lock...
[2025-03-10 04:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:13:04] Production.ERROR: done
[2025-03-10 04:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:13:04] Production.ERROR: done
[2025-03-10 04:13:04] Production.INFO: Account Balance End.
[2025-03-10 04:13:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:13:04] Production.INFO: ==30560== Releasing lock...
[2025-03-10 04:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:13:05
[end_date_ymd] => 2025-03-10 04:13:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:13:05' and `end` < '2025-03-10 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-03-10 04:13:12] Production.ERROR: CronJobId end10
[2025-03-10 04:13:12] Production.INFO: ==30558== Releasing lock...
[2025-03-10 04:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:13:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:13:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:13:14] Production.INFO: call_cost start
[2025-03-10 04:13:14] Production.INFO: call_cost end
[2025-03-10 04:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:13:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:13:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:13:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:13:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:13:15] Production.INFO: ==30554== Releasing lock...
[2025-03-10 04:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:13:17] Production.INFO: count ==180
[2025-03-10 04:13:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:13:05 - End Time 2025-03-10 04:13:05
[2025-03-10 04:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646992', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646992', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646992', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646992', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:13:17] Production.INFO: ProcessCDR(1,14646992,1,1,2)
[2025-03-10 04:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646992', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646992', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:13:21] Production.INFO: ==30562== Releasing lock...
[2025-03-10 04:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:13:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 08:14:01] Production.INFO: ==30620== Lock acquired, processing the job...
[2025-03-10 08:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:14:01] Production.INFO: neon service started
[2025-03-10 08:14:01] Production.INFO: neon service started
[2025-03-10 08:14:01] Production.INFO: ==30620== Releasing lock...
[2025-03-10 08:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:14:01] Production.INFO: ==30622== Lock acquired, processing the job...
[2025-03-10 04:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:14:02] Production.INFO: ==30622== Releasing lock...
[2025-03-10 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:14:02] Production.INFO: ==30624== Lock acquired, processing the job...
[2025-03-10 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:14:02] Production.INFO: ==30624== Releasing lock...
[2025-03-10 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:14:03] Production.INFO: ==30630== Lock acquired, processing the job...
[2025-03-10 04:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:14:03] Production.INFO: ==30637== Lock acquired, processing the job...
[2025-03-10 04:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:14:03] Production.INFO: ==30628== Lock acquired, processing the job...
[2025-03-10 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:14:03] Production.INFO: ==30626== Lock acquired, processing the job...
[2025-03-10 04:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:14:03] Production.INFO: ==30632== Lock acquired, processing the job...
[2025-03-10 04:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 04:14:03] Production.INFO: ==30634== Lock acquired, processing the job...
[2025-03-10 04:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:14:03] Production.INFO: count ==13
[2025-03-10 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-03-10 04:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:14:03] Production.INFO: count ==21
[2025-03-10 04:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646993') start
[2025-03-10 04:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:14:03] Production.INFO: Account Balance Start.
[2025-03-10 04:14:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:14:03] Production.INFO: 117
[2025-03-10 04:14:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14646993') end
[2025-03-10 04:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:14:03] Production.INFO: 1
[2025-03-10 04:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:14:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:14:03] Production.INFO: ==30637== Releasing lock...
[2025-03-10 04:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:14:03] Production.INFO: ==30628== Releasing lock...
[2025-03-10 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:14:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:14:03] Production.INFO: Total Charge 0
[2025-03-10 04:14:03] Production.INFO: CreateAllLog End
[2025-03-10 04:14:03] Production.ERROR: done
[2025-03-10 04:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:14:03] Production.ERROR: done
[2025-03-10 04:14:04] Production.INFO: Account Balance End.
[2025-03-10 04:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:14:04] Production.INFO: ==30632== Releasing lock...
[2025-03-10 04:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:14:05
[end_date_ymd] => 2025-03-10 04:14:05
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:14:05' and `end` < '2025-03-10 04: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-03-10 04:14:12] Production.ERROR: CronJobId end10
[2025-03-10 04:14:12] Production.INFO: ==30630== Releasing lock...
[2025-03-10 04:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:14:14] Production.INFO: call_cost start
[2025-03-10 04:14:14] Production.INFO: call_cost end
[2025-03-10 04:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:14:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:14:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:14:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:14:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:14:15] Production.INFO: ==30626== Releasing lock...
[2025-03-10 04:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:14:17] Production.INFO: count ==174
[2025-03-10 04:14:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:14:05 - End Time 2025-03-10 04:14:05
[2025-03-10 04:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646997', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14646997', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646997', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14646997', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:14:17] Production.INFO: ProcessCDR(1,14646997,1,1,2)
[2025-03-10 04:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14646997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14646997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14646997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14646997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646997', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14646997', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:14:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:14:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:14:21] Production.INFO: ==30634== Releasing lock...
[2025-03-10 04:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:14:21] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 08:15:01] Production.INFO: ==30694== Lock acquired, processing the job...
[2025-03-10 08:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:15:01] Production.INFO: neon service started
[2025-03-10 08:15:01] Production.INFO: neon service started
[2025-03-10 08:15:01] Production.INFO: ==30694== Releasing lock...
[2025-03-10 08:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:15:02] Production.INFO: ==30698== Lock acquired, processing the job...
[2025-03-10 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:15:02] Production.INFO: ==30698== Releasing lock...
[2025-03-10 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:15:02] Production.INFO: ==30696== Lock acquired, processing the job...
[2025-03-10 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:15:02] Production.INFO: ==30696== Releasing lock...
[2025-03-10 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:15:03] Production.INFO: ==30705== Lock acquired, processing the job...
[2025-03-10 04:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:15:03] Production.INFO: ==30707== Lock acquired, processing the job...
[2025-03-10 04:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:15:03] Production.INFO: ==30701== Lock acquired, processing the job...
[2025-03-10 04:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:15:03] Production.INFO: ==30703== Lock acquired, processing the job...
[2025-03-10 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:15:03] Production.INFO: Account Balance Start.
[2025-03-10 04:15:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:15:03] Production.INFO: 117
[2025-03-10 04:15:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:15:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:15:03] Production.INFO: ==30709== Lock acquired, processing the job...
[2025-03-10 04:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:15:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:15:03] Production.INFO: ==30711== Lock acquired, processing the job...
[2025-03-10 04:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:15:03] Production.INFO: Total Charge 0
[2025-03-10 04:15:03] Production.INFO: CreateAllLog End
[2025-03-10 04:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 04:15:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:15:04] Production.INFO: count ==21
[2025-03-10 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647001') start
[2025-03-10 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647001') end
[2025-03-10 04:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:15:04] Production.INFO: 1
[2025-03-10 04:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:15:04] Production.INFO: Account Balance End.
[2025-03-10 04:15:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:15:04] Production.INFO: ==30707== Releasing lock...
[2025-03-10 04:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:15:04] Production.INFO: ==30711== Releasing lock...
[2025-03-10 04:15:04] Production.ERROR: done
[2025-03-10 04:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:15:04] Production.INFO: ==30703== Releasing lock...
[2025-03-10 04:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:15:04] Production.ERROR: done
[2025-03-10 04:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:15:05
[end_date_ymd] => 2025-03-10 04:15:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:15:05' and `end` < '2025-03-10 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-03-10 04:15:11] Production.ERROR: CronJobId end10
[2025-03-10 04:15:11] Production.INFO: ==30705== Releasing lock...
[2025-03-10 04:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:15:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:15:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:15:15] Production.INFO: call_cost start
[2025-03-10 04:15:15] Production.INFO: call_cost end
[2025-03-10 04:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:15:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:15:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:15:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:15:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:15:16] Production.INFO: ==30701== Releasing lock...
[2025-03-10 04:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:15:17] Production.INFO: count ==161
[2025-03-10 04:15:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:15:05 - End Time 2025-03-10 04:15:05
[2025-03-10 04:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647002', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647002', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647002', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647002', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:15:17] Production.INFO: ProcessCDR(1,14647002,1,1,2)
[2025-03-10 04:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647002', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647002', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:15:21] Production.INFO: ==30709== Releasing lock...
[2025-03-10 04:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:15:21] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 08:16:02] Production.INFO: ==30804== Lock acquired, processing the job...
[2025-03-10 08:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:16:02] Production.INFO: neon service started
[2025-03-10 08:16:02] Production.INFO: neon service started
[2025-03-10 08:16:02] Production.INFO: ==30804== Releasing lock...
[2025-03-10 08:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:16:02] Production.INFO: ==30809== Lock acquired, processing the job...
[2025-03-10 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:16:02] Production.INFO: ==30809== Releasing lock...
[2025-03-10 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:16:02] Production.INFO: ==30807== Lock acquired, processing the job...
[2025-03-10 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:16:03] Production.INFO: ==30807== Releasing lock...
[2025-03-10 04:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:16:03] Production.INFO: ==30811== Lock acquired, processing the job...
[2025-03-10 04:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:16:04] Production.INFO: ==30821== Lock acquired, processing the job...
[2025-03-10 04:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04: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-03-10 04:16:04] Production.INFO: ==30813== Lock acquired, processing the job...
[2025-03-10 04:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:16:04] Production.INFO: ==30815== Lock acquired, processing the job...
[2025-03-10 04:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:16:04] Production.INFO: count ==13
[2025-03-10 04:16:04] Production.INFO: ==30817== Lock acquired, processing the job...
[2025-03-10 04:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:16:04] Production.INFO: ==30819== Lock acquired, processing the job...
[2025-03-10 04:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04: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-03-10 04:16:04] Production.INFO: count ==21
[2025-03-10 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647004') start
[2025-03-10 04:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:16:04] Production.INFO: Account Balance Start.
[2025-03-10 04:16:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:16:04] Production.INFO: 117
[2025-03-10 04:16:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647004') end
[2025-03-10 04:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:16:04] Production.INFO: 1
[2025-03-10 04:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:16:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:16:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:16:04] Production.ERROR: done
[2025-03-10 04:16:04] Production.INFO: Total Charge 0
[2025-03-10 04:16:04] Production.INFO: ==30821== Releasing lock...
[2025-03-10 04:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:16:04] Production.INFO: ==30813== Releasing lock...
[2025-03-10 04:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:16:04] Production.INFO: CreateAllLog End
[2025-03-10 04:16:04] Production.ERROR: done
[2025-03-10 04:16:04] Production.INFO: Account Balance End.
[2025-03-10 04:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:16:04] Production.INFO: ==30817== Releasing lock...
[2025-03-10 04:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:16:05
[end_date_ymd] => 2025-03-10 04:16:05
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:16:05' and `end` < '2025-03-10 04: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-03-10 04:16:12] Production.ERROR: CronJobId end10
[2025-03-10 04:16:12] Production.INFO: ==30815== Releasing lock...
[2025-03-10 04:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:16:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:16:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:16:14] Production.INFO: call_cost start
[2025-03-10 04:16:14] Production.INFO: call_cost end
[2025-03-10 04:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:16:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:16:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:16:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:16:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:16:15] Production.INFO: ==30811== Releasing lock...
[2025-03-10 04:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:16:17] Production.INFO: count ==159
[2025-03-10 04:16:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:16:05 - End Time 2025-03-10 04:16:05
[2025-03-10 04:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647007', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647007', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647007', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647007', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:16:17] Production.INFO: ProcessCDR(1,14647007,1,1,2)
[2025-03-10 04:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647007', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647007', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:16:21] Production.INFO: ==30819== Releasing lock...
[2025-03-10 04:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:16:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:17:01] Production.INFO: ==30877== Lock acquired, processing the job...
[2025-03-10 08:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:17:01] Production.INFO: neon service started
[2025-03-10 08:17:01] Production.INFO: neon service started
[2025-03-10 08:17:01] Production.INFO: ==30877== Releasing lock...
[2025-03-10 08:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:17:02] Production.INFO: ==30881== Lock acquired, processing the job...
[2025-03-10 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:17:02] Production.INFO: ==30881== Releasing lock...
[2025-03-10 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:17:02] Production.INFO: ==30879== Lock acquired, processing the job...
[2025-03-10 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:17:02] Production.INFO: ==30879== Releasing lock...
[2025-03-10 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:17:03] Production.INFO: ==30888== Lock acquired, processing the job...
[2025-03-10 04:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:17:03] Production.INFO: ==30894== Lock acquired, processing the job...
[2025-03-10 04:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 04:17:03] Production.INFO: ==30884== Lock acquired, processing the job...
[2025-03-10 04:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:17:03] Production.INFO: ==30886== Lock acquired, processing the job...
[2025-03-10 04:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:17:03] Production.INFO: count ==13
[2025-03-10 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-03-10 04:17:03] Production.INFO: ==30890== Lock acquired, processing the job...
[2025-03-10 04:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:17:03] Production.INFO: count ==21
[2025-03-10 04:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647008') start
[2025-03-10 04:17:03] Production.INFO: ==30892== Lock acquired, processing the job...
[2025-03-10 04:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:17:04] Production.INFO: Account Balance Start.
[2025-03-10 04:17:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647008') end
[2025-03-10 04:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:17:04] Production.INFO: 1
[2025-03-10 04:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:17:04] Production.INFO: 117
[2025-03-10 04:17:04] Production.INFO: ==30894== Releasing lock...
[2025-03-10 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:17:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:17:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:17:04] Production.ERROR: done
[2025-03-10 04:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:17:04] Production.INFO: ==30886== Releasing lock...
[2025-03-10 04:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:17:04] Production.INFO: Total Charge 0
[2025-03-10 04:17:04] Production.INFO: CreateAllLog End
[2025-03-10 04:17:04] Production.ERROR: done
[2025-03-10 04:17:04] Production.INFO: Account Balance End.
[2025-03-10 04:17:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:17:04] Production.INFO: ==30890== Releasing lock...
[2025-03-10 04:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:17:05
[end_date_ymd] => 2025-03-10 04:17:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:17:05' and `end` < '2025-03-10 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-03-10 04:17:12] Production.ERROR: CronJobId end10
[2025-03-10 04:17:12] Production.INFO: ==30888== Releasing lock...
[2025-03-10 04:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:17:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:17:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:17:15] Production.INFO: call_cost start
[2025-03-10 04:17:15] Production.INFO: call_cost end
[2025-03-10 04:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:17:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:17:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:17:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:17:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:17:16] Production.INFO: ==30884== Releasing lock...
[2025-03-10 04:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:17:17] Production.INFO: count ==159
[2025-03-10 04:17:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:17:05 - End Time 2025-03-10 04:17:05
[2025-03-10 04:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647012', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647012', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647012', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647012', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:17:17] Production.INFO: ProcessCDR(1,14647012,1,1,2)
[2025-03-10 04:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647012', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647012', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:17:20] Production.INFO: ==30892== Releasing lock...
[2025-03-10 04:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:17:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:18:02] Production.INFO: ==30947== Lock acquired, processing the job...
[2025-03-10 08:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:18:02] Production.INFO: neon service started
[2025-03-10 08:18:02] Production.INFO: neon service started
[2025-03-10 08:18:02] Production.INFO: ==30947== Releasing lock...
[2025-03-10 08:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:18:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 04:18:02] Production.INFO: ==30949== Lock acquired, processing the job...
[2025-03-10 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:18:03] Production.INFO: ==30951== Lock acquired, processing the job...
[2025-03-10 08:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:18:03] Production.INFO: ==30951== Releasing lock...
[2025-03-10 08:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:18:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:18:03] Production.INFO: ==30949== Releasing lock...
[2025-03-10 04:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:18:04] Production.INFO: ==30960== Lock acquired, processing the job...
[2025-03-10 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:18:04] Production.INFO: ==30962== Lock acquired, processing the job...
[2025-03-10 04:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:18:04] Production.INFO: Account Balance Start.
[2025-03-10 04:18:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:18:04] Production.INFO: ==30954== Lock acquired, processing the job...
[2025-03-10 04:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:18:04] Production.INFO: 117
[2025-03-10 04:18:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:18:04] Production.INFO: Total Charge 0
[2025-03-10 04:18:04] Production.INFO: ==30956== Lock acquired, processing the job...
[2025-03-10 04:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:18:04] Production.INFO: ==30958== Lock acquired, processing the job...
[2025-03-10 04:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:18:04] Production.INFO: CreateAllLog End
[2025-03-10 04:18:04] Production.INFO: ==30964== Lock acquired, processing the job...
[2025-03-10 04:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:18:04] Production.ERROR: done
[2025-03-10 04:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:18:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 04:18:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:18:04] Production.INFO: ==30960== Releasing lock...
[2025-03-10 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:18:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:18:04] Production.INFO: count ==21
[2025-03-10 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647016') start
[2025-03-10 04:18:04] Production.INFO: ==30956== Releasing lock...
[2025-03-10 04:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:18:04] Production.ERROR: done
[2025-03-10 04:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647016') end
[2025-03-10 04:18:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:18:05] Production.INFO: 1
[2025-03-10 04:18:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:18:05] Production.INFO: ==30964== Releasing lock...
[2025-03-10 04:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:18:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:18:05
[end_date_ymd] => 2025-03-10 04:18:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:18:05' and `end` < '2025-03-10 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-03-10 04:18:12] Production.ERROR: CronJobId end10
[2025-03-10 04:18:12] Production.INFO: ==30958== Releasing lock...
[2025-03-10 04:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:18:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:18:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:18:14] Production.INFO: call_cost start
[2025-03-10 04:18:14] Production.INFO: call_cost end
[2025-03-10 04:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:18:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:18:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:18:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:18:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:18:15] Production.INFO: ==30954== Releasing lock...
[2025-03-10 04:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:18:17] Production.INFO: count ==159
[2025-03-10 04:18:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:18:05 - End Time 2025-03-10 04:18:05
[2025-03-10 04:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647017', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647017', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647017', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647017', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:18:17] Production.INFO: ProcessCDR(1,14647017,1,1,2)
[2025-03-10 04:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647017', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647017', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:18:21] Production.INFO: ==30962== Releasing lock...
[2025-03-10 04:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:18:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:19:01] Production.INFO: ==31025== Lock acquired, processing the job...
[2025-03-10 08:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:19:01] Production.INFO: neon service started
[2025-03-10 08:19:01] Production.INFO: neon service started
[2025-03-10 08:19:01] Production.INFO: ==31025== Releasing lock...
[2025-03-10 08:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:19:02] Production.INFO: ==31027== Lock acquired, processing the job...
[2025-03-10 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:19:02] Production.INFO: ==31027== Releasing lock...
[2025-03-10 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:19:02] Production.INFO: ==31029== Lock acquired, processing the job...
[2025-03-10 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:19:02] Production.INFO: ==31029== Releasing lock...
[2025-03-10 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:19:03] Production.INFO: ==31031== Lock acquired, processing the job...
[2025-03-10 04:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:19:03] Production.INFO: ==31035== Lock acquired, processing the job...
[2025-03-10 04:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:19:03] Production.INFO: ==31033== Lock acquired, processing the job...
[2025-03-10 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:19:03] Production.INFO: ==31037== Lock acquired, processing the job...
[2025-03-10 04:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:19:03] Production.INFO: ==31041== Lock acquired, processing the job...
[2025-03-10 04:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:19:03] Production.INFO: ==31039== Lock acquired, processing the job...
[2025-03-10 04:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:19:03] Production.INFO: Account Balance Start.
[2025-03-10 04:19:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:19:03] Production.INFO: 117
[2025-03-10 04:19:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:19:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 04:19:03] Production.INFO: ==31033== Releasing lock...
[2025-03-10 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:19:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:19:03] Production.INFO: count ==13
[2025-03-10 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-03-10 04:19:03] Production.INFO: count ==21
[2025-03-10 04:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647021') start
[2025-03-10 04:19:03] Production.INFO: Total Charge 0
[2025-03-10 04:19:03] Production.INFO: CreateAllLog End
[2025-03-10 04:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647021') end
[2025-03-10 04:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:19:03] Production.INFO: 1
[2025-03-10 04:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:19:03] Production.ERROR: done
[2025-03-10 04:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:19:04] Production.INFO: ==31041== Releasing lock...
[2025-03-10 04:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:19:04] Production.ERROR: done
[2025-03-10 04:19:04] Production.INFO: Account Balance End.
[2025-03-10 04:19:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:19:04] Production.INFO: ==31037== Releasing lock...
[2025-03-10 04:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:19:05
[end_date_ymd] => 2025-03-10 04:19:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:19:05' and `end` < '2025-03-10 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-03-10 04:19:11] Production.ERROR: CronJobId end10
[2025-03-10 04:19:11] Production.INFO: ==31035== Releasing lock...
[2025-03-10 04:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:19:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:19:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:19:14] Production.INFO: call_cost start
[2025-03-10 04:19:14] Production.INFO: call_cost end
[2025-03-10 04:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:19:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:19:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:19:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:19:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:19:15] Production.INFO: ==31031== Releasing lock...
[2025-03-10 04:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:19:17] Production.INFO: count ==159
[2025-03-10 04:19:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:19:05 - End Time 2025-03-10 04:19:05
[2025-03-10 04:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647022', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647022', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647022', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647022', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:19:17] Production.INFO: ProcessCDR(1,14647022,1,1,2)
[2025-03-10 04:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647022', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647022', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:19:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:19:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:19:20] Production.INFO: ==31039== Releasing lock...
[2025-03-10 04:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:19:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:20:02] Production.INFO: ==31107== Lock acquired, processing the job...
[2025-03-10 08:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:20:02] Production.INFO: neon service started
[2025-03-10 08:20:02] Production.INFO: neon service started
[2025-03-10 08:20:02] Production.INFO: ==31107== Releasing lock...
[2025-03-10 08:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:20:02] Production.INFO: ==31109== Lock acquired, processing the job...
[2025-03-10 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:20:02] Production.INFO: ==31111== Lock acquired, processing the job...
[2025-03-10 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:20:02] Production.INFO: ==31111== Releasing lock...
[2025-03-10 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:20:03] Production.INFO: ==31109== Releasing lock...
[2025-03-10 04:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:20:04] Production.INFO: ==31114== Lock acquired, processing the job...
[2025-03-10 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 04:20:04] Production.INFO: ==31116== Lock acquired, processing the job...
[2025-03-10 04:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 04:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 04:20:04] Production.ERROR: CronJob PID - 31116
[2025-03-10 04:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 04:20:04] Production.ERROR: CronJob ID - 5
[2025-03-10 04:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 04:20:00
[2025-03-10 04:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 04:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 04:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 04:20:04] Production.INFO: ==31114== Releasing lock...
[2025-03-10 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 04:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 04:20:04] Production.INFO: ==31118== Lock acquired, processing the job...
[2025-03-10 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:20:04] Production.INFO: ==31124== Lock acquired, processing the job...
[2025-03-10 04:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:20:04] Production.INFO: ==31120== Lock acquired, processing the job...
[2025-03-10 04:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:20:04] Production.INFO: ==31126== Lock acquired, processing the job...
[2025-03-10 04:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 04:20:04] Production.INFO: ==31122== Lock acquired, processing the job...
[2025-03-10 04:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:20:04] Production.INFO: Account Balance Start.
[2025-03-10 04:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:20:04] Production.INFO: 117
[2025-03-10 04:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:20:04] Production.INFO: ==31129== Lock acquired, processing the job...
[2025-03-10 04:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 04:20:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:20:04] Production.INFO: count ==21
[2025-03-10 04:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647026') start
[2025-03-10 04:20:05] Production.ERROR: done
[2025-03-10 04:20:05] Production.ERROR: done
[2025-03-10 04:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:20:05] Production.INFO: ==31118== Releasing lock...
[2025-03-10 04:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:20:05] Production.INFO: Date 2025-03-10
[2025-03-10 04:20:05] Production.INFO: Reseller ==> 0
[2025-03-10 04:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647026') end
[2025-03-10 04:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:20:05] Production.INFO: 1
[2025-03-10 04:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:20:05] Production.INFO: Total Charge 0
[2025-03-10 04:20:05] Production.INFO: ==31129== Releasing lock...
[2025-03-10 04:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 04:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647027', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 04:20:05] Production.INFO: CreateAllLog End
[2025-03-10 04:20:05] Production.ERROR: done
[2025-03-10 04:20:05] Production.INFO: Account Balance End.
[2025-03-10 04:20:05] Production.ERROR: CronJobId end 12
[2025-03-10 04:20:05] Production.INFO: ==31122== Releasing lock...
[2025-03-10 04:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:20:06
[end_date_ymd] => 2025-03-10 04:20:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:20:06' and `end` < '2025-03-10 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-03-10 04:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647027', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 04:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 04:20:09] Production.INFO: ProcessCDR(1,14647027,1,1,2)
[2025-03-10 04:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647027,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647027,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:20:09] Production.INFO: ==31126== Releasing lock...
[2025-03-10 04:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 04:20:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 04:20:13] Production.ERROR: CronJobId end10
[2025-03-10 04:20:13] Production.INFO: ==31120== Releasing lock...
[2025-03-10 04:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:20:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:20:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:20:16] Production.INFO: call_cost start
[2025-03-10 04:20:16] Production.INFO: call_cost end
[2025-03-10 04:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:20:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:20:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:20:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:20:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:20:17] Production.INFO: ==31116== Releasing lock...
[2025-03-10 04:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:20:18] Production.INFO: count ==151
[2025-03-10 04:20:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:20:06 - End Time 2025-03-10 04:20:06
[2025-03-10 04:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647028', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647028', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647028', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647028', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:20:18] Production.INFO: ProcessCDR(1,14647028,1,1,2)
[2025-03-10 04:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647028', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647028', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:20:21] Production.INFO: ==31124== Releasing lock...
[2025-03-10 04:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:20:21] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 08:21:01] Production.INFO: ==31195== Lock acquired, processing the job...
[2025-03-10 08:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:21:01] Production.INFO: neon service started
[2025-03-10 08:21:01] Production.INFO: neon service started
[2025-03-10 08:21:01] Production.INFO: ==31195== Releasing lock...
[2025-03-10 08:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:21:02] Production.INFO: ==31197== Lock acquired, processing the job...
[2025-03-10 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:21:02] Production.INFO: ==31199== Lock acquired, processing the job...
[2025-03-10 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:21:02] Production.INFO: ==31199== Releasing lock...
[2025-03-10 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:21:02] Production.INFO: ==31197== Releasing lock...
[2025-03-10 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:21:03] Production.INFO: ==31208== Lock acquired, processing the job...
[2025-03-10 04:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:21:03] Production.INFO: ==31212== Lock acquired, processing the job...
[2025-03-10 04:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:21:03] Production.INFO: ==31202== Lock acquired, processing the job...
[2025-03-10 04:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:21:03] Production.INFO: Account Balance Start.
[2025-03-10 04:21:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:21:03] Production.INFO: 117
[2025-03-10 04:21:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:21:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 04:21:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:21:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:21:03] Production.INFO: count ==13
[2025-03-10 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-03-10 04:21:03] Production.INFO: count ==21
[2025-03-10 04:21:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:21:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647030') start
[2025-03-10 04:21:03] Production.INFO: ==31204== Lock acquired, processing the job...
[2025-03-10 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:21:03] Production.INFO: ==31206== Lock acquired, processing the job...
[2025-03-10 04:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:21:03] Production.INFO: ==31210== Lock acquired, processing the job...
[2025-03-10 04:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:21:03] Production.INFO: Total Charge 0
[2025-03-10 04:21:03] Production.INFO: CreateAllLog End
[2025-03-10 04:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647030') end
[2025-03-10 04:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:21:03] Production.INFO: 1
[2025-03-10 04:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:21:03] Production.INFO: ==31212== Releasing lock...
[2025-03-10 04:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:21:03] Production.INFO: Account Balance End.
[2025-03-10 04:21:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:21:04] Production.INFO: ==31208== Releasing lock...
[2025-03-10 04:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:21:04] Production.ERROR: done
[2025-03-10 04:21:04] Production.INFO: ==31204== Releasing lock...
[2025-03-10 04:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:21:04] Production.ERROR: done
[2025-03-10 04:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:21:05
[end_date_ymd] => 2025-03-10 04:21:05
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:21:05' and `end` < '2025-03-10 04: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-03-10 04:21:12] Production.ERROR: CronJobId end10
[2025-03-10 04:21:12] Production.INFO: ==31206== Releasing lock...
[2025-03-10 04:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:21:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:21:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:21:13] Production.INFO: call_cost start
[2025-03-10 04:21:13] Production.INFO: call_cost end
[2025-03-10 04:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:21:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:21:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:21:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:21:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:21:14] Production.INFO: ==31202== Releasing lock...
[2025-03-10 04:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:21:17] Production.INFO: count ==151
[2025-03-10 04:21:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:21:05 - End Time 2025-03-10 04:21:05
[2025-03-10 04:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647033', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647033', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647033', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647033', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:21:17] Production.INFO: ProcessCDR(1,14647033,1,1,2)
[2025-03-10 04:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647033', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647033', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:21:20] Production.INFO: ==31210== Releasing lock...
[2025-03-10 04:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:21:20] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 08:22:02] Production.INFO: ==31282== Lock acquired, processing the job...
[2025-03-10 08:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:22:02] Production.INFO: neon service started
[2025-03-10 08:22:02] Production.INFO: neon service started
[2025-03-10 08:22:02] Production.INFO: ==31282== Releasing lock...
[2025-03-10 08:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:22:02] Production.INFO: ==31285== Lock acquired, processing the job...
[2025-03-10 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:22:02] Production.INFO: ==31287== Lock acquired, processing the job...
[2025-03-10 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:22:02] Production.INFO: ==31287== Releasing lock...
[2025-03-10 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:22:03] Production.INFO: ==31285== Releasing lock...
[2025-03-10 04:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:22:03] Production.INFO: ==31293== Lock acquired, processing the job...
[2025-03-10 04:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:22:04] Production.INFO: ==31301== Lock acquired, processing the job...
[2025-03-10 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:22:04] Production.INFO: ==31291== Lock acquired, processing the job...
[2025-03-10 04:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 04:22:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:22:04] Production.INFO: count ==21
[2025-03-10 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647035') start
[2025-03-10 04:22:04] Production.INFO: ==31295== Lock acquired, processing the job...
[2025-03-10 04:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:22:04] Production.INFO: ==31293== Releasing lock...
[2025-03-10 04:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647035') end
[2025-03-10 04:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:22:04] Production.INFO: 1
[2025-03-10 04:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:22:04] Production.INFO: ==31297== Lock acquired, processing the job...
[2025-03-10 04:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:22:04] Production.INFO: ==31301== Releasing lock...
[2025-03-10 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:22:04] Production.INFO: ==31299== Lock acquired, processing the job...
[2025-03-10 04:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:22:04] Production.INFO: Account Balance Start.
[2025-03-10 04:22:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:22:04] Production.INFO: 117
[2025-03-10 04:22:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:22:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:22:04] Production.INFO: Total Charge 0
[2025-03-10 04:22:04] Production.INFO: CreateAllLog End
[2025-03-10 04:22:04] Production.ERROR: done
[2025-03-10 04:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:22:05] Production.INFO: Account Balance End.
[2025-03-10 04:22:05] Production.ERROR: done
[2025-03-10 04:22:05] Production.ERROR: CronJobId end 12
[2025-03-10 04:22:05] Production.INFO: ==31297== Releasing lock...
[2025-03-10 04:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:22:06
[end_date_ymd] => 2025-03-10 04:22:06
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:22:06' and `end` < '2025-03-10 04: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-03-10 04:22:12] Production.ERROR: CronJobId end10
[2025-03-10 04:22:12] Production.INFO: ==31295== Releasing lock...
[2025-03-10 04:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:22:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:22:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:22:15] Production.INFO: call_cost start
[2025-03-10 04:22:15] Production.INFO: call_cost end
[2025-03-10 04:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:22:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:22:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:22:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:22:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:22:16] Production.INFO: ==31291== Releasing lock...
[2025-03-10 04:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:22:18] Production.INFO: count ==151
[2025-03-10 04:22:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:22:06 - End Time 2025-03-10 04:22:06
[2025-03-10 04:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647038', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647038', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647038', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647038', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:22:18] Production.INFO: ProcessCDR(1,14647038,1,1,2)
[2025-03-10 04:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647038', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647038', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:22:21] Production.INFO: ==31299== Releasing lock...
[2025-03-10 04:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:22:21] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 08:23:01] Production.INFO: ==31365== Lock acquired, processing the job...
[2025-03-10 08:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:23:01] Production.INFO: neon service started
[2025-03-10 08:23:01] Production.INFO: neon service started
[2025-03-10 08:23:01] Production.INFO: ==31365== Releasing lock...
[2025-03-10 08:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:23:01] Production.INFO: ==31367== Lock acquired, processing the job...
[2025-03-10 04:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:23:02] Production.INFO: ==31369== Lock acquired, processing the job...
[2025-03-10 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:23:02] Production.INFO: ==31369== Releasing lock...
[2025-03-10 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:23:02] Production.INFO: ==31367== Releasing lock...
[2025-03-10 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:23:02] Production.INFO: ==31374== Lock acquired, processing the job...
[2025-03-10 04:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:23:03] Production.INFO: ==31376== Lock acquired, processing the job...
[2025-03-10 04:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:23:03] Production.INFO: ==31372== Lock acquired, processing the job...
[2025-03-10 04:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:23:03] Production.INFO: ==31380== Lock acquired, processing the job...
[2025-03-10 04:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:23:03] Production.INFO: ==31374== Releasing lock...
[2025-03-10 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:23:03] Production.INFO: ==31378== Lock acquired, processing the job...
[2025-03-10 04:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:23:03] Production.INFO: ==31382== Lock acquired, processing the job...
[2025-03-10 04:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:23:03] Production.INFO: Account Balance Start.
[2025-03-10 04:23:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:23:03] Production.INFO: 117
[2025-03-10 04:23:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 04:23:03] Production.ERROR: done
[2025-03-10 04:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:23:03] Production.INFO: count ==13
[2025-03-10 04:23:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 04:23:03] Production.INFO: count ==21
[2025-03-10 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647042') start
[2025-03-10 04:23:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:23:03] Production.INFO: Total Charge 0
[2025-03-10 04:23:03] Production.INFO: CreateAllLog End
[2025-03-10 04:23:03] Production.ERROR: done
[2025-03-10 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647042') end
[2025-03-10 04:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:23:04] Production.INFO: 1
[2025-03-10 04:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:23:04] Production.INFO: ==31382== Releasing lock...
[2025-03-10 04:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:23:04] Production.INFO: Account Balance End.
[2025-03-10 04:23:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:23:04] Production.INFO: ==31378== Releasing lock...
[2025-03-10 04:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:23:05
[end_date_ymd] => 2025-03-10 04:23:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:23:05' and `end` < '2025-03-10 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-03-10 04:23:10] Production.ERROR: CronJobId end10
[2025-03-10 04:23:10] Production.INFO: ==31376== Releasing lock...
[2025-03-10 04:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:23:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:23:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:23:13] Production.INFO: call_cost start
[2025-03-10 04:23:13] Production.INFO: call_cost end
[2025-03-10 04:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:23:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:23:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:23:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:23:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:23:14] Production.INFO: ==31372== Releasing lock...
[2025-03-10 04:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:23:17] Production.INFO: count ==151
[2025-03-10 04:23:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:23:05 - End Time 2025-03-10 04:23:05
[2025-03-10 04:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647043', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647043', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647043', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647043', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:23:17] Production.INFO: ProcessCDR(1,14647043,1,1,2)
[2025-03-10 04:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647043', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647043', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:23:20] Production.INFO: ==31380== Releasing lock...
[2025-03-10 04:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:23:20] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 08:24:02] Production.INFO: ==31448== Lock acquired, processing the job...
[2025-03-10 08:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:24:02] Production.INFO: neon service started
[2025-03-10 08:24:02] Production.INFO: neon service started
[2025-03-10 08:24:02] Production.INFO: ==31448== Releasing lock...
[2025-03-10 08:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:24:02] Production.INFO: ==31453== Lock acquired, processing the job...
[2025-03-10 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:24:02] Production.INFO: ==31453== Releasing lock...
[2025-03-10 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:24:02] Production.INFO: ==31451== Lock acquired, processing the job...
[2025-03-10 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:24:02] Production.INFO: ==31451== Releasing lock...
[2025-03-10 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:24:03] Production.INFO: ==31459== Lock acquired, processing the job...
[2025-03-10 04:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:24:03] Production.INFO: ==31455== Lock acquired, processing the job...
[2025-03-10 04:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:24:03] Production.INFO: ==31463== Lock acquired, processing the job...
[2025-03-10 04:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:24:03] Production.INFO: ==31457== Lock acquired, processing the job...
[2025-03-10 04:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:24:04] Production.INFO: ==31461== Lock acquired, processing the job...
[2025-03-10 04:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:24:04] Production.INFO: ==31465== Lock acquired, processing the job...
[2025-03-10 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:24:04] Production.INFO: Account Balance Start.
[2025-03-10 04:24:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:24:04] Production.INFO: 117
[2025-03-10 04:24:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:24:04] Production.ERROR: done
[2025-03-10 04:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 04: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-03-10 04:24:04] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:24:04] Production.INFO: count ==21
[2025-03-10 04:24:04] Production.ERROR: done
[2025-03-10 04:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647047') start
[2025-03-10 04:24:04] Production.INFO: Total Charge 0
[2025-03-10 04:24:04] Production.INFO: CreateAllLog End
[2025-03-10 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647047') end
[2025-03-10 04:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:24:04] Production.INFO: 1
[2025-03-10 04:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:24:04] Production.INFO: ==31457== Releasing lock...
[2025-03-10 04:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:24:04] Production.INFO: ==31465== Releasing lock...
[2025-03-10 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:24:04] Production.INFO: Account Balance End.
[2025-03-10 04:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:24:04] Production.INFO: ==31461== Releasing lock...
[2025-03-10 04:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:24:05
[end_date_ymd] => 2025-03-10 04:24:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:24:05' and `end` < '2025-03-10 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-03-10 04:24:11] Production.ERROR: CronJobId end10
[2025-03-10 04:24:11] Production.INFO: ==31459== Releasing lock...
[2025-03-10 04:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:24:15] Production.INFO: call_cost start
[2025-03-10 04:24:15] Production.INFO: call_cost end
[2025-03-10 04:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:24:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:24:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:24:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:24:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:24:16] Production.INFO: ==31455== Releasing lock...
[2025-03-10 04:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:24:17] Production.INFO: count ==151
[2025-03-10 04:24:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:24:05 - End Time 2025-03-10 04:24:05
[2025-03-10 04:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647048', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647048', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647048', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647048', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:24:17] Production.INFO: ProcessCDR(1,14647048,1,1,2)
[2025-03-10 04:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647048', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647048', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:24:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:24:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:24:20] Production.INFO: ==31463== Releasing lock...
[2025-03-10 04:24:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:24:20] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 08:25:01] Production.INFO: ==31530== Lock acquired, processing the job...
[2025-03-10 08:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:25:01] Production.INFO: neon service started
[2025-03-10 08:25:01] Production.INFO: neon service started
[2025-03-10 08:25:01] Production.INFO: ==31530== Releasing lock...
[2025-03-10 08:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:25:02] Production.INFO: ==31532== Lock acquired, processing the job...
[2025-03-10 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:25:02] Production.INFO: ==31534== Lock acquired, processing the job...
[2025-03-10 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:25:02] Production.INFO: ==31534== Releasing lock...
[2025-03-10 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:25:02] Production.INFO: ==31532== Releasing lock...
[2025-03-10 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:25:03] Production.INFO: ==31541== Lock acquired, processing the job...
[2025-03-10 04:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:25:03] Production.INFO: ==31539== Lock acquired, processing the job...
[2025-03-10 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:25:03] Production.INFO: ==31537== Lock acquired, processing the job...
[2025-03-10 04:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:25:03] Production.INFO: ==31543== Lock acquired, processing the job...
[2025-03-10 04:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:25:03] Production.INFO: ==31545== Lock acquired, processing the job...
[2025-03-10 04:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:25:03] Production.INFO: ==31539== Releasing lock...
[2025-03-10 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:25:03] Production.INFO: ==31547== Lock acquired, processing the job...
[2025-03-10 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:25:03] Production.INFO: Account Balance Start.
[2025-03-10 04:25:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:25:03] Production.INFO: 117
[2025-03-10 04:25:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:25:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 04:25:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:25:04] Production.INFO: count ==13
[2025-03-10 04:25:04] Production.INFO: Total Charge 0
[2025-03-10 04: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-03-10 04:25:04] Production.INFO: count ==21
[2025-03-10 04:25:04] Production.INFO: CreateAllLog End
[2025-03-10 04:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647052') start
[2025-03-10 04:25:04] Production.ERROR: done
[2025-03-10 04:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647052') end
[2025-03-10 04:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:25:04] Production.INFO: 1
[2025-03-10 04:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:25:04] Production.ERROR: done
[2025-03-10 04:25:04] Production.INFO: ==31547== Releasing lock...
[2025-03-10 04:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:25:04] Production.INFO: Account Balance End.
[2025-03-10 04:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:25:04] Production.INFO: ==31543== Releasing lock...
[2025-03-10 04:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:25:05
[end_date_ymd] => 2025-03-10 04:25:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:25:05' and `end` < '2025-03-10 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-03-10 04:25:10] Production.ERROR: CronJobId end10
[2025-03-10 04:25:10] Production.INFO: ==31541== Releasing lock...
[2025-03-10 04:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:25:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:25:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:25:13] Production.INFO: call_cost start
[2025-03-10 04:25:13] Production.INFO: call_cost end
[2025-03-10 04:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:25:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:25:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:25:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:25:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:25:14] Production.INFO: ==31537== Releasing lock...
[2025-03-10 04:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:25:17] Production.INFO: count ==144
[2025-03-10 04:25:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:25:05 - End Time 2025-03-10 04:25:05
[2025-03-10 04:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647053', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647053', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647053', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647053', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:25:17] Production.INFO: ProcessCDR(1,14647053,1,1,2)
[2025-03-10 04:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647053', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647053', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:25:20] Production.INFO: ==31545== Releasing lock...
[2025-03-10 04:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:25:20] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 08:26:01] Production.INFO: ==31626== Lock acquired, processing the job...
[2025-03-10 08:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:26:01] Production.INFO: neon service started
[2025-03-10 08:26:01] Production.INFO: neon service started
[2025-03-10 08:26:01] Production.INFO: ==31626== Releasing lock...
[2025-03-10 08:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:26:02] Production.INFO: ==31628== Lock acquired, processing the job...
[2025-03-10 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:26:02] Production.INFO: ==31630== Lock acquired, processing the job...
[2025-03-10 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:26:02] Production.INFO: ==31630== Releasing lock...
[2025-03-10 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:26:02] Production.INFO: ==31628== Releasing lock...
[2025-03-10 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:26:03] Production.INFO: ==31637== Lock acquired, processing the job...
[2025-03-10 04:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:26:03] Production.INFO: ==31639== Lock acquired, processing the job...
[2025-03-10 04:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:26:04] Production.INFO: Account Balance Start.
[2025-03-10 04:26:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:26:04] Production.INFO: 117
[2025-03-10 04:26:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:26:04] Production.INFO: ==31633== Lock acquired, processing the job...
[2025-03-10 04:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:26:04] Production.INFO: ==31635== Lock acquired, processing the job...
[2025-03-10 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:26:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:26:04] Production.INFO: Total Charge 0
[2025-03-10 04:26:04] Production.INFO: CreateAllLog End
[2025-03-10 04:26:04] Production.INFO: ==31641== Lock acquired, processing the job...
[2025-03-10 04:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:26:04] Production.INFO: ==31643== Lock acquired, processing the job...
[2025-03-10 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04: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-03-10 04:26:04] Production.INFO: Account Balance End.
[2025-03-10 04:26:04] Production.INFO: ==31635== Releasing lock...
[2025-03-10 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:26:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:26:04] Production.INFO: ==31639== Releasing lock...
[2025-03-10 04:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:26:04] Production.INFO: count ==21
[2025-03-10 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647057') start
[2025-03-10 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647057') end
[2025-03-10 04:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:26:04] Production.INFO: 1
[2025-03-10 04:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:26:04] Production.ERROR: done
[2025-03-10 04:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:26:04] Production.INFO: ==31643== Releasing lock...
[2025-03-10 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:26:05] Production.ERROR: done
[2025-03-10 04:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:26:06
[end_date_ymd] => 2025-03-10 04:26:06
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:26:06' and `end` < '2025-03-10 04: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-03-10 04:26:12] Production.ERROR: CronJobId end10
[2025-03-10 04:26:12] Production.INFO: ==31637== Releasing lock...
[2025-03-10 04:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:26:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:26:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:26:15] Production.INFO: call_cost start
[2025-03-10 04:26:15] Production.INFO: call_cost end
[2025-03-10 04:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:26:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:26:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:26:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:26:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:26:16] Production.INFO: ==31633== Releasing lock...
[2025-03-10 04:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:26:18] Production.INFO: count ==139
[2025-03-10 04:26:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:26:06 - End Time 2025-03-10 04:26:06
[2025-03-10 04:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647058', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647058', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647058', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647058', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:26:18] Production.INFO: ProcessCDR(1,14647058,1,1,2)
[2025-03-10 04:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647058', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647058', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:26:21] Production.INFO: ==31641== Releasing lock...
[2025-03-10 04:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:26:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:27:02] Production.INFO: ==31723== Lock acquired, processing the job...
[2025-03-10 08:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:27:02] Production.INFO: neon service started
[2025-03-10 08:27:02] Production.INFO: neon service started
[2025-03-10 08:27:02] Production.INFO: ==31723== Releasing lock...
[2025-03-10 08:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:27:02] Production.INFO: ==31725== Lock acquired, processing the job...
[2025-03-10 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:27:03] Production.INFO: ==31725== Releasing lock...
[2025-03-10 04:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:27:03] Production.INFO: ==31727== Lock acquired, processing the job...
[2025-03-10 08:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:27:03] Production.INFO: ==31727== Releasing lock...
[2025-03-10 08:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:27:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:27:04] Production.INFO: ==31738== Lock acquired, processing the job...
[2025-03-10 04:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:27:04] Production.INFO: ==31730== Lock acquired, processing the job...
[2025-03-10 04:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:27:04] Production.INFO: ==31740== Lock acquired, processing the job...
[2025-03-10 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:27:04] Production.INFO: ==31734== Lock acquired, processing the job...
[2025-03-10 04:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:27:04] Production.INFO: ==31732== Lock acquired, processing the job...
[2025-03-10 04:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:27:04] Production.INFO: ==31736== Lock acquired, processing the job...
[2025-03-10 04:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 04:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:27:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:27:04] Production.INFO: Account Balance Start.
[2025-03-10 04:27:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:27:04] Production.INFO: count ==21
[2025-03-10 04:27:04] Production.INFO: 117
[2025-03-10 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647059') start
[2025-03-10 04:27:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647059') end
[2025-03-10 04:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:27:04] Production.INFO: 1
[2025-03-10 04:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:27:04] Production.ERROR: done
[2025-03-10 04:27:04] Production.INFO: ==31740== Releasing lock...
[2025-03-10 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:27:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:27:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:27:04] Production.INFO: Total Charge 0
[2025-03-10 04:27:04] Production.INFO: CreateAllLog End
[2025-03-10 04:27:04] Production.ERROR: done
[2025-03-10 04:27:04] Production.INFO: ==31732== Releasing lock...
[2025-03-10 04:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:27:04] Production.INFO: Account Balance End.
[2025-03-10 04:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:27:04] Production.INFO: ==31736== Releasing lock...
[2025-03-10 04:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:27:05
[end_date_ymd] => 2025-03-10 04:27:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:27:05' and `end` < '2025-03-10 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-03-10 04:27:12] Production.ERROR: CronJobId end10
[2025-03-10 04:27:12] Production.INFO: ==31734== Releasing lock...
[2025-03-10 04:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:27:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:27:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:27:15] Production.INFO: call_cost start
[2025-03-10 04:27:15] Production.INFO: call_cost end
[2025-03-10 04:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:27:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:27:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:27:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:27:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:27:16] Production.INFO: ==31730== Releasing lock...
[2025-03-10 04:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:27:17] Production.INFO: count ==138
[2025-03-10 04:27:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:27:05 - End Time 2025-03-10 04:27:05
[2025-03-10 04:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647063', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647063', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647063', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647063', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:27:17] Production.INFO: ProcessCDR(1,14647063,1,1,2)
[2025-03-10 04:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647063', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647063', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:27:21] Production.INFO: ==31738== Releasing lock...
[2025-03-10 04:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:27:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:28:01] Production.INFO: ==31829== Lock acquired, processing the job...
[2025-03-10 08:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:28:01] Production.INFO: neon service started
[2025-03-10 08:28:01] Production.INFO: neon service started
[2025-03-10 08:28:01] Production.INFO: ==31829== Releasing lock...
[2025-03-10 08:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:28:02] Production.INFO: ==31831== Lock acquired, processing the job...
[2025-03-10 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:28:02] Production.INFO: ==31831== Releasing lock...
[2025-03-10 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:28:02] Production.INFO: ==31834== Lock acquired, processing the job...
[2025-03-10 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:28:02] Production.INFO: ==31834== Releasing lock...
[2025-03-10 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:28:03] Production.INFO: ==31838== Lock acquired, processing the job...
[2025-03-10 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:28:03] Production.INFO: ==31840== Lock acquired, processing the job...
[2025-03-10 04:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:28:03] Production.INFO: ==31845== Lock acquired, processing the job...
[2025-03-10 04:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:28:03] Production.INFO: ==31836== Lock acquired, processing the job...
[2025-03-10 04:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:28:03] Production.INFO: ==31842== Lock acquired, processing the job...
[2025-03-10 04:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:28:03] Production.INFO: ==31847== Lock acquired, processing the job...
[2025-03-10 04:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:28:03] Production.INFO: ==31838== Releasing lock...
[2025-03-10 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:28:03] Production.INFO: Account Balance Start.
[2025-03-10 04:28:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:28:03] Production.INFO: 117
[2025-03-10 04:28:04] Production.ERROR: done
[2025-03-10 04:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:28:04] Production.INFO: Date 2025-03-08
[2025-03-10 04: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-03-10 04:28:04] Production.INFO: count ==13
[2025-03-10 04:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 04: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-03-10 04:28:04] Production.INFO: count ==21
[2025-03-10 04:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647067') start
[2025-03-10 04:28:04] Production.INFO: Total Charge 0
[2025-03-10 04:28:04] Production.ERROR: done
[2025-03-10 04:28:04] Production.INFO: CreateAllLog End
[2025-03-10 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647067') end
[2025-03-10 04:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:28:04] Production.INFO: 1
[2025-03-10 04:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:28:04] Production.INFO: ==31847== Releasing lock...
[2025-03-10 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:28:04] Production.INFO: Account Balance End.
[2025-03-10 04:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:28:04] Production.INFO: ==31842== Releasing lock...
[2025-03-10 04:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:28:05
[end_date_ymd] => 2025-03-10 04:28:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:28:05' and `end` < '2025-03-10 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-03-10 04:28:12] Production.ERROR: CronJobId end10
[2025-03-10 04:28:12] Production.INFO: ==31840== Releasing lock...
[2025-03-10 04:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:28:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:28:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:28:14] Production.INFO: call_cost start
[2025-03-10 04:28:14] Production.INFO: call_cost end
[2025-03-10 04:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:28:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:28:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:28:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:28:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:28:15] Production.INFO: ==31836== Releasing lock...
[2025-03-10 04:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:28:17] Production.INFO: count ==138
[2025-03-10 04:28:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:28:05 - End Time 2025-03-10 04:28:05
[2025-03-10 04:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647068', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647068', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647068', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647068', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:28:17] Production.INFO: ProcessCDR(1,14647068,1,1,2)
[2025-03-10 04:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647068', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647068', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:28:20] Production.INFO: ==31845== Releasing lock...
[2025-03-10 04:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:28:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:29:01] Production.INFO: ==31910== Lock acquired, processing the job...
[2025-03-10 08:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:29:01] Production.INFO: neon service started
[2025-03-10 08:29:01] Production.INFO: neon service started
[2025-03-10 08:29:01] Production.INFO: ==31910== Releasing lock...
[2025-03-10 08:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:29:01] Production.INFO: ==31912== Lock acquired, processing the job...
[2025-03-10 04:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:29:02] Production.INFO: ==31914== Lock acquired, processing the job...
[2025-03-10 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:29:02] Production.INFO: ==31914== Releasing lock...
[2025-03-10 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:29:02] Production.INFO: ==31912== Releasing lock...
[2025-03-10 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:29:03] Production.INFO: ==31918== Lock acquired, processing the job...
[2025-03-10 04:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:29:03] Production.INFO: ==31921== Lock acquired, processing the job...
[2025-03-10 04:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:29:03] Production.INFO: ==31925== Lock acquired, processing the job...
[2025-03-10 04:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:29:03] Production.INFO: Account Balance Start.
[2025-03-10 04:29:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:29:03] Production.INFO: 117
[2025-03-10 04:29:03] Production.INFO: ==31923== Lock acquired, processing the job...
[2025-03-10 04:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:29:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:29:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:29:03] Production.INFO: ==31929== Lock acquired, processing the job...
[2025-03-10 04:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:29:03] Production.INFO: ==31927== Lock acquired, processing the job...
[2025-03-10 04:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:29:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:29:03] Production.INFO: Total Charge 0
[2025-03-10 04:29:03] Production.INFO: CreateAllLog End
[2025-03-10 04:29:03] Production.INFO: ==31921== Releasing lock...
[2025-03-10 04:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04: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-03-10 04:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:29:03] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:29:03] Production.INFO: count ==21
[2025-03-10 04:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647072') start
[2025-03-10 04:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647072') end
[2025-03-10 04:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:29:03] Production.INFO: 1
[2025-03-10 04:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:29:03] Production.INFO: Account Balance End.
[2025-03-10 04:29:03] Production.ERROR: done
[2025-03-10 04:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:29:03] Production.INFO: ==31929== Releasing lock...
[2025-03-10 04:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:29:03] Production.ERROR: CronJobId end 12
[2025-03-10 04:29:03] Production.INFO: ==31925== Releasing lock...
[2025-03-10 04:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:29:04] Production.ERROR: done
[2025-03-10 04:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:29:04
[end_date_ymd] => 2025-03-10 04:29:04
[RateCDR] => 1
)
[2025-03-10 04:29: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-03-10 01:29:04' and `end` < '2025-03-10 04:29: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-03-10 04:29:11] Production.ERROR: CronJobId end10
[2025-03-10 04:29:11] Production.INFO: ==31923== Releasing lock...
[2025-03-10 04:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:29:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:29:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:29:14] Production.INFO: call_cost start
[2025-03-10 04:29:14] Production.INFO: call_cost end
[2025-03-10 04:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:29:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:29:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:29:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:29:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:29:14] Production.INFO: ==31918== Releasing lock...
[2025-03-10 04:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:29:16] Production.INFO: count ==138
[2025-03-10 04:29:16] Production.ERROR: pbx CDR StartTime 2025-03-10 01:29:04 - End Time 2025-03-10 04:29:04
[2025-03-10 04:29:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:29:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647073', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:29:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647073', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:29:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647073', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:29:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647073', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:29:16] Production.INFO: ProcessCDR(1,14647073,1,1,2)
[2025-03-10 04:29:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:29:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:29:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647073', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647073', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:29:20] Production.INFO: ==31927== Releasing lock...
[2025-03-10 04:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:29:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:30:01] Production.INFO: ==31999== Lock acquired, processing the job...
[2025-03-10 08:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:30:01] Production.INFO: neon service started
[2025-03-10 08:30:01] Production.INFO: neon service started
[2025-03-10 08:30:01] Production.INFO: ==31999== Releasing lock...
[2025-03-10 08:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:30:02] Production.INFO: ==32003== Lock acquired, processing the job...
[2025-03-10 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:30:02] Production.INFO: ==32005== Lock acquired, processing the job...
[2025-03-10 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:30:02] Production.INFO: ==32005== Releasing lock...
[2025-03-10 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:30:02] Production.INFO: ==32003== Releasing lock...
[2025-03-10 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:30:03] Production.INFO: ==32008== Lock acquired, processing the job...
[2025-03-10 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 04:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 04:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 04:30:03] Production.INFO: ==32008== Releasing lock...
[2025-03-10 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 04:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 04:30:03] Production.INFO: ==32010== Lock acquired, processing the job...
[2025-03-10 04:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:30:03] Production.INFO: ==32018== Lock acquired, processing the job...
[2025-03-10 04:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:30:04] Production.INFO: ==32012== Lock acquired, processing the job...
[2025-03-10 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:30:04] Production.INFO: ==32014== Lock acquired, processing the job...
[2025-03-10 04:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:30:04] Production.INFO: ==32016== Lock acquired, processing the job...
[2025-03-10 04:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:30:04] Production.INFO: ==32022== Lock acquired, processing the job...
[2025-03-10 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:30:04] Production.INFO: ==32020== Lock acquired, processing the job...
[2025-03-10 04:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 04:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:30:04] Production.INFO: Account Balance Start.
[2025-03-10 04:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:30:04] Production.INFO: 117
[2025-03-10 04:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:30:04] Production.INFO: count ==13
[2025-03-10 04:30:04] Production.ERROR: done
[2025-03-10 04:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 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-03-10 04:30:04] Production.INFO: count ==21
[2025-03-10 04:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647076') start
[2025-03-10 04:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:30:04] Production.INFO: Total Charge 0
[2025-03-10 04:30:04] Production.INFO: CreateAllLog End
[2025-03-10 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647076') end
[2025-03-10 04:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:30:04] Production.INFO: 1
[2025-03-10 04:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:30:04] Production.INFO: ==32012== Releasing lock...
[2025-03-10 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:30:04] Production.ERROR: done
[2025-03-10 04:30:04] Production.INFO: ==32022== Releasing lock...
[2025-03-10 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:30:04] Production.INFO: Account Balance End.
[2025-03-10 04:30:05] Production.ERROR: done
[2025-03-10 04:30:05] Production.ERROR: CronJobId end 12
[2025-03-10 04:30:05] Production.INFO: ==32016== Releasing lock...
[2025-03-10 04:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 04:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647079', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 04:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:30:06
[end_date_ymd] => 2025-03-10 04:30:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:30:06' and `end` < '2025-03-10 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-03-10 04:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647079', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 04:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 04:30:09] Production.INFO: ProcessCDR(1,14647079,1,1,2)
[2025-03-10 04:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647079,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647079,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:30:09] Production.INFO: ==32020== Releasing lock...
[2025-03-10 04:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 04:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 04:30:13] Production.ERROR: CronJobId end10
[2025-03-10 04:30:13] Production.INFO: ==32014== Releasing lock...
[2025-03-10 04:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:30:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:30:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:30:16] Production.INFO: call_cost start
[2025-03-10 04:30:16] Production.INFO: call_cost end
[2025-03-10 04:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:30:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:30:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:30:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:30:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:30:17] Production.INFO: ==32010== Releasing lock...
[2025-03-10 04:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:30:18] Production.INFO: count ==132
[2025-03-10 04:30:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:30:06 - End Time 2025-03-10 04:30:06
[2025-03-10 04:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647078', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647078', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647078', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647078', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:30:18] Production.INFO: ProcessCDR(1,14647078,1,1,2)
[2025-03-10 04:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647078', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647078', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:30:21] Production.INFO: ==32018== Releasing lock...
[2025-03-10 04:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:30:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 08:31:02] Production.INFO: ==32143== Lock acquired, processing the job...
[2025-03-10 08:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:31:02] Production.INFO: neon service started
[2025-03-10 08:31:02] Production.INFO: neon service started
[2025-03-10 08:31:02] Production.INFO: ==32143== Releasing lock...
[2025-03-10 08:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:31:02] Production.INFO: ==32145== Lock acquired, processing the job...
[2025-03-10 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:31:03] Production.INFO: ==32147== Lock acquired, processing the job...
[2025-03-10 08:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:31:03] Production.INFO: ==32147== Releasing lock...
[2025-03-10 08:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:31:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:31:03] Production.INFO: ==32145== Releasing lock...
[2025-03-10 04:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:31:04] Production.INFO: ==32150== Lock acquired, processing the job...
[2025-03-10 04:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:31:04] Production.INFO: ==32152== Lock acquired, processing the job...
[2025-03-10 04:31:04] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Starts#
[2025-03-10 04:31:04] Production.INFO: ==32158== Lock acquired, processing the job...
[2025-03-10 04:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:31:04] Production.INFO: ==32162== Lock acquired, processing the job...
[2025-03-10 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:31:04] Production.INFO: ==32154== Lock acquired, processing the job...
[2025-03-10 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:31:04] Production.INFO: ==32156== Lock acquired, processing the job...
[2025-03-10 04:31:04] Production.INFO: Account Balance Start.
[2025-03-10 04:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:31:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:31:04] Production.INFO: 117
[2025-03-10 04:31:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:04] Production.INFO: Call prc_getBillingAccounts(1,2025-03-10,'','0')
[2025-03-10 04:31:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 5
[NextInvoiceDate] => 2025-03-10
[AccountName] => DMCI
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 13
[NextInvoiceDate] => 2025-03-10
[AccountName] => Rosedale Diner
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 50
[NextInvoiceDate] => 2025-03-10
[AccountName] => J. Randall Graham, CPA
[ServiceID] => 0
)
[3] => stdClass Object
(
[AccountID] => 73
[NextInvoiceDate] => 2025-03-10
[AccountName] => Discovery Point Nursery
[ServiceID] => 0
)
[4] => stdClass Object
(
[AccountID] => 139
[NextInvoiceDate] => 2025-03-10
[AccountName] => Dominos 10560 (Ricky Singh)
[ServiceID] => 0
)
[5] => stdClass Object
(
[AccountID] => 244
[NextInvoiceDate] => 2025-03-10
[AccountName] => Example Invoice
[ServiceID] => 0
)
[6] => stdClass Object
(
[AccountID] => 258
[NextInvoiceDate] => 2025-03-10
[AccountName] => Lion Motors
[ServiceID] => 0
)
)
[2025-03-10 04:31:04] Production.INFO: AccountID =5 FirstInvoiceSend 0
[2025-03-10 04:31:04] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-03-10 04:31:04] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-03-10 04:31:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-10 04:31:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-10 04:31:04] Production.INFO: Invoice::sendInvoice(1,5,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-03-10 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-03-10 04:31:04] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-03-10 04:31:04] Production.INFO: count ==13
[2025-03-10 04:31:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 04:31:04] Production.INFO: count ==21
[2025-03-10 04:31:04] Production.INFO: ==32160== Lock acquired, processing the job...
[2025-03-10 04:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:31:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-10 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-03-10 04:31:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-10 04:31:04] Production.INFO: AlreadyBilled
[2025-03-10 04:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:31:04] Production.INFO: original start date ==>2025-02-10 changed start date ==>2025-02-10 00:00:00 original end date ==>2025-03-09 23:59:59 changed end date ==>2025-03-09 23:59:59
[2025-03-10 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647083') start
[2025-03-10 04:31:04] Production.INFO: Invoice::getAccountUsageTotal(1,5,2025-02-10,2025-03-09 23:59:59)
[2025-03-10 04:31:04] Production.INFO: TotalCharges - 0
[2025-03-10 04:31:04] Production.INFO: TotalUsageCharges - 0.00
[2025-03-10 04:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:31:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:04] Production.INFO: Total Charge 0
[2025-03-10 04:31:04] Production.INFO: Usage Over
[2025-03-10 04:31:04] Production.INFO: Call prc_getAccountSubscription(5,0)
[2025-03-10 04:31:04] Production.INFO: SUBSCRIPTION 7
[2025-03-10 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 1
[2025-03-10 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647083') end
[2025-03-10 04:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:31:04] Production.INFO: 1
[2025-03-10 04:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:31:04] Production.INFO: isAdvanceSubscription - 1
[2025-03-10 04:31:04] Production.INFO: CreateAllLog End
[2025-03-10 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:04] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:04] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:04] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:04] Production.INFO: SubscriptionDate
[2025-03-10 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:04] Production.INFO: AccountSubscription StartDate 2017-02-10 StartDate 2025-02-10
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:04] Production.INFO: AccountSubscriptionID - 3 === 2017-02-10=====2026-03-10
[2025-03-10 04:31:04] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:04] Production.INFO: First Time False 2017-02-10 2025-03-10
[2025-03-10 04:31:04] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2017-02-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(3,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:04] Production.INFO: SubscriptionCharge - 5
[2025-03-10 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(5,1,1,2025-03-10,2025-04-09 00:00:00,License for a Pay As You Go Cloud Phone extension (DMCi),25,5,5,3)
[2025-03-10 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:04] Production.INFO: DiscountType
[2025-03-10 04:31:04] Production.INFO: SubscriptionCharge 25
[2025-03-10 04:31:04] Production.INFO: New SubscriptionCharge 25
[2025-03-10 04:31:04] Production.INFO: TotalSubscriptionCharge - 25.00
[2025-03-10 04:31:04] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 4
[2025-03-10 04:31:04] Production.INFO: isAdvanceSubscription - 4
[2025-03-10 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:04] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:04] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:04] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:04] Production.INFO: SubscriptionDate
[2025-03-10 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:04] Production.INFO: AccountSubscription StartDate 2017-02-10 StartDate 2025-02-10
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:04] Production.INFO: AccountSubscriptionID - 6 === 2017-02-10=====2026-03-10
[2025-03-10 04:31:04] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:04] Production.INFO: First Time False 2017-02-10 2025-03-10
[2025-03-10 04:31:04] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2017-02-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(6,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:04] Production.INFO: SubscriptionCharge - 0
[2025-03-10 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(5,1,4,2025-03-10,2025-04-09 00:00:00,e911 address registration (1448 LAWRENCE AVE E STE 300 TORONTO, ON M4A2S8),0,0,1,6)
[2025-03-10 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:04] Production.INFO: DiscountType
[2025-03-10 04:31:04] Production.INFO: SubscriptionCharge 0
[2025-03-10 04:31:04] Production.INFO: New SubscriptionCharge 0
[2025-03-10 04:31:04] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-03-10 04:31:04] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 24
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 2025-02-10=====2025-03-09
[2025-03-10 04:31:04] Production.INFO: AccountSubscriptionID - 475 === 2020-03-17=====2020-05-28
[2025-03-10 04:31:04] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 24
[2025-03-10 04:31:04] Production.INFO: ==32162== Releasing lock...
[2025-03-10 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 2025-02-10=====2025-03-09
[2025-03-10 04:31:04] Production.INFO: AccountSubscriptionID - 492 === 2020-05-28=====2020-07-28
[2025-03-10 04:31:04] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 8
[2025-03-10 04:31:04] Production.INFO: isAdvanceSubscription - 8
[2025-03-10 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:04] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:04] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:04] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:04] Production.INFO: SubscriptionDate
[2025-03-10 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:04] Production.INFO: AccountSubscription StartDate 2021-02-09 StartDate 2025-02-10
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:04] Production.INFO: AccountSubscriptionID - 568 === 2021-02-09=====2026-03-10
[2025-03-10 04:31:04] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:04] Production.INFO: First Time False 2021-02-09 2025-03-10
[2025-03-10 04:31:04] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2021-02-09 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(568,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:04] Production.INFO: SubscriptionCharge - 5
[2025-03-10 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(5,1,8,2025-03-10,2025-04-09 00:00:00,Additional Toll Free DID (18336210750),5,5,1,568)
[2025-03-10 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:04] Production.INFO: DiscountType
[2025-03-10 04:31:04] Production.INFO: SubscriptionCharge 5
[2025-03-10 04:31:04] Production.INFO: New SubscriptionCharge 5
[2025-03-10 04:31:04] Production.INFO: TotalSubscriptionCharge - 5.00
[2025-03-10 04:31:04] Production.INFO: ==32154== Releasing lock...
[2025-03-10 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:31:04] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 24
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 2025-02-10=====2025-03-09
[2025-03-10 04:31:04] Production.INFO: AccountSubscriptionID - 569 === 2021-02-09=====2026-03-10
[2025-03-10 04:31:04] Production.INFO: regular Subscription
[2025-03-10 04:31:04] Production.INFO: First Time False 2021-02-09 2025-02-10
[2025-03-10 04:31:04] Production.INFO: StartDate 2025-02-10 AccountSubscription->StartDate 2021-02-09 EndDate 2025-03-09 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:04] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-03-10 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(569,2025-02-10,2025-03-09,,0)
[2025-03-10 04:31:04] Production.INFO: SubscriptionCharge - -10
[2025-03-10 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(5,1,24,2025-02-10,2025-03-09,Loyalty discount - $10/month - Never expires (XR),-10,-10,1,569)
[2025-03-10 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:04] Production.INFO: DiscountType
[2025-03-10 04:31:04] Production.INFO: SubscriptionCharge -10
[2025-03-10 04:31:04] Production.INFO: New SubscriptionCharge -10
[2025-03-10 04:31:04] Production.INFO: TotalSubscriptionCharge - -10.00
[2025-03-10 04:31:04] Production.ERROR: done
[2025-03-10 04:31:04] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 32
[2025-03-10 04:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:31:04] Production.INFO: isAdvanceSubscription - 32
[2025-03-10 04:31:04] Production.INFO: Account Balance End.
[2025-03-10 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:04] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:04] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:04] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:04] Production.INFO: SubscriptionDate
[2025-03-10 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:04] Production.INFO: AccountSubscription StartDate 2022-07-26 StartDate 2025-02-10
[2025-03-10 04:31:04] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:04] Production.INFO: AccountSubscriptionID - 657 === 2022-07-26=====2026-03-10
[2025-03-10 04:31:04] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:04] Production.INFO: First Time False 2022-07-26 2025-03-10
[2025-03-10 04:31:04] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2022-07-26 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(657,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:04] Production.INFO: SubscriptionCharge - 6.29
[2025-03-10 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(5,1,32,2025-03-10,2025-04-09 00:00:00,Allows Microsoft Teams app to be used to make and receive calls via Cloud Phone.,18.87,6.29,3,657)
[2025-03-10 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:04] Production.INFO: DiscountType Flat
[2025-03-10 04:31:04] Production.INFO: SubscriptionCharge 18.87
[2025-03-10 04:31:04] Production.INFO: New SubscriptionCharge 18.87
[2025-03-10 04:31:04] Production.INFO: TotalSubscriptionCharge - 18.87
[2025-03-10 04:31:04] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:04] Production.INFO: SUBSCRIPTION Over
[2025-03-10 04:31:04] Production.INFO: Call prc_getAccountOneOffCharge(5,0,2025-02-10,2025-03-10 23:59:59)
[2025-03-10 04:31:04] Production.INFO: AccountOneOffCharge 0
[2025-03-10 04:31:04] Production.INFO: AccountOneOffCharge Over
[2025-03-10 04:31:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-10 04:31:04] Production.INFO: New UsageDates 2025-02-10 - 2025-03-09 23:59:59
[2025-03-10 04:31:04] Production.INFO: SubTotal 38.87
[2025-03-10 04:31:04] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-10 04:31:05] Production.ERROR: CronJobId end 12
[2025-03-10 04:31:05] Production.INFO: ==32158== Releasing lock...
[2025-03-10 04:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:31:05] Production.ERROR: done
[2025-03-10 04:31:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-10 04:31:05] Production.INFO: TotalTax 5.0531
[2025-03-10 04:31:05] Production.INFO: InvoiceGrandTotal 43.9231
[2025-03-10 04:31:05] Production.INFO: InvoiceTaxAmount 5.05
[2025-03-10 04:31:05] Production.INFO: GrandTotal 43.92
[2025-03-10 04:31:05] Production.INFO: SubTotal 38.87
[2025-03-10 04:31:05] Production.INFO: TotalDue -11.30
[2025-03-10 04:31:05] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:05] Production.INFO: original start date ==>2025-02-10 changed start date ==>2025-02-10 00:00:00 original end date ==>2025-03-09 23:59:59 changed end date ==>2025-03-09 23:59:59
[2025-03-10 04:31:05] Production.INFO: CALL prc_getInvoiceUsage(1,'5','0','1','2025-02-10 00:00:00','2025-03-09 23:59:59',0)
[2025-03-10 04:31:05] Production.INFO: PDF Generation start
[2025-03-10 04:31:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/5/Invoices/2025/03/10/Invoice-dmci-inv11672-from-02-10-2025-to-03-09-2025-10612.pdf
[2025-03-10 04:31:05] Production.INFO: On Linux
[2025-03-10 04:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:31:06
[end_date_ymd] => 2025-03-10 04:31:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:31:06' and `end` < '2025-03-10 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-03-10 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/5/Invoices/2025/03/10/footer-dmci-inv11672-from-02-10-2025-to-03-09-2025-10612.html" "/var/www/tmp/1/5/Invoices/2025/03/10/Invoice-dmci-inv11672-from-02-10-2025-to-03-09-2025-10612.html" "/var/www/tmp/1/5/Invoices/2025/03/10/Invoice-dmci-inv11672-from-02-10-2025-to-03-09-2025-10612.pdf"
[2025-03-10 04:31:07] Production.INFO:
[2025-03-10 04:31:07] Production.INFO: /var/www/tmp/1/5/Invoices/2025/03/10/Invoice-dmci-inv11672-from-02-10-2025-to-03-09-2025-10612.html
[2025-03-10 04:31:07] Production.INFO: /var/www/tmp/1/5/Invoices/2025/03/10/header-dmci-inv11672-from-02-10-2025-to-03-09-2025-10612.html
[2025-03-10 04:31:07] Production.INFO: /var/www/tmp/1/5/Invoices/2025/03/10/footer-dmci-inv11672-from-02-10-2025-to-03-09-2025-10612.html
[2025-03-10 04:31:07] Production.INFO: Invoice generation PDF path
[2025-03-10 04:31:07] Production.INFO: PDF fullPath 1/5/Invoices/2025/03/10/Invoice-dmci-inv11672-from-02-10-2025-to-03-09-2025-10612.pdf
[2025-03-10 04:31:07] Production.INFO: Generate Usage File Start
[2025-03-10 04:31:07] Production.INFO: Usage File fullPath 1/5/InvoiceUsageFile/2025/03/10/dmci-10-02-2025-00-00-00-TO-09-03-2025-23-59-59_3146__0324caf0-fd8a-11ef-bec9-bf42c0ea097b.csv
[2025-03-10 04:31:08] Production.INFO: Sending Email to Staff over
[2025-03-10 04:31:08] Production.INFO: Email Status 1
[2025-03-10 04:31:08] Production.INFO: Sending Email to Customer
[2025-03-10 04:31:09] Production.INFO: Email Try 10612 1
[2025-03-10 04:31:09] Production.INFO: =========== Email Sending over ===========
[2025-03-10 04:31:09] Production.INFO: =========== Returning as Success =========== AccountID 5
[2025-03-10 04:31:09] Production.INFO: Invoice::sendInvoice done
[2025-03-10 04:31:09] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-10 04:31:09] Production.INFO: Invoice Committed AccountID = 5
[2025-03-10 04:31:09] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-10 04:31:09] Production.INFO: NextInvoice 2025-03-10 2025-04-09
[2025-03-10 04:31:09] Production.INFO: new dates
[2025-03-10 04:31:09] Production.INFO: LastInvoiceDate 2025-03-10 NextInvoiceDate 2025-04-10
[2025-03-10 04:31:09] Production.INFO: LastChargeDate 2025-03-10 NextChargeDate 2025-04-09
[2025-03-10 04:31:09] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-10 04:31:09] Production.INFO: ========================== Invoice Send End =============================
[2025-03-10 04:31:09] Production.INFO: AccountID =13 FirstInvoiceSend 0
[2025-03-10 04:31:09] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-03-10 04:31:09] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-03-10 04:31:09] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-10 04:31:09] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-10 04:31:09] Production.INFO: Invoice::sendInvoice(1,13,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-03-10 04:31:09] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-03-10 04:31:09] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-10 04:31:09] 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-03-10 04:31:09] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-10 04:31:09] Production.INFO: AlreadyBilled
[2025-03-10 04:31:09] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:09] Production.INFO: original start date ==>2025-02-10 changed start date ==>2025-02-10 00:00:00 original end date ==>2025-03-09 23:59:59 changed end date ==>2025-03-09 23:59:59
[2025-03-10 04:31:09] Production.INFO: Invoice::getAccountUsageTotal(1,13,2025-02-10,2025-03-09 23:59:59)
[2025-03-10 04:31:09] Production.INFO: TotalCharges - 0
[2025-03-10 04:31:09] Production.INFO: TotalUsageCharges - 0.00
[2025-03-10 04:31:09] Production.INFO: Usage Over
[2025-03-10 04:31:09] Production.INFO: Call prc_getAccountSubscription(13,0)
[2025-03-10 04:31:09] Production.INFO: SUBSCRIPTION 4
[2025-03-10 04:31:09] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:09] Production.INFO: SubscriptionID - 1
[2025-03-10 04:31:09] Production.INFO: isAdvanceSubscription - 1
[2025-03-10 04:31:09] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:09] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:09] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:09] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:09] Production.INFO: SubscriptionDate
[2025-03-10 04:31:09] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:09] Production.INFO: AccountSubscription StartDate 2017-03-10 StartDate 2025-02-10
[2025-03-10 04:31:09] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:09] Production.INFO: AccountSubscriptionID - 14 === 2017-03-10=====2026-03-10
[2025-03-10 04:31:09] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:09] Production.INFO: First Time False 2017-03-10 2025-03-10
[2025-03-10 04:31:09] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2017-03-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(14,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:09] Production.INFO: SubscriptionCharge - 7
[2025-03-10 04:31:09] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(13,1,1,2025-03-10,2025-04-09 00:00:00,License for a Pay As You Go Cloud Phone extension,7,7,1,14)
[2025-03-10 04:31:09] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:09] Production.INFO: DiscountType
[2025-03-10 04:31:09] Production.INFO: SubscriptionCharge 7
[2025-03-10 04:31:09] Production.INFO: New SubscriptionCharge 7
[2025-03-10 04:31:09] Production.INFO: TotalSubscriptionCharge - 7.00
[2025-03-10 04:31:09] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:09] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:09] Production.INFO: SubscriptionID - 4
[2025-03-10 04:31:09] Production.INFO: isAdvanceSubscription - 4
[2025-03-10 04:31:09] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:09] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:09] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:09] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:09] Production.INFO: SubscriptionDate
[2025-03-10 04:31:09] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:09] Production.INFO: AccountSubscription StartDate 2017-03-10 StartDate 2025-02-10
[2025-03-10 04:31:09] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:09] Production.INFO: AccountSubscriptionID - 15 === 2017-03-10=====2026-03-10
[2025-03-10 04:31:09] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:09] Production.INFO: First Time False 2017-03-10 2025-03-10
[2025-03-10 04:31:09] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2017-03-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(15,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:09] Production.INFO: SubscriptionCharge - 2.5
[2025-03-10 04:31:09] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(13,1,4,2025-03-10,2025-04-09 00:00:00,e911 address registration (14169233122 - 1164 YONGE ST TORONTO, ON M4W2L9),2.5,2.5,1,15)
[2025-03-10 04:31:09] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:09] Production.INFO: DiscountType
[2025-03-10 04:31:09] Production.INFO: SubscriptionCharge 2.5
[2025-03-10 04:31:09] Production.INFO: New SubscriptionCharge 2.5
[2025-03-10 04:31:09] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-03-10 04:31:09] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:09] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:09] Production.INFO: SubscriptionID - 8
[2025-03-10 04:31:09] Production.INFO: isAdvanceSubscription - 8
[2025-03-10 04:31:09] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:09] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:09] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:09] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:09] Production.INFO: SubscriptionDate
[2025-03-10 04:31:09] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:09] Production.INFO: AccountSubscription StartDate 2019-05-06 StartDate 2025-02-10
[2025-03-10 04:31:09] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:09] Production.INFO: AccountSubscriptionID - 396 === 2019-05-06=====2026-03-10
[2025-03-10 04:31:09] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:09] Production.INFO: First Time False 2019-05-06 2025-03-10
[2025-03-10 04:31:09] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2019-05-06 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(396,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:09] Production.INFO: SubscriptionCharge - 3
[2025-03-10 04:31:09] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(13,1,8,2025-03-10,2025-04-09 00:00:00,Additional DID (14167850655),3,3,1,396)
[2025-03-10 04:31:09] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:09] Production.INFO: DiscountType
[2025-03-10 04:31:09] Production.INFO: SubscriptionCharge 3
[2025-03-10 04:31:09] Production.INFO: New SubscriptionCharge 3
[2025-03-10 04:31:09] Production.INFO: TotalSubscriptionCharge - 3.00
[2025-03-10 04:31:09] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:09] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:09] Production.INFO: SubscriptionID - 8
[2025-03-10 04:31:09] Production.INFO: isAdvanceSubscription - 8
[2025-03-10 04:31:09] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:09] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:09] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:09] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:09] Production.INFO: SubscriptionDate
[2025-03-10 04:31:09] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:09] Production.INFO: AccountSubscription StartDate 2024-11-05 StartDate 2025-02-10
[2025-03-10 04:31:09] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:09] Production.INFO: AccountSubscriptionID - 1238 === 2024-11-05=====2026-03-10
[2025-03-10 04:31:09] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:09] Production.INFO: First Time False 2024-11-05 2025-03-10
[2025-03-10 04:31:09] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2024-11-05 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(1238,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:09] Production.INFO: SubscriptionCharge - 2
[2025-03-10 04:31:09] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(13,1,8,2025-03-10,2025-04-09 00:00:00,Additional DID (14168770759),2,2,1,1238)
[2025-03-10 04:31:09] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:09] Production.INFO: DiscountType Flat
[2025-03-10 04:31:09] Production.INFO: SubscriptionCharge 2
[2025-03-10 04:31:09] Production.INFO: New SubscriptionCharge 2
[2025-03-10 04:31:09] Production.INFO: TotalSubscriptionCharge - 2.00
[2025-03-10 04:31:09] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:09] Production.INFO: SUBSCRIPTION Over
[2025-03-10 04:31:09] Production.INFO: Call prc_getAccountOneOffCharge(13,0,2025-02-10,2025-03-10 23:59:59)
[2025-03-10 04:31:09] Production.INFO: AccountOneOffCharge 0
[2025-03-10 04:31:09] Production.INFO: AccountOneOffCharge Over
[2025-03-10 04:31:09] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-10 04:31:09] Production.INFO: New UsageDates 2025-02-10 - 2025-03-09 23:59:59
[2025-03-10 04:31:09] Production.INFO: SubTotal 14.5
[2025-03-10 04:31:09] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-10 04:31:10] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-10 04:31:10] Production.INFO: TotalTax 1.885
[2025-03-10 04:31:10] Production.INFO: InvoiceGrandTotal 16.385
[2025-03-10 04:31:10] Production.INFO: InvoiceTaxAmount 1.89
[2025-03-10 04:31:10] Production.INFO: GrandTotal 16.39
[2025-03-10 04:31:10] Production.INFO: SubTotal 14.50
[2025-03-10 04:31:10] Production.INFO: TotalDue 1.88
[2025-03-10 04:31:10] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:10] Production.INFO: original start date ==>2025-02-10 changed start date ==>2025-02-10 00:00:00 original end date ==>2025-03-09 23:59:59 changed end date ==>2025-03-09 23:59:59
[2025-03-10 04:31:10] Production.INFO: CALL prc_getInvoiceUsage(1,'13','0','1','2025-02-10 00:00:00','2025-03-09 23:59:59',0)
[2025-03-10 04:31:10] Production.INFO: PDF Generation start
[2025-03-10 04:31:10] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/13/Invoices/2025/03/10/Invoice-rosedale-diner-inv11673-from-02-10-2025-to-03-09-2025-10613.pdf
[2025-03-10 04:31:10] Production.INFO: On Linux
[2025-03-10 04:31:11] 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/13/Invoices/2025/03/10/footer-rosedale-diner-inv11673-from-02-10-2025-to-03-09-2025-10613.html" "/var/www/tmp/1/13/Invoices/2025/03/10/Invoice-rosedale-diner-inv11673-from-02-10-2025-to-03-09-2025-10613.html" "/var/www/tmp/1/13/Invoices/2025/03/10/Invoice-rosedale-diner-inv11673-from-02-10-2025-to-03-09-2025-10613.pdf"
[2025-03-10 04:31:11] Production.INFO:
[2025-03-10 04:31:11] Production.INFO: /var/www/tmp/1/13/Invoices/2025/03/10/Invoice-rosedale-diner-inv11673-from-02-10-2025-to-03-09-2025-10613.html
[2025-03-10 04:31:11] Production.INFO: /var/www/tmp/1/13/Invoices/2025/03/10/header-rosedale-diner-inv11673-from-02-10-2025-to-03-09-2025-10613.html
[2025-03-10 04:31:11] Production.INFO: /var/www/tmp/1/13/Invoices/2025/03/10/footer-rosedale-diner-inv11673-from-02-10-2025-to-03-09-2025-10613.html
[2025-03-10 04:31:11] Production.INFO: Invoice generation PDF path
[2025-03-10 04:31:11] Production.INFO: PDF fullPath 1/13/Invoices/2025/03/10/Invoice-rosedale-diner-inv11673-from-02-10-2025-to-03-09-2025-10613.pdf
[2025-03-10 04:31:11] Production.INFO: Generate Usage File Start
[2025-03-10 04:31:11] Production.INFO: Usage File fullPath 1/13/InvoiceUsageFile/2025/03/10/rosedale-diner-10-02-2025-00-00-00-TO-09-03-2025-23-59-59_7765__05ca9b50-fd8a-11ef-b498-914c55c21bec.csv
[2025-03-10 04:31:12] Production.INFO: Sending Email to Staff over
[2025-03-10 04:31:12] Production.INFO: Email Status 1
[2025-03-10 04:31:12] Production.INFO: Sending Email to Customer
[2025-03-10 04:31:13] Production.INFO: Email Try 10613 1
[2025-03-10 04:31:13] Production.INFO: =========== Email Sending over ===========
[2025-03-10 04:31:13] Production.INFO: =========== Returning as Success =========== AccountID 13
[2025-03-10 04:31:13] Production.INFO: Invoice::sendInvoice done
[2025-03-10 04:31:13] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-10 04:31:13] Production.INFO: Invoice Committed AccountID = 13
[2025-03-10 04:31:13] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-10 04:31:13] Production.INFO: NextInvoice 2025-03-10 2025-04-09
[2025-03-10 04:31:13] Production.INFO: new dates
[2025-03-10 04:31:13] Production.INFO: LastInvoiceDate 2025-03-10 NextInvoiceDate 2025-04-10
[2025-03-10 04:31:13] Production.INFO: LastChargeDate 2025-03-10 NextChargeDate 2025-04-09
[2025-03-10 04:31:13] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-10 04:31:13] Production.INFO: ========================== Invoice Send End =============================
[2025-03-10 04:31:13] Production.INFO: AccountID =50 FirstInvoiceSend 0
[2025-03-10 04:31:13] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-03-10 04:31:13] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-03-10 04:31:13] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-10 04:31:13] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-10 04:31:13] Production.INFO: Invoice::sendInvoice(1,50,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-03-10 04:31:13] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-03-10 04:31:13] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-10 04:31:13] 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-03-10 04:31:13] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-10 04:31:13] Production.INFO: AlreadyBilled
[2025-03-10 04:31:13] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:14] Production.INFO: original start date ==>2025-02-10 changed start date ==>2025-02-10 00:00:00 original end date ==>2025-03-09 23:59:59 changed end date ==>2025-03-09 23:59:59
[2025-03-10 04:31:14] Production.INFO: CompanyGatewayID 1 TotalCharges ==>2.84000000
[2025-03-10 04:31:14] Production.INFO: Invoice::getAccountUsageTotal(1,50,2025-02-10,2025-03-09 23:59:59)
[2025-03-10 04:31:14] Production.INFO: TotalCharges - 2.84
[2025-03-10 04:31:14] Production.INFO: TotalUsageCharges - 2.84
[2025-03-10 04:31:14] Production.INFO: Usage Over
[2025-03-10 04:31:14] Production.INFO: Call prc_getAccountSubscription(50,0)
[2025-03-10 04:31:14] Production.INFO: SUBSCRIPTION 2
[2025-03-10 04:31:14] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:14] Production.INFO: SubscriptionID - 1
[2025-03-10 04:31:14] Production.INFO: isAdvanceSubscription - 1
[2025-03-10 04:31:14] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:14] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:14] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:14] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:14] Production.INFO: SubscriptionDate
[2025-03-10 04:31:14] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:14] Production.INFO: AccountSubscription StartDate 2017-12-09 StartDate 2025-02-10
[2025-03-10 04:31:14] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:14] Production.INFO: AccountSubscriptionID - 128 === 2017-12-09=====2026-03-10
[2025-03-10 04:31:14] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:14] Production.INFO: First Time False 2017-12-09 2025-03-10
[2025-03-10 04:31:14] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2017-12-09 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:14] Production.INFO: AccountSubscription::getSubscriptionAmount(128,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:14] Production.INFO: SubscriptionCharge - 7
[2025-03-10 04:31:14] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(50,1,1,2025-03-10,2025-04-09 00:00:00,License for a Pay As You Go Cloud Phone extension,42,7,6,128)
[2025-03-10 04:31:14] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:14] Production.INFO: DiscountType
[2025-03-10 04:31:14] Production.INFO: SubscriptionCharge 42
[2025-03-10 04:31:14] Production.INFO: New SubscriptionCharge 42
[2025-03-10 04:31:14] Production.INFO: TotalSubscriptionCharge - 42.00
[2025-03-10 04:31:14] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:14] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:14] Production.INFO: SubscriptionID - 4
[2025-03-10 04:31:14] Production.INFO: isAdvanceSubscription - 4
[2025-03-10 04:31:14] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:14] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:14] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:14] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:14] Production.INFO: SubscriptionDate
[2025-03-10 04:31:14] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:14] Production.INFO: AccountSubscription StartDate 2017-12-09 StartDate 2025-02-10
[2025-03-10 04:31:14] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:14] Production.INFO: AccountSubscriptionID - 129 === 2017-12-09=====2026-03-10
[2025-03-10 04:31:14] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:14] Production.INFO: First Time False 2017-12-09 2025-03-10
[2025-03-10 04:31:14] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2017-12-09 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:14] Production.INFO: AccountSubscription::getSubscriptionAmount(129,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:14] Production.INFO: SubscriptionCharge - 2.5
[2025-03-10 04:31:14] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(50,1,4,2025-03-10,2025-04-09 00:00:00,e911 address registration (18605166325 - 1616 METROPOLITAN CIR UNIT A TALLAHASSEE, FL 32308),2.5,2.5,1,129)
[2025-03-10 04:31:14] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:14] Production.INFO: DiscountType
[2025-03-10 04:31:14] Production.INFO: SubscriptionCharge 2.5
[2025-03-10 04:31:14] Production.INFO: New SubscriptionCharge 2.5
[2025-03-10 04:31:14] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-03-10 04:31:14] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:14] Production.INFO: SUBSCRIPTION Over
[2025-03-10 04:31:14] Production.INFO: Call prc_getAccountOneOffCharge(50,0,2025-02-10,2025-03-10 23:59:59)
[2025-03-10 04:31:14] Production.INFO: AccountOneOffCharge 0
[2025-03-10 04:31:14] Production.INFO: AccountOneOffCharge Over
[2025-03-10 04:31:14] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-10 04:31:14] Production.INFO: New UsageDates 2025-02-10 - 2025-03-09 23:59:59
[2025-03-10 04:31:14] Production.INFO: SubTotal 47.34
[2025-03-10 04:31:14] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-10 04:31:14] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-10 04:31:14] Production.INFO: TotalTax 0
[2025-03-10 04:31:14] Production.INFO: InvoiceGrandTotal 47.34
[2025-03-10 04:31:14] Production.INFO: InvoiceTaxAmount 0
[2025-03-10 04:31:14] Production.INFO: GrandTotal 47.34
[2025-03-10 04:31:14] Production.INFO: SubTotal 47.34
[2025-03-10 04:31:14] Production.INFO: TotalDue 47.34
[2025-03-10 04:31:14] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:14] Production.INFO: original start date ==>2025-02-10 changed start date ==>2025-02-10 00:00:00 original end date ==>2025-03-09 23:59:59 changed end date ==>2025-03-09 23:59:59
[2025-03-10 04:31:14] Production.INFO: CALL prc_getInvoiceUsage(1,'50','0','1','2025-02-10 00:00:00','2025-03-09 23:59:59',0)
[2025-03-10 04:31:14] Production.INFO: PDF Generation start
[2025-03-10 04:31:14] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/50/Invoices/2025/03/10/Invoice-j-randall-graham-cpa-inv11674-from-02-10-2025-to-03-09-2025-10614.pdf
[2025-03-10 04:31:14] Production.INFO: On Linux
[2025-03-10 04:31:16] 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/50/Invoices/2025/03/10/footer-j-randall-graham-cpa-inv11674-from-02-10-2025-to-03-09-2025-10614.html" "/var/www/tmp/1/50/Invoices/2025/03/10/Invoice-j-randall-graham-cpa-inv11674-from-02-10-2025-to-03-09-2025-10614.html" "/var/www/tmp/1/50/Invoices/2025/03/10/Invoice-j-randall-graham-cpa-inv11674-from-02-10-2025-to-03-09-2025-10614.pdf"
[2025-03-10 04:31:16] Production.INFO:
[2025-03-10 04:31:16] Production.INFO: /var/www/tmp/1/50/Invoices/2025/03/10/Invoice-j-randall-graham-cpa-inv11674-from-02-10-2025-to-03-09-2025-10614.html
[2025-03-10 04:31:16] Production.INFO: /var/www/tmp/1/50/Invoices/2025/03/10/header-j-randall-graham-cpa-inv11674-from-02-10-2025-to-03-09-2025-10614.html
[2025-03-10 04:31:16] Production.INFO: /var/www/tmp/1/50/Invoices/2025/03/10/footer-j-randall-graham-cpa-inv11674-from-02-10-2025-to-03-09-2025-10614.html
[2025-03-10 04:31:16] Production.INFO: Invoice generation PDF path
[2025-03-10 04:31:16] Production.INFO: PDF fullPath 1/50/Invoices/2025/03/10/Invoice-j-randall-graham-cpa-inv11674-from-02-10-2025-to-03-09-2025-10614.pdf
[2025-03-10 04:31:16] Production.INFO: Generate Usage File Start
[2025-03-10 04:31:16] Production.INFO: Usage File fullPath 1/50/InvoiceUsageFile/2025/03/10/j-randall-graham-cpa-10-02-2025-00-00-00-TO-09-03-2025-23-59-59_2891__08940a90-fd8a-11ef-b9bf-45a9d8e2a00e.csv
[2025-03-10 04:31:16] Production.ERROR: CronJobId end10
[2025-03-10 04:31:16] Production.INFO: ==32156== Releasing lock...
[2025-03-10 04:31:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:31:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:31:17] Production.INFO: Sending Email to Staff over
[2025-03-10 04:31:17] Production.INFO: Email Status 1
[2025-03-10 04:31:17] Production.INFO: Sending Email to Customer
[2025-03-10 04:31:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:31:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:31:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:31:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:31:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:31:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:31:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:31:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:31:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:31:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:31:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:31:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:31:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:31:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:31:18] Production.INFO: call_cost start
[2025-03-10 04:31:18] Production.INFO: call_cost end
[2025-03-10 04:31:18] Production.INFO: Email Try 10614 1
[2025-03-10 04:31:18] Production.INFO: =========== Email Sending over ===========
[2025-03-10 04:31:18] Production.INFO: =========== Returning as Success =========== AccountID 50
[2025-03-10 04:31:18] Production.INFO: Invoice::sendInvoice done
[2025-03-10 04:31:18] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-10 04:31:18] Production.INFO: Invoice Committed AccountID = 50
[2025-03-10 04:31:18] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-10 04:31:18] Production.INFO: NextInvoice 2025-03-10 2025-04-09
[2025-03-10 04:31:18] Production.INFO: new dates
[2025-03-10 04:31:18] Production.INFO: LastInvoiceDate 2025-03-10 NextInvoiceDate 2025-04-10
[2025-03-10 04:31:18] Production.INFO: LastChargeDate 2025-03-10 NextChargeDate 2025-04-09
[2025-03-10 04:31:18] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-10 04:31:18] Production.INFO: ========================== Invoice Send End =============================
[2025-03-10 04:31:18] Production.INFO: AccountID =73 FirstInvoiceSend 0
[2025-03-10 04:31:18] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-03-10 04:31:18] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-03-10 04:31:18] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-10 04:31:18] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-10 04:31:18] Production.INFO: Invoice::sendInvoice(1,73,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-03-10 04:31:18] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-03-10 04:31:18] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-10 04:31:18] 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-03-10 04:31:18] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-10 04:31:18] Production.INFO: AlreadyBilled
[2025-03-10 04:31:18] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:18] Production.INFO: original start date ==>2025-02-10 changed start date ==>2025-02-10 00:00:00 original end date ==>2025-03-09 23:59:59 changed end date ==>2025-03-09 23:59:59
[2025-03-10 04:31:18] Production.INFO: CompanyGatewayID 1 TotalCharges ==>1.73000000
[2025-03-10 04:31:18] Production.INFO: Invoice::getAccountUsageTotal(1,73,2025-02-10,2025-03-09 23:59:59)
[2025-03-10 04:31:18] Production.INFO: TotalCharges - 1.73
[2025-03-10 04:31:18] Production.INFO: TotalUsageCharges - 1.73
[2025-03-10 04:31:18] Production.INFO: Usage Over
[2025-03-10 04:31:18] Production.INFO: Call prc_getAccountSubscription(73,0)
[2025-03-10 04:31:18] Production.INFO: SUBSCRIPTION 3
[2025-03-10 04:31:18] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:18] Production.INFO: SubscriptionID - 1
[2025-03-10 04:31:18] Production.INFO: isAdvanceSubscription - 1
[2025-03-10 04:31:18] Production.INFO: count ==132
[2025-03-10 04:31:18] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:18] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:18] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:18] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:18] Production.INFO: SubscriptionDate
[2025-03-10 04:31:18] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:18] Production.INFO: AccountSubscription StartDate 2018-06-09 StartDate 2025-02-10
[2025-03-10 04:31:18] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:18] Production.INFO: AccountSubscriptionID - 265 === 2018-06-09=====2026-03-10
[2025-03-10 04:31:18] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:18] Production.INFO: First Time False 2018-06-09 2025-03-10
[2025-03-10 04:31:18] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2018-06-09 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:18] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:18] Production.INFO: AccountSubscription::getSubscriptionAmount(265,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:18] Production.INFO: SubscriptionCharge - 7
[2025-03-10 04:31:18] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(73,1,1,2025-03-10,2025-04-09 00:00:00,License for a Pay As You Go Cloud Phone extension,7,7,1,265)
[2025-03-10 04:31:18] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:18] Production.INFO: DiscountType
[2025-03-10 04:31:18] Production.INFO: SubscriptionCharge 7
[2025-03-10 04:31:18] Production.INFO: New SubscriptionCharge 7
[2025-03-10 04:31:18] Production.INFO: TotalSubscriptionCharge - 7.00
[2025-03-10 04:31:18] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:18] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:18] Production.INFO: SubscriptionID - 4
[2025-03-10 04:31:18] Production.INFO: isAdvanceSubscription - 4
[2025-03-10 04:31:18] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:18] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:31:06 - End Time 2025-03-10 04:31:06
[2025-03-10 04:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647085', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:31:18] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:18] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:18] Production.INFO: SubscriptionDate
[2025-03-10 04:31:18] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:18] Production.INFO: AccountSubscription StartDate 2018-06-09 StartDate 2025-02-10
[2025-03-10 04:31:18] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:18] Production.INFO: AccountSubscriptionID - 266 === 2018-06-09=====2026-03-10
[2025-03-10 04:31:18] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:18] Production.INFO: First Time False 2018-06-09 2025-03-10
[2025-03-10 04:31:18] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2018-06-09 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:18] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:18] Production.INFO: AccountSubscription::getSubscriptionAmount(266,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:18] Production.INFO: SubscriptionCharge - 2.5
[2025-03-10 04:31:18] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(73,1,4,2025-03-10,2025-04-09 00:00:00,e911 address registration (19057273568 - 10501 WESTON RD WOODBRIDGE, ON L4H4G8),2.5,2.5,1,266)
[2025-03-10 04:31:18] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:18] Production.INFO: DiscountType
[2025-03-10 04:31:18] Production.INFO: SubscriptionCharge 2.5
[2025-03-10 04:31:18] Production.INFO: New SubscriptionCharge 2.5
[2025-03-10 04:31:18] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-03-10 04:31:18] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:18] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:18] Production.INFO: SubscriptionID - 24
[2025-03-10 04:31:18] Production.INFO: SubscriptionID - 2025-02-10=====2025-03-09
[2025-03-10 04:31:18] Production.INFO: AccountSubscriptionID - 582 === 2021-03-07=====2021-08-07
[2025-03-10 04:31:18] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:18] Production.INFO: SUBSCRIPTION Over
[2025-03-10 04:31:18] Production.INFO: Call prc_getAccountOneOffCharge(73,0,2025-02-10,2025-03-10 23:59:59)
[2025-03-10 04:31:18] Production.INFO: AccountOneOffCharge 0
[2025-03-10 04:31:18] Production.INFO: AccountOneOffCharge Over
[2025-03-10 04:31:18] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-10 04:31:18] Production.INFO: New UsageDates 2025-02-10 - 2025-03-09 23:59:59
[2025-03-10 04:31:18] Production.INFO: SubTotal 11.23
[2025-03-10 04:31:18] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-10 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647085', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647085', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:31:18] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-10 04:31:18] Production.INFO: TotalTax 1.4599
[2025-03-10 04:31:18] Production.INFO: InvoiceGrandTotal 12.6899
[2025-03-10 04:31:18] Production.INFO: InvoiceTaxAmount 1.46
[2025-03-10 04:31:18] Production.INFO: GrandTotal 12.69
[2025-03-10 04:31:18] Production.INFO: SubTotal 11.23
[2025-03-10 04:31:18] Production.INFO: TotalDue -0.15
[2025-03-10 04:31:18] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647085', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:31:18] Production.INFO: ProcessCDR(1,14647085,1,1,2)
[2025-03-10 04:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:31:18] Production.INFO: original start date ==>2025-02-10 changed start date ==>2025-02-10 00:00:00 original end date ==>2025-03-09 23:59:59 changed end date ==>2025-03-09 23:59:59
[2025-03-10 04:31:18] Production.INFO: CALL prc_getInvoiceUsage(1,'73','0','1','2025-02-10 00:00:00','2025-03-09 23:59:59',0)
[2025-03-10 04:31:18] Production.INFO: PDF Generation start
[2025-03-10 04:31:18] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/73/Invoices/2025/03/10/Invoice-discovery-point-nursery-inv11675-from-02-10-2025-to-03-09-2025-10615.pdf
[2025-03-10 04:31:18] Production.INFO: On Linux
[2025-03-10 04:31:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:31:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:31:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:31:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:31:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:31:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:31:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:31:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:31:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:31:19] Production.INFO: ==32150== Releasing lock...
[2025-03-10 04:31:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:31:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:31:20] 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/73/Invoices/2025/03/10/footer-discovery-point-nursery-inv11675-from-02-10-2025-to-03-09-2025-10615.html" "/var/www/tmp/1/73/Invoices/2025/03/10/Invoice-discovery-point-nursery-inv11675-from-02-10-2025-to-03-09-2025-10615.html" "/var/www/tmp/1/73/Invoices/2025/03/10/Invoice-discovery-point-nursery-inv11675-from-02-10-2025-to-03-09-2025-10615.pdf"
[2025-03-10 04:31:20] Production.INFO:
[2025-03-10 04:31:20] Production.INFO: /var/www/tmp/1/73/Invoices/2025/03/10/Invoice-discovery-point-nursery-inv11675-from-02-10-2025-to-03-09-2025-10615.html
[2025-03-10 04:31:20] Production.INFO: /var/www/tmp/1/73/Invoices/2025/03/10/header-discovery-point-nursery-inv11675-from-02-10-2025-to-03-09-2025-10615.html
[2025-03-10 04:31:20] Production.INFO: /var/www/tmp/1/73/Invoices/2025/03/10/footer-discovery-point-nursery-inv11675-from-02-10-2025-to-03-09-2025-10615.html
[2025-03-10 04:31:20] Production.INFO: Invoice generation PDF path
[2025-03-10 04:31:20] Production.INFO: PDF fullPath 1/73/Invoices/2025/03/10/Invoice-discovery-point-nursery-inv11675-from-02-10-2025-to-03-09-2025-10615.pdf
[2025-03-10 04:31:20] Production.INFO: Generate Usage File Start
[2025-03-10 04:31:20] Production.INFO: Usage File fullPath 1/73/InvoiceUsageFile/2025/03/10/discovery-point-nursery-10-02-2025-00-00-00-TO-09-03-2025-23-59-59_632__0b133f20-fd8a-11ef-b41a-01d08a6b9adf.csv
[2025-03-10 04:31:21] Production.INFO: Sending Email to Staff over
[2025-03-10 04:31:21] Production.INFO: Email Status 1
[2025-03-10 04:31:21] Production.INFO: Sending Email to Customer
[2025-03-10 04:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647085', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647085', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:31:22] Production.INFO: ==32160== Releasing lock...
[2025-03-10 04:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:31:22] Production.INFO: 29 MB #Memory Used#
[2025-03-10 04:31:22] Production.INFO: Email Try 10615 1
[2025-03-10 04:31:23] Production.INFO: Email Try 10615 1
[2025-03-10 04:31:23] Production.INFO: =========== Email Sending over ===========
[2025-03-10 04:31:23] Production.INFO: =========== Returning as Success =========== AccountID 73
[2025-03-10 04:31:23] Production.INFO: Invoice::sendInvoice done
[2025-03-10 04:31:23] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-10 04:31:23] Production.INFO: Invoice Committed AccountID = 73
[2025-03-10 04:31:23] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-10 04:31:23] Production.INFO: NextInvoice 2025-03-10 2025-04-09
[2025-03-10 04:31:23] Production.INFO: new dates
[2025-03-10 04:31:23] Production.INFO: LastInvoiceDate 2025-03-10 NextInvoiceDate 2025-04-10
[2025-03-10 04:31:23] Production.INFO: LastChargeDate 2025-03-10 NextChargeDate 2025-04-09
[2025-03-10 04:31:23] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-10 04:31:23] Production.INFO: ========================== Invoice Send End =============================
[2025-03-10 04:31:23] Production.INFO: AccountID =139 FirstInvoiceSend 0
[2025-03-10 04:31:23] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-03-10 04:31:23] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-03-10 04:31:23] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-10 04:31:23] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-10 04:31:23] Production.INFO: Invoice::sendInvoice(1,139,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-03-10 04:31:23] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-03-10 04:31:23] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-10 04:31:23] 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-03-10 04:31:23] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-10 04:31:23] Production.INFO: AlreadyBilled
[2025-03-10 04:31:23] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:23] Production.INFO: original start date ==>2025-02-10 changed start date ==>2025-02-10 00:00:00 original end date ==>2025-03-09 23:59:59 changed end date ==>2025-03-09 23:59:59
[2025-03-10 04:31:23] Production.INFO: Invoice::getAccountUsageTotal(1,139,2025-02-10,2025-03-09 23:59:59)
[2025-03-10 04:31:23] Production.INFO: TotalCharges - 0
[2025-03-10 04:31:23] Production.INFO: TotalUsageCharges - 0.00
[2025-03-10 04:31:23] Production.INFO: Usage Over
[2025-03-10 04:31:23] Production.INFO: Call prc_getAccountSubscription(139,0)
[2025-03-10 04:31:23] Production.INFO: SUBSCRIPTION 4
[2025-03-10 04:31:23] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:23] Production.INFO: SubscriptionID - 21
[2025-03-10 04:31:23] Production.INFO: isAdvanceSubscription - 21
[2025-03-10 04:31:23] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:23] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:23] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:23] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:23] Production.INFO: SubscriptionDate
[2025-03-10 04:31:23] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:23] Production.INFO: AccountSubscription StartDate 2020-09-25 StartDate 2025-02-10
[2025-03-10 04:31:23] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:23] Production.INFO: AccountSubscriptionID - 539 === 2020-09-25=====2026-03-10
[2025-03-10 04:31:23] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:23] Production.INFO: First Time False 2020-09-25 2025-03-10
[2025-03-10 04:31:23] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2020-09-25 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:23] Production.INFO: AccountSubscription::getSubscriptionAmount(539,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:23] Production.INFO: SubscriptionCharge - 125.98
[2025-03-10 04:31:23] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(139,5,21,2025-03-10,2025-04-09 00:00:00,Cable Internet Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 80x15,125.98,125.98,1,539)
[2025-03-10 04:31:23] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:23] Production.INFO: DiscountType
[2025-03-10 04:31:23] Production.INFO: SubscriptionCharge 125.98
[2025-03-10 04:31:23] Production.INFO: New SubscriptionCharge 125.98
[2025-03-10 04:31:23] Production.INFO: TotalSubscriptionCharge - 125.98
[2025-03-10 04:31:23] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:23] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:23] Production.INFO: SubscriptionID - 23
[2025-03-10 04:31:23] Production.INFO: isAdvanceSubscription - 23
[2025-03-10 04:31:23] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:23] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:23] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:23] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:23] Production.INFO: SubscriptionDate
[2025-03-10 04:31:23] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:23] Production.INFO: AccountSubscription StartDate 2020-09-25 StartDate 2025-02-10
[2025-03-10 04:31:23] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:23] Production.INFO: AccountSubscriptionID - 540 === 2020-09-25=====2026-03-10
[2025-03-10 04:31:23] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:23] Production.INFO: First Time False 2020-09-25 2025-03-10
[2025-03-10 04:31:23] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2020-09-25 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:23] Production.INFO: AccountSubscription::getSubscriptionAmount(540,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:23] Production.INFO: SubscriptionCharge - 63.24
[2025-03-10 04:31:23] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(139,5,23,2025-03-10,2025-04-09 00:00:00,LTE Internet Failover Service (60 McNaughton Ave, Unit A-101, Wallaceburg, ON) - 1GB transfer,63.24,63.24,1,540)
[2025-03-10 04:31:23] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:23] Production.INFO: DiscountType
[2025-03-10 04:31:23] Production.INFO: SubscriptionCharge 63.24
[2025-03-10 04:31:23] Production.INFO: New SubscriptionCharge 63.24
[2025-03-10 04:31:23] Production.INFO: TotalSubscriptionCharge - 63.24
[2025-03-10 04:31:23] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:23] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:23] Production.INFO: SubscriptionID - 5
[2025-03-10 04:31:23] Production.INFO: isAdvanceSubscription - 5
[2025-03-10 04:31:23] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:23] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:23] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:23] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:23] Production.INFO: SubscriptionDate
[2025-03-10 04:31:23] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:23] Production.INFO: AccountSubscription StartDate 2020-09-25 StartDate 2025-02-10
[2025-03-10 04:31:23] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:23] Production.INFO: AccountSubscriptionID - 541 === 2020-09-25=====2026-03-10
[2025-03-10 04:31:23] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:23] Production.INFO: First Time False 2020-09-25 2025-03-10
[2025-03-10 04:31:23] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2020-09-25 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:23] Production.INFO: AccountSubscription::getSubscriptionAmount(541,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:23] Production.INFO: SubscriptionCharge - 75
[2025-03-10 04:31:23] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(139,1,5,2025-03-10,2025-04-09 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,541)
[2025-03-10 04:31:23] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:23] Production.INFO: DiscountType
[2025-03-10 04:31:23] Production.INFO: SubscriptionCharge 75
[2025-03-10 04:31:23] Production.INFO: New SubscriptionCharge 75
[2025-03-10 04:31:23] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-03-10 04:31:23] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:23] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:23] Production.INFO: SubscriptionID - 11
[2025-03-10 04:31:23] Production.INFO: isAdvanceSubscription - 11
[2025-03-10 04:31:23] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:23] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:23] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:23] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:23] Production.INFO: SubscriptionDate
[2025-03-10 04:31:23] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:23] Production.INFO: AccountSubscription StartDate 2020-09-25 StartDate 2025-02-10
[2025-03-10 04:31:23] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:23] Production.INFO: AccountSubscriptionID - 542 === 2020-09-25=====2026-03-10
[2025-03-10 04:31:23] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:23] Production.INFO: First Time False 2020-09-25 2025-03-10
[2025-03-10 04:31:23] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2020-09-25 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:23] Production.INFO: AccountSubscription::getSubscriptionAmount(542,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:23] Production.INFO: SubscriptionCharge - -5
[2025-03-10 04:31:23] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(139,1,11,2025-03-10,2025-04-09 00:00:00,Bundle discount,-15,-5,3,542)
[2025-03-10 04:31:23] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:23] Production.INFO: DiscountType
[2025-03-10 04:31:23] Production.INFO: SubscriptionCharge -15
[2025-03-10 04:31:23] Production.INFO: New SubscriptionCharge -15
[2025-03-10 04:31:23] Production.INFO: TotalSubscriptionCharge - -15.00
[2025-03-10 04:31:23] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:23] Production.INFO: SUBSCRIPTION Over
[2025-03-10 04:31:23] Production.INFO: Call prc_getAccountOneOffCharge(139,0,2025-02-10,2025-03-10 23:59:59)
[2025-03-10 04:31:23] Production.INFO: AccountOneOffCharge 0
[2025-03-10 04:31:23] Production.INFO: AccountOneOffCharge Over
[2025-03-10 04:31:23] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-10 04:31:23] Production.INFO: New UsageDates 2025-02-10 - 2025-03-09 23:59:59
[2025-03-10 04:31:23] Production.INFO: SubTotal 249.22
[2025-03-10 04:31:23] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-10 04:31:23] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-10 04:31:23] Production.INFO: TotalTax 32.3986
[2025-03-10 04:31:23] Production.INFO: InvoiceGrandTotal 281.6186
[2025-03-10 04:31:23] Production.INFO: InvoiceTaxAmount 32.4
[2025-03-10 04:31:23] Production.INFO: GrandTotal 281.62
[2025-03-10 04:31:23] Production.INFO: SubTotal 249.22
[2025-03-10 04:31:23] Production.INFO: TotalDue 281.62
[2025-03-10 04:31:23] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:23] Production.INFO: original start date ==>2025-02-10 changed start date ==>2025-02-10 00:00:00 original end date ==>2025-03-09 23:59:59 changed end date ==>2025-03-09 23:59:59
[2025-03-10 04:31:23] Production.INFO: CALL prc_getInvoiceUsage(1,'139','0','1','2025-02-10 00:00:00','2025-03-09 23:59:59',0)
[2025-03-10 04:31:24] Production.INFO: PDF Generation start
[2025-03-10 04:31:24] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/139/Invoices/2025/03/10/Invoice-dominos-10560-ricky-singh-inv11676-from-02-10-2025-to-03-09-2025-10616.pdf
[2025-03-10 04:31:24] Production.INFO: On Linux
[2025-03-10 04:31:24] 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/139/Invoices/2025/03/10/footer-dominos-10560-ricky-singh-inv11676-from-02-10-2025-to-03-09-2025-10616.html" "/var/www/tmp/1/139/Invoices/2025/03/10/Invoice-dominos-10560-ricky-singh-inv11676-from-02-10-2025-to-03-09-2025-10616.html" "/var/www/tmp/1/139/Invoices/2025/03/10/Invoice-dominos-10560-ricky-singh-inv11676-from-02-10-2025-to-03-09-2025-10616.pdf"
[2025-03-10 04:31:24] Production.INFO:
[2025-03-10 04:31:24] Production.INFO: /var/www/tmp/1/139/Invoices/2025/03/10/Invoice-dominos-10560-ricky-singh-inv11676-from-02-10-2025-to-03-09-2025-10616.html
[2025-03-10 04:31:24] Production.INFO: /var/www/tmp/1/139/Invoices/2025/03/10/header-dominos-10560-ricky-singh-inv11676-from-02-10-2025-to-03-09-2025-10616.html
[2025-03-10 04:31:24] Production.INFO: /var/www/tmp/1/139/Invoices/2025/03/10/footer-dominos-10560-ricky-singh-inv11676-from-02-10-2025-to-03-09-2025-10616.html
[2025-03-10 04:31:24] Production.INFO: Invoice generation PDF path
[2025-03-10 04:31:25] Production.INFO: PDF fullPath 1/139/Invoices/2025/03/10/Invoice-dominos-10560-ricky-singh-inv11676-from-02-10-2025-to-03-09-2025-10616.pdf
[2025-03-10 04:31:25] Production.INFO: Generate Usage File Start
[2025-03-10 04:31:25] Production.INFO: Usage File fullPath 1/139/InvoiceUsageFile/2025/03/10/dominos-10560-ricky-singh-10-02-2025-00-00-00-TO-09-03-2025-23-59-59_164__0dc4fb00-fd8a-11ef-b67d-91a9bde7c69a.csv
[2025-03-10 04:31:26] Production.INFO: Sending Email to Staff over
[2025-03-10 04:31:26] Production.INFO: Email Status 1
[2025-03-10 04:31:26] Production.INFO: Sending Email to Customer
[2025-03-10 04:31:26] Production.INFO: Email Try 10616 1
[2025-03-10 04:31:26] Production.INFO: =========== Email Sending over ===========
[2025-03-10 04:31:26] Production.INFO: =========== Returning as Success =========== AccountID 139
[2025-03-10 04:31:26] Production.INFO: Invoice::sendInvoice done
[2025-03-10 04:31:26] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-10 04:31:26] Production.INFO: Invoice Committed AccountID = 139
[2025-03-10 04:31:26] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-10 04:31:26] Production.INFO: NextInvoice 2025-03-10 2025-04-09
[2025-03-10 04:31:26] Production.INFO: new dates
[2025-03-10 04:31:26] Production.INFO: LastInvoiceDate 2025-03-10 NextInvoiceDate 2025-04-10
[2025-03-10 04:31:26] Production.INFO: LastChargeDate 2025-03-10 NextChargeDate 2025-04-09
[2025-03-10 04:31:26] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-10 04:31:26] Production.INFO: ========================== Invoice Send End =============================
[2025-03-10 04:31:26] Production.INFO: AccountID =244 FirstInvoiceSend 0
[2025-03-10 04:31:26] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-03-10 04:31:26] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-03-10 04:31:26] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-10 04:31:26] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-10 04:31:26] Production.INFO: Invoice::sendInvoice(1,244,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-03-10 04:31:26] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-03-10 04:31:26] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-10 04:31:26] 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-03-10 04:31:26] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-10 04:31:26] Production.INFO: AlreadyBilled
[2025-03-10 04:31:26] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:26] Production.INFO: Invoice::getAccountUsageTotal(1,244,2025-02-10,2025-03-09 23:59:59)
[2025-03-10 04:31:26] Production.INFO: TotalCharges - 0
[2025-03-10 04:31:26] Production.INFO: TotalUsageCharges - 0.00
[2025-03-10 04:31:26] Production.INFO: Usage Over
[2025-03-10 04:31:26] Production.INFO: Call prc_getAccountSubscription(244,0)
[2025-03-10 04:31:26] Production.INFO: SUBSCRIPTION 12
[2025-03-10 04:31:26] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:26] Production.INFO: SubscriptionID - 6
[2025-03-10 04:31:27] Production.INFO: isAdvanceSubscription - 6
[2025-03-10 04:31:27] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:27] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionDate
[2025-03-10 04:31:27] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:27] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2025-02-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: AccountSubscriptionID - 1217 === 2024-10-10=====2026-03-10
[2025-03-10 04:31:27] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:27] Production.INFO: First Time False 2024-10-10 2025-03-10
[2025-03-10 04:31:27] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1217,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge - 17
[2025-03-10 04:31:27] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,2,6,2025-03-10,2025-04-09 00:00:00,Microsoft Office 365 Standard Licenses,170,17,10,1217)
[2025-03-10 04:31:27] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:27] Production.INFO: DiscountType Flat
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge 170
[2025-03-10 04:31:27] Production.INFO: New SubscriptionCharge 170
[2025-03-10 04:31:27] Production.INFO: TotalSubscriptionCharge - 170.00
[2025-03-10 04:31:27] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:27] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 31
[2025-03-10 04:31:27] Production.INFO: isAdvanceSubscription - 31
[2025-03-10 04:31:27] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:27] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionDate
[2025-03-10 04:31:27] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:27] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2025-02-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: AccountSubscriptionID - 1218 === 2024-10-10=====2026-03-10
[2025-03-10 04:31:27] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:27] Production.INFO: First Time False 2024-10-10 2025-03-10
[2025-03-10 04:31:27] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1218,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge - 3.84
[2025-03-10 04:31:27] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,2,31,2025-03-10,2025-04-09 00:00:00,Backup for Microsoft 365,7.68,3.84,2,1218)
[2025-03-10 04:31:27] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:27] Production.INFO: DiscountType Flat
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge 7.68
[2025-03-10 04:31:27] Production.INFO: New SubscriptionCharge 7.68
[2025-03-10 04:31:27] Production.INFO: TotalSubscriptionCharge - 7.68
[2025-03-10 04:31:27] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:27] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 6
[2025-03-10 04:31:27] Production.INFO: isAdvanceSubscription - 6
[2025-03-10 04:31:27] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:27] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionDate
[2025-03-10 04:31:27] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:27] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2025-02-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: AccountSubscriptionID - 1219 === 2024-10-10=====2026-03-10
[2025-03-10 04:31:27] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:27] Production.INFO: First Time False 2024-10-10 2025-03-10
[2025-03-10 04:31:27] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1219,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge - 17
[2025-03-10 04:31:27] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,7,6,2025-03-10,2025-04-09 00:00:00,Microsoft Office 365 Standard Licenses,136,17,8,1219)
[2025-03-10 04:31:27] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:27] Production.INFO: DiscountType Flat
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge 136
[2025-03-10 04:31:27] Production.INFO: New SubscriptionCharge 136
[2025-03-10 04:31:27] Production.INFO: TotalSubscriptionCharge - 136.00
[2025-03-10 04:31:27] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:27] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 7
[2025-03-10 04:31:27] Production.INFO: isAdvanceSubscription - 7
[2025-03-10 04:31:27] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:27] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionDate
[2025-03-10 04:31:27] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:27] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2025-02-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: AccountSubscriptionID - 1220 === 2024-10-10=====2026-03-10
[2025-03-10 04:31:27] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:27] Production.INFO: First Time False 2024-10-10 2025-03-10
[2025-03-10 04:31:27] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1220,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge - 8.1
[2025-03-10 04:31:27] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,7,7,2025-03-10,2025-04-09 00:00:00,Microsoft Office 365 Basic Licenses,89.1,8.1,11,1220)
[2025-03-10 04:31:27] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:27] Production.INFO: DiscountType Flat
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge 89.1
[2025-03-10 04:31:27] Production.INFO: New SubscriptionCharge 89.1
[2025-03-10 04:31:27] Production.INFO: TotalSubscriptionCharge - 89.10
[2025-03-10 04:31:27] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:27] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 6
[2025-03-10 04:31:27] Production.INFO: isAdvanceSubscription - 6
[2025-03-10 04:31:27] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:27] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionDate
[2025-03-10 04:31:27] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:27] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2025-02-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: AccountSubscriptionID - 1221 === 2024-10-10=====2026-03-10
[2025-03-10 04:31:27] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:27] Production.INFO: First Time False 2024-10-10 2025-03-10
[2025-03-10 04:31:27] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1221,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge - 17
[2025-03-10 04:31:27] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,8,6,2025-03-10,2025-04-09 00:00:00,Microsoft Office 365 Standard Licenses,51,17,3,1221)
[2025-03-10 04:31:27] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:27] Production.INFO: DiscountType Flat
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge 51
[2025-03-10 04:31:27] Production.INFO: New SubscriptionCharge 51
[2025-03-10 04:31:27] Production.INFO: TotalSubscriptionCharge - 51.00
[2025-03-10 04:31:27] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:27] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 7
[2025-03-10 04:31:27] Production.INFO: isAdvanceSubscription - 7
[2025-03-10 04:31:27] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:27] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionDate
[2025-03-10 04:31:27] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:27] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2025-02-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: AccountSubscriptionID - 1222 === 2024-10-10=====2026-03-10
[2025-03-10 04:31:27] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:27] Production.INFO: First Time False 2024-10-10 2025-03-10
[2025-03-10 04:31:27] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1222,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge - 8.1
[2025-03-10 04:31:27] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,8,7,2025-03-10,2025-04-09 00:00:00,Microsoft Office 365 Basic Licenses,89.1,8.1,11,1222)
[2025-03-10 04:31:27] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:27] Production.INFO: DiscountType Flat
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge 89.1
[2025-03-10 04:31:27] Production.INFO: New SubscriptionCharge 89.1
[2025-03-10 04:31:27] Production.INFO: TotalSubscriptionCharge - 89.10
[2025-03-10 04:31:27] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:27] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 31
[2025-03-10 04:31:27] Production.INFO: isAdvanceSubscription - 31
[2025-03-10 04:31:27] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:27] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionDate
[2025-03-10 04:31:27] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:27] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2025-02-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: AccountSubscriptionID - 1223 === 2024-10-10=====2026-03-10
[2025-03-10 04:31:27] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:27] Production.INFO: First Time False 2024-10-10 2025-03-10
[2025-03-10 04:31:27] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1223,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge - 3.84
[2025-03-10 04:31:27] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,8,31,2025-03-10,2025-04-09 00:00:00,Backup for Microsoft 365,3.84,3.84,1,1223)
[2025-03-10 04:31:27] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:27] Production.INFO: DiscountType Flat
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge 3.84
[2025-03-10 04:31:27] Production.INFO: New SubscriptionCharge 3.84
[2025-03-10 04:31:27] Production.INFO: TotalSubscriptionCharge - 3.84
[2025-03-10 04:31:27] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:27] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 31
[2025-03-10 04:31:27] Production.INFO: isAdvanceSubscription - 31
[2025-03-10 04:31:27] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:27] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionDate
[2025-03-10 04:31:27] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:27] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2025-02-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: AccountSubscriptionID - 1224 === 2024-10-10=====2026-03-10
[2025-03-10 04:31:27] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:27] Production.INFO: First Time False 2024-10-10 2025-03-10
[2025-03-10 04:31:27] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1224,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge - 3.84
[2025-03-10 04:31:27] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,7,31,2025-03-10,2025-04-09 00:00:00,Backup for Microsoft 365,3.84,3.84,1,1224)
[2025-03-10 04:31:27] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:27] Production.INFO: DiscountType Flat
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge 3.84
[2025-03-10 04:31:27] Production.INFO: New SubscriptionCharge 3.84
[2025-03-10 04:31:27] Production.INFO: TotalSubscriptionCharge - 3.84
[2025-03-10 04:31:27] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:27] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 14
[2025-03-10 04:31:27] Production.INFO: isAdvanceSubscription - 14
[2025-03-10 04:31:27] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:27] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionDate
[2025-03-10 04:31:27] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:27] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2025-02-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: AccountSubscriptionID - 1225 === 2024-10-10=====2026-03-10
[2025-03-10 04:31:27] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:27] Production.INFO: First Time False 2024-10-10 2025-03-10
[2025-03-10 04:31:27] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1225,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge - 1.44
[2025-03-10 04:31:27] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,2,14,2025-03-10,2025-04-09 00:00:00,Managed Antivirus subscription (yearly pricing, billed monthly),14.4,1.44,10,1225)
[2025-03-10 04:31:27] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:27] Production.INFO: DiscountType Flat
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge 14.4
[2025-03-10 04:31:27] Production.INFO: New SubscriptionCharge 14.4
[2025-03-10 04:31:27] Production.INFO: TotalSubscriptionCharge - 14.40
[2025-03-10 04:31:27] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:27] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 1
[2025-03-10 04:31:27] Production.INFO: isAdvanceSubscription - 1
[2025-03-10 04:31:27] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:27] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionDate
[2025-03-10 04:31:27] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:27] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2025-02-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: AccountSubscriptionID - 1226 === 2024-10-10=====2026-03-10
[2025-03-10 04:31:27] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:27] Production.INFO: First Time False 2024-10-10 2025-03-10
[2025-03-10 04:31:27] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1226,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge - 7
[2025-03-10 04:31:27] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,1,1,2025-03-10,2025-04-09 00:00:00,License for a Pay As You Go Cloud Phone extension,56,7,8,1226)
[2025-03-10 04:31:27] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:27] Production.INFO: DiscountType Flat
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge 56
[2025-03-10 04:31:27] Production.INFO: New SubscriptionCharge 56
[2025-03-10 04:31:27] Production.INFO: TotalSubscriptionCharge - 56.00
[2025-03-10 04:31:27] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:27] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 27
[2025-03-10 04:31:27] Production.INFO: isAdvanceSubscription - 27
[2025-03-10 04:31:27] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:27] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: EndDate =2025-03-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: NewEndDate1 =2025-03-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionDate
[2025-03-10 04:31:27] Production.INFO: Array
(
[StartDate] => 2025-03-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:27] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2025-02-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 2025-03-10=====2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: AccountSubscriptionID - 1227 === 2024-10-10=====2026-03-10
[2025-03-10 04:31:27] Production.INFO: regular Advance Subscription
[2025-03-10 04:31:27] Production.INFO: First Time False 2024-10-10 2025-03-10
[2025-03-10 04:31:27] Production.INFO: StartDate 2025-03-10 AccountSubscription->StartDate 2024-10-10 EndDate 2025-04-09 00:00:00 AccountSubscription->EndDate 2026-03-10
[2025-03-10 04:31:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-10 04:31:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1227,2025-03-10,2025-04-09 00:00:00,,0)
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge - 2.34
[2025-03-10 04:31:27] Production.INFO: Already Invoice Subscription 0
[2025-03-10 04:31:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(244,5,27,2025-03-10,2025-04-09 00:00:00,Registration for cbotravel.com (Renews 2024-11-28),2.34,2.34,1,1227)
[2025-03-10 04:31:27] Production.INFO: DiscountAmount 0.000000
[2025-03-10 04:31:27] Production.INFO: DiscountType Flat
[2025-03-10 04:31:27] Production.INFO: SubscriptionCharge 2.34
[2025-03-10 04:31:27] Production.INFO: New SubscriptionCharge 2.34
[2025-03-10 04:31:27] Production.INFO: TotalSubscriptionCharge - 2.34
[2025-03-10 04:31:27] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:27] Production.INFO: ============================Subscription Start =================
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 42
[2025-03-10 04:31:27] Production.INFO: isAdvanceSubscription - 42
[2025-03-10 04:31:27] Production.INFO: SubscriptionStartDate =2025-03-10 - SubscriptionEndDate = 2025-04-09
[2025-03-10 04:31:27] Production.INFO: NewNextChargeDate =2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: EndDate =2025-01-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: NewEndDate1 =2025-01-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionDate
[2025-03-10 04:31:27] Production.INFO: Array
(
[StartDate] => 2025-01-10
[EndDate] => 2025-04-09 00:00:00
[AlreadyCharged] => 0
)
[2025-03-10 04:31:27] Production.INFO: AccountSubscription StartDate 2024-10-10 StartDate 2025-02-10
[2025-03-10 04:31:27] Production.INFO: SubscriptionID - 2025-01-10=====2025-04-09 00:00:00
[2025-03-10 04:31:27] Production.INFO: AccountSubscriptionID - 1228 === 2024-10-10=====2025-01-09
[2025-03-10 04:31:27] Production.INFO: ============================Subscription End =================
[2025-03-10 04:31:27] Production.INFO: SUBSCRIPTION Over
[2025-03-10 04:31:27] Production.INFO: Call prc_getAccountOneOffCharge(244,0,2025-02-10,2025-03-10 23:59:59)
[2025-03-10 04:31:27] Production.INFO: AccountOneOffCharge 0
[2025-03-10 04:31:27] Production.INFO: AccountOneOffCharge Over
[2025-03-10 04:31:27] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-10 04:31:27] Production.INFO: New UsageDates 2025-02-10 - 2025-03-09 23:59:59
[2025-03-10 04:31:27] Production.INFO: SubTotal 623.3
[2025-03-10 04:31:27] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-10 04:31:27] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-10 04:31:27] Production.INFO: TotalTax 81.029
[2025-03-10 04:31:27] Production.INFO: InvoiceGrandTotal 704.329
[2025-03-10 04:31:27] Production.INFO: InvoiceTaxAmount 81.03
[2025-03-10 04:31:27] Production.INFO: GrandTotal 704.33
[2025-03-10 04:31:27] Production.INFO: SubTotal 623.30
[2025-03-10 04:31:27] Production.INFO: TotalDue 704.33
[2025-03-10 04:31:27] Production.INFO: Reseller ==> 0
[2025-03-10 04:31:27] Production.INFO: PDF Generation start
[2025-03-10 04:31:27] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/244/Invoices/2025/03/10/Invoice-example-invoice-inv50024-from-10-02-2025-to-09-03-2025-10617.pdf
[2025-03-10 04:31:27] Production.INFO: On Linux
[2025-03-10 04:31:28] 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/244/Invoices/2025/03/10/footer-example-invoice-inv50024-from-10-02-2025-to-09-03-2025-10617.html" "/var/www/tmp/1/244/Invoices/2025/03/10/Invoice-example-invoice-inv50024-from-10-02-2025-to-09-03-2025-10617.html" "/var/www/tmp/1/244/Invoices/2025/03/10/Invoice-example-invoice-inv50024-from-10-02-2025-to-09-03-2025-10617.pdf"
[2025-03-10 04:31:28] Production.INFO:
[2025-03-10 04:31:28] Production.INFO: /var/www/tmp/1/244/Invoices/2025/03/10/Invoice-example-invoice-inv50024-from-10-02-2025-to-09-03-2025-10617.html
[2025-03-10 04:31:28] Production.INFO: /var/www/tmp/1/244/Invoices/2025/03/10/header-example-invoice-inv50024-from-10-02-2025-to-09-03-2025-10617.html
[2025-03-10 04:31:28] Production.INFO: /var/www/tmp/1/244/Invoices/2025/03/10/footer-example-invoice-inv50024-from-10-02-2025-to-09-03-2025-10617.html
[2025-03-10 04:31:28] Production.INFO: Invoice generation PDF path
[2025-03-10 04:31:28] Production.INFO: PDF fullPath 1/244/Invoices/2025/03/10/Invoice-example-invoice-inv50024-from-10-02-2025-to-09-03-2025-10617.pdf
[2025-03-10 04:31:28] Production.INFO: Generate Usage File Start
[2025-03-10 04:31:28] Production.INFO: Usage File fullPath 1/244/InvoiceUsageFile/2025/03/10/example-invoice-10-02-2025-00-00-00-TO-09-03-2025-23-59-59_5390__0ff12940-fd8a-11ef-86de-c723d489145a.csv
[2025-03-10 04:31:29] Production.INFO: Sending Email to Staff over
[2025-03-10 04:31:29] Production.INFO: Email Status 1
[2025-03-10 04:31:29] Production.INFO: Sending Email to Customer
[2025-03-10 04:31:29] Production.INFO: =========== Email Sending over ===========
[2025-03-10 04:31:29] Production.INFO: =========== Returning as Success =========== AccountID 244
[2025-03-10 04:31:29] Production.INFO: Invoice::sendInvoice done
[2025-03-10 04:31:29] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-10 04:31:29] Production.INFO: Invoice Committed AccountID = 244
[2025-03-10 04:31:29] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-10 04:31:29] Production.INFO: NextInvoice 2025-03-10 2025-04-09
[2025-03-10 04:31:29] Production.INFO: new dates
[2025-03-10 04:31:29] Production.INFO: LastInvoiceDate 2025-03-10 NextInvoiceDate 2025-04-10
[2025-03-10 04:31:29] Production.INFO: LastChargeDate 2025-03-10 NextChargeDate 2025-04-09
[2025-03-10 04:31:29] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-10 04:31:29] Production.INFO: ========================== Invoice Send End =============================
[2025-03-10 04:31:29] Production.INFO: AccountID =258 FirstInvoiceSend 0
[2025-03-10 04:31:29] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-03-10 04:31:29] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-03-10 04:31:29] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-10 04:31:29] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-10 04:31:29] Production.INFO: Invoice::sendInvoice(1,258,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-03-10 04:31:29] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-03-10 04:31:29] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-10 04:31:29] 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-03-10 04:31:29] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-10 04:31:29] Production.INFO: Invoice::sendInvoice done
[2025-03-10 04:31:29] Production.INFO: Invoice rollback AccountID = 258
[2025-03-10 04:31:29] Production.INFO: ========================== Error =============================
[2025-03-10 04:31:29] Production.INFO: Invoice with Error - Array
(
[status] => failure
[message] => Lion Motors Account is already billed on this duration
)
[2025-03-10 04:31:29] Production.INFO: ========================== Invoice Send End =============================
[2025-03-10 04:31:29] Production.INFO: ========================== Recurring invoice Start =============================
[2025-03-10 04:31:29] Production.INFO: recurring invoices ID
[2025-03-10 04:31:29] Production.INFO:
[2025-03-10 04:31:29] Production.INFO: recurring errorsArray
(
)
[2025-03-10 04:31:29] Production.INFO: ========================== Recurring invoice End =============================
[2025-03-10 04:31:29] Production.INFO: ========================== Job Updated =============================
[2025-03-10 04:31:30] Production.INFO: ========================== Job Email Sent =============================
[2025-03-10 04:31:31] Production.ERROR: **Email Sent Status 1
[2025-03-10 04:31:31] Production.ERROR: **Email Sent message Email has been sent
[2025-03-10 04:31:31] Production.ERROR: CronJobId end6
[2025-03-10 04:31:31] Production.INFO: ==32152== Releasing lock...
[2025-03-10 04:31:31] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-03-10 04:31:31] Production.INFO: 39.75 MB #Memory Used#
[2025-03-10 08:32:01] Production.INFO: ==32328== Lock acquired, processing the job...
[2025-03-10 08:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:32:01] Production.INFO: neon service started
[2025-03-10 08:32:01] Production.INFO: neon service started
[2025-03-10 08:32:01] Production.INFO: ==32328== Releasing lock...
[2025-03-10 08:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:32:02] Production.INFO: ==32330== Lock acquired, processing the job...
[2025-03-10 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:32:02] Production.INFO: ==32330== Releasing lock...
[2025-03-10 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:32:02] Production.INFO: ==32332== Lock acquired, processing the job...
[2025-03-10 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:32:02] Production.INFO: ==32332== Releasing lock...
[2025-03-10 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:32:03] Production.INFO: ==32334== Lock acquired, processing the job...
[2025-03-10 04:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:32:03] Production.INFO: ==32340== Lock acquired, processing the job...
[2025-03-10 04:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:32:03] Production.INFO: Account Balance Start.
[2025-03-10 04:32:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:32:03] Production.INFO: 117
[2025-03-10 04:32:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:32:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:32:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:32:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:32:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:32:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:32:03] Production.INFO: ==32338== Lock acquired, processing the job...
[2025-03-10 04:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:32:03] Production.INFO: ==32336== Lock acquired, processing the job...
[2025-03-10 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:32:03] Production.INFO: Total Charge 0
[2025-03-10 04:32:03] Production.INFO: CreateAllLog End
[2025-03-10 04:32:03] Production.INFO: ==32343== Lock acquired, processing the job...
[2025-03-10 04:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:32:04] Production.INFO: ==32345== Lock acquired, processing the job...
[2025-03-10 04:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04: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-03-10 04:32:04] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:32:04] Production.INFO: count ==21
[2025-03-10 04:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647088') start
[2025-03-10 04:32:04] Production.INFO: Account Balance End.
[2025-03-10 04:32:04] Production.ERROR: done
[2025-03-10 04:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647088') end
[2025-03-10 04:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:32:04] Production.INFO: 1
[2025-03-10 04:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:32:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:32:04] Production.INFO: ==32340== Releasing lock...
[2025-03-10 04:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:32:04] Production.INFO: ==32345== Releasing lock...
[2025-03-10 04:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:32:04] Production.ERROR: done
[2025-03-10 04:32:04] Production.INFO: ==32336== Releasing lock...
[2025-03-10 04:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:32:05
[end_date_ymd] => 2025-03-10 04:32:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:32:05' and `end` < '2025-03-10 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-03-10 04:32:12] Production.ERROR: CronJobId end10
[2025-03-10 04:32:12] Production.INFO: ==32338== Releasing lock...
[2025-03-10 04:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:32:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:32:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:32:15] Production.INFO: call_cost start
[2025-03-10 04:32:15] Production.INFO: call_cost end
[2025-03-10 04:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:32:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:32:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:32:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:32:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:32:16] Production.INFO: ==32334== Releasing lock...
[2025-03-10 04:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:32:17] Production.INFO: count ==131
[2025-03-10 04:32:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:32:05 - End Time 2025-03-10 04:32:05
[2025-03-10 04:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647090', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647090', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647090', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647090', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:32:17] Production.INFO: ProcessCDR(1,14647090,1,1,2)
[2025-03-10 04:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647090', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647090', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:32:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:32:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:32:20] Production.INFO: ==32343== Releasing lock...
[2025-03-10 04:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:32:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:33:02] Production.INFO: ==32413== Lock acquired, processing the job...
[2025-03-10 08:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:33:02] Production.INFO: neon service started
[2025-03-10 08:33:02] Production.INFO: neon service started
[2025-03-10 08:33:02] Production.INFO: ==32413== Releasing lock...
[2025-03-10 08:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:33:02] Production.INFO: ==32415== Lock acquired, processing the job...
[2025-03-10 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:33:03] Production.INFO: ==32415== Releasing lock...
[2025-03-10 04:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:33:03] Production.INFO: ==32417== Lock acquired, processing the job...
[2025-03-10 08:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:33:03] Production.INFO: ==32417== Releasing lock...
[2025-03-10 08:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:33:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:33:04] Production.INFO: ==32420== Lock acquired, processing the job...
[2025-03-10 04:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:33:04] Production.INFO: ==32428== Lock acquired, processing the job...
[2025-03-10 04:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:33:04] Production.INFO: ==32422== Lock acquired, processing the job...
[2025-03-10 04:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:33:04] Production.INFO: ==32426== Lock acquired, processing the job...
[2025-03-10 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:33:04] Production.INFO: ==32430== Lock acquired, processing the job...
[2025-03-10 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:33:04] Production.INFO: ==32424== Lock acquired, processing the job...
[2025-03-10 04:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:33:04] Production.INFO: Account Balance Start.
[2025-03-10 04:33:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:33:04] Production.INFO: 117
[2025-03-10 04:33:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 04:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:33:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:33:04] Production.INFO: count ==21
[2025-03-10 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647093') start
[2025-03-10 04:33:04] Production.ERROR: done
[2025-03-10 04:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:33:04] Production.INFO: ==32422== Releasing lock...
[2025-03-10 04:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:33:04] Production.INFO: Total Charge 0
[2025-03-10 04:33:04] Production.INFO: CreateAllLog End
[2025-03-10 04:33:04] Production.ERROR: done
[2025-03-10 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647093') end
[2025-03-10 04:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:33:04] Production.INFO: 1
[2025-03-10 04:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:33:04] Production.INFO: ==32430== Releasing lock...
[2025-03-10 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:33:04] Production.INFO: Account Balance End.
[2025-03-10 04:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:33:04] Production.INFO: ==32426== Releasing lock...
[2025-03-10 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:33:05
[end_date_ymd] => 2025-03-10 04:33:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:33:05' and `end` < '2025-03-10 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-03-10 04:33:13] Production.ERROR: CronJobId end10
[2025-03-10 04:33:13] Production.INFO: ==32424== Releasing lock...
[2025-03-10 04:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:33:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:33:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:33:15] Production.INFO: call_cost start
[2025-03-10 04:33:15] Production.INFO: call_cost end
[2025-03-10 04:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:33:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:33:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:33:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:33:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:33:16] Production.INFO: ==32420== Releasing lock...
[2025-03-10 04:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:33:18] Production.INFO: count ==131
[2025-03-10 04:33:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:33:05 - End Time 2025-03-10 04:33:05
[2025-03-10 04:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647095', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647095', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647095', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647095', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:33:18] Production.INFO: ProcessCDR(1,14647095,1,1,2)
[2025-03-10 04:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647095', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647095', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:33:21] Production.INFO: ==32428== Releasing lock...
[2025-03-10 04:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:33:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:34:01] Production.INFO: ==32500== Lock acquired, processing the job...
[2025-03-10 08:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:34:01] Production.INFO: neon service started
[2025-03-10 08:34:01] Production.INFO: neon service started
[2025-03-10 08:34:01] Production.INFO: ==32500== Releasing lock...
[2025-03-10 08:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:34:02] Production.INFO: ==32502== Lock acquired, processing the job...
[2025-03-10 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:34:02] Production.INFO: ==32504== Lock acquired, processing the job...
[2025-03-10 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:34:02] Production.INFO: ==32504== Releasing lock...
[2025-03-10 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:34:02] Production.INFO: ==32502== Releasing lock...
[2025-03-10 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:34:03] Production.INFO: ==32517== Lock acquired, processing the job...
[2025-03-10 04:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:34:03] Production.INFO: ==32507== Lock acquired, processing the job...
[2025-03-10 04:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:34:03] Production.INFO: ==32519== Lock acquired, processing the job...
[2025-03-10 04:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:34:04] Production.INFO: ==32511== Lock acquired, processing the job...
[2025-03-10 04:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:34:04] Production.INFO: ==32513== Lock acquired, processing the job...
[2025-03-10 04:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:34:04] Production.INFO: ==32515== Lock acquired, processing the job...
[2025-03-10 04:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04: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-03-10 04:34:04] Production.INFO: Account Balance Start.
[2025-03-10 04:34:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:34:04] Production.INFO: 117
[2025-03-10 04:34:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:34:04] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:34:04] Production.INFO: count ==21
[2025-03-10 04:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647097') start
[2025-03-10 04:34:04] Production.ERROR: done
[2025-03-10 04:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647097') end
[2025-03-10 04:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:34:04] Production.INFO: 1
[2025-03-10 04:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:34:04] Production.INFO: ==32519== Releasing lock...
[2025-03-10 04:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:34:04] Production.ERROR: done
[2025-03-10 04:34:04] Production.INFO: ==32511== Releasing lock...
[2025-03-10 04:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:34:04] Production.INFO: Total Charge 0
[2025-03-10 04:34:04] Production.INFO: CreateAllLog End
[2025-03-10 04:34:04] Production.INFO: Account Balance End.
[2025-03-10 04:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:34:04] Production.INFO: ==32515== Releasing lock...
[2025-03-10 04:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:34:05
[end_date_ymd] => 2025-03-10 04:34:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:34:05' and `end` < '2025-03-10 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-03-10 04:34:12] Production.ERROR: CronJobId end10
[2025-03-10 04:34:12] Production.INFO: ==32513== Releasing lock...
[2025-03-10 04:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:34:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:34:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:34:15] Production.INFO: call_cost start
[2025-03-10 04:34:15] Production.INFO: call_cost end
[2025-03-10 04:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:34:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:34:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:34:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:34:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:34:15] Production.INFO: ==32507== Releasing lock...
[2025-03-10 04:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:34:17] Production.INFO: count ==131
[2025-03-10 04:34:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:34:05 - End Time 2025-03-10 04:34:05
[2025-03-10 04:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647100', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647100', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647100', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647100', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:34:17] Production.INFO: ProcessCDR(1,14647100,1,1,2)
[2025-03-10 04:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647100', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647100', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:34:21] Production.INFO: ==32517== Releasing lock...
[2025-03-10 04:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:34:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:35:01] Production.INFO: ==32576== Lock acquired, processing the job...
[2025-03-10 08:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:35:01] Production.INFO: neon service started
[2025-03-10 08:35:01] Production.INFO: neon service started
[2025-03-10 08:35:01] Production.INFO: ==32576== Releasing lock...
[2025-03-10 08:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:35:01] Production.INFO: ==32578== Lock acquired, processing the job...
[2025-03-10 04:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:35:02] Production.INFO: ==32580== Lock acquired, processing the job...
[2025-03-10 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:35:02] Production.INFO: ==32580== Releasing lock...
[2025-03-10 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:35:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:35:02] Production.INFO: ==32578== Releasing lock...
[2025-03-10 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:35:03] Production.INFO: ==32583== Lock acquired, processing the job...
[2025-03-10 04:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:35:03] Production.INFO: ==32585== Lock acquired, processing the job...
[2025-03-10 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:35:03] Production.INFO: ==32593== Lock acquired, processing the job...
[2025-03-10 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:35:03] Production.INFO: ==32587== Lock acquired, processing the job...
[2025-03-10 04:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:35:03] Production.INFO: ==32589== Lock acquired, processing the job...
[2025-03-10 04:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:35:03] Production.INFO: ==32591== Lock acquired, processing the job...
[2025-03-10 04:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:35:03] Production.INFO: Account Balance Start.
[2025-03-10 04:35:03] Production.INFO: CreateAllLog Start
[2025-03-10 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-03-10 04:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:35:03] Production.INFO: 117
[2025-03-10 04:35:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:35:03] Production.INFO: count ==13
[2025-03-10 04:35:03] Production.INFO: Date 2025-03-09
[2025-03-10 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-03-10 04:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:35:03] Production.INFO: count ==21
[2025-03-10 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647103') start
[2025-03-10 04:35:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:35:03] Production.INFO: Total Charge 0
[2025-03-10 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647103') end
[2025-03-10 04:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:35:03] Production.INFO: 1
[2025-03-10 04:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:35:03] Production.INFO: CreateAllLog End
[2025-03-10 04:35:03] Production.ERROR: done
[2025-03-10 04:35:03] Production.INFO: ==32585== Releasing lock...
[2025-03-10 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:35:03] Production.INFO: ==32593== Releasing lock...
[2025-03-10 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:35:04] Production.ERROR: done
[2025-03-10 04:35:04] Production.INFO: Account Balance End.
[2025-03-10 04:35:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:35:04] Production.INFO: ==32589== Releasing lock...
[2025-03-10 04:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:35:04
[end_date_ymd] => 2025-03-10 04:35:04
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:35:04' and `end` < '2025-03-10 04: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-03-10 04:35:11] Production.ERROR: CronJobId end10
[2025-03-10 04:35:11] Production.INFO: ==32587== Releasing lock...
[2025-03-10 04:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:35:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:35:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:35:13] Production.INFO: call_cost start
[2025-03-10 04:35:13] Production.INFO: call_cost end
[2025-03-10 04:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:35:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:35:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:35:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:35:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:35:14] Production.INFO: ==32583== Releasing lock...
[2025-03-10 04:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:35:16] Production.INFO: count ==131
[2025-03-10 04:35:16] Production.ERROR: pbx CDR StartTime 2025-03-10 01:35:04 - End Time 2025-03-10 04:35:04
[2025-03-10 04:35:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:35:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647105', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:35:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647105', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:35:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647105', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:35:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647105', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:35:16] Production.INFO: ProcessCDR(1,14647105,1,1,2)
[2025-03-10 04:35:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:35:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:35:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:35:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:35:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647105', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:35:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647105', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:35:19] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:35:19] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:35:19] Production.INFO: ==32591== Releasing lock...
[2025-03-10 04:35:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:35:19] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:36:01] Production.INFO: ==32650== Lock acquired, processing the job...
[2025-03-10 08:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:36:01] Production.INFO: neon service started
[2025-03-10 08:36:01] Production.INFO: neon service started
[2025-03-10 08:36:01] Production.INFO: ==32650== Releasing lock...
[2025-03-10 08:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:36:02] Production.INFO: ==32653== Lock acquired, processing the job...
[2025-03-10 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:36:02] Production.INFO: ==32655== Lock acquired, processing the job...
[2025-03-10 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:36:02] Production.INFO: ==32653== Releasing lock...
[2025-03-10 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:36:02] Production.INFO: ==32655== Releasing lock...
[2025-03-10 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:36:03] Production.INFO: ==32657== Lock acquired, processing the job...
[2025-03-10 04:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:36:03] Production.INFO: ==32659== Lock acquired, processing the job...
[2025-03-10 04:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:36:03] Production.INFO: ==32663== Lock acquired, processing the job...
[2025-03-10 04:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:36:03] Production.INFO: Account Balance Start.
[2025-03-10 04:36:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:36:03] Production.INFO: 117
[2025-03-10 04:36:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:36:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:36:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:36:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:36:03] Production.INFO: ==32661== Lock acquired, processing the job...
[2025-03-10 04:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:36:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:36:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:36:03] Production.INFO: Total Charge 0
[2025-03-10 04:36:03] Production.INFO: CreateAllLog End
[2025-03-10 04:36:03] Production.INFO: ==32659== Releasing lock...
[2025-03-10 04:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:36:03] Production.INFO: ==32667== Lock acquired, processing the job...
[2025-03-10 04:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:36:03] Production.INFO: ==32665== Lock acquired, processing the job...
[2025-03-10 04:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04: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-03-10 04:36:03] Production.INFO: Account Balance End.
[2025-03-10 04:36:03] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:36:03] Production.INFO: count ==21
[2025-03-10 04:36:03] Production.ERROR: CronJobId end 12
[2025-03-10 04:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647109') start
[2025-03-10 04:36:03] Production.INFO: ==32663== Releasing lock...
[2025-03-10 04:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647109') end
[2025-03-10 04:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:36:04] Production.INFO: 1
[2025-03-10 04:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:36:04] Production.INFO: ==32667== Releasing lock...
[2025-03-10 04:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:36:04] Production.ERROR: done
[2025-03-10 04:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:36:04] Production.ERROR: done
[2025-03-10 04:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:36:05
[end_date_ymd] => 2025-03-10 04:36:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:36:05' and `end` < '2025-03-10 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-03-10 04:36:12] Production.ERROR: CronJobId end10
[2025-03-10 04:36:12] Production.INFO: ==32661== Releasing lock...
[2025-03-10 04:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:36:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:36:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:36:15] Production.INFO: call_cost start
[2025-03-10 04:36:15] Production.INFO: call_cost end
[2025-03-10 04:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:36:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:36:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:36:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:36:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:36:16] Production.INFO: ==32657== Releasing lock...
[2025-03-10 04:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:36:17] Production.INFO: count ==128
[2025-03-10 04:36:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:36:05 - End Time 2025-03-10 04:36:05
[2025-03-10 04:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647110', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647110', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647110', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647110', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:36:17] Production.INFO: ProcessCDR(1,14647110,1,1,2)
[2025-03-10 04:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647110', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647110', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:36:20] Production.INFO: ==32665== Releasing lock...
[2025-03-10 04:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:36:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:37:02] Production.INFO: ==32737== Lock acquired, processing the job...
[2025-03-10 08:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:37:02] Production.INFO: neon service started
[2025-03-10 08:37:02] Production.INFO: neon service started
[2025-03-10 08:37:02] Production.INFO: ==32737== Releasing lock...
[2025-03-10 08:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:37:02] Production.INFO: ==32739== Lock acquired, processing the job...
[2025-03-10 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:37:02] Production.INFO: ==32741== Lock acquired, processing the job...
[2025-03-10 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:37:02] Production.INFO: ==32741== Releasing lock...
[2025-03-10 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:37:03] Production.INFO: ==32739== Releasing lock...
[2025-03-10 04:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:37:04] Production.INFO: ==32750== Lock acquired, processing the job...
[2025-03-10 04:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:37:04] Production.INFO: ==32748== Lock acquired, processing the job...
[2025-03-10 04:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:37:04] Production.INFO: ==32744== Lock acquired, processing the job...
[2025-03-10 04:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:37:04] Production.INFO: ==32746== Lock acquired, processing the job...
[2025-03-10 04:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:37:04] Production.INFO: Account Balance Start.
[2025-03-10 04:37:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:37:04] Production.INFO: 117
[2025-03-10 04:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:37:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:37:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:37:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:37:04] Production.INFO: ==32754== Lock acquired, processing the job...
[2025-03-10 04:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:37:04] Production.INFO: Total Charge 0
[2025-03-10 04:37:04] Production.INFO: ==32752== Lock acquired, processing the job...
[2025-03-10 04:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:37:04] Production.INFO: CreateAllLog End
[2025-03-10 04: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-03-10 04:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:37:04] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:37:04] Production.INFO: count ==21
[2025-03-10 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647114') start
[2025-03-10 04:37:04] Production.INFO: ==32746== Releasing lock...
[2025-03-10 04:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:37:04] Production.INFO: Account Balance End.
[2025-03-10 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647114') end
[2025-03-10 04:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:37:04] Production.INFO: 1
[2025-03-10 04:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:37:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:37:04] Production.INFO: ==32750== Releasing lock...
[2025-03-10 04:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:37:04] Production.INFO: ==32754== Releasing lock...
[2025-03-10 04:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:37:05] Production.ERROR: done
[2025-03-10 04:37:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:37:05] Production.ERROR: done
[2025-03-10 04:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:37:06
[end_date_ymd] => 2025-03-10 04:37:06
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:37:06' and `end` < '2025-03-10 04: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-03-10 04:37:11] Production.ERROR: CronJobId end10
[2025-03-10 04:37:11] Production.INFO: ==32748== Releasing lock...
[2025-03-10 04:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:37:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:37:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:37:14] Production.INFO: call_cost start
[2025-03-10 04:37:14] Production.INFO: call_cost end
[2025-03-10 04:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:37:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:37:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:37:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:37:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:37:15] Production.INFO: ==32744== Releasing lock...
[2025-03-10 04:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:37:18] Production.INFO: count ==128
[2025-03-10 04:37:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:37:06 - End Time 2025-03-10 04:37:06
[2025-03-10 04:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647115', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647115', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647115', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647115', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:37:18] Production.INFO: ProcessCDR(1,14647115,1,1,2)
[2025-03-10 04:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647115', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647115', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:37:21] Production.INFO: ==32752== Releasing lock...
[2025-03-10 04:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:37:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:38:01] Production.INFO: ==368== Lock acquired, processing the job...
[2025-03-10 08:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:38:01] Production.INFO: neon service started
[2025-03-10 08:38:01] Production.INFO: neon service started
[2025-03-10 08:38:01] Production.INFO: ==368== Releasing lock...
[2025-03-10 08:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:38:02] Production.INFO: ==370== Lock acquired, processing the job...
[2025-03-10 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:38:02] Production.INFO: ==372== Lock acquired, processing the job...
[2025-03-10 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:38:02] Production.INFO: ==370== Releasing lock...
[2025-03-10 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:38:02] Production.INFO: ==372== Releasing lock...
[2025-03-10 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:38:03] Production.INFO: ==374== Lock acquired, processing the job...
[2025-03-10 04:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:38:03] Production.INFO: ==376== Lock acquired, processing the job...
[2025-03-10 04:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:38:03] Production.INFO: ==378== Lock acquired, processing the job...
[2025-03-10 04:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:38:03] Production.INFO: ==382== Lock acquired, processing the job...
[2025-03-10 04:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:38:03] Production.INFO: ==384== Lock acquired, processing the job...
[2025-03-10 04:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:38:03] Production.INFO: ==380== Lock acquired, processing the job...
[2025-03-10 04:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:38:03] Production.INFO: Account Balance Start.
[2025-03-10 04:38:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:38:03] Production.INFO: 117
[2025-03-10 04: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-03-10 04:38:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:38:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:38:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:38:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:38:03] Production.INFO: count ==13
[2025-03-10 04:38:03] Production.INFO: ==376== Releasing lock...
[2025-03-10 04:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04: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-03-10 04:38:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:38:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:38:03] Production.INFO: count ==21
[2025-03-10 04:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647118') start
[2025-03-10 04:38:04] Production.ERROR: done
[2025-03-10 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647118') end
[2025-03-10 04:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:38:04] Production.INFO: 1
[2025-03-10 04:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:38:04] Production.INFO: Total Charge 0
[2025-03-10 04:38:04] Production.INFO: CreateAllLog End
[2025-03-10 04:38:04] Production.INFO: ==384== Releasing lock...
[2025-03-10 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:38:04] Production.ERROR: done
[2025-03-10 04:38:04] Production.INFO: Account Balance End.
[2025-03-10 04:38:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:38:04] Production.INFO: ==380== Releasing lock...
[2025-03-10 04:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:38:05
[end_date_ymd] => 2025-03-10 04:38:05
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:38:05' and `end` < '2025-03-10 04: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-03-10 04:38:12] Production.ERROR: CronJobId end10
[2025-03-10 04:38:12] Production.INFO: ==378== Releasing lock...
[2025-03-10 04:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:38:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:38:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:38:14] Production.INFO: call_cost start
[2025-03-10 04:38:14] Production.INFO: call_cost end
[2025-03-10 04:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:38:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:38:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:38:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:38:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:38:15] Production.INFO: ==374== Releasing lock...
[2025-03-10 04:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:38:17] Production.INFO: count ==128
[2025-03-10 04:38:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:38:05 - End Time 2025-03-10 04:38:05
[2025-03-10 04:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647120', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647120', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647120', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647120', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:38:17] Production.INFO: ProcessCDR(1,14647120,1,1,2)
[2025-03-10 04:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647120', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647120', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:38:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:38:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:38:20] Production.INFO: ==382== Releasing lock...
[2025-03-10 04:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:38:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:39:02] Production.INFO: ==451== Lock acquired, processing the job...
[2025-03-10 08:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:39:02] Production.INFO: neon service started
[2025-03-10 08:39:02] Production.INFO: neon service started
[2025-03-10 08:39:02] Production.INFO: ==451== Releasing lock...
[2025-03-10 08:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:39:02] Production.INFO: ==455== Lock acquired, processing the job...
[2025-03-10 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:39:02] Production.INFO: ==455== Releasing lock...
[2025-03-10 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:39:02] Production.INFO: ==453== Lock acquired, processing the job...
[2025-03-10 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:39:02] Production.INFO: ==453== Releasing lock...
[2025-03-10 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:39:03] Production.INFO: ==458== Lock acquired, processing the job...
[2025-03-10 04:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:39:03] Production.INFO: ==466== Lock acquired, processing the job...
[2025-03-10 04:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:39:03] Production.INFO: ==468== Lock acquired, processing the job...
[2025-03-10 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:39:04] Production.INFO: ==460== Lock acquired, processing the job...
[2025-03-10 04:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:39:04] Production.INFO: ==462== Lock acquired, processing the job...
[2025-03-10 04:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 04:39:04] Production.INFO: ==464== Lock acquired, processing the job...
[2025-03-10 04:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:39:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:39:04] Production.INFO: count ==21
[2025-03-10 04:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647121') start
[2025-03-10 04:39:04] Production.INFO: Account Balance Start.
[2025-03-10 04:39:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:39:04] Production.INFO: 117
[2025-03-10 04:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:39:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647121') end
[2025-03-10 04:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:39:04] Production.INFO: 1
[2025-03-10 04:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:39:04] Production.INFO: ==468== Releasing lock...
[2025-03-10 04:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:39:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:39:04] Production.ERROR: done
[2025-03-10 04:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:39:04] Production.INFO: Total Charge 0
[2025-03-10 04:39:04] Production.INFO: CreateAllLog End
[2025-03-10 04:39:04] Production.INFO: ==460== Releasing lock...
[2025-03-10 04:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:39:04] Production.ERROR: done
[2025-03-10 04:39:04] Production.INFO: Account Balance End.
[2025-03-10 04:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:39:04] Production.INFO: ==464== Releasing lock...
[2025-03-10 04:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:39:05
[end_date_ymd] => 2025-03-10 04:39:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:39:05' and `end` < '2025-03-10 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-03-10 04:39:11] Production.ERROR: CronJobId end10
[2025-03-10 04:39:11] Production.INFO: ==462== Releasing lock...
[2025-03-10 04:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:39:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:39:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:39:14] Production.INFO: call_cost start
[2025-03-10 04:39:14] Production.INFO: call_cost end
[2025-03-10 04:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:39:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:39:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:39:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:39:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:39:15] Production.INFO: ==458== Releasing lock...
[2025-03-10 04:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:39:17] Production.INFO: count ==128
[2025-03-10 04:39:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:39:05 - End Time 2025-03-10 04:39:05
[2025-03-10 04:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647125', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647125', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647125', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647125', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:39:17] Production.INFO: ProcessCDR(1,14647125,1,1,2)
[2025-03-10 04:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647125', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647125', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:39:20] Production.INFO: ==466== Releasing lock...
[2025-03-10 04:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:39:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:40:01] Production.INFO: ==523== Lock acquired, processing the job...
[2025-03-10 08:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:40:01] Production.INFO: neon service started
[2025-03-10 08:40:01] Production.INFO: neon service started
[2025-03-10 08:40:01] Production.INFO: ==523== Releasing lock...
[2025-03-10 08:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:40:01] Production.INFO: ==528== Lock acquired, processing the job...
[2025-03-10 08:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:40:01] Production.INFO: ==528== Releasing lock...
[2025-03-10 08:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:40:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:40:02] Production.INFO: ==526== Lock acquired, processing the job...
[2025-03-10 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:40:02] Production.INFO: ==526== Releasing lock...
[2025-03-10 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:40:03] Production.INFO: ==536== Lock acquired, processing the job...
[2025-03-10 04:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:40:03] Production.INFO: ==538== Lock acquired, processing the job...
[2025-03-10 04:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:40:03] Production.INFO: ==530== Lock acquired, processing the job...
[2025-03-10 04:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 04:40:03] Production.INFO: Account Balance Start.
[2025-03-10 04:40:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:40:03] Production.INFO: 117
[2025-03-10 04:40:03] Production.INFO: ==532== Lock acquired, processing the job...
[2025-03-10 04:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:40:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:40:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:40:03] Production.INFO: ==544== Lock acquired, processing the job...
[2025-03-10 04:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 04:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 04:40:03] Production.ERROR: CronJob PID - 536
[2025-03-10 04:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 04:40:03] Production.ERROR: CronJob ID - 10
[2025-03-10 04:40:03] Production.ERROR: CronJob Last Run Time 2025-03-10 04:40:00
[2025-03-10 04:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 04:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 04:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 04:40:03] Production.ERROR: CronJob PID - 538
[2025-03-10 04:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 04:40:03] Production.ERROR: CronJob ID - 12
[2025-03-10 04:40:03] Production.ERROR: CronJob Last Run Time 2025-03-10 04:40:00
[2025-03-10 04:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 04:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 04:40:03] Production.INFO: ==534== Lock acquired, processing the job...
[2025-03-10 04:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 04:40:03] Production.INFO: ==530== Releasing lock...
[2025-03-10 04:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 04:40:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 04:40:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:40:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:40:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:40:03] Production.INFO: Total Charge 0
[2025-03-10 04:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-03-10 04:40:03] Production.INFO: CreateAllLog End
[2025-03-10 04:40:04] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:40:04] Production.INFO: count ==21
[2025-03-10 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647128') start
[2025-03-10 04:40:04] Production.INFO: ==540== Lock acquired, processing the job...
[2025-03-10 04:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:40:04] Production.INFO: ==542== Lock acquired, processing the job...
[2025-03-10 04:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647128') end
[2025-03-10 04:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:40:04] Production.INFO: 1
[2025-03-10 04:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:40:04] Production.INFO: Account Balance End.
[2025-03-10 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:40:04] Production.INFO: ==544== Releasing lock...
[2025-03-10 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:40:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:40:04] Production.INFO: ==538== Releasing lock...
[2025-03-10 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:40:04] Production.INFO: ==534== Releasing lock...
[2025-03-10 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:40:04] Production.ERROR: done
[2025-03-10 04:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:40:04] Production.ERROR: done
[2025-03-10 04:40:04] Production.ERROR: done
[2025-03-10 04:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 04:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647130', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 04:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:40:06
[end_date_ymd] => 2025-03-10 04:40:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:40:06' and `end` < '2025-03-10 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-03-10 04:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647130', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 04:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 04:40:08] Production.INFO: ProcessCDR(1,14647130,1,1,2)
[2025-03-10 04:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647130,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647130,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:40:09] Production.INFO: ==542== Releasing lock...
[2025-03-10 04:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 04:40:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 04:40:13] Production.ERROR: CronJobId end10
[2025-03-10 04:40:13] Production.INFO: ==536== Releasing lock...
[2025-03-10 04:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:40:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:40:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:40:15] Production.INFO: call_cost start
[2025-03-10 04:40:15] Production.INFO: call_cost end
[2025-03-10 04:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:40:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:40:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:40:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:40:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:40:16] Production.INFO: ==532== Releasing lock...
[2025-03-10 04:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:40:18] Production.INFO: count ==120
[2025-03-10 04:40:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:40:06 - End Time 2025-03-10 04:40:06
[2025-03-10 04:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647131', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647131', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647131', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647131', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:40:18] Production.INFO: ProcessCDR(1,14647131,1,1,2)
[2025-03-10 04:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647131', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647131', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:40:21] Production.INFO: ==540== Releasing lock...
[2025-03-10 04:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:40:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:41:01] Production.INFO: ==604== Lock acquired, processing the job...
[2025-03-10 08:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:41:01] Production.INFO: neon service started
[2025-03-10 08:41:01] Production.INFO: neon service started
[2025-03-10 08:41:01] Production.INFO: ==604== Releasing lock...
[2025-03-10 08:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:41:02] Production.INFO: ==608== Lock acquired, processing the job...
[2025-03-10 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:41:02] Production.INFO: ==610== Lock acquired, processing the job...
[2025-03-10 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:41:02] Production.INFO: ==610== Releasing lock...
[2025-03-10 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:41:02] Production.INFO: ==608== Releasing lock...
[2025-03-10 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:41:03] Production.INFO: ==623== Lock acquired, processing the job...
[2025-03-10 04:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:41:03] Production.INFO: ==612== Lock acquired, processing the job...
[2025-03-10 04:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:41:03] Production.INFO: ==625== Lock acquired, processing the job...
[2025-03-10 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:41:03] Production.INFO: ==616== Lock acquired, processing the job...
[2025-03-10 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:41:03] Production.INFO: ==618== Lock acquired, processing the job...
[2025-03-10 04:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:41:03] Production.INFO: ==621== Lock acquired, processing the job...
[2025-03-10 04:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 04:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:41:03] Production.INFO: count ==13
[2025-03-10 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-03-10 04:41:03] Production.INFO: count ==21
[2025-03-10 04:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647132') start
[2025-03-10 04:41:03] Production.INFO: Account Balance Start.
[2025-03-10 04:41:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:41:03] Production.INFO: 117
[2025-03-10 04:41:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:41:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:41:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:41:03] Production.INFO: Total Charge 0
[2025-03-10 04:41:03] Production.INFO: CreateAllLog End
[2025-03-10 04:41:04] Production.ERROR: done
[2025-03-10 04:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647132') end
[2025-03-10 04:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:41:04] Production.INFO: 1
[2025-03-10 04:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:41:04] Production.INFO: ==616== Releasing lock...
[2025-03-10 04:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:41:04] Production.INFO: ==625== Releasing lock...
[2025-03-10 04:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:41:04] Production.ERROR: done
[2025-03-10 04:41:04] Production.INFO: Account Balance End.
[2025-03-10 04:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:41:04] Production.INFO: ==621== Releasing lock...
[2025-03-10 04:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:41:05
[end_date_ymd] => 2025-03-10 04:41:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:41:05' and `end` < '2025-03-10 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-03-10 04:41:11] Production.ERROR: CronJobId end10
[2025-03-10 04:41:11] Production.INFO: ==618== Releasing lock...
[2025-03-10 04:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:41:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:41:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:41:14] Production.INFO: call_cost start
[2025-03-10 04:41:14] Production.INFO: call_cost end
[2025-03-10 04:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:41:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:41:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:41:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:41:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:41:15] Production.INFO: ==612== Releasing lock...
[2025-03-10 04:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:41:17] Production.INFO: count ==120
[2025-03-10 04:41:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:41:05 - End Time 2025-03-10 04:41:05
[2025-03-10 04:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647136', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647136', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647136', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647136', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:41:17] Production.INFO: ProcessCDR(1,14647136,1,1,2)
[2025-03-10 04:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647136', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647136', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:41:20] Production.INFO: ==623== Releasing lock...
[2025-03-10 04:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:41:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:42:01] Production.INFO: ==700== Lock acquired, processing the job...
[2025-03-10 08:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:42:01] Production.INFO: neon service started
[2025-03-10 08:42:01] Production.INFO: neon service started
[2025-03-10 08:42:01] Production.INFO: ==700== Releasing lock...
[2025-03-10 08:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:42:01] Production.INFO: ==704== Lock acquired, processing the job...
[2025-03-10 04:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:42:02] Production.INFO: ==704== Releasing lock...
[2025-03-10 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:42:02] Production.INFO: ==706== Lock acquired, processing the job...
[2025-03-10 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:42:02] Production.INFO: ==706== Releasing lock...
[2025-03-10 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:42:03] Production.INFO: ==709== Lock acquired, processing the job...
[2025-03-10 04:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:42:03] Production.INFO: ==711== Lock acquired, processing the job...
[2025-03-10 04:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:42:03] Production.INFO: ==719== Lock acquired, processing the job...
[2025-03-10 04:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:42:03] Production.INFO: ==713== Lock acquired, processing the job...
[2025-03-10 04:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04: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-03-10 04:42:03] Production.INFO: ==715== Lock acquired, processing the job...
[2025-03-10 04:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:42:03] Production.INFO: count ==13
[2025-03-10 04:42:03] Production.INFO: ==717== Lock acquired, processing the job...
[2025-03-10 04:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04: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-03-10 04:42:03] Production.INFO: count ==21
[2025-03-10 04:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647139') start
[2025-03-10 04:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:42:03] Production.INFO: Account Balance Start.
[2025-03-10 04:42:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:42:03] Production.INFO: 117
[2025-03-10 04:42:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:42:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647139') end
[2025-03-10 04:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:42:03] Production.INFO: 1
[2025-03-10 04:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:42:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:42:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:42:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:42:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:42:03] Production.INFO: Total Charge 0
[2025-03-10 04:42:03] Production.INFO: CreateAllLog End
[2025-03-10 04:42:03] Production.INFO: ==719== Releasing lock...
[2025-03-10 04:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:42:03] Production.INFO: ==711== Releasing lock...
[2025-03-10 04:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:42:03] Production.ERROR: done
[2025-03-10 04:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:42:04] Production.ERROR: done
[2025-03-10 04:42:04] Production.INFO: Account Balance End.
[2025-03-10 04:42:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:42:04] Production.INFO: ==715== Releasing lock...
[2025-03-10 04:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:42:05
[end_date_ymd] => 2025-03-10 04:42:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:42:05' and `end` < '2025-03-10 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-03-10 04:42:12] Production.ERROR: CronJobId end10
[2025-03-10 04:42:12] Production.INFO: ==713== Releasing lock...
[2025-03-10 04:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:42:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:42:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:42:14] Production.INFO: call_cost start
[2025-03-10 04:42:14] Production.INFO: call_cost end
[2025-03-10 04:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:42:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:42:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:42:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:42:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:42:15] Production.INFO: ==709== Releasing lock...
[2025-03-10 04:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:42:17] Production.INFO: count ==120
[2025-03-10 04:42:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:42:05 - End Time 2025-03-10 04:42:05
[2025-03-10 04:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647141', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647141', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647141', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647141', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:42:17] Production.INFO: ProcessCDR(1,14647141,1,1,2)
[2025-03-10 04:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647141', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647141', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:42:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:42:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:42:20] Production.INFO: ==717== Releasing lock...
[2025-03-10 04:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:42:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 08:43:01] Production.INFO: ==778== Lock acquired, processing the job...
[2025-03-10 08:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:43:01] Production.INFO: neon service started
[2025-03-10 08:43:01] Production.INFO: neon service started
[2025-03-10 08:43:01] Production.INFO: ==778== Releasing lock...
[2025-03-10 08:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:43:02] Production.INFO: ==781== Lock acquired, processing the job...
[2025-03-10 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:43:02] Production.INFO: ==783== Lock acquired, processing the job...
[2025-03-10 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 04:43:02] Production.INFO: ==781== Releasing lock...
[2025-03-10 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:43:02] Production.INFO: ==783== Releasing lock...
[2025-03-10 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:43:03] Production.INFO: ==789== Lock acquired, processing the job...
[2025-03-10 04:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:43:03] Production.INFO: ==785== Lock acquired, processing the job...
[2025-03-10 04:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:43:03] Production.INFO: ==795== Lock acquired, processing the job...
[2025-03-10 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 04:43:03] Production.INFO: ==787== Lock acquired, processing the job...
[2025-03-10 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:43:03] Production.INFO: count ==13
[2025-03-10 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-03-10 04:43:03] Production.INFO: count ==21
[2025-03-10 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647143') start
[2025-03-10 04:43:03] Production.INFO: ==791== Lock acquired, processing the job...
[2025-03-10 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647143') end
[2025-03-10 04:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:43:03] Production.INFO: 1
[2025-03-10 04:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:43:03] Production.INFO: ==793== Lock acquired, processing the job...
[2025-03-10 04:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:43:03] Production.INFO: ==795== Releasing lock...
[2025-03-10 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:43:03] Production.INFO: Account Balance Start.
[2025-03-10 04:43:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:43:03] Production.INFO: 117
[2025-03-10 04:43:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:43:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:43:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:43:04] Production.INFO: Total Charge 0
[2025-03-10 04:43:04] Production.INFO: CreateAllLog End
[2025-03-10 04:43:04] Production.INFO: ==787== Releasing lock...
[2025-03-10 04:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:43:04] Production.ERROR: done
[2025-03-10 04:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:43:04] Production.INFO: Account Balance End.
[2025-03-10 04:43:04] Production.ERROR: done
[2025-03-10 04:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:43:04] Production.INFO: ==791== Releasing lock...
[2025-03-10 04:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:43:05
[end_date_ymd] => 2025-03-10 04:43:05
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:43:05' and `end` < '2025-03-10 04: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-03-10 04:43: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-03-10 04:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:43:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:43:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:43:12] Production.ERROR: CronJobId end10
[2025-03-10 04:43:12] Production.INFO: ==789== Releasing lock...
[2025-03-10 04:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:43:12] Production.INFO: call_cost start
[2025-03-10 04:43:12] Production.INFO: call_cost end
[2025-03-10 04:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:43:13] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:43:13] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:43:13] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:43:13] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:43:13] Production.INFO: ==785== Releasing lock...
[2025-03-10 04:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:43:17] Production.INFO: count ==119
[2025-03-10 04:43:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:43:05 - End Time 2025-03-10 04:43:05
[2025-03-10 04:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647146', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647146', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647146', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647146', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:43:17] Production.INFO: ProcessCDR(1,14647146,1,1,2)
[2025-03-10 04:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647146', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647146', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:43:21] Production.INFO: ==793== Releasing lock...
[2025-03-10 04:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:43:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:44:02] Production.INFO: ==854== Lock acquired, processing the job...
[2025-03-10 08:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:44:02] Production.INFO: neon service started
[2025-03-10 08:44:02] Production.INFO: neon service started
[2025-03-10 08:44:02] Production.INFO: ==854== Releasing lock...
[2025-03-10 08:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:44:02] Production.INFO: ==856== Lock acquired, processing the job...
[2025-03-10 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:44:02] Production.INFO: ==858== Lock acquired, processing the job...
[2025-03-10 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:44:02] Production.INFO: ==858== Releasing lock...
[2025-03-10 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:44:03] Production.INFO: ==856== Releasing lock...
[2025-03-10 04:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:44:04] Production.INFO: ==861== Lock acquired, processing the job...
[2025-03-10 04:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:44:04] Production.INFO: ==873== Lock acquired, processing the job...
[2025-03-10 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:44:04] Production.INFO: ==863== Lock acquired, processing the job...
[2025-03-10 04:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:44:04] Production.INFO: ==865== Lock acquired, processing the job...
[2025-03-10 04:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 04:44:04] Production.INFO: ==867== Lock acquired, processing the job...
[2025-03-10 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:44:04] Production.INFO: ==870== Lock acquired, processing the job...
[2025-03-10 04:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:44:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:44:04] Production.INFO: count ==21
[2025-03-10 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647148') start
[2025-03-10 04:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:44:04] Production.INFO: Account Balance Start.
[2025-03-10 04:44:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:44:04] Production.INFO: 117
[2025-03-10 04:44:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647148') end
[2025-03-10 04:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:44:04] Production.INFO: 1
[2025-03-10 04:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:44:04] Production.INFO: ==873== Releasing lock...
[2025-03-10 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:44:04] Production.INFO: Total Charge 0
[2025-03-10 04:44:04] Production.INFO: CreateAllLog End
[2025-03-10 04:44:04] Production.ERROR: done
[2025-03-10 04:44:04] Production.INFO: ==863== Releasing lock...
[2025-03-10 04:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:44:05] Production.INFO: Account Balance End.
[2025-03-10 04:44:05] Production.ERROR: done
[2025-03-10 04:44:05] Production.ERROR: CronJobId end 12
[2025-03-10 04:44:05] Production.INFO: ==867== Releasing lock...
[2025-03-10 04:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:44:06
[end_date_ymd] => 2025-03-10 04:44:06
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:44:06' and `end` < '2025-03-10 04:44:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 04:44:12] Production.ERROR: CronJobId end10
[2025-03-10 04:44:12] Production.INFO: ==865== Releasing lock...
[2025-03-10 04:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:44:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:44:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:44:14] Production.INFO: call_cost start
[2025-03-10 04:44:14] Production.INFO: call_cost end
[2025-03-10 04:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:44:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:44:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:44:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:44:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:44:15] Production.INFO: ==861== Releasing lock...
[2025-03-10 04:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:44:18] Production.INFO: count ==111
[2025-03-10 04:44:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:44:06 - End Time 2025-03-10 04:44:06
[2025-03-10 04:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647151', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647151', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647151', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647151', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:44:18] Production.INFO: ProcessCDR(1,14647151,1,1,2)
[2025-03-10 04:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647151', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647151', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:44:21] Production.INFO: ==870== Releasing lock...
[2025-03-10 04:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:44:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:45:01] Production.INFO: ==928== Lock acquired, processing the job...
[2025-03-10 08:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:45:01] Production.INFO: neon service started
[2025-03-10 08:45:01] Production.INFO: neon service started
[2025-03-10 08:45:01] Production.INFO: ==928== Releasing lock...
[2025-03-10 08:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:45:02] Production.INFO: ==930== Lock acquired, processing the job...
[2025-03-10 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:45:02] Production.INFO: ==930== Releasing lock...
[2025-03-10 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:45:02] Production.INFO: ==932== Lock acquired, processing the job...
[2025-03-10 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:45:02] Production.INFO: ==932== Releasing lock...
[2025-03-10 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:45:03] Production.INFO: ==934== Lock acquired, processing the job...
[2025-03-10 04:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:45:03] Production.INFO: ==936== Lock acquired, processing the job...
[2025-03-10 04:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:45:03] Production.INFO: ==942== Lock acquired, processing the job...
[2025-03-10 04:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:45:03] Production.INFO: ==938== Lock acquired, processing the job...
[2025-03-10 04:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:45:03] Production.INFO: ==940== Lock acquired, processing the job...
[2025-03-10 04:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:45:03] Production.INFO: ==936== Releasing lock...
[2025-03-10 04:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:45:03] Production.INFO: ==944== Lock acquired, processing the job...
[2025-03-10 04:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:45:03] Production.INFO: Account Balance Start.
[2025-03-10 04:45:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:45:03] Production.INFO: 117
[2025-03-10 04:45:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:45:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:45:03] Production.ERROR: done
[2025-03-10 04:45:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:45:03] Production.INFO: Total Charge 0
[2025-03-10 04:45:03] Production.INFO: CreateAllLog End
[2025-03-10 04: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-03-10 04:45:04] Production.INFO: count ==13
[2025-03-10 04:45:04] Production.ERROR: done
[2025-03-10 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-03-10 04:45:04] Production.INFO: count ==21
[2025-03-10 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647155') start
[2025-03-10 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647155') end
[2025-03-10 04:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:45:04] Production.INFO: 1
[2025-03-10 04:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:45:04] Production.INFO: ==944== Releasing lock...
[2025-03-10 04:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:45:04] Production.INFO: Account Balance End.
[2025-03-10 04:45:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:45:04] Production.INFO: ==940== Releasing lock...
[2025-03-10 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:45:04
[end_date_ymd] => 2025-03-10 04:45:04
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:45:04' and `end` < '2025-03-10 04: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-03-10 04:45:11] Production.ERROR: CronJobId end10
[2025-03-10 04:45:11] Production.INFO: ==938== Releasing lock...
[2025-03-10 04:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:45:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:45:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:45:13] Production.INFO: call_cost start
[2025-03-10 04:45:13] Production.INFO: call_cost end
[2025-03-10 04:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:45:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:45:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:45:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:45:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:45:14] Production.INFO: ==934== Releasing lock...
[2025-03-10 04:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:45:16] Production.INFO: count ==108
[2025-03-10 04:45:16] Production.ERROR: pbx CDR StartTime 2025-03-10 01:45:04 - End Time 2025-03-10 04:45:04
[2025-03-10 04:45:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647156', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647156', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647156', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647156', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:45:16] Production.INFO: ProcessCDR(1,14647156,1,1,2)
[2025-03-10 04:45:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647156', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647156', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:45:20] Production.INFO: ==942== Releasing lock...
[2025-03-10 04:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:45:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 08:46:02] Production.INFO: ==999== Lock acquired, processing the job...
[2025-03-10 08:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:46:02] Production.INFO: neon service started
[2025-03-10 08:46:02] Production.INFO: neon service started
[2025-03-10 08:46:02] Production.INFO: ==999== Releasing lock...
[2025-03-10 08:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:46:02] Production.INFO: ==1001== Lock acquired, processing the job...
[2025-03-10 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:46:02] Production.INFO: ==1001== Releasing lock...
[2025-03-10 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:46:02] Production.INFO: ==1003== Lock acquired, processing the job...
[2025-03-10 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:46:03] Production.INFO: ==1003== Releasing lock...
[2025-03-10 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:46:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:46:03] Production.INFO: ==1010== Lock acquired, processing the job...
[2025-03-10 04:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:46:03] Production.INFO: ==1016== Lock acquired, processing the job...
[2025-03-10 04:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:46:04] Production.INFO: ==1006== Lock acquired, processing the job...
[2025-03-10 04:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 04:46:04] Production.INFO: ==1008== Lock acquired, processing the job...
[2025-03-10 04:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:46:04] Production.INFO: count ==13
[2025-03-10 04:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 04:46:04] Production.INFO: count ==21
[2025-03-10 04:46:04] Production.INFO: ==1012== Lock acquired, processing the job...
[2025-03-10 04:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:46:04] Production.INFO: ==1014== Lock acquired, processing the job...
[2025-03-10 04:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647157') start
[2025-03-10 04:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647157') end
[2025-03-10 04:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:46:04] Production.INFO: 1
[2025-03-10 04:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:46:04] Production.INFO: ==1016== Releasing lock...
[2025-03-10 04:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:46:04] Production.INFO: Account Balance Start.
[2025-03-10 04:46:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:46:04] Production.INFO: 117
[2025-03-10 04:46:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:46:04] Production.INFO: ==1008== Releasing lock...
[2025-03-10 04:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:46:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:46:04] Production.INFO: Total Charge 0
[2025-03-10 04:46:04] Production.ERROR: done
[2025-03-10 04:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:46:04] Production.INFO: CreateAllLog End
[2025-03-10 04:46:04] Production.ERROR: done
[2025-03-10 04:46:05] Production.INFO: Account Balance End.
[2025-03-10 04:46:05] Production.ERROR: CronJobId end 12
[2025-03-10 04:46:05] Production.INFO: ==1012== Releasing lock...
[2025-03-10 04:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:46:05
[end_date_ymd] => 2025-03-10 04:46:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:46:05' and `end` < '2025-03-10 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-03-10 04:46:11] Production.ERROR: CronJobId end10
[2025-03-10 04:46:11] Production.INFO: ==1010== Releasing lock...
[2025-03-10 04:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:46:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:46:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:46:14] Production.INFO: call_cost start
[2025-03-10 04:46:14] Production.INFO: call_cost end
[2025-03-10 04:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:46:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:46:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:46:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:46:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:46:14] Production.INFO: ==1006== Releasing lock...
[2025-03-10 04:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:46:18] Production.INFO: count ==106
[2025-03-10 04:46:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:46:05 - End Time 2025-03-10 04:46:05
[2025-03-10 04:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647161', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647161', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647161', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647161', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:46:18] Production.INFO: ProcessCDR(1,14647161,1,1,2)
[2025-03-10 04:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647161', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647161', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:46:21] Production.INFO: ==1014== Releasing lock...
[2025-03-10 04:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:46:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:47:01] Production.INFO: ==1113== Lock acquired, processing the job...
[2025-03-10 08:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:47:01] Production.INFO: neon service started
[2025-03-10 08:47:01] Production.INFO: neon service started
[2025-03-10 08:47:01] Production.INFO: ==1113== Releasing lock...
[2025-03-10 08:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:47:02] Production.INFO: ==1117== Lock acquired, processing the job...
[2025-03-10 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:47:02] Production.INFO: ==1117== Releasing lock...
[2025-03-10 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:47:02] Production.INFO: ==1115== Lock acquired, processing the job...
[2025-03-10 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:47:02] Production.INFO: ==1115== Releasing lock...
[2025-03-10 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:47:03] Production.INFO: ==1122== Lock acquired, processing the job...
[2025-03-10 04:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:47:03] Production.INFO: ==1128== Lock acquired, processing the job...
[2025-03-10 04:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:47:03] Production.INFO: ==1120== Lock acquired, processing the job...
[2025-03-10 04:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:47:03] Production.INFO: ==1124== Lock acquired, processing the job...
[2025-03-10 04:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:47:03] Production.INFO: ==1126== Lock acquired, processing the job...
[2025-03-10 04:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:47:03] Production.INFO: ==1130== Lock acquired, processing the job...
[2025-03-10 04:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:47:03] Production.INFO: ==1122== Releasing lock...
[2025-03-10 04:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:47:03] Production.INFO: Account Balance Start.
[2025-03-10 04:47:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:47:03] Production.INFO: 117
[2025-03-10 04:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:47:03] Production.INFO: Date 2025-03-08
[2025-03-10 04: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-03-10 04:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:47:03] Production.ERROR: done
[2025-03-10 04:47:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:47:03] Production.INFO: count ==13
[2025-03-10 04:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 04: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-03-10 04:47:03] Production.INFO: count ==21
[2025-03-10 04:47:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647165') start
[2025-03-10 04:47:03] Production.INFO: Total Charge 0
[2025-03-10 04:47:03] Production.INFO: CreateAllLog End
[2025-03-10 04:47:03] Production.ERROR: done
[2025-03-10 04:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647165') end
[2025-03-10 04:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:47:03] Production.INFO: 1
[2025-03-10 04:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:47:03] Production.INFO: Account Balance End.
[2025-03-10 04:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:47:04] Production.INFO: ==1126== Releasing lock...
[2025-03-10 04:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:47:04] Production.INFO: ==1130== Releasing lock...
[2025-03-10 04:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:47:04
[end_date_ymd] => 2025-03-10 04:47:04
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:47:04' and `end` < '2025-03-10 04: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-03-10 04:47:10] Production.ERROR: CronJobId end10
[2025-03-10 04:47:10] Production.INFO: ==1124== Releasing lock...
[2025-03-10 04:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:47:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:47:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:47:14] Production.INFO: call_cost start
[2025-03-10 04:47:14] Production.INFO: call_cost end
[2025-03-10 04:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:47:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:47:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:47:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:47:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:47:15] Production.INFO: ==1120== Releasing lock...
[2025-03-10 04:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:47:17] Production.INFO: count ==106
[2025-03-10 04:47:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:47:04 - End Time 2025-03-10 04:47:04
[2025-03-10 04:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647166', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647166', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647166', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647166', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:47:17] Production.INFO: ProcessCDR(1,14647166,1,1,2)
[2025-03-10 04:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647166', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647166', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:47:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:47:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:47:20] Production.INFO: ==1128== Releasing lock...
[2025-03-10 04:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:47:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:48:02] Production.INFO: ==1199== Lock acquired, processing the job...
[2025-03-10 08:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:48:02] Production.INFO: neon service started
[2025-03-10 08:48:02] Production.INFO: neon service started
[2025-03-10 08:48:02] Production.INFO: ==1199== Releasing lock...
[2025-03-10 08:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:48:02] Production.INFO: ==1203== Lock acquired, processing the job...
[2025-03-10 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:48:02] Production.INFO: ==1203== Releasing lock...
[2025-03-10 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:48:02] Production.INFO: ==1201== Lock acquired, processing the job...
[2025-03-10 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:48:02] Production.INFO: ==1201== Releasing lock...
[2025-03-10 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:48:03] Production.INFO: ==1208== Lock acquired, processing the job...
[2025-03-10 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:48:03] Production.INFO: ==1216== Lock acquired, processing the job...
[2025-03-10 04:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:48:03] Production.INFO: ==1206== Lock acquired, processing the job...
[2025-03-10 04:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04: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-03-10 04:48:03] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:48:03] Production.INFO: count ==21
[2025-03-10 04:48:03] Production.INFO: ==1210== Lock acquired, processing the job...
[2025-03-10 04:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647167') start
[2025-03-10 04:48:04] Production.INFO: ==1214== Lock acquired, processing the job...
[2025-03-10 04:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:48:04] Production.INFO: ==1212== Lock acquired, processing the job...
[2025-03-10 04:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:48:04] Production.INFO: ==1208== Releasing lock...
[2025-03-10 04:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647167') end
[2025-03-10 04:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:48:04] Production.INFO: 1
[2025-03-10 04:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:48:04] Production.INFO: ==1216== Releasing lock...
[2025-03-10 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:48:04] Production.INFO: Account Balance Start.
[2025-03-10 04:48:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:48:04] Production.INFO: 117
[2025-03-10 04:48:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:48:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:48:04] Production.ERROR: done
[2025-03-10 04:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:48:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:48:04] Production.INFO: Total Charge 0
[2025-03-10 04:48:04] Production.INFO: CreateAllLog End
[2025-03-10 04:48:04] Production.ERROR: done
[2025-03-10 04:48:04] Production.INFO: Account Balance End.
[2025-03-10 04:48:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:48:04] Production.INFO: ==1212== Releasing lock...
[2025-03-10 04:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:48:05
[end_date_ymd] => 2025-03-10 04:48:05
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:48:05' and `end` < '2025-03-10 04: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-03-10 04:48:12] Production.ERROR: CronJobId end10
[2025-03-10 04:48:12] Production.INFO: ==1210== Releasing lock...
[2025-03-10 04:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:48:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:48:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:48:14] Production.INFO: call_cost start
[2025-03-10 04:48:14] Production.INFO: call_cost end
[2025-03-10 04:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:48:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:48:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:48:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:48:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:48:15] Production.INFO: ==1206== Releasing lock...
[2025-03-10 04:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:48:18] Production.INFO: count ==105
[2025-03-10 04:48:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:48:05 - End Time 2025-03-10 04:48:05
[2025-03-10 04:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647171', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647171', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647171', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647171', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:48:18] Production.INFO: ProcessCDR(1,14647171,1,1,2)
[2025-03-10 04:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647171', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647171', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:48:21] Production.INFO: ==1214== Releasing lock...
[2025-03-10 04:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:48:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:49:01] Production.INFO: ==1286== Lock acquired, processing the job...
[2025-03-10 08:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:49:01] Production.INFO: neon service started
[2025-03-10 08:49:01] Production.INFO: neon service started
[2025-03-10 08:49:01] Production.INFO: ==1286== Releasing lock...
[2025-03-10 08:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:49:01] Production.INFO: ==1290== Lock acquired, processing the job...
[2025-03-10 08:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:49:01] Production.INFO: ==1290== Releasing lock...
[2025-03-10 08:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:49:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:49:01] Production.INFO: ==1288== Lock acquired, processing the job...
[2025-03-10 04:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:49:02] Production.INFO: ==1288== Releasing lock...
[2025-03-10 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:49:02] Production.INFO: ==1297== Lock acquired, processing the job...
[2025-03-10 04:49:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:49:03] Production.INFO: ==1299== Lock acquired, processing the job...
[2025-03-10 04:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:49:03] Production.INFO: ==1295== Lock acquired, processing the job...
[2025-03-10 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:49:03] Production.INFO: Account Balance Start.
[2025-03-10 04:49:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:49:03] Production.INFO: 117
[2025-03-10 04:49:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:49:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:49:03] Production.INFO: ==1293== Lock acquired, processing the job...
[2025-03-10 04:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:49:03] Production.INFO: ==1303== Lock acquired, processing the job...
[2025-03-10 04:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:49:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:49:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:49:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:49:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:49:03] Production.INFO: Total Charge 0
[2025-03-10 04:49:03] Production.INFO: CreateAllLog End
[2025-03-10 04:49:03] Production.INFO: ==1301== Lock acquired, processing the job...
[2025-03-10 04:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:49:03] Production.INFO: ==1295== Releasing lock...
[2025-03-10 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04: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-03-10 04:49:03] Production.INFO: Account Balance End.
[2025-03-10 04:49:03] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:49:03] Production.ERROR: CronJobId end 12
[2025-03-10 04:49:03] Production.INFO: ==1299== Releasing lock...
[2025-03-10 04:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:49:03] Production.INFO: count ==21
[2025-03-10 04:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647175') start
[2025-03-10 04:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647175') end
[2025-03-10 04:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:49:03] Production.INFO: 1
[2025-03-10 04:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:49:03] Production.INFO: ==1303== Releasing lock...
[2025-03-10 04:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:49:03] Production.ERROR: done
[2025-03-10 04:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:49:04] Production.ERROR: done
[2025-03-10 04:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:49:05
[end_date_ymd] => 2025-03-10 04:49:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:49:05' and `end` < '2025-03-10 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-03-10 04:49:11] Production.ERROR: CronJobId end10
[2025-03-10 04:49:11] Production.INFO: ==1297== Releasing lock...
[2025-03-10 04:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:49:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:49:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:49:13] Production.INFO: call_cost start
[2025-03-10 04:49:13] Production.INFO: call_cost end
[2025-03-10 04:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:49:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:49:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:49:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:49:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:49:14] Production.INFO: ==1293== Releasing lock...
[2025-03-10 04:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:49:17] Production.INFO: count ==105
[2025-03-10 04:49:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:49:05 - End Time 2025-03-10 04:49:05
[2025-03-10 04:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647176', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647176', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647176', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647176', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:49:17] Production.INFO: ProcessCDR(1,14647176,1,1,2)
[2025-03-10 04:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647176', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647176', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:49:20] Production.INFO: ==1301== Releasing lock...
[2025-03-10 04:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:49:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:50:01] Production.INFO: ==1357== Lock acquired, processing the job...
[2025-03-10 08:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:50:01] Production.INFO: neon service started
[2025-03-10 08:50:01] Production.INFO: neon service started
[2025-03-10 08:50:01] Production.INFO: ==1357== Releasing lock...
[2025-03-10 08:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:50:02] Production.INFO: ==1361== Lock acquired, processing the job...
[2025-03-10 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:50:02] Production.INFO: ==1361== Releasing lock...
[2025-03-10 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:50:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:50:02] Production.INFO: ==1359== Lock acquired, processing the job...
[2025-03-10 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:50:02] Production.INFO: ==1359== Releasing lock...
[2025-03-10 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:50:03] Production.INFO: ==1368== Lock acquired, processing the job...
[2025-03-10 04:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:50:04] Production.INFO: ==1378== Lock acquired, processing the job...
[2025-03-10 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:50:04] Production.INFO: ==1374== Lock acquired, processing the job...
[2025-03-10 04:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 04:50:04] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:50:04] Production.INFO: count ==21
[2025-03-10 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647178') start
[2025-03-10 04:50:04] Production.INFO: ==1368== Releasing lock...
[2025-03-10 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:50:04] Production.INFO: ==1364== Lock acquired, processing the job...
[2025-03-10 04:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 04:50:04] Production.INFO: ==1366== Lock acquired, processing the job...
[2025-03-10 04:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647178') end
[2025-03-10 04:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:50:04] Production.INFO: 1
[2025-03-10 04:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:50:04] Production.INFO: ==1378== Releasing lock...
[2025-03-10 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:50:04] Production.INFO: ==1370== Lock acquired, processing the job...
[2025-03-10 04:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:50:04] Production.ERROR: done
[2025-03-10 04:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 04:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 04:50:04] Production.ERROR: CronJob PID - 1366
[2025-03-10 04:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 04:50:04] Production.ERROR: CronJob ID - 5
[2025-03-10 04:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 04:50:00
[2025-03-10 04:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 04:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 04:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 04:50:04] Production.ERROR: CronJob PID - 1370
[2025-03-10 04:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 04:50:04] Production.ERROR: CronJob ID - 10
[2025-03-10 04:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 04:50:00
[2025-03-10 04:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 04:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 04:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 04:50:04] Production.ERROR: CronJob PID - 1374
[2025-03-10 04:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 04:50:04] Production.ERROR: CronJob ID - 16
[2025-03-10 04:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 04:50:00
[2025-03-10 04:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 04:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 04:50:04] Production.INFO: ==1372== Lock acquired, processing the job...
[2025-03-10 04:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:50:04] Production.INFO: ==1376== Lock acquired, processing the job...
[2025-03-10 04:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 04:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 04:50:04] Production.INFO: ==1364== Releasing lock...
[2025-03-10 04:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 04:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:50:04] Production.ERROR: done
[2025-03-10 04:50:04] Production.INFO: Account Balance Start.
[2025-03-10 04:50:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:50:04] Production.INFO: 117
[2025-03-10 04:50:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:50:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:50:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:50:04] Production.INFO: Total Charge 0
[2025-03-10 04:50:05] Production.INFO: CreateAllLog End
[2025-03-10 04:50:05] Production.ERROR: done
[2025-03-10 04:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 04:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647182', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 04:50:05] Production.INFO: Account Balance End.
[2025-03-10 04:50:05] Production.ERROR: CronJobId end 12
[2025-03-10 04:50:05] Production.INFO: ==1372== Releasing lock...
[2025-03-10 04:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:50:06
[end_date_ymd] => 2025-03-10 04:50:06
[RateCDR] => 1
)
[2025-03-10 04: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-03-10 01:50:06' and `end` < '2025-03-10 04: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-03-10 04:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647182', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 04:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 04:50:09] Production.INFO: ProcessCDR(1,14647182,1,1,2)
[2025-03-10 04:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647182,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647182,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:50:09] Production.INFO: ==1376== Releasing lock...
[2025-03-10 04:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 04:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 04:50:13] Production.ERROR: CronJobId end10
[2025-03-10 04:50:13] Production.INFO: ==1370== Releasing lock...
[2025-03-10 04:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:50:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:50:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:50:16] Production.INFO: call_cost start
[2025-03-10 04:50:16] Production.INFO: call_cost end
[2025-03-10 04:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:50:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:50:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:50:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:50:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:50:17] Production.INFO: ==1366== Releasing lock...
[2025-03-10 04:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:50:18] Production.INFO: count ==105
[2025-03-10 04:50:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:50:06 - End Time 2025-03-10 04:50:06
[2025-03-10 04:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647181', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647181', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647181', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647181', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:50:18] Production.INFO: ProcessCDR(1,14647181,1,1,2)
[2025-03-10 04:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647181', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647181', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:50:21] Production.INFO: ==1374== Releasing lock...
[2025-03-10 04:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:50:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:51:01] Production.INFO: ==1431== Lock acquired, processing the job...
[2025-03-10 08:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:51:01] Production.INFO: neon service started
[2025-03-10 08:51:01] Production.INFO: neon service started
[2025-03-10 08:51:01] Production.INFO: ==1431== Releasing lock...
[2025-03-10 08:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:51:01] Production.INFO: ==1435== Lock acquired, processing the job...
[2025-03-10 08:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:51:01] Production.INFO: ==1435== Releasing lock...
[2025-03-10 08:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:51:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:51:01] Production.INFO: ==1433== Lock acquired, processing the job...
[2025-03-10 04:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:51:02] Production.INFO: ==1433== Releasing lock...
[2025-03-10 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:51:02] Production.INFO: ==1438== Lock acquired, processing the job...
[2025-03-10 04:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:51:03] Production.INFO: ==1440== Lock acquired, processing the job...
[2025-03-10 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:51:03] Production.INFO: ==1444== Lock acquired, processing the job...
[2025-03-10 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:51:03] Production.INFO: Account Balance Start.
[2025-03-10 04:51:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:51:03] Production.INFO: 117
[2025-03-10 04:51:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:51:03] Production.INFO: ==1442== Lock acquired, processing the job...
[2025-03-10 04:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:51:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:51:03] Production.INFO: ==1448== Lock acquired, processing the job...
[2025-03-10 04:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:51:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:51:03] Production.INFO: Total Charge 0
[2025-03-10 04:51:03] Production.INFO: CreateAllLog End
[2025-03-10 04: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-03-10 04:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:51:03] Production.INFO: ==1446== Lock acquired, processing the job...
[2025-03-10 04:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:51:03] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:51:03] Production.INFO: ==1440== Releasing lock...
[2025-03-10 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:51:03] Production.INFO: count ==21
[2025-03-10 04:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647186') start
[2025-03-10 04:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:51:03] Production.INFO: Account Balance End.
[2025-03-10 04:51:03] Production.ERROR: CronJobId end 12
[2025-03-10 04:51:03] Production.INFO: ==1444== Releasing lock...
[2025-03-10 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647186') end
[2025-03-10 04:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:51:03] Production.INFO: 1
[2025-03-10 04:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:51:03] Production.INFO: ==1448== Releasing lock...
[2025-03-10 04:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:51:03] Production.ERROR: done
[2025-03-10 04:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:51:04] Production.ERROR: done
[2025-03-10 04:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:51:05
[end_date_ymd] => 2025-03-10 04:51:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:51:05' and `end` < '2025-03-10 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-03-10 04:51:11] Production.ERROR: CronJobId end10
[2025-03-10 04:51:11] Production.INFO: ==1442== Releasing lock...
[2025-03-10 04:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:51:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:51:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:51:13] Production.INFO: call_cost start
[2025-03-10 04:51:13] Production.INFO: call_cost end
[2025-03-10 04:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:51:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:51:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:51:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:51:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:51:14] Production.INFO: ==1438== Releasing lock...
[2025-03-10 04:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:51:17] Production.INFO: count ==105
[2025-03-10 04:51:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:51:05 - End Time 2025-03-10 04:51:05
[2025-03-10 04:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647187', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647187', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647187', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647187', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:51:17] Production.INFO: ProcessCDR(1,14647187,1,1,2)
[2025-03-10 04:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647187', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647187', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:51:20] Production.INFO: ==1446== Releasing lock...
[2025-03-10 04:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:51:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:52:01] Production.INFO: ==1501== Lock acquired, processing the job...
[2025-03-10 08:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:52:01] Production.INFO: neon service started
[2025-03-10 08:52:01] Production.INFO: neon service started
[2025-03-10 08:52:01] Production.INFO: ==1501== Releasing lock...
[2025-03-10 08:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:52:02] Production.INFO: ==1520== Lock acquired, processing the job...
[2025-03-10 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:52:02] Production.INFO: ==1536== Lock acquired, processing the job...
[2025-03-10 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:52:02] Production.INFO: ==1536== Releasing lock...
[2025-03-10 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:52:02] Production.INFO: ==1520== Releasing lock...
[2025-03-10 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:52:03] Production.INFO: ==1545== Lock acquired, processing the job...
[2025-03-10 04:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:52:03] Production.INFO: ==1549== Lock acquired, processing the job...
[2025-03-10 04:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:52:03] Production.INFO: Account Balance Start.
[2025-03-10 04:52:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:52:03] Production.INFO: 117
[2025-03-10 04:52:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 04: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-03-10 04:52:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:52:03] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:52:04] Production.INFO: count ==21
[2025-03-10 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647189') start
[2025-03-10 04:52:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:52:04] Production.INFO: Total Charge 0
[2025-03-10 04:52:04] Production.INFO: CreateAllLog End
[2025-03-10 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647189') end
[2025-03-10 04:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:52:04] Production.INFO: 1
[2025-03-10 04:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:52:04] Production.INFO: ==1539== Lock acquired, processing the job...
[2025-03-10 04:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:52:04] Production.INFO: ==1549== Releasing lock...
[2025-03-10 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:52:04] Production.INFO: ==1541== Lock acquired, processing the job...
[2025-03-10 04:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:52:04] Production.INFO: Account Balance End.
[2025-03-10 04:52:04] Production.INFO: ==1543== Lock acquired, processing the job...
[2025-03-10 04:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:52:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:52:04] Production.INFO: ==1545== Releasing lock...
[2025-03-10 04:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:52:04] Production.INFO: ==1547== Lock acquired, processing the job...
[2025-03-10 04:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:52:04] Production.ERROR: done
[2025-03-10 04:52:04] Production.INFO: ==1541== Releasing lock...
[2025-03-10 04:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:52:04] Production.ERROR: done
[2025-03-10 04:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:52:05
[end_date_ymd] => 2025-03-10 04:52:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:52:05' and `end` < '2025-03-10 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-03-10 04:52:12] Production.ERROR: CronJobId end10
[2025-03-10 04:52:12] Production.INFO: ==1543== Releasing lock...
[2025-03-10 04:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:52:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:52:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:52:14] Production.INFO: call_cost start
[2025-03-10 04:52:14] Production.INFO: call_cost end
[2025-03-10 04:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:52:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:52:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:52:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:52:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:52:15] Production.INFO: ==1539== Releasing lock...
[2025-03-10 04:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:52:18] Production.INFO: count ==105
[2025-03-10 04:52:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:52:05 - End Time 2025-03-10 04:52:05
[2025-03-10 04:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647192', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647192', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647192', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647192', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:52:18] Production.INFO: ProcessCDR(1,14647192,1,1,2)
[2025-03-10 04:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647192', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647192', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:52:21] Production.INFO: ==1547== Releasing lock...
[2025-03-10 04:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:52:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:53:02] Production.INFO: ==1623== Lock acquired, processing the job...
[2025-03-10 08:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:53:02] Production.INFO: neon service started
[2025-03-10 08:53:02] Production.INFO: neon service started
[2025-03-10 08:53:02] Production.INFO: ==1623== Releasing lock...
[2025-03-10 08:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:53:02] Production.INFO: ==1625== Lock acquired, processing the job...
[2025-03-10 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:53:03] Production.INFO: ==1625== Releasing lock...
[2025-03-10 04:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:53:03] Production.INFO: ==1627== Lock acquired, processing the job...
[2025-03-10 08:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:53:03] Production.INFO: ==1627== Releasing lock...
[2025-03-10 08:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:53:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:53:03] Production.INFO: ==1629== Lock acquired, processing the job...
[2025-03-10 04:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:53:03] Production.INFO: ==1631== Lock acquired, processing the job...
[2025-03-10 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:53:04] Production.INFO: ==1633== Lock acquired, processing the job...
[2025-03-10 04:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:53:04] Production.INFO: ==1635== Lock acquired, processing the job...
[2025-03-10 04:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:53:04] Production.INFO: ==1639== Lock acquired, processing the job...
[2025-03-10 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:53:04] Production.INFO: ==1637== Lock acquired, processing the job...
[2025-03-10 04:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:53:04] Production.INFO: Account Balance Start.
[2025-03-10 04:53:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:53:04] Production.INFO: 117
[2025-03-10 04:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:53:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:53:04] Production.INFO: ==1631== Releasing lock...
[2025-03-10 04:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:53:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 04: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-03-10 04:53:04] Production.INFO: Total Charge 0
[2025-03-10 04:53:04] Production.INFO: CreateAllLog End
[2025-03-10 04:53:04] Production.INFO: count ==13
[2025-03-10 04: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-03-10 04:53:04] Production.INFO: count ==21
[2025-03-10 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647196') start
[2025-03-10 04:53:04] Production.INFO: Account Balance End.
[2025-03-10 04:53:04] Production.ERROR: done
[2025-03-10 04:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:53:04] Production.INFO: ==1635== Releasing lock...
[2025-03-10 04:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647196') end
[2025-03-10 04:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:53:04] Production.INFO: 1
[2025-03-10 04:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:53:04] Production.ERROR: done
[2025-03-10 04:53:04] Production.INFO: ==1639== Releasing lock...
[2025-03-10 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:53:05
[end_date_ymd] => 2025-03-10 04:53:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:53:05' and `end` < '2025-03-10 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-03-10 04:53:12] Production.ERROR: CronJobId end10
[2025-03-10 04:53:12] Production.INFO: ==1633== Releasing lock...
[2025-03-10 04:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:53:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:53:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:53:14] Production.INFO: call_cost start
[2025-03-10 04:53:14] Production.INFO: call_cost end
[2025-03-10 04:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:53:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:53:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:53:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:53:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:53:15] Production.INFO: ==1629== Releasing lock...
[2025-03-10 04:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:53:17] Production.INFO: count ==105
[2025-03-10 04:53:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:53:05 - End Time 2025-03-10 04:53:05
[2025-03-10 04:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647197', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647197', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647197', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647197', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:53:17] Production.INFO: ProcessCDR(1,14647197,1,1,2)
[2025-03-10 04:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647197', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647197', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:53:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:53:21] Production.INFO: ==1637== Releasing lock...
[2025-03-10 04:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:53:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:54:01] Production.INFO: ==1697== Lock acquired, processing the job...
[2025-03-10 08:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:54:01] Production.INFO: neon service started
[2025-03-10 08:54:01] Production.INFO: neon service started
[2025-03-10 08:54:01] Production.INFO: ==1697== Releasing lock...
[2025-03-10 08:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:54:02] Production.INFO: ==1699== Lock acquired, processing the job...
[2025-03-10 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:54:02] Production.INFO: ==1701== Lock acquired, processing the job...
[2025-03-10 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:54:02] Production.INFO: ==1701== Releasing lock...
[2025-03-10 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:54:02] Production.INFO: ==1699== Releasing lock...
[2025-03-10 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:54:03] Production.INFO: ==1708== Lock acquired, processing the job...
[2025-03-10 04:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:54:03] Production.INFO: ==1704== Lock acquired, processing the job...
[2025-03-10 04:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:54:03] Production.INFO: ==1714== Lock acquired, processing the job...
[2025-03-10 04:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:54:03] Production.INFO: ==1706== Lock acquired, processing the job...
[2025-03-10 04:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:54:03] Production.INFO: ==1710== Lock acquired, processing the job...
[2025-03-10 04:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 04:54:03] Production.INFO: count ==13
[2025-03-10 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-03-10 04:54:03] Production.INFO: ==1712== Lock acquired, processing the job...
[2025-03-10 04:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:54:03] Production.INFO: count ==21
[2025-03-10 04:54:04] Production.INFO: Account Balance Start.
[2025-03-10 04:54:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647198') start
[2025-03-10 04:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:54:04] Production.INFO: 117
[2025-03-10 04:54:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647198') end
[2025-03-10 04:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:54:04] Production.INFO: 1
[2025-03-10 04:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:54:04] Production.INFO: ==1706== Releasing lock...
[2025-03-10 04:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:54:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:54:04] Production.INFO: ==1714== Releasing lock...
[2025-03-10 04:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:54:04] Production.ERROR: done
[2025-03-10 04:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:54:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:54:04] Production.INFO: Total Charge 0
[2025-03-10 04:54:04] Production.INFO: CreateAllLog End
[2025-03-10 04:54:04] Production.ERROR: done
[2025-03-10 04:54:04] Production.INFO: Account Balance End.
[2025-03-10 04:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:54:04] Production.INFO: ==1710== Releasing lock...
[2025-03-10 04:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:54:05
[end_date_ymd] => 2025-03-10 04:54:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:54:05' and `end` < '2025-03-10 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-03-10 04:54:11] Production.ERROR: CronJobId end10
[2025-03-10 04:54:11] Production.INFO: ==1708== Releasing lock...
[2025-03-10 04:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:54:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:54:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:54:14] Production.INFO: call_cost start
[2025-03-10 04:54:14] Production.INFO: call_cost end
[2025-03-10 04:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:54:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:54:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:54:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:54:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:54:15] Production.INFO: ==1704== Releasing lock...
[2025-03-10 04:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:54:18] Production.INFO: count ==105
[2025-03-10 04:54:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:54:05 - End Time 2025-03-10 04:54:05
[2025-03-10 04:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647202', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647202', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647202', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647202', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:54:18] Production.INFO: ProcessCDR(1,14647202,1,1,2)
[2025-03-10 04:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647202', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647202', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:54:21] Production.INFO: ==1712== Releasing lock...
[2025-03-10 04:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:54:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:55:02] Production.INFO: ==1766== Lock acquired, processing the job...
[2025-03-10 08:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:55:02] Production.INFO: neon service started
[2025-03-10 08:55:02] Production.INFO: neon service started
[2025-03-10 08:55:02] Production.INFO: ==1766== Releasing lock...
[2025-03-10 08:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:55:02] Production.INFO: ==1768== Lock acquired, processing the job...
[2025-03-10 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:55:02] Production.INFO: ==1770== Lock acquired, processing the job...
[2025-03-10 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:55:02] Production.INFO: ==1770== Releasing lock...
[2025-03-10 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:55:03] Production.INFO: ==1768== Releasing lock...
[2025-03-10 04:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:55:03] Production.INFO: ==1773== Lock acquired, processing the job...
[2025-03-10 04:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:55:04] Production.INFO: ==1783== Lock acquired, processing the job...
[2025-03-10 04:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04: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-03-10 04:55:04] Production.INFO: count ==13
[2025-03-10 04:55:04] Production.INFO: ==1775== Lock acquired, processing the job...
[2025-03-10 04:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04: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-03-10 04:55:04] Production.INFO: count ==21
[2025-03-10 04:55:04] Production.INFO: ==1777== Lock acquired, processing the job...
[2025-03-10 04:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647204') start
[2025-03-10 04:55:04] Production.INFO: ==1779== Lock acquired, processing the job...
[2025-03-10 04:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647204') end
[2025-03-10 04:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:55:04] Production.INFO: 1
[2025-03-10 04:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:55:04] Production.INFO: ==1781== Lock acquired, processing the job...
[2025-03-10 04:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:55:04] Production.INFO: ==1783== Releasing lock...
[2025-03-10 04:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:55:04] Production.INFO: Account Balance Start.
[2025-03-10 04:55:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:55:04] Production.INFO: 117
[2025-03-10 04:55:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:55:04] Production.INFO: Total Charge 0
[2025-03-10 04:55:04] Production.INFO: CreateAllLog End
[2025-03-10 04:55:04] Production.INFO: ==1775== Releasing lock...
[2025-03-10 04:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:55:04] Production.INFO: Account Balance End.
[2025-03-10 04:55:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:55:04] Production.INFO: ==1779== Releasing lock...
[2025-03-10 04:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:55:04] Production.ERROR: done
[2025-03-10 04:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:55:05] Production.ERROR: done
[2025-03-10 04:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:55:05
[end_date_ymd] => 2025-03-10 04:55:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:55:05' and `end` < '2025-03-10 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-03-10 04:55:12] Production.ERROR: CronJobId end10
[2025-03-10 04:55:12] Production.INFO: ==1777== Releasing lock...
[2025-03-10 04:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:55:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:55:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:55:14] Production.INFO: call_cost start
[2025-03-10 04:55:14] Production.INFO: call_cost end
[2025-03-10 04:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:55:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:55:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:55:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:55:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:55:15] Production.INFO: ==1773== Releasing lock...
[2025-03-10 04:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:55:18] Production.INFO: count ==104
[2025-03-10 04:55:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:55:05 - End Time 2025-03-10 04:55:05
[2025-03-10 04:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647207', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647207', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647207', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647207', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:55:18] Production.INFO: ProcessCDR(1,14647207,1,1,2)
[2025-03-10 04:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647207', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647207', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:55:21] Production.INFO: ==1781== Releasing lock...
[2025-03-10 04:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:56:01] Production.INFO: ==1842== Lock acquired, processing the job...
[2025-03-10 08:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:56:01] Production.INFO: neon service started
[2025-03-10 08:56:01] Production.INFO: neon service started
[2025-03-10 08:56:01] Production.INFO: ==1842== Releasing lock...
[2025-03-10 08:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:56:02] Production.INFO: ==1844== Lock acquired, processing the job...
[2025-03-10 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:56:02] Production.INFO: ==1844== Releasing lock...
[2025-03-10 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:56:02] Production.INFO: ==1846== Lock acquired, processing the job...
[2025-03-10 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:56:02] Production.INFO: ==1846== Releasing lock...
[2025-03-10 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:56:03] Production.INFO: ==1856== Lock acquired, processing the job...
[2025-03-10 04:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:56:03] Production.INFO: ==1849== Lock acquired, processing the job...
[2025-03-10 04:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:56:03] Production.INFO: Account Balance Start.
[2025-03-10 04:56:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:56:03] Production.INFO: 117
[2025-03-10 04:56:03] Production.INFO: ==1859== Lock acquired, processing the job...
[2025-03-10 04:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:56:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:56:03] Production.INFO: ==1851== Lock acquired, processing the job...
[2025-03-10 04:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:56:03] Production.INFO: ==1854== Lock acquired, processing the job...
[2025-03-10 04:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:56:03] Production.INFO: Date 2025-03-09
[2025-03-10 04:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:56:03] Production.INFO: Date 2025-03-10
[2025-03-10 04:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:56:03] Production.INFO: Total Charge 0
[2025-03-10 04:56:03] Production.INFO: ==1861== Lock acquired, processing the job...
[2025-03-10 04:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:56:03] Production.INFO: CreateAllLog End
[2025-03-10 04:56:03] Production.ERROR: done
[2025-03-10 04:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04: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-03-10 04:56:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:56:04] Production.INFO: count ==21
[2025-03-10 04:56:04] Production.ERROR: done
[2025-03-10 04:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647211') start
[2025-03-10 04:56:04] Production.INFO: Account Balance End.
[2025-03-10 04:56:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:56:04] Production.INFO: ==1856== Releasing lock...
[2025-03-10 04:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647211') end
[2025-03-10 04:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:56:04] Production.INFO: 1
[2025-03-10 04:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:56:04] Production.INFO: ==1851== Releasing lock...
[2025-03-10 04:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:56:04] Production.INFO: ==1861== Releasing lock...
[2025-03-10 04:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:56:05
[end_date_ymd] => 2025-03-10 04:56:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:56:05' and `end` < '2025-03-10 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-03-10 04:56:11] Production.ERROR: CronJobId end10
[2025-03-10 04:56:11] Production.INFO: ==1854== Releasing lock...
[2025-03-10 04:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:56:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:56:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:56:14] Production.INFO: call_cost start
[2025-03-10 04:56:14] Production.INFO: call_cost end
[2025-03-10 04:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:56:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:56:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:56:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:56:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:56:15] Production.INFO: ==1849== Releasing lock...
[2025-03-10 04:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:56:17] Production.INFO: count ==104
[2025-03-10 04:56:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:56:05 - End Time 2025-03-10 04:56:05
[2025-03-10 04:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647212', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647212', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647212', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647212', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:56:17] Production.INFO: ProcessCDR(1,14647212,1,1,2)
[2025-03-10 04:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647212', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647212', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:56:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:56:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:56:20] Production.INFO: ==1859== Releasing lock...
[2025-03-10 04:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:56:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:57:02] Production.INFO: ==1917== Lock acquired, processing the job...
[2025-03-10 08:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:57:02] Production.INFO: neon service started
[2025-03-10 08:57:02] Production.INFO: neon service started
[2025-03-10 08:57:02] Production.INFO: ==1917== Releasing lock...
[2025-03-10 08:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:57:02] Production.INFO: ==1921== Lock acquired, processing the job...
[2025-03-10 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:57:02] Production.INFO: ==1921== Releasing lock...
[2025-03-10 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:57:02] Production.INFO: ==1919== Lock acquired, processing the job...
[2025-03-10 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:57:03] Production.INFO: ==1919== Releasing lock...
[2025-03-10 04:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:57:03] Production.INFO: ==1926== Lock acquired, processing the job...
[2025-03-10 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:57:03] Production.INFO: ==1928== Lock acquired, processing the job...
[2025-03-10 04:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:57:03] Production.INFO: ==1926== Releasing lock...
[2025-03-10 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:57:03] Production.INFO: ==1924== Lock acquired, processing the job...
[2025-03-10 04:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:57:03] Production.INFO: ==1932== Lock acquired, processing the job...
[2025-03-10 04:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:57:04] Production.INFO: ==1930== Lock acquired, processing the job...
[2025-03-10 04:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:57:04] Production.INFO: ==1934== Lock acquired, processing the job...
[2025-03-10 04:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:57:04] Production.INFO: Account Balance Start.
[2025-03-10 04:57:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:57:04] Production.INFO: 117
[2025-03-10 04:57:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:57:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:57:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:57:04] Production.ERROR: done
[2025-03-10 04:57:04] Production.INFO: Total Charge 0
[2025-03-10 04:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:57:04] Production.INFO: CreateAllLog End
[2025-03-10 04: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-03-10 04:57:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:57:04] Production.INFO: count ==21
[2025-03-10 04:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647216') start
[2025-03-10 04:57:04] Production.ERROR: done
[2025-03-10 04:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647216') end
[2025-03-10 04:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:57:04] Production.INFO: 1
[2025-03-10 04:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:57:04] Production.INFO: Account Balance End.
[2025-03-10 04:57:04] Production.INFO: ==1934== Releasing lock...
[2025-03-10 04:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:57:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:57:04] Production.INFO: ==1930== Releasing lock...
[2025-03-10 04:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:57:05
[end_date_ymd] => 2025-03-10 04:57:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:57:05' and `end` < '2025-03-10 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-03-10 04:57:12] Production.ERROR: CronJobId end10
[2025-03-10 04:57:12] Production.INFO: ==1928== Releasing lock...
[2025-03-10 04:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:57:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:57:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:57:14] Production.INFO: call_cost start
[2025-03-10 04:57:14] Production.INFO: call_cost end
[2025-03-10 04:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:57:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:57:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:57:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:57:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:57:15] Production.INFO: ==1924== Releasing lock...
[2025-03-10 04:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:57:18] Production.INFO: count ==104
[2025-03-10 04:57:19] Production.ERROR: pbx CDR StartTime 2025-03-10 01:57:05 - End Time 2025-03-10 04:57:05
[2025-03-10 04:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647217', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647217', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647217', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647217', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:57:19] Production.INFO: ProcessCDR(1,14647217,1,1,2)
[2025-03-10 04:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647217', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647217', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:57:22] Production.INFO: ==1932== Releasing lock...
[2025-03-10 04:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:57:22] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:58:01] Production.INFO: ==1988== Lock acquired, processing the job...
[2025-03-10 08:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:58:01] Production.INFO: neon service started
[2025-03-10 08:58:01] Production.INFO: neon service started
[2025-03-10 08:58:01] Production.INFO: ==1988== Releasing lock...
[2025-03-10 08:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 04:58:02] Production.INFO: ==1990== Lock acquired, processing the job...
[2025-03-10 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:58:02] Production.INFO: ==1992== Lock acquired, processing the job...
[2025-03-10 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:58:02] Production.INFO: ==1992== Releasing lock...
[2025-03-10 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:58:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:58:02] Production.INFO: ==1990== Releasing lock...
[2025-03-10 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:58:03] Production.INFO: ==1996== Lock acquired, processing the job...
[2025-03-10 04:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:58:03] Production.INFO: ==2000== Lock acquired, processing the job...
[2025-03-10 04:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:58:03] Production.INFO: ==2004== Lock acquired, processing the job...
[2025-03-10 04:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:58:03] Production.INFO: ==1998== Lock acquired, processing the job...
[2025-03-10 04:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:58:03] Production.INFO: ==2002== Lock acquired, processing the job...
[2025-03-10 04:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:58:03] Production.INFO: ==2006== Lock acquired, processing the job...
[2025-03-10 04:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:58:03] Production.INFO: Account Balance Start.
[2025-03-10 04:58:03] Production.INFO: CreateAllLog Start
[2025-03-10 04:58:03] Production.INFO: 117
[2025-03-10 04:58:03] Production.INFO: Date 2025-03-08
[2025-03-10 04:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 04:58:04] Production.ERROR: done
[2025-03-10 04:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:58:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:58:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 04:58:04] Production.INFO: Total Charge 0
[2025-03-10 04:58:04] Production.INFO: CreateAllLog End
[2025-03-10 04:58:04] Production.INFO: ==1998== Releasing lock...
[2025-03-10 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:58:04] Production.INFO: count ==13
[2025-03-10 04:58:04] Production.ERROR: done
[2025-03-10 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-03-10 04:58:04] Production.INFO: count ==21
[2025-03-10 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647221') start
[2025-03-10 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647221') end
[2025-03-10 04:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:58:04] Production.INFO: 1
[2025-03-10 04:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:58:04] Production.INFO: Account Balance End.
[2025-03-10 04:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:58:04] Production.INFO: ==2002== Releasing lock...
[2025-03-10 04:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:58:04] Production.INFO: ==2006== Releasing lock...
[2025-03-10 04:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:58:05
[end_date_ymd] => 2025-03-10 04:58:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:58:05' and `end` < '2025-03-10 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-03-10 04:58:10] Production.ERROR: CronJobId end10
[2025-03-10 04:58:10] Production.INFO: ==2000== Releasing lock...
[2025-03-10 04:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:58:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:58:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:58:13] Production.INFO: call_cost start
[2025-03-10 04:58:13] Production.INFO: call_cost end
[2025-03-10 04:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:58:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:58:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:58:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:58:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:58:14] Production.INFO: ==1996== Releasing lock...
[2025-03-10 04:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:58:17] Production.INFO: count ==103
[2025-03-10 04:58:17] Production.ERROR: pbx CDR StartTime 2025-03-10 01:58:05 - End Time 2025-03-10 04:58:05
[2025-03-10 04:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647222', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647222', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647222', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647222', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:58:17] Production.INFO: ProcessCDR(1,14647222,1,1,2)
[2025-03-10 04:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647222', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647222', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:58:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:58:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:58:20] Production.INFO: ==2004== Releasing lock...
[2025-03-10 04:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:58:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 08:59:02] Production.INFO: ==2060== Lock acquired, processing the job...
[2025-03-10 08:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 08:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 08:59:02] Production.INFO: neon service started
[2025-03-10 08:59:02] Production.INFO: neon service started
[2025-03-10 08:59:02] Production.INFO: ==2060== Releasing lock...
[2025-03-10 08:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 08:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:59:02] Production.INFO: ==2065== Lock acquired, processing the job...
[2025-03-10 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:59:02] Production.INFO: ==2065== Releasing lock...
[2025-03-10 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 08:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 04:59:02] Production.INFO: ==2063== Lock acquired, processing the job...
[2025-03-10 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 04:59:02] Production.INFO: ==2063== Releasing lock...
[2025-03-10 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 04:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 04:59:03] Production.INFO: ==2067== Lock acquired, processing the job...
[2025-03-10 04:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 04:59:03] Production.INFO: ==2069== Lock acquired, processing the job...
[2025-03-10 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 04:59:03] Production.INFO: ==2071== Lock acquired, processing the job...
[2025-03-10 04:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 04:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 04:59:03] Production.INFO: ==2073== Lock acquired, processing the job...
[2025-03-10 04:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 04:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 04:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 04:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 04:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 04:59:03] Production.INFO: ==2075== Lock acquired, processing the job...
[2025-03-10 04:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 04:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 04:59:04] Production.INFO: Account Balance Start.
[2025-03-10 04:59:04] Production.INFO: CreateAllLog Start
[2025-03-10 04:59:04] Production.INFO: 117
[2025-03-10 04:59:04] Production.INFO: ==2069== Releasing lock...
[2025-03-10 04:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 04:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 04:59:04] Production.INFO: Date 2025-03-08
[2025-03-10 04:59:04] Production.INFO: ==2077== Lock acquired, processing the job...
[2025-03-10 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 04:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:59:04] Production.INFO: Date 2025-03-09
[2025-03-10 04:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:59:04] Production.INFO: Date 2025-03-10
[2025-03-10 04:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 04:59:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 04:59:04] Production.INFO: CreateAllLog End
[2025-03-10 04:59:04] Production.INFO: count ==13
[2025-03-10 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-03-10 04:59:04] Production.INFO: count ==21
[2025-03-10 04:59:04] Production.ERROR: done
[2025-03-10 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647226') start
[2025-03-10 04:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 04:59:04] Production.ERROR: done
[2025-03-10 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647226') end
[2025-03-10 04:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 04:59:04] Production.INFO: 1
[2025-03-10 04:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 04:59:04] Production.INFO: Account Balance End.
[2025-03-10 04:59:04] Production.INFO: ==2077== Releasing lock...
[2025-03-10 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 04:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 04:59:04] Production.ERROR: CronJobId end 12
[2025-03-10 04:59:04] Production.INFO: ==2073== Releasing lock...
[2025-03-10 04:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 04:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 04:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 01:59:05
[end_date_ymd] => 2025-03-10 04:59:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 01:59:05' and `end` < '2025-03-10 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-03-10 04:59:12] Production.ERROR: CronJobId end10
[2025-03-10 04:59:12] Production.INFO: ==2071== Releasing lock...
[2025-03-10 04:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 04:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 04:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 04:59:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 04:59:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 04:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 04:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 04:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 04:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 04:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 04:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 04:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 04:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 04:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 04:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 04:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 04:59:14] Production.INFO: call_cost start
[2025-03-10 04:59:14] Production.INFO: call_cost end
[2025-03-10 04:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 04:59:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 04:59:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 04:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 04:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 04:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 04:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 04:59:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 04:59:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 04:59:15] Production.INFO: ==2067== Releasing lock...
[2025-03-10 04:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 04:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 04:59:18] Production.INFO: count ==103
[2025-03-10 04:59:18] Production.ERROR: pbx CDR StartTime 2025-03-10 01:59:05 - End Time 2025-03-10 04:59:05
[2025-03-10 04:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647227', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647227', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647227', 'tblTempVendorCDR_20' ) start
[2025-03-10 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647227', 'tblTempVendorCDR_20' ) end
[2025-03-10 04:59:18] Production.INFO: ProcessCDR(1,14647227,1,1,2)
[2025-03-10 04:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 04:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 04:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647227', 'tblTempUsageDetail_20' ) start
[2025-03-10 04:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647227', 'tblTempUsageDetail_20' ) end
[2025-03-10 04:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 04:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 04:59:21] Production.INFO: ==2075== Releasing lock...
[2025-03-10 04:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 04:59:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 09:00:01] Production.INFO: ==2135== Lock acquired, processing the job...
[2025-03-10 09:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:00:01] Production.INFO: neon service started
[2025-03-10 09:00:01] Production.INFO: neon service started
[2025-03-10 09:00:01] Production.INFO: ==2135== Releasing lock...
[2025-03-10 09:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:00:02] Production.INFO: ==2137== Lock acquired, processing the job...
[2025-03-10 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:00:02] Production.INFO: ==2139== Lock acquired, processing the job...
[2025-03-10 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:00:02] Production.INFO: ==2139== Releasing lock...
[2025-03-10 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:00:02] Production.INFO: ==2137== Releasing lock...
[2025-03-10 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:00:03] Production.INFO: ==2150== Lock acquired, processing the job...
[2025-03-10 05:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:00:03] Production.INFO: ==2152== Lock acquired, processing the job...
[2025-03-10 05:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:00:03] Production.INFO: ==2156== Lock acquired, processing the job...
[2025-03-10 05:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:00:03] Production.INFO: Account Balance Start.
[2025-03-10 05:00:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:00:03] Production.INFO: 117
[2025-03-10 05:00:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:00:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:00:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:00:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:00:04] Production.INFO: ==2142== Lock acquired, processing the job...
[2025-03-10 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 05:00:04] Production.INFO: ==2144== Lock acquired, processing the job...
[2025-03-10 05:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:00:04] Production.INFO: ==2148== Lock acquired, processing the job...
[2025-03-10 05:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 05:00:04] Production.INFO: ==2146== Lock acquired, processing the job...
[2025-03-10 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:00:04] Production.INFO: Total Charge 0
[2025-03-10 05:00:04] Production.INFO: CreateAllLog End
[2025-03-10 05:00:04] Production.INFO: count ==13
[2025-03-10 05:00:04] Production.INFO: ==2154== Lock acquired, processing the job...
[2025-03-10 05:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 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-03-10 05:00:04] Production.INFO: count ==21
[2025-03-10 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647229') start
[2025-03-10 05:00:04] Production.ERROR: done
[2025-03-10 05:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:00:04] Production.ERROR: CronJob PID - 2144
[2025-03-10 05:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 05:00:04] Production.ERROR: CronJob ID - 5
[2025-03-10 05:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:00:00
[2025-03-10 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:00:04] Production.ERROR: CronJob PID - 2146
[2025-03-10 05:00:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 05:00:04] Production.ERROR: CronJob ID - 7
[2025-03-10 05:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:00:00
[2025-03-10 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:00:04] Production.ERROR: CronJob PID - 2148
[2025-03-10 05:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 05:00:04] Production.ERROR: CronJob ID - 10
[2025-03-10 05:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:00:00
[2025-03-10 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:00:04] Production.ERROR: CronJob PID - 2150
[2025-03-10 05:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 05:00:04] Production.ERROR: CronJob ID - 12
[2025-03-10 05:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:00:00
[2025-03-10 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:00:04] Production.ERROR: CronJob PID - 2152
[2025-03-10 05:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 05:00:04] Production.ERROR: CronJob ID - 16
[2025-03-10 05:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:00:00
[2025-03-10 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:00:04] Production.ERROR: CronJob PID - 2156
[2025-03-10 05:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 05:00:04] Production.ERROR: CronJob ID - 19
[2025-03-10 05:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:00:00
[2025-03-10 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647229') end
[2025-03-10 05:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:00:04] Production.INFO: 1
[2025-03-10 05:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 05:00:04] Production.INFO: ==2142== Releasing lock...
[2025-03-10 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 05:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 05:00:04] Production.ERROR: done
[2025-03-10 05:00:04] Production.INFO: ==2156== Releasing lock...
[2025-03-10 05:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:00:04] Production.INFO: Account Balance End.
[2025-03-10 05:00:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:00:04] Production.INFO: ==2150== Releasing lock...
[2025-03-10 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:00:04] Production.INFO: ==2146== Releasing lock...
[2025-03-10 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:00:04] Production.ERROR: done
[2025-03-10 05:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 05:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647233', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 05:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:00:05
[end_date_ymd] => 2025-03-10 05:00:05
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:00:05' and `end` < '2025-03-10 05: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-03-10 05:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647233', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 05:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 05:00:09] Production.INFO: ProcessCDR(1,14647233,1,1,2)
[2025-03-10 05:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647233,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647233,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:00:09] Production.INFO: ==2154== Releasing lock...
[2025-03-10 05:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 05:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 05:00:13] Production.ERROR: CronJobId end10
[2025-03-10 05:00:13] Production.INFO: ==2148== Releasing lock...
[2025-03-10 05:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:00:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:00:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:00:16] Production.INFO: call_cost start
[2025-03-10 05:00:16] Production.INFO: call_cost end
[2025-03-10 05:00:17] Production.INFO: count ==106
[2025-03-10 05:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:00:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:00:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:00:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:00:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:00:17] Production.INFO: ==2144== Releasing lock...
[2025-03-10 05:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:00:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:00:05 - End Time 2025-03-10 05:00:05
[2025-03-10 05:00:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647232', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647232', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647232', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647232', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:00:17] Production.INFO: ProcessCDR(1,14647232,1,1,2)
[2025-03-10 05:00:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:00:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:00:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:00:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:00:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647232', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:00:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647232', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:00:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:00:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:00:20] Production.INFO: ==2152== Releasing lock...
[2025-03-10 05:00:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:00:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 09:01:01] Production.INFO: ==2215== Lock acquired, processing the job...
[2025-03-10 09:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:01:01] Production.INFO: neon service started
[2025-03-10 09:01:02] Production.INFO: neon service started
[2025-03-10 09:01:02] Production.INFO: ==2215== Releasing lock...
[2025-03-10 09:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:01:02] Production.INFO: ==2227== Lock acquired, processing the job...
[2025-03-10 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:01:02] Production.INFO: ==2227== Releasing lock...
[2025-03-10 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:01:02] Production.INFO: ==2229== Lock acquired, processing the job...
[2025-03-10 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:01:02] Production.INFO: ==2229== Releasing lock...
[2025-03-10 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:01:03] Production.INFO: ==2231== Lock acquired, processing the job...
[2025-03-10 05:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:01:03] Production.INFO: ==2233== Lock acquired, processing the job...
[2025-03-10 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:01:03] Production.INFO: ==2237== Lock acquired, processing the job...
[2025-03-10 05:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:01:03] Production.INFO: ==2235== Lock acquired, processing the job...
[2025-03-10 05:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:01:03] Production.INFO: ==2240== Lock acquired, processing the job...
[2025-03-10 05:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:01:03] Production.INFO: ==2242== Lock acquired, processing the job...
[2025-03-10 05:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:01:03] Production.INFO: Account Balance Start.
[2025-03-10 05:01:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:01:03] Production.INFO: 117
[2025-03-10 05:01:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:01:03] Production.INFO: ==2233== Releasing lock...
[2025-03-10 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:01:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:01:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 05:01:03] Production.INFO: Total Charge 0
[2025-03-10 05:01:03] Production.INFO: CreateAllLog End
[2025-03-10 05:01:03] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:01:04] Production.INFO: count ==21
[2025-03-10 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647237') start
[2025-03-10 05:01:04] Production.ERROR: done
[2025-03-10 05:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647237') end
[2025-03-10 05:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:01:04] Production.INFO: 1
[2025-03-10 05:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:01:04] Production.INFO: ==2242== Releasing lock...
[2025-03-10 05:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:01:04] Production.ERROR: done
[2025-03-10 05:01:04] Production.INFO: Account Balance End.
[2025-03-10 05:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:01:04] Production.INFO: ==2237== Releasing lock...
[2025-03-10 05:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:01:05
[end_date_ymd] => 2025-03-10 05:01:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:01:05' and `end` < '2025-03-10 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-03-10 05:01:12] Production.ERROR: CronJobId end10
[2025-03-10 05:01:12] Production.INFO: ==2235== Releasing lock...
[2025-03-10 05:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:01:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:01:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:01:14] Production.INFO: call_cost start
[2025-03-10 05:01:14] Production.INFO: call_cost end
[2025-03-10 05:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:01:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:01:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:01:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:01:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:01:15] Production.INFO: ==2231== Releasing lock...
[2025-03-10 05:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:01:18] Production.INFO: count ==104
[2025-03-10 05:01:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:01:05 - End Time 2025-03-10 05:01:05
[2025-03-10 05:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647238', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647238', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647238', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647238', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:01:18] Production.INFO: ProcessCDR(1,14647238,1,1,2)
[2025-03-10 05:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647238', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647238', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:01:21] Production.INFO: ==2240== Releasing lock...
[2025-03-10 05:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:01:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 09:02:01] Production.INFO: ==2334== Lock acquired, processing the job...
[2025-03-10 09:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:02:01] Production.INFO: neon service started
[2025-03-10 09:02:01] Production.INFO: neon service started
[2025-03-10 09:02:01] Production.INFO: ==2334== Releasing lock...
[2025-03-10 09:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:02:01] Production.INFO: ==2339== Lock acquired, processing the job...
[2025-03-10 09:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:02:01] Production.INFO: ==2339== Releasing lock...
[2025-03-10 09:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:02:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:02:02] Production.INFO: ==2337== Lock acquired, processing the job...
[2025-03-10 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:02:02] Production.INFO: ==2337== Releasing lock...
[2025-03-10 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:02:03] Production.INFO: ==2341== Lock acquired, processing the job...
[2025-03-10 05:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:02:03] Production.INFO: ==2343== Lock acquired, processing the job...
[2025-03-10 05:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:02:03] Production.INFO: ==2349== Lock acquired, processing the job...
[2025-03-10 05:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:02:03] Production.INFO: ==2343== Releasing lock...
[2025-03-10 05:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:02:03] Production.INFO: ==2345== Lock acquired, processing the job...
[2025-03-10 05:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:02:03] Production.INFO: ==2347== Lock acquired, processing the job...
[2025-03-10 05:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:02:03] Production.INFO: ==2351== Lock acquired, processing the job...
[2025-03-10 05:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:02:03] Production.INFO: Account Balance Start.
[2025-03-10 05:02:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:02:03] Production.INFO: 117
[2025-03-10 05:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:02:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 05: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-03-10 05:02:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:02:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:02:03] Production.INFO: count ==13
[2025-03-10 05:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 05: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-03-10 05:02:03] Production.INFO: count ==21
[2025-03-10 05:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647242') start
[2025-03-10 05:02:03] Production.INFO: Total Charge 0
[2025-03-10 05:02:03] Production.ERROR: done
[2025-03-10 05:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:02:04] Production.INFO: CreateAllLog End
[2025-03-10 05:02:04] Production.ERROR: done
[2025-03-10 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647242') end
[2025-03-10 05:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:02:04] Production.INFO: 1
[2025-03-10 05:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:02:04] Production.INFO: Account Balance End.
[2025-03-10 05:02:04] Production.INFO: ==2351== Releasing lock...
[2025-03-10 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:02:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:02:04] Production.INFO: ==2347== Releasing lock...
[2025-03-10 05:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:02:05
[end_date_ymd] => 2025-03-10 05:02:05
[RateCDR] => 1
)
[2025-03-10 05:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 02:02:05' and `end` < '2025-03-10 05:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 05:02:11] Production.ERROR: CronJobId end10
[2025-03-10 05:02:11] Production.INFO: ==2345== Releasing lock...
[2025-03-10 05:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:02:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:02:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:02:14] Production.INFO: call_cost start
[2025-03-10 05:02:14] Production.INFO: call_cost end
[2025-03-10 05:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:02:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:02:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:02:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:02:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:02:15] Production.INFO: ==2341== Releasing lock...
[2025-03-10 05:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:02:17] Production.INFO: count ==114
[2025-03-10 05:02:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:02:05 - End Time 2025-03-10 05:02:05
[2025-03-10 05:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647243', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647243', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647243', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647243', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:02:17] Production.INFO: ProcessCDR(1,14647243,1,1,2)
[2025-03-10 05:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647243', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647243', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:02:21] Production.INFO: ==2349== Releasing lock...
[2025-03-10 05:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:02:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:03:01] Production.INFO: ==2412== Lock acquired, processing the job...
[2025-03-10 09:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:03:01] Production.INFO: neon service started
[2025-03-10 09:03:02] Production.INFO: neon service started
[2025-03-10 09:03:02] Production.INFO: ==2412== Releasing lock...
[2025-03-10 09:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:03:02] Production.INFO: ==2414== Lock acquired, processing the job...
[2025-03-10 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:03:02] Production.INFO: ==2416== Lock acquired, processing the job...
[2025-03-10 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:03:02] Production.INFO: ==2414== Releasing lock...
[2025-03-10 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:03:02] Production.INFO: ==2416== Releasing lock...
[2025-03-10 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:03:03] Production.INFO: ==2425== Lock acquired, processing the job...
[2025-03-10 05:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:03:03] Production.INFO: ==2418== Lock acquired, processing the job...
[2025-03-10 05:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:03:03] Production.INFO: ==2429== Lock acquired, processing the job...
[2025-03-10 05:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:03:03] Production.INFO: Account Balance Start.
[2025-03-10 05:03:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:03:03] Production.INFO: 117
[2025-03-10 05:03:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:03:03] Production.INFO: ==2421== Lock acquired, processing the job...
[2025-03-10 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:03:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 05:03:03] Production.INFO: ==2423== Lock acquired, processing the job...
[2025-03-10 05:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:03:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:03:03] Production.INFO: count ==13
[2025-03-10 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-03-10 05:03:03] Production.INFO: count ==21
[2025-03-10 05:03:03] Production.INFO: ==2427== Lock acquired, processing the job...
[2025-03-10 05:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647245') start
[2025-03-10 05:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:03:04] Production.INFO: Total Charge 0
[2025-03-10 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647245') end
[2025-03-10 05:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:03:04] Production.INFO: 1
[2025-03-10 05:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:03:04] Production.INFO: CreateAllLog End
[2025-03-10 05:03:04] Production.INFO: ==2429== Releasing lock...
[2025-03-10 05:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:03:04] Production.INFO: ==2421== Releasing lock...
[2025-03-10 05:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:03:04] Production.ERROR: done
[2025-03-10 05:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:03:04] Production.INFO: Account Balance End.
[2025-03-10 05:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:03:04] Production.INFO: ==2425== Releasing lock...
[2025-03-10 05:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:03:04] Production.ERROR: done
[2025-03-10 05:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:03:05
[end_date_ymd] => 2025-03-10 05:03:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:03:05' and `end` < '2025-03-10 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-03-10 05:03:12] Production.ERROR: CronJobId end10
[2025-03-10 05:03:12] Production.INFO: ==2423== Releasing lock...
[2025-03-10 05:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:03:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:03:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:03:14] Production.INFO: call_cost start
[2025-03-10 05:03:14] Production.INFO: call_cost end
[2025-03-10 05:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:03:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:03:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:03:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:03:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:03:14] Production.INFO: ==2418== Releasing lock...
[2025-03-10 05:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:03:17] Production.INFO: count ==114
[2025-03-10 05:03:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:03:05 - End Time 2025-03-10 05:03:05
[2025-03-10 05:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647248', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647248', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647248', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647248', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:03:17] Production.INFO: ProcessCDR(1,14647248,1,1,2)
[2025-03-10 05:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:03:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647248', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647248', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:03:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:03:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:03:20] Production.INFO: ==2427== Releasing lock...
[2025-03-10 05:03:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:03:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:04:01] Production.INFO: ==2486== Lock acquired, processing the job...
[2025-03-10 09:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:04:01] Production.INFO: neon service started
[2025-03-10 09:04:01] Production.INFO: neon service started
[2025-03-10 09:04:01] Production.INFO: ==2486== Releasing lock...
[2025-03-10 09:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:04:01] Production.INFO: ==2488== Lock acquired, processing the job...
[2025-03-10 05:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:04:02] Production.INFO: ==2490== Lock acquired, processing the job...
[2025-03-10 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:04:02] Production.INFO: ==2490== Releasing lock...
[2025-03-10 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:04:02] Production.INFO: ==2488== Releasing lock...
[2025-03-10 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:04:03] Production.INFO: ==2495== Lock acquired, processing the job...
[2025-03-10 05:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:04:03] Production.INFO: ==2499== Lock acquired, processing the job...
[2025-03-10 05:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:04:03] Production.INFO: ==2503== Lock acquired, processing the job...
[2025-03-10 05:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:04:03] Production.INFO: Account Balance Start.
[2025-03-10 05:04:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:04:03] Production.INFO: 117
[2025-03-10 05:04:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 05: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-03-10 05:04:03] Production.INFO: ==2493== Lock acquired, processing the job...
[2025-03-10 05:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:04:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:04:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:04:03] Production.INFO: count ==13
[2025-03-10 05:04:03] Production.INFO: Total Charge 0
[2025-03-10 05: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-03-10 05:04:03] Production.INFO: ==2497== Lock acquired, processing the job...
[2025-03-10 05:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:04:03] Production.INFO: count ==21
[2025-03-10 05:04:03] Production.INFO: CreateAllLog End
[2025-03-10 05:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:04:03] Production.INFO: ==2501== Lock acquired, processing the job...
[2025-03-10 05:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647251') start
[2025-03-10 05:04:03] Production.INFO: ==2495== Releasing lock...
[2025-03-10 05:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647251') end
[2025-03-10 05:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:04:03] Production.INFO: 1
[2025-03-10 05:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:04:03] Production.INFO: ==2503== Releasing lock...
[2025-03-10 05:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:04:03] Production.INFO: Account Balance End.
[2025-03-10 05:04:03] Production.ERROR: CronJobId end 12
[2025-03-10 05:04:03] Production.INFO: ==2499== Releasing lock...
[2025-03-10 05:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:04:04] Production.ERROR: done
[2025-03-10 05:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:04:04] Production.ERROR: done
[2025-03-10 05:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:04:05
[end_date_ymd] => 2025-03-10 05:04:05
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:04:05' and `end` < '2025-03-10 05: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-03-10 05:04:10] Production.ERROR: CronJobId end10
[2025-03-10 05:04:10] Production.INFO: ==2497== Releasing lock...
[2025-03-10 05:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:04:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:04:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:04:13] Production.INFO: call_cost start
[2025-03-10 05:04:13] Production.INFO: call_cost end
[2025-03-10 05:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:04:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:04:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:04:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:04:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:04:14] Production.INFO: ==2493== Releasing lock...
[2025-03-10 05:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:04:17] Production.INFO: count ==114
[2025-03-10 05:04:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:04:05 - End Time 2025-03-10 05:04:05
[2025-03-10 05:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647253', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647253', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647253', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647253', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:04:17] Production.INFO: ProcessCDR(1,14647253,1,1,2)
[2025-03-10 05:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647253', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647253', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:04:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:04:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:04:20] Production.INFO: ==2501== Releasing lock...
[2025-03-10 05:04:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:04:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:05:01] Production.INFO: ==2556== Lock acquired, processing the job...
[2025-03-10 09:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:05:01] Production.INFO: neon service started
[2025-03-10 09:05:01] Production.INFO: neon service started
[2025-03-10 09:05:01] Production.INFO: ==2556== Releasing lock...
[2025-03-10 09:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:05:02] Production.INFO: ==2560== Lock acquired, processing the job...
[2025-03-10 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:05:02] Production.INFO: ==2560== Releasing lock...
[2025-03-10 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:05:02] Production.INFO: 26 MB #Memory Used#
[2025-03-10 05:05:02] Production.INFO: ==2558== Lock acquired, processing the job...
[2025-03-10 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:05:02] Production.INFO: ==2558== Releasing lock...
[2025-03-10 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:05:03] Production.INFO: ==2563== Lock acquired, processing the job...
[2025-03-10 05:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:05:03] Production.INFO: ==2565== Lock acquired, processing the job...
[2025-03-10 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:05:03] Production.INFO: ==2569== Lock acquired, processing the job...
[2025-03-10 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:05:03] Production.INFO: Account Balance Start.
[2025-03-10 05:05:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:05:03] Production.INFO: 117
[2025-03-10 05:05:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:05:03] Production.INFO: ==2567== Lock acquired, processing the job...
[2025-03-10 05:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:05:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:05:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:05:03] Production.INFO: Total Charge 0
[2025-03-10 05:05:03] Production.INFO: ==2565== Releasing lock...
[2025-03-10 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:05:03] Production.INFO: CreateAllLog End
[2025-03-10 05:05:03] Production.INFO: ==2573== Lock acquired, processing the job...
[2025-03-10 05:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:05:04] Production.INFO: ==2571== Lock acquired, processing the job...
[2025-03-10 05:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:05:04] Production.INFO: Account Balance End.
[2025-03-10 05: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-03-10 05:05:04] Production.INFO: count ==13
[2025-03-10 05:05:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:05:04] Production.INFO: ==2569== Releasing lock...
[2025-03-10 05:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05: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-03-10 05:05:04] Production.INFO: count ==21
[2025-03-10 05:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647257') start
[2025-03-10 05:05:04] Production.ERROR: done
[2025-03-10 05:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647257') end
[2025-03-10 05:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:05:04] Production.INFO: 1
[2025-03-10 05:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:05:04] Production.INFO: ==2573== Releasing lock...
[2025-03-10 05:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:05:04] Production.ERROR: done
[2025-03-10 05:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:05:05
[end_date_ymd] => 2025-03-10 05:05:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:05:05' and `end` < '2025-03-10 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-03-10 05:05:10] Production.ERROR: CronJobId end10
[2025-03-10 05:05:10] Production.INFO: ==2567== Releasing lock...
[2025-03-10 05:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:05:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:05:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:05:13] Production.INFO: call_cost start
[2025-03-10 05:05:13] Production.INFO: call_cost end
[2025-03-10 05:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:05:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:05:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:05:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:05:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:05:14] Production.INFO: ==2563== Releasing lock...
[2025-03-10 05:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:05:18] Production.INFO: count ==118
[2025-03-10 05:05:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:05:05 - End Time 2025-03-10 05:05:05
[2025-03-10 05:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647258', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647258', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647258', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647258', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:05:18] Production.INFO: ProcessCDR(1,14647258,1,1,2)
[2025-03-10 05:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647258', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647258', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:05:21] Production.INFO: ==2571== Releasing lock...
[2025-03-10 05:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:05:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:06:02] Production.INFO: ==2626== Lock acquired, processing the job...
[2025-03-10 09:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:06:02] Production.INFO: neon service started
[2025-03-10 09:06:02] Production.INFO: neon service started
[2025-03-10 09:06:02] Production.INFO: ==2626== Releasing lock...
[2025-03-10 09:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:06:02] Production.INFO: ==2630== Lock acquired, processing the job...
[2025-03-10 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:06:02] Production.INFO: ==2630== Releasing lock...
[2025-03-10 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:06:02] Production.INFO: ==2628== Lock acquired, processing the job...
[2025-03-10 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:06:03] Production.INFO: ==2628== Releasing lock...
[2025-03-10 05:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:06:03] Production.INFO: ==2637== Lock acquired, processing the job...
[2025-03-10 05:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:06:04] Production.INFO: ==2643== Lock acquired, processing the job...
[2025-03-10 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 05:06:04] Production.INFO: ==2633== Lock acquired, processing the job...
[2025-03-10 05:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:06:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:06:04] Production.INFO: count ==21
[2025-03-10 05:06:04] Production.INFO: ==2635== Lock acquired, processing the job...
[2025-03-10 05:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647259') start
[2025-03-10 05:06:04] Production.INFO: ==2639== Lock acquired, processing the job...
[2025-03-10 05:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:06:04] Production.INFO: ==2641== Lock acquired, processing the job...
[2025-03-10 05:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647259') end
[2025-03-10 05:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:06:04] Production.INFO: 1
[2025-03-10 05:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:06:04] Production.INFO: ==2643== Releasing lock...
[2025-03-10 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:06:04] Production.INFO: Account Balance Start.
[2025-03-10 05:06:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:06:04] Production.INFO: 117
[2025-03-10 05:06:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:06:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:06:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:06:04] Production.INFO: Total Charge 0
[2025-03-10 05:06:04] Production.INFO: CreateAllLog End
[2025-03-10 05:06:04] Production.INFO: ==2635== Releasing lock...
[2025-03-10 05:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:06:04] Production.ERROR: done
[2025-03-10 05:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:06:04] Production.INFO: Account Balance End.
[2025-03-10 05:06:05] Production.ERROR: CronJobId end 12
[2025-03-10 05:06:05] Production.INFO: ==2639== Releasing lock...
[2025-03-10 05:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:06:05] Production.ERROR: done
[2025-03-10 05:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:06:05
[end_date_ymd] => 2025-03-10 05:06:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:06:05' and `end` < '2025-03-10 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-03-10 05:06:11] Production.ERROR: CronJobId end10
[2025-03-10 05:06:11] Production.INFO: ==2637== Releasing lock...
[2025-03-10 05:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:06:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:06:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:06:14] Production.INFO: call_cost start
[2025-03-10 05:06:14] Production.INFO: call_cost end
[2025-03-10 05:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:06:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:06:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:06:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:06:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:06:15] Production.INFO: ==2633== Releasing lock...
[2025-03-10 05:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:06:18] Production.INFO: count ==118
[2025-03-10 05:06:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:06:05 - End Time 2025-03-10 05:06:05
[2025-03-10 05:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647263', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647263', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647263', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647263', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:06:18] Production.INFO: ProcessCDR(1,14647263,1,1,2)
[2025-03-10 05:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647263', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647263', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:06:21] Production.INFO: ==2641== Releasing lock...
[2025-03-10 05:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:06:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:07:01] Production.INFO: ==2703== Lock acquired, processing the job...
[2025-03-10 09:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:07:01] Production.INFO: neon service started
[2025-03-10 09:07:01] Production.INFO: neon service started
[2025-03-10 09:07:01] Production.INFO: ==2703== Releasing lock...
[2025-03-10 09:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:07:02] Production.INFO: ==2705== Lock acquired, processing the job...
[2025-03-10 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:07:02] Production.INFO: ==2705== Releasing lock...
[2025-03-10 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:07:02] Production.INFO: ==2707== Lock acquired, processing the job...
[2025-03-10 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:07:02] Production.INFO: ==2707== Releasing lock...
[2025-03-10 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:07:03] Production.INFO: ==2710== Lock acquired, processing the job...
[2025-03-10 05:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:07:03] Production.INFO: ==2716== Lock acquired, processing the job...
[2025-03-10 05:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:07:03] Production.INFO: ==2718== Lock acquired, processing the job...
[2025-03-10 05:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:07:03] Production.INFO: Account Balance Start.
[2025-03-10 05:07:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:07:03] Production.INFO: 117
[2025-03-10 05:07:03] Production.INFO: ==2714== Lock acquired, processing the job...
[2025-03-10 05:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:07:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:07:03] Production.INFO: ==2712== Lock acquired, processing the job...
[2025-03-10 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:07:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:07:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:07:03] Production.INFO: ==2720== Lock acquired, processing the job...
[2025-03-10 05:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:07:03] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 05:07:03] Production.INFO: CreateAllLog End
[2025-03-10 05:07:03] Production.INFO: count ==13
[2025-03-10 05:07:03] Production.ERROR: done
[2025-03-10 05:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 05:07:03] Production.INFO: ==2712== Releasing lock...
[2025-03-10 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:07:03] Production.INFO: count ==21
[2025-03-10 05:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647267') start
[2025-03-10 05:07:04] Production.ERROR: done
[2025-03-10 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647267') end
[2025-03-10 05:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:07:04] Production.INFO: 1
[2025-03-10 05:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:07:04] Production.INFO: Account Balance End.
[2025-03-10 05:07:04] Production.INFO: ==2720== Releasing lock...
[2025-03-10 05:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:07:04] Production.INFO: ==2716== Releasing lock...
[2025-03-10 05:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:07:05
[end_date_ymd] => 2025-03-10 05:07:05
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:07:05' and `end` < '2025-03-10 05: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-03-10 05:07:13] Production.ERROR: CronJobId end10
[2025-03-10 05:07:13] Production.INFO: ==2714== Releasing lock...
[2025-03-10 05:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:07:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:07:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:07:14] Production.INFO: call_cost start
[2025-03-10 05:07:14] Production.INFO: call_cost end
[2025-03-10 05:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:07:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:07:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:07:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:07:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:07:15] Production.INFO: ==2710== Releasing lock...
[2025-03-10 05:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:07:17] Production.INFO: count ==118
[2025-03-10 05:07:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:07:05 - End Time 2025-03-10 05:07:05
[2025-03-10 05:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647268', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647268', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647268', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647268', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:07:17] Production.INFO: ProcessCDR(1,14647268,1,1,2)
[2025-03-10 05:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647268', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647268', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:07:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:07:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:07:20] Production.INFO: ==2718== Releasing lock...
[2025-03-10 05:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:07:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:08:02] Production.INFO: ==2776== Lock acquired, processing the job...
[2025-03-10 09:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:08:02] Production.INFO: neon service started
[2025-03-10 09:08:02] Production.INFO: neon service started
[2025-03-10 09:08:02] Production.INFO: ==2776== Releasing lock...
[2025-03-10 09:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:08:02] Production.INFO: ==2780== Lock acquired, processing the job...
[2025-03-10 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:08:02] Production.INFO: ==2780== Releasing lock...
[2025-03-10 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:08:02] Production.INFO: ==2778== Lock acquired, processing the job...
[2025-03-10 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:08:03] Production.INFO: ==2778== Releasing lock...
[2025-03-10 05:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:08:03] Production.INFO: ==2787== Lock acquired, processing the job...
[2025-03-10 05:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:08:03] Production.INFO: ==2793== Lock acquired, processing the job...
[2025-03-10 05:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 05:08:04] Production.INFO: ==2783== Lock acquired, processing the job...
[2025-03-10 05:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:08:04] Production.INFO: ==2785== Lock acquired, processing the job...
[2025-03-10 05:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:08:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:08:04] Production.INFO: count ==21
[2025-03-10 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647269') start
[2025-03-10 05:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:08:04] Production.INFO: ==2789== Lock acquired, processing the job...
[2025-03-10 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:08:04] Production.INFO: ==2791== Lock acquired, processing the job...
[2025-03-10 05:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:08:04] Production.INFO: Account Balance Start.
[2025-03-10 05:08:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:08:04] Production.INFO: 117
[2025-03-10 05:08:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647269') end
[2025-03-10 05:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:08:04] Production.INFO: 1
[2025-03-10 05:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:08:04] Production.INFO: ==2793== Releasing lock...
[2025-03-10 05:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:08:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:08:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:08:04] Production.INFO: Total Charge 0
[2025-03-10 05:08:04] Production.INFO: CreateAllLog End
[2025-03-10 05:08:04] Production.INFO: ==2785== Releasing lock...
[2025-03-10 05:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:08:04] Production.ERROR: done
[2025-03-10 05:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:08:04] Production.INFO: Account Balance End.
[2025-03-10 05:08:04] Production.ERROR: done
[2025-03-10 05:08:05] Production.ERROR: CronJobId end 12
[2025-03-10 05:08:05] Production.INFO: ==2789== Releasing lock...
[2025-03-10 05:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:08:05
[end_date_ymd] => 2025-03-10 05:08:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:08:05' and `end` < '2025-03-10 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-03-10 05:08:11] Production.ERROR: CronJobId end10
[2025-03-10 05:08:11] Production.INFO: ==2787== Releasing lock...
[2025-03-10 05:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:08:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:08:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:08:14] Production.INFO: call_cost start
[2025-03-10 05:08:14] Production.INFO: call_cost end
[2025-03-10 05:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:08:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:08:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:08:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:08:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:08:15] Production.INFO: ==2783== Releasing lock...
[2025-03-10 05:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:08:17] Production.INFO: count ==118
[2025-03-10 05:08:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:08:05 - End Time 2025-03-10 05:08:05
[2025-03-10 05:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647273', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647273', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647273', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647273', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:08:18] Production.INFO: ProcessCDR(1,14647273,1,1,2)
[2025-03-10 05:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647273', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647273', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:08:21] Production.INFO: ==2791== Releasing lock...
[2025-03-10 05:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:08:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:09:01] Production.INFO: ==2848== Lock acquired, processing the job...
[2025-03-10 09:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:09:01] Production.INFO: neon service started
[2025-03-10 09:09:01] Production.INFO: neon service started
[2025-03-10 09:09:01] Production.INFO: ==2848== Releasing lock...
[2025-03-10 09:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:09:01] Production.INFO: ==2850== Lock acquired, processing the job...
[2025-03-10 05:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:09:02] Production.INFO: ==2850== Releasing lock...
[2025-03-10 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:09:02] Production.INFO: ==2852== Lock acquired, processing the job...
[2025-03-10 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:09:02] Production.INFO: ==2852== Releasing lock...
[2025-03-10 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:09:03] Production.INFO: ==2859== Lock acquired, processing the job...
[2025-03-10 05:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:09:03] Production.INFO: ==2863== Lock acquired, processing the job...
[2025-03-10 05:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:09:03] Production.INFO: ==2857== Lock acquired, processing the job...
[2025-03-10 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:09:03] Production.INFO: ==2855== Lock acquired, processing the job...
[2025-03-10 05:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:09:03] Production.INFO: ==2861== Lock acquired, processing the job...
[2025-03-10 05:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:09:03] Production.INFO: ==2865== Lock acquired, processing the job...
[2025-03-10 05:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:09:03] Production.INFO: Account Balance Start.
[2025-03-10 05:09:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:09:03] Production.INFO: 117
[2025-03-10 05:09:03] Production.INFO: Date 2025-03-08
[2025-03-10 05: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-03-10 05:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:09:03] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:09:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:09:03] Production.INFO: count ==21
[2025-03-10 05:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647275') start
[2025-03-10 05:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:09:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:09:03] Production.ERROR: done
[2025-03-10 05:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:09:03] Production.INFO: Total Charge 0
[2025-03-10 05:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647275') end
[2025-03-10 05:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:09:03] Production.INFO: 1
[2025-03-10 05:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:09:03] Production.INFO: CreateAllLog End
[2025-03-10 05:09:03] Production.INFO: ==2865== Releasing lock...
[2025-03-10 05:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:09:03] Production.ERROR: done
[2025-03-10 05:09:04] Production.INFO: ==2857== Releasing lock...
[2025-03-10 05:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:09:04] Production.INFO: Account Balance End.
[2025-03-10 05:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:09:04] Production.INFO: ==2861== Releasing lock...
[2025-03-10 05:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:09:05
[end_date_ymd] => 2025-03-10 05:09:05
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:09:05' and `end` < '2025-03-10 05: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-03-10 05:09:11] Production.ERROR: CronJobId end10
[2025-03-10 05:09:11] Production.INFO: ==2859== Releasing lock...
[2025-03-10 05:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:09:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:09:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:09:14] Production.INFO: call_cost start
[2025-03-10 05:09:14] Production.INFO: call_cost end
[2025-03-10 05:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:09:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:09:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:09:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:09:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:09:15] Production.INFO: ==2855== Releasing lock...
[2025-03-10 05:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:09:17] Production.INFO: count ==117
[2025-03-10 05:09:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:09:05 - End Time 2025-03-10 05:09:05
[2025-03-10 05:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647278', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647278', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647278', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647278', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:09:17] Production.INFO: ProcessCDR(1,14647278,1,1,2)
[2025-03-10 05:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647278', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647278', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:09:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:09:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:09:20] Production.INFO: ==2863== Releasing lock...
[2025-03-10 05:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:09:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 09:10:02] Production.INFO: ==2922== Lock acquired, processing the job...
[2025-03-10 09:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:10:02] Production.INFO: neon service started
[2025-03-10 09:10:02] Production.INFO: neon service started
[2025-03-10 09:10:02] Production.INFO: ==2922== Releasing lock...
[2025-03-10 09:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:10:02] Production.INFO: ==2926== Lock acquired, processing the job...
[2025-03-10 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:10:02] Production.INFO: ==2926== Releasing lock...
[2025-03-10 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:10:02] Production.INFO: ==2924== Lock acquired, processing the job...
[2025-03-10 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:10:03] Production.INFO: ==2924== Releasing lock...
[2025-03-10 05:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:10:04] Production.INFO: ==2933== Lock acquired, processing the job...
[2025-03-10 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:10:04] Production.INFO: ==2929== Lock acquired, processing the job...
[2025-03-10 05:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 05:10:04] Production.INFO: ==2937== Lock acquired, processing the job...
[2025-03-10 05:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:10:04] Production.INFO: ==2931== Lock acquired, processing the job...
[2025-03-10 05:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 05:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:10:04] Production.ERROR: CronJob PID - 2933
[2025-03-10 05:10:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 05:10:04] Production.ERROR: CronJob ID - 7
[2025-03-10 05:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:10:00
[2025-03-10 05:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:10:04] Production.ERROR: CronJob PID - 2937
[2025-03-10 05:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 05:10:04] Production.ERROR: CronJob ID - 12
[2025-03-10 05:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:10:00
[2025-03-10 05:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 05:10:04] Production.INFO: ==2929== Releasing lock...
[2025-03-10 05:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 05:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 05:10:04] Production.INFO: ==2941== Lock acquired, processing the job...
[2025-03-10 05:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 05:10:04] Production.INFO: Account Balance Start.
[2025-03-10 05:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:10:04] Production.INFO: 117
[2025-03-10 05:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:10:04] Production.INFO: ==2935== Lock acquired, processing the job...
[2025-03-10 05:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:10:04] Production.INFO: ==2933== Releasing lock...
[2025-03-10 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:10:04] Production.INFO: Total Charge 0
[2025-03-10 05:10:04] Production.INFO: ==2939== Lock acquired, processing the job...
[2025-03-10 05:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:10:04] Production.INFO: CreateAllLog End
[2025-03-10 05:10:04] Production.INFO: ==2943== Lock acquired, processing the job...
[2025-03-10 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 05:10:04] Production.INFO: count ==13
[2025-03-10 05:10:04] Production.INFO: Account Balance End.
[2025-03-10 05: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-03-10 05:10:05] Production.INFO: count ==21
[2025-03-10 05:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 05:10:05] Production.INFO: ==2937== Releasing lock...
[2025-03-10 05:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647282') start
[2025-03-10 05:10:05] Production.ERROR: done
[2025-03-10 05:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647282') end
[2025-03-10 05:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:10:05] Production.INFO: 1
[2025-03-10 05:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 05:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647283', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 05:10:05] Production.INFO: ==2943== Releasing lock...
[2025-03-10 05:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:10:05] Production.ERROR: done
[2025-03-10 05:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:10:05] Production.ERROR: done
[2025-03-10 05:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:10:06
[end_date_ymd] => 2025-03-10 05:10:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:10:06' and `end` < '2025-03-10 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-03-10 05:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647283', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 05:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 05:10:09] Production.INFO: ProcessCDR(1,14647283,1,1,2)
[2025-03-10 05:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647283,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647283,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:10:09] Production.INFO: ==2941== Releasing lock...
[2025-03-10 05:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 05:10:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 05:10:13] Production.ERROR: CronJobId end10
[2025-03-10 05:10:13] Production.INFO: ==2935== Releasing lock...
[2025-03-10 05:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:10:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:10:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:10:16] Production.INFO: call_cost start
[2025-03-10 05:10:16] Production.INFO: call_cost end
[2025-03-10 05:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:10:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:10:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:10:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:10:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:10:17] Production.INFO: ==2931== Releasing lock...
[2025-03-10 05:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:10:18] Production.INFO: count ==109
[2025-03-10 05:10:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:10:06 - End Time 2025-03-10 05:10:06
[2025-03-10 05:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647284', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647284', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647284', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647284', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:10:18] Production.INFO: ProcessCDR(1,14647284,1,1,2)
[2025-03-10 05:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647284', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647284', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:10:21] Production.INFO: ==2939== Releasing lock...
[2025-03-10 05:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:10:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:11:01] Production.INFO: ==2998== Lock acquired, processing the job...
[2025-03-10 09:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:11:01] Production.INFO: neon service started
[2025-03-10 09:11:01] Production.INFO: neon service started
[2025-03-10 09:11:01] Production.INFO: ==2998== Releasing lock...
[2025-03-10 09:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:11:01] Production.INFO: ==3002== Lock acquired, processing the job...
[2025-03-10 09:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:11:01] Production.INFO: ==3002== Releasing lock...
[2025-03-10 09:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:11:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:11:02] Production.INFO: ==3000== Lock acquired, processing the job...
[2025-03-10 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:11:02] Production.INFO: ==3000== Releasing lock...
[2025-03-10 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:11:03] Production.INFO: ==3007== Lock acquired, processing the job...
[2025-03-10 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:11:03] Production.INFO: ==3005== Lock acquired, processing the job...
[2025-03-10 05:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:11:03] Production.INFO: ==3011== Lock acquired, processing the job...
[2025-03-10 05:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:11:03] Production.INFO: Account Balance Start.
[2025-03-10 05:11:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:11:03] Production.INFO: 117
[2025-03-10 05:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:11:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:11:03] Production.INFO: ==3009== Lock acquired, processing the job...
[2025-03-10 05:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:11:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:11:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:11:03] Production.INFO: Total Charge 0
[2025-03-10 05:11:03] Production.INFO: CreateAllLog End
[2025-03-10 05:11:03] Production.INFO: ==3013== Lock acquired, processing the job...
[2025-03-10 05:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:11:03] Production.INFO: ==3007== Releasing lock...
[2025-03-10 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:11:03] Production.INFO: Account Balance End.
[2025-03-10 05:11:03] Production.INFO: ==3015== Lock acquired, processing the job...
[2025-03-10 05:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:11:03] Production.ERROR: CronJobId end 12
[2025-03-10 05:11:03] Production.INFO: ==3011== Releasing lock...
[2025-03-10 05:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 05:11:04] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:11:04] Production.INFO: count ==21
[2025-03-10 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647288') start
[2025-03-10 05:11:04] Production.ERROR: done
[2025-03-10 05:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647288') end
[2025-03-10 05:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:11:04] Production.INFO: 1
[2025-03-10 05:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:11:04] Production.INFO: ==3015== Releasing lock...
[2025-03-10 05:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:11:04] Production.ERROR: done
[2025-03-10 05:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:11:05
[end_date_ymd] => 2025-03-10 05:11:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:11:05' and `end` < '2025-03-10 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-03-10 05:11:11] Production.ERROR: CronJobId end10
[2025-03-10 05:11:11] Production.INFO: ==3009== Releasing lock...
[2025-03-10 05:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:11:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:11:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:11:13] Production.INFO: call_cost start
[2025-03-10 05:11:13] Production.INFO: call_cost end
[2025-03-10 05:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:11:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:11:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:11:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:11:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:11:14] Production.INFO: ==3005== Releasing lock...
[2025-03-10 05:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:11:17] Production.INFO: count ==109
[2025-03-10 05:11:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:11:05 - End Time 2025-03-10 05:11:05
[2025-03-10 05:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647289', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647289', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647289', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647289', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:11:17] Production.INFO: ProcessCDR(1,14647289,1,1,2)
[2025-03-10 05:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647289', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647289', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:11:21] Production.INFO: ==3013== Releasing lock...
[2025-03-10 05:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:11:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:12:02] Production.INFO: ==3070== Lock acquired, processing the job...
[2025-03-10 09:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:12:02] Production.INFO: neon service started
[2025-03-10 09:12:02] Production.INFO: neon service started
[2025-03-10 09:12:02] Production.INFO: ==3070== Releasing lock...
[2025-03-10 09:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:12:02] Production.INFO: ==3072== Lock acquired, processing the job...
[2025-03-10 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:12:02] Production.INFO: ==3074== Lock acquired, processing the job...
[2025-03-10 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:12:02] Production.INFO: ==3072== Releasing lock...
[2025-03-10 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:12:02] Production.INFO: ==3074== Releasing lock...
[2025-03-10 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:12:03] Production.INFO: ==3083== Lock acquired, processing the job...
[2025-03-10 05:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:12:03] Production.INFO: ==3087== Lock acquired, processing the job...
[2025-03-10 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:12:03] Production.INFO: Account Balance Start.
[2025-03-10 05:12:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:12:03] Production.INFO: 117
[2025-03-10 05:12:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:12:03] Production.INFO: ==3077== Lock acquired, processing the job...
[2025-03-10 05:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 05:12:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:12:03] Production.INFO: count ==13
[2025-03-10 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-03-10 05:12:03] Production.INFO: count ==21
[2025-03-10 05:12:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647291') start
[2025-03-10 05:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:12:03] Production.INFO: Total Charge 0
[2025-03-10 05:12:03] Production.INFO: ==3081== Lock acquired, processing the job...
[2025-03-10 05:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:12:03] Production.INFO: CreateAllLog End
[2025-03-10 05:12:03] Production.INFO: ==3079== Lock acquired, processing the job...
[2025-03-10 05:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647291') end
[2025-03-10 05:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:12:03] Production.INFO: 1
[2025-03-10 05:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:12:03] Production.INFO: ==3085== Lock acquired, processing the job...
[2025-03-10 05:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:12:03] Production.INFO: ==3087== Releasing lock...
[2025-03-10 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:12:04] Production.INFO: Account Balance End.
[2025-03-10 05:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:12:04] Production.INFO: ==3083== Releasing lock...
[2025-03-10 05:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:12:04] Production.ERROR: done
[2025-03-10 05:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:12:04] Production.INFO: ==3079== Releasing lock...
[2025-03-10 05:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:12:04] Production.ERROR: done
[2025-03-10 05:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:12:05
[end_date_ymd] => 2025-03-10 05:12:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:12:05' and `end` < '2025-03-10 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-03-10 05:12:12] Production.ERROR: CronJobId end10
[2025-03-10 05:12:12] Production.INFO: ==3081== Releasing lock...
[2025-03-10 05:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:12:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:12:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:12:14] Production.INFO: call_cost start
[2025-03-10 05:12:14] Production.INFO: call_cost end
[2025-03-10 05:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:12:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:12:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:12:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:12:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:12:15] Production.INFO: ==3077== Releasing lock...
[2025-03-10 05:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:12:17] Production.INFO: count ==109
[2025-03-10 05:12:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:12:05 - End Time 2025-03-10 05:12:05
[2025-03-10 05:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647294', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647294', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647294', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647294', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:12:17] Production.INFO: ProcessCDR(1,14647294,1,1,2)
[2025-03-10 05:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647294', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647294', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:12:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:12:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:12:20] Production.INFO: ==3085== Releasing lock...
[2025-03-10 05:12:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:12:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:13:01] Production.INFO: ==3143== Lock acquired, processing the job...
[2025-03-10 09:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:13:01] Production.INFO: neon service started
[2025-03-10 09:13:01] Production.INFO: neon service started
[2025-03-10 09:13:01] Production.INFO: ==3143== Releasing lock...
[2025-03-10 09:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:13:01] Production.INFO: ==3147== Lock acquired, processing the job...
[2025-03-10 09:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:13:01] Production.INFO: ==3147== Releasing lock...
[2025-03-10 09:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:13:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:13:02] Production.INFO: ==3145== Lock acquired, processing the job...
[2025-03-10 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:13:02] Production.INFO: ==3145== Releasing lock...
[2025-03-10 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:13:02] Production.INFO: ==3150== Lock acquired, processing the job...
[2025-03-10 05:13:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:13:03] Production.INFO: ==3152== Lock acquired, processing the job...
[2025-03-10 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:13:03] Production.INFO: ==3154== Lock acquired, processing the job...
[2025-03-10 05:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:13:03] Production.INFO: ==3152== Releasing lock...
[2025-03-10 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:13:03] Production.INFO: ==3156== Lock acquired, processing the job...
[2025-03-10 05:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:13:03] Production.INFO: ==3158== Lock acquired, processing the job...
[2025-03-10 05:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:13:03] Production.INFO: Account Balance Start.
[2025-03-10 05:13:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:13:03] Production.INFO: 117
[2025-03-10 05:13:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:13:03] Production.INFO: ==3160== Lock acquired, processing the job...
[2025-03-10 05:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:13:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:13:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:13:03] Production.INFO: Total Charge 0
[2025-03-10 05: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-03-10 05:13:03] Production.INFO: CreateAllLog End
[2025-03-10 05:13:03] Production.INFO: count ==13
[2025-03-10 05:13:03] Production.ERROR: done
[2025-03-10 05: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-03-10 05:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:13:03] Production.INFO: count ==21
[2025-03-10 05:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647298') start
[2025-03-10 05:13:04] Production.ERROR: done
[2025-03-10 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647298') end
[2025-03-10 05:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:13:04] Production.INFO: 1
[2025-03-10 05:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:13:04] Production.INFO: Account Balance End.
[2025-03-10 05:13:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:13:04] Production.INFO: ==3156== Releasing lock...
[2025-03-10 05:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:13:04] Production.INFO: ==3160== Releasing lock...
[2025-03-10 05:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:13:05
[end_date_ymd] => 2025-03-10 05:13:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:13:05' and `end` < '2025-03-10 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-03-10 05:13:11] Production.ERROR: CronJobId end10
[2025-03-10 05:13:11] Production.INFO: ==3154== Releasing lock...
[2025-03-10 05:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:13:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:13:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:13:14] Production.INFO: call_cost start
[2025-03-10 05:13:14] Production.INFO: call_cost end
[2025-03-10 05:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:13:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:13:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:13:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:13:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:13:15] Production.INFO: ==3150== Releasing lock...
[2025-03-10 05:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:13:17] Production.INFO: count ==109
[2025-03-10 05:13:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:13:05 - End Time 2025-03-10 05:13:05
[2025-03-10 05:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647299', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647299', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647299', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647299', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:13:17] Production.INFO: ProcessCDR(1,14647299,1,1,2)
[2025-03-10 05:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647299', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647299', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:13:20] Production.INFO: ==3158== Releasing lock...
[2025-03-10 05:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:13:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:14:01] Production.INFO: ==3216== Lock acquired, processing the job...
[2025-03-10 09:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:14:01] Production.INFO: neon service started
[2025-03-10 09:14:01] Production.INFO: neon service started
[2025-03-10 09:14:01] Production.INFO: ==3216== Releasing lock...
[2025-03-10 09:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:14:02] Production.INFO: ==3218== Lock acquired, processing the job...
[2025-03-10 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:14:02] Production.INFO: ==3218== Releasing lock...
[2025-03-10 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:14:02] Production.INFO: ==3220== Lock acquired, processing the job...
[2025-03-10 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:14:02] Production.INFO: ==3220== Releasing lock...
[2025-03-10 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:14:03] Production.INFO: ==3227== Lock acquired, processing the job...
[2025-03-10 05:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:14:03] Production.INFO: ==3231== Lock acquired, processing the job...
[2025-03-10 05:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:14:03] Production.INFO: ==3233== Lock acquired, processing the job...
[2025-03-10 05:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:14:03] Production.INFO: ==3223== Lock acquired, processing the job...
[2025-03-10 05:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 05:14:03] Production.INFO: ==3225== Lock acquired, processing the job...
[2025-03-10 05:14:03] Production.INFO: ==3229== Lock acquired, processing the job...
[2025-03-10 05:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:14:03] Production.INFO: count ==13
[2025-03-10 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-03-10 05:14:03] Production.INFO: count ==21
[2025-03-10 05:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647300') start
[2025-03-10 05:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:14:03] Production.INFO: Account Balance Start.
[2025-03-10 05:14:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:14:03] Production.INFO: 117
[2025-03-10 05:14:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647300') end
[2025-03-10 05:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:14:04] Production.INFO: 1
[2025-03-10 05:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:14:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:14:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:14:04] Production.INFO: ==3233== Releasing lock...
[2025-03-10 05:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:14:04] Production.ERROR: done
[2025-03-10 05:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:14:04] Production.INFO: Total Charge 0
[2025-03-10 05:14:04] Production.INFO: CreateAllLog End
[2025-03-10 05:14:04] Production.ERROR: done
[2025-03-10 05:14:04] Production.INFO: ==3225== Releasing lock...
[2025-03-10 05:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:14:04] Production.INFO: Account Balance End.
[2025-03-10 05:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:14:04] Production.INFO: ==3229== Releasing lock...
[2025-03-10 05:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:14:05
[end_date_ymd] => 2025-03-10 05:14:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:14:05' and `end` < '2025-03-10 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-03-10 05:14:12] Production.ERROR: CronJobId end10
[2025-03-10 05:14:12] Production.INFO: ==3227== Releasing lock...
[2025-03-10 05:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:14:15] Production.INFO: call_cost start
[2025-03-10 05:14:15] Production.INFO: call_cost end
[2025-03-10 05:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:14:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:14:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:14:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:14:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:14:16] Production.INFO: ==3223== Releasing lock...
[2025-03-10 05:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:14:17] Production.INFO: count ==109
[2025-03-10 05:14:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:14:05 - End Time 2025-03-10 05:14:05
[2025-03-10 05:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647304', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647304', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647304', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647304', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:14:17] Production.INFO: ProcessCDR(1,14647304,1,1,2)
[2025-03-10 05:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647304', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647304', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:14:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:14:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:14:20] Production.INFO: ==3231== Releasing lock...
[2025-03-10 05:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:14:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:15:01] Production.INFO: ==3287== Lock acquired, processing the job...
[2025-03-10 09:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:15:01] Production.INFO: neon service started
[2025-03-10 09:15:01] Production.INFO: neon service started
[2025-03-10 09:15:01] Production.INFO: ==3287== Releasing lock...
[2025-03-10 09:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:15:01] Production.INFO: ==3291== Lock acquired, processing the job...
[2025-03-10 09:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:15:01] Production.INFO: ==3291== Releasing lock...
[2025-03-10 09:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:15:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:15:01] Production.INFO: ==3289== Lock acquired, processing the job...
[2025-03-10 05:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:15:02] Production.INFO: ==3289== Releasing lock...
[2025-03-10 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:15:02] Production.INFO: ==3298== Lock acquired, processing the job...
[2025-03-10 05:15:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:15:03] Production.INFO: ==3302== Lock acquired, processing the job...
[2025-03-10 05:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:15:03] Production.INFO: ==3294== Lock acquired, processing the job...
[2025-03-10 05:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:15:03] Production.INFO: ==3296== Lock acquired, processing the job...
[2025-03-10 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:15:03] Production.INFO: ==3300== Lock acquired, processing the job...
[2025-03-10 05:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:15:03] Production.INFO: ==3304== Lock acquired, processing the job...
[2025-03-10 05:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:15:03] Production.INFO: Account Balance Start.
[2025-03-10 05:15:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:15:03] Production.INFO: 117
[2025-03-10 05:15:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:15:03] Production.ERROR: done
[2025-03-10 05:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:15:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:15:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 05: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-03-10 05:15:03] Production.INFO: Total Charge 0
[2025-03-10 05:15:03] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:15:03] Production.ERROR: done
[2025-03-10 05:15:03] Production.INFO: count ==21
[2025-03-10 05:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647308') start
[2025-03-10 05:15:03] Production.INFO: ==3296== Releasing lock...
[2025-03-10 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:15:03] Production.INFO: CreateAllLog End
[2025-03-10 05:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647308') end
[2025-03-10 05:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:15:03] Production.INFO: 1
[2025-03-10 05:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:15:03] Production.INFO: Account Balance End.
[2025-03-10 05:15:03] Production.ERROR: CronJobId end 12
[2025-03-10 05:15:03] Production.INFO: ==3300== Releasing lock...
[2025-03-10 05:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:15:03] Production.INFO: ==3304== Releasing lock...
[2025-03-10 05:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:15:04
[end_date_ymd] => 2025-03-10 05:15:04
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:15:04' and `end` < '2025-03-10 05: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-03-10 05:15:12] Production.ERROR: CronJobId end10
[2025-03-10 05:15:12] Production.INFO: ==3298== Releasing lock...
[2025-03-10 05:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:15:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:15:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:15:14] Production.INFO: call_cost start
[2025-03-10 05:15:14] Production.INFO: call_cost end
[2025-03-10 05:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:15:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:15:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:15:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:15:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:15:15] Production.INFO: ==3294== Releasing lock...
[2025-03-10 05:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:15:16] Production.INFO: count ==106
[2025-03-10 05:15:16] Production.ERROR: pbx CDR StartTime 2025-03-10 02:15:04 - End Time 2025-03-10 05:15:04
[2025-03-10 05:15:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:15:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647309', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:15:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647309', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:15:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647309', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:15:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647309', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:15:16] Production.INFO: ProcessCDR(1,14647309,1,1,2)
[2025-03-10 05:15:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:15:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:15:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647309', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647309', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:15:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:15:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:15:20] Production.INFO: ==3302== Releasing lock...
[2025-03-10 05:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:15:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:16:01] Production.INFO: ==3358== Lock acquired, processing the job...
[2025-03-10 09:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:16:01] Production.INFO: neon service started
[2025-03-10 09:16:01] Production.INFO: neon service started
[2025-03-10 09:16:01] Production.INFO: ==3358== Releasing lock...
[2025-03-10 09:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:16:02] Production.INFO: ==3362== Lock acquired, processing the job...
[2025-03-10 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:16:02] Production.INFO: ==3362== Releasing lock...
[2025-03-10 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:16:02] Production.INFO: ==3360== Lock acquired, processing the job...
[2025-03-10 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:16:02] Production.INFO: ==3360== Releasing lock...
[2025-03-10 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:16:03] Production.INFO: ==3364== Lock acquired, processing the job...
[2025-03-10 05:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:16:03] Production.INFO: ==3366== Lock acquired, processing the job...
[2025-03-10 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:16:03] Production.INFO: ==3369== Lock acquired, processing the job...
[2025-03-10 05:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:16:03] Production.INFO: ==3371== Lock acquired, processing the job...
[2025-03-10 05:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:16:03] Production.INFO: ==3375== Lock acquired, processing the job...
[2025-03-10 05:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:16:03] Production.INFO: ==3366== Releasing lock...
[2025-03-10 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:16:03] Production.INFO: Account Balance Start.
[2025-03-10 05:16:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:16:03] Production.INFO: 117
[2025-03-10 05:16:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:16:03] Production.INFO: ==3373== Lock acquired, processing the job...
[2025-03-10 05:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:16:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:16:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:16:04] Production.INFO: Total Charge 0
[2025-03-10 05:16:04] Production.INFO: CreateAllLog End
[2025-03-10 05: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-03-10 05:16:04] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:16:04] Production.INFO: count ==21
[2025-03-10 05:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647313') start
[2025-03-10 05:16:04] Production.ERROR: done
[2025-03-10 05:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647313') end
[2025-03-10 05:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:16:04] Production.INFO: 1
[2025-03-10 05:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:16:04] Production.INFO: ==3375== Releasing lock...
[2025-03-10 05:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:16:04] Production.ERROR: done
[2025-03-10 05:16:04] Production.INFO: Account Balance End.
[2025-03-10 05:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:16:04] Production.INFO: ==3371== Releasing lock...
[2025-03-10 05:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:16:05
[end_date_ymd] => 2025-03-10 05:16:05
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:16:05' and `end` < '2025-03-10 05: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-03-10 05:16:11] Production.ERROR: CronJobId end10
[2025-03-10 05:16:11] Production.INFO: ==3369== Releasing lock...
[2025-03-10 05:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:16:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:16:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:16:13] Production.INFO: call_cost start
[2025-03-10 05:16:13] Production.INFO: call_cost end
[2025-03-10 05:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:16:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:16:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:16:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:16:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:16:14] Production.INFO: ==3364== Releasing lock...
[2025-03-10 05:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:16:17] Production.INFO: count ==105
[2025-03-10 05:16:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:16:05 - End Time 2025-03-10 05:16:05
[2025-03-10 05:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647314', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647314', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647314', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647314', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:16:17] Production.INFO: ProcessCDR(1,14647314,1,1,2)
[2025-03-10 05:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647314', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647314', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:16:21] Production.INFO: ==3373== Releasing lock...
[2025-03-10 05:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:16:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:17:02] Production.INFO: ==3438== Lock acquired, processing the job...
[2025-03-10 09:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:17:02] Production.INFO: neon service started
[2025-03-10 09:17:02] Production.INFO: neon service started
[2025-03-10 09:17:02] Production.INFO: ==3438== Releasing lock...
[2025-03-10 09:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:17:02] Production.INFO: ==3440== Lock acquired, processing the job...
[2025-03-10 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:17:02] Production.INFO: ==3440== Releasing lock...
[2025-03-10 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:17:03] Production.INFO: ==3442== Lock acquired, processing the job...
[2025-03-10 09:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:17:03] Production.INFO: ==3442== Releasing lock...
[2025-03-10 09:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:17:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:17:03] Production.INFO: ==3446== Lock acquired, processing the job...
[2025-03-10 05:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:17:03] Production.INFO: ==3450== Lock acquired, processing the job...
[2025-03-10 05:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:17:03] Production.INFO: ==3444== Lock acquired, processing the job...
[2025-03-10 05:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:17:03] Production.INFO: Account Balance Start.
[2025-03-10 05:17:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:17:03] Production.INFO: 117
[2025-03-10 05:17:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:17:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:17:04] Production.INFO: ==3448== Lock acquired, processing the job...
[2025-03-10 05:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:17:04] Production.INFO: Total Charge 0
[2025-03-10 05:17:04] Production.INFO: CreateAllLog End
[2025-03-10 05:17:04] Production.INFO: ==3452== Lock acquired, processing the job...
[2025-03-10 05:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:17:04] Production.INFO: ==3454== Lock acquired, processing the job...
[2025-03-10 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:17:04] Production.INFO: ==3446== Releasing lock...
[2025-03-10 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 05:17:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:17:04] Production.INFO: count ==21
[2025-03-10 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647318') start
[2025-03-10 05:17:04] Production.INFO: Account Balance End.
[2025-03-10 05:17:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:17:04] Production.INFO: ==3450== Releasing lock...
[2025-03-10 05:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647318') end
[2025-03-10 05:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:17:04] Production.INFO: 1
[2025-03-10 05:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:17:04] Production.INFO: ==3454== Releasing lock...
[2025-03-10 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:17:04] Production.ERROR: done
[2025-03-10 05:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:17:05] Production.ERROR: done
[2025-03-10 05:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:17:06
[end_date_ymd] => 2025-03-10 05:17:06
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:17:06' and `end` < '2025-03-10 05: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-03-10 05:17:13] Production.ERROR: CronJobId end10
[2025-03-10 05:17:13] Production.INFO: ==3448== Releasing lock...
[2025-03-10 05:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:17:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:17:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:17:15] Production.INFO: call_cost start
[2025-03-10 05:17:15] Production.INFO: call_cost end
[2025-03-10 05:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:17:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:17:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:17:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:17:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:17:16] Production.INFO: ==3444== Releasing lock...
[2025-03-10 05:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:17:18] Production.INFO: count ==105
[2025-03-10 05:17:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:17:06 - End Time 2025-03-10 05:17:06
[2025-03-10 05:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647319', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647319', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647319', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647319', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:17:18] Production.INFO: ProcessCDR(1,14647319,1,1,2)
[2025-03-10 05:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647319', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647319', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:17:21] Production.INFO: ==3452== Releasing lock...
[2025-03-10 05:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:17:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:18:01] Production.INFO: ==3558== Lock acquired, processing the job...
[2025-03-10 09:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:18:01] Production.INFO: neon service started
[2025-03-10 09:18:01] Production.INFO: neon service started
[2025-03-10 09:18:01] Production.INFO: ==3558== Releasing lock...
[2025-03-10 09:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:18:02] Production.INFO: ==3560== Lock acquired, processing the job...
[2025-03-10 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:18:02] Production.INFO: ==3560== Releasing lock...
[2025-03-10 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:18:02] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:18:02] Production.INFO: ==3562== Lock acquired, processing the job...
[2025-03-10 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:18:02] Production.INFO: ==3562== Releasing lock...
[2025-03-10 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:18:03] Production.INFO: ==3572== Lock acquired, processing the job...
[2025-03-10 05:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:18:03] Production.INFO: ==3570== Lock acquired, processing the job...
[2025-03-10 05:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:18:03] Production.INFO: ==3566== Lock acquired, processing the job...
[2025-03-10 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:18:03] Production.INFO: ==3564== Lock acquired, processing the job...
[2025-03-10 05:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:18:03] Production.INFO: Account Balance Start.
[2025-03-10 05:18:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:18:03] Production.INFO: 117
[2025-03-10 05:18:03] Production.INFO: ==3575== Lock acquired, processing the job...
[2025-03-10 05:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:18:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:18:03] Production.INFO: ==3568== Lock acquired, processing the job...
[2025-03-10 05:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:18:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:18:03] Production.ERROR: done
[2025-03-10 05:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:18:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 05:18:03] Production.INFO: count ==13
[2025-03-10 05:18:03] Production.ERROR: done
[2025-03-10 05:18:03] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 05:18:03] Production.INFO: count ==21
[2025-03-10 05:18:03] Production.INFO: CreateAllLog End
[2025-03-10 05:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647321') start
[2025-03-10 05:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647321') end
[2025-03-10 05:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:18:03] Production.INFO: 1
[2025-03-10 05:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:18:03] Production.INFO: Account Balance End.
[2025-03-10 05:18:04] Production.INFO: ==3575== Releasing lock...
[2025-03-10 05:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:18:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:18:04] Production.INFO: ==3570== Releasing lock...
[2025-03-10 05:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:18:04] Production.INFO: ==3566== Releasing lock...
[2025-03-10 05:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:18:04
[end_date_ymd] => 2025-03-10 05:18:04
[RateCDR] => 1
)
[2025-03-10 05:18: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-03-10 02:18:04' and `end` < '2025-03-10 05:18: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-03-10 05:18:11] Production.ERROR: CronJobId end10
[2025-03-10 05:18:11] Production.INFO: ==3568== Releasing lock...
[2025-03-10 05:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:18:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:18:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:18:14] Production.INFO: call_cost start
[2025-03-10 05:18:14] Production.INFO: call_cost end
[2025-03-10 05:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:18:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:18:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:18:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:18:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:18:15] Production.INFO: ==3564== Releasing lock...
[2025-03-10 05:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:18:17] Production.INFO: count ==105
[2025-03-10 05:18:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:18:04 - End Time 2025-03-10 05:18:04
[2025-03-10 05:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647324', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647324', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647324', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647324', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:18:17] Production.INFO: ProcessCDR(1,14647324,1,1,2)
[2025-03-10 05:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647324', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647324', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:18:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:18:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:18:20] Production.INFO: ==3572== Releasing lock...
[2025-03-10 05:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:18:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:19:02] Production.INFO: ==3628== Lock acquired, processing the job...
[2025-03-10 09:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:19:02] Production.INFO: neon service started
[2025-03-10 09:19:02] Production.INFO: neon service started
[2025-03-10 09:19:02] Production.INFO: ==3628== Releasing lock...
[2025-03-10 09:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:19:02] Production.INFO: ==3630== Lock acquired, processing the job...
[2025-03-10 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:19:02] Production.INFO: ==3632== Lock acquired, processing the job...
[2025-03-10 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:19:02] Production.INFO: ==3632== Releasing lock...
[2025-03-10 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:19:02] Production.INFO: ==3630== Releasing lock...
[2025-03-10 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:19:03] Production.INFO: ==3635== Lock acquired, processing the job...
[2025-03-10 05:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:19:03] Production.INFO: ==3639== Lock acquired, processing the job...
[2025-03-10 05:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:19:03] Production.INFO: ==3643== Lock acquired, processing the job...
[2025-03-10 05:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:19:04] Production.INFO: ==3637== Lock acquired, processing the job...
[2025-03-10 05:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:19:04] Production.INFO: ==3641== Lock acquired, processing the job...
[2025-03-10 05:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:19:04] Production.INFO: ==3645== Lock acquired, processing the job...
[2025-03-10 05:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:19:04] Production.INFO: Account Balance Start.
[2025-03-10 05:19:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:19:04] Production.INFO: 117
[2025-03-10 05:19:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:19:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 05:19:04] Production.INFO: count ==13
[2025-03-10 05:19:04] Production.INFO: Date 2025-03-10
[2025-03-10 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-03-10 05:19:04] Production.INFO: count ==21
[2025-03-10 05:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:19:04] Production.ERROR: done
[2025-03-10 05:19:04] Production.INFO: Total Charge 0
[2025-03-10 05:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647328') start
[2025-03-10 05:19:04] Production.INFO: CreateAllLog End
[2025-03-10 05:19:04] Production.ERROR: done
[2025-03-10 05:19:04] Production.INFO: ==3637== Releasing lock...
[2025-03-10 05:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647328') end
[2025-03-10 05:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:19:04] Production.INFO: 1
[2025-03-10 05:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:19:04] Production.INFO: ==3645== Releasing lock...
[2025-03-10 05:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:19:05] Production.INFO: Account Balance End.
[2025-03-10 05:19:05] Production.ERROR: CronJobId end 12
[2025-03-10 05:19:05] Production.INFO: ==3641== Releasing lock...
[2025-03-10 05:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:19:05
[end_date_ymd] => 2025-03-10 05:19:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:19:05' and `end` < '2025-03-10 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-03-10 05:19:13] Production.ERROR: CronJobId end10
[2025-03-10 05:19:13] Production.INFO: ==3639== Releasing lock...
[2025-03-10 05:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:19:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:19:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:19:15] Production.INFO: call_cost start
[2025-03-10 05:19:15] Production.INFO: call_cost end
[2025-03-10 05:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:19:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:19:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:19:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:19:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:19:16] Production.INFO: ==3635== Releasing lock...
[2025-03-10 05:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:19:17] Production.INFO: count ==109
[2025-03-10 05:19:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:19:05 - End Time 2025-03-10 05:19:05
[2025-03-10 05:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647329', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647329', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647329', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647329', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:19:17] Production.INFO: ProcessCDR(1,14647329,1,1,2)
[2025-03-10 05:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647329', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647329', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:19:21] Production.INFO: ==3643== Releasing lock...
[2025-03-10 05:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:19:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:20:01] Production.INFO: ==3701== Lock acquired, processing the job...
[2025-03-10 09:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:20:01] Production.INFO: neon service started
[2025-03-10 09:20:01] Production.INFO: neon service started
[2025-03-10 09:20:01] Production.INFO: ==3701== Releasing lock...
[2025-03-10 09:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:20:02] Production.INFO: ==3703== Lock acquired, processing the job...
[2025-03-10 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:20:02] Production.INFO: ==3705== Lock acquired, processing the job...
[2025-03-10 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:20:02] Production.INFO: ==3705== Releasing lock...
[2025-03-10 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:20:02] Production.INFO: ==3703== Releasing lock...
[2025-03-10 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:20:03] Production.INFO: ==3712== Lock acquired, processing the job...
[2025-03-10 05:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:20:04] Production.INFO: ==3708== Lock acquired, processing the job...
[2025-03-10 05:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 05:20:04] Production.INFO: ==3716== Lock acquired, processing the job...
[2025-03-10 05:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:20:04] Production.INFO: ==3720== Lock acquired, processing the job...
[2025-03-10 05:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:20:04] Production.INFO: ==3710== Lock acquired, processing the job...
[2025-03-10 05:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:20:04] Production.INFO: ==3714== Lock acquired, processing the job...
[2025-03-10 05:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:20:04] Production.INFO: Account Balance Start.
[2025-03-10 05:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:20:04] Production.INFO: 117
[2025-03-10 05:20:04] Production.INFO: ==3718== Lock acquired, processing the job...
[2025-03-10 05:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 05:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:20:04] Production.INFO: ==3712== Releasing lock...
[2025-03-10 05:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:20:04] Production.ERROR: CronJob PID - 3710
[2025-03-10 05:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 05:20:04] Production.ERROR: CronJob ID - 5
[2025-03-10 05:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:20:00
[2025-03-10 05:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:20:04] Production.ERROR: CronJob PID - 3714
[2025-03-10 05:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 05:20:04] Production.ERROR: CronJob ID - 10
[2025-03-10 05:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:20:00
[2025-03-10 05:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:20:04] Production.ERROR: CronJob PID - 3716
[2025-03-10 05:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 05:20:04] Production.ERROR: CronJob ID - 12
[2025-03-10 05:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:20:00
[2025-03-10 05:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:20:04] Production.ERROR: CronJob PID - 3720
[2025-03-10 05:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 05:20:04] Production.ERROR: CronJob ID - 17
[2025-03-10 05:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:20:00
[2025-03-10 05:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 05:20:04] Production.INFO: ==3708== Releasing lock...
[2025-03-10 05:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 05:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 05:20:04] Production.ERROR: done
[2025-03-10 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:20:04] Production.INFO: ==3722== Lock acquired, processing the job...
[2025-03-10 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:20:04] Production.INFO: Total Charge 0
[2025-03-10 05:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 05:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647333', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 05:20:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 05:20:04] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:20:04] Production.INFO: count ==21
[2025-03-10 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647334') start
[2025-03-10 05:20:04] Production.INFO: Account Balance End.
[2025-03-10 05:20:04] Production.ERROR: done
[2025-03-10 05:20:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:20:04] Production.INFO: ==3716== Releasing lock...
[2025-03-10 05:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647334') end
[2025-03-10 05:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:20:05] Production.INFO: 1
[2025-03-10 05:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:20:05] Production.INFO: ==3722== Releasing lock...
[2025-03-10 05:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:20:05] Production.ERROR: done
[2025-03-10 05:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:20:06
[end_date_ymd] => 2025-03-10 05:20:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:20:06' and `end` < '2025-03-10 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-03-10 05:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647333', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 05:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 05:20:08] Production.INFO: ProcessCDR(1,14647333,1,1,2)
[2025-03-10 05:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647333,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647333,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:20:08] Production.INFO: ==3720== Releasing lock...
[2025-03-10 05:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 05:20:08] Production.INFO: 26 MB #Memory Used#
[2025-03-10 05:20:14] Production.ERROR: CronJobId end10
[2025-03-10 05:20:14] Production.INFO: ==3714== Releasing lock...
[2025-03-10 05:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:20:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:20:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:20:16] Production.INFO: call_cost start
[2025-03-10 05:20:16] Production.INFO: call_cost end
[2025-03-10 05:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:20:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:20:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:20:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:20:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:20:17] Production.INFO: ==3710== Releasing lock...
[2025-03-10 05:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:20:18] Production.INFO: count ==109
[2025-03-10 05:20:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:20:06 - End Time 2025-03-10 05:20:06
[2025-03-10 05:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647335', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647335', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647335', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647335', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:20:18] Production.INFO: ProcessCDR(1,14647335,1,1,2)
[2025-03-10 05:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647335', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647335', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:20:22] Production.INFO: ==3718== Releasing lock...
[2025-03-10 05:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:20:22] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:21:02] Production.INFO: ==3776== Lock acquired, processing the job...
[2025-03-10 09:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:21:02] Production.INFO: neon service started
[2025-03-10 09:21:02] Production.INFO: neon service started
[2025-03-10 09:21:02] Production.INFO: ==3776== Releasing lock...
[2025-03-10 09:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:21:02] Production.INFO: ==3780== Lock acquired, processing the job...
[2025-03-10 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:21:02] Production.INFO: ==3780== Releasing lock...
[2025-03-10 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:21:02] Production.INFO: ==3778== Lock acquired, processing the job...
[2025-03-10 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:21:03] Production.INFO: ==3778== Releasing lock...
[2025-03-10 05:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:21:03] Production.INFO: ==3786== Lock acquired, processing the job...
[2025-03-10 05:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:21:03] Production.INFO: ==3788== Lock acquired, processing the job...
[2025-03-10 05:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:21:04] Production.INFO: Account Balance Start.
[2025-03-10 05:21:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:21:04] Production.INFO: 117
[2025-03-10 05:21:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:21:04] Production.INFO: ==3782== Lock acquired, processing the job...
[2025-03-10 05:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:21:04] Production.INFO: ==3784== Lock acquired, processing the job...
[2025-03-10 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:21:04] Production.INFO: Total Charge 0
[2025-03-10 05:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:21:04] Production.INFO: CreateAllLog End
[2025-03-10 05:21:04] Production.INFO: ==3790== Lock acquired, processing the job...
[2025-03-10 05:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:21:04] Production.INFO: ==3793== Lock acquired, processing the job...
[2025-03-10 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:21:04] Production.INFO: Account Balance End.
[2025-03-10 05:21:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:21:04] Production.INFO: ==3788== Releasing lock...
[2025-03-10 05:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 05:21:04] Production.INFO: ==3784== Releasing lock...
[2025-03-10 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:21:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:21:04] Production.INFO: count ==21
[2025-03-10 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647339') start
[2025-03-10 05:21:04] Production.ERROR: done
[2025-03-10 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647339') end
[2025-03-10 05:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:21:04] Production.INFO: 1
[2025-03-10 05:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:21:04] Production.INFO: ==3793== Releasing lock...
[2025-03-10 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:21:04] Production.ERROR: done
[2025-03-10 05:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:21:05
[end_date_ymd] => 2025-03-10 05:21:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:21:05' and `end` < '2025-03-10 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-03-10 05:21:11] Production.ERROR: CronJobId end10
[2025-03-10 05:21:11] Production.INFO: ==3786== Releasing lock...
[2025-03-10 05:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:21:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:21:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:21:14] Production.INFO: call_cost start
[2025-03-10 05:21:14] Production.INFO: call_cost end
[2025-03-10 05:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:21:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:21:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:21:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:21:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:21:15] Production.INFO: ==3782== Releasing lock...
[2025-03-10 05:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:21:17] Production.INFO: count ==109
[2025-03-10 05:21:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:21:05 - End Time 2025-03-10 05:21:05
[2025-03-10 05:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647340', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647340', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647340', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647340', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:21:18] Production.INFO: ProcessCDR(1,14647340,1,1,2)
[2025-03-10 05:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647340', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647340', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:21:21] Production.INFO: ==3790== Releasing lock...
[2025-03-10 05:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:21:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:22:01] Production.INFO: ==3846== Lock acquired, processing the job...
[2025-03-10 09:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:22:01] Production.INFO: neon service started
[2025-03-10 09:22:01] Production.INFO: neon service started
[2025-03-10 09:22:01] Production.INFO: ==3846== Releasing lock...
[2025-03-10 09:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:22:02] Production.INFO: ==3848== Lock acquired, processing the job...
[2025-03-10 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:22:02] Production.INFO: ==3848== Releasing lock...
[2025-03-10 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:22:02] Production.INFO: ==3850== Lock acquired, processing the job...
[2025-03-10 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:22:02] Production.INFO: ==3850== Releasing lock...
[2025-03-10 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:22:03] Production.INFO: ==3858== Lock acquired, processing the job...
[2025-03-10 05:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:22:03] Production.INFO: ==3862== Lock acquired, processing the job...
[2025-03-10 05:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:22:03] Production.INFO: Account Balance Start.
[2025-03-10 05:22:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:22:03] Production.INFO: 117
[2025-03-10 05:22:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:22:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:22:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 05: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-03-10 05:22:03] Production.INFO: ==3852== Lock acquired, processing the job...
[2025-03-10 05:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:22:03] Production.INFO: ==3854== Lock acquired, processing the job...
[2025-03-10 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:22:03] Production.INFO: count ==13
[2025-03-10 05:22:03] Production.INFO: Total Charge 0
[2025-03-10 05:22:03] Production.INFO: CreateAllLog End
[2025-03-10 05: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-03-10 05:22:03] Production.INFO: count ==21
[2025-03-10 05:22:03] Production.INFO: ==3856== Lock acquired, processing the job...
[2025-03-10 05:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647342') start
[2025-03-10 05:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:22:03] Production.INFO: ==3860== Lock acquired, processing the job...
[2025-03-10 05:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:22:03] Production.INFO: Account Balance End.
[2025-03-10 05:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647342') end
[2025-03-10 05:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:22:03] Production.INFO: 1
[2025-03-10 05:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:22:03] Production.ERROR: CronJobId end 12
[2025-03-10 05:22:03] Production.INFO: ==3858== Releasing lock...
[2025-03-10 05:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:22:03] Production.INFO: ==3862== Releasing lock...
[2025-03-10 05:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:22:03] Production.INFO: ==3854== Releasing lock...
[2025-03-10 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:22:04] Production.ERROR: done
[2025-03-10 05:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:22:04] Production.ERROR: done
[2025-03-10 05:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:22:05
[end_date_ymd] => 2025-03-10 05:22:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:22:05' and `end` < '2025-03-10 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-03-10 05:22:11] Production.ERROR: CronJobId end10
[2025-03-10 05:22:11] Production.INFO: ==3856== Releasing lock...
[2025-03-10 05:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:22:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:22:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:22:14] Production.INFO: call_cost start
[2025-03-10 05:22:14] Production.INFO: call_cost end
[2025-03-10 05:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:22:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:22:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:22:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:22:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:22:15] Production.INFO: ==3852== Releasing lock...
[2025-03-10 05:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:22:17] Production.INFO: count ==109
[2025-03-10 05:22:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:22:05 - End Time 2025-03-10 05:22:05
[2025-03-10 05:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647345', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647345', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647345', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647345', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:22:17] Production.INFO: ProcessCDR(1,14647345,1,1,2)
[2025-03-10 05:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647345', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647345', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:22:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:22:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:22:20] Production.INFO: ==3860== Releasing lock...
[2025-03-10 05:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:22:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:23:02] Production.INFO: ==3916== Lock acquired, processing the job...
[2025-03-10 09:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:23:02] Production.INFO: neon service started
[2025-03-10 09:23:02] Production.INFO: neon service started
[2025-03-10 09:23:02] Production.INFO: ==3916== Releasing lock...
[2025-03-10 09:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:23:02] Production.INFO: ==3920== Lock acquired, processing the job...
[2025-03-10 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:23:02] Production.INFO: ==3920== Releasing lock...
[2025-03-10 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:23:02] Production.INFO: ==3918== Lock acquired, processing the job...
[2025-03-10 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:23:02] Production.INFO: ==3918== Releasing lock...
[2025-03-10 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:23:03] Production.INFO: ==3929== Lock acquired, processing the job...
[2025-03-10 05:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:23:03] Production.INFO: ==3933== Lock acquired, processing the job...
[2025-03-10 05:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:23:03] Production.INFO: Account Balance Start.
[2025-03-10 05:23:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:23:03] Production.INFO: 117
[2025-03-10 05:23:03] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 05:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:23:03] Production.INFO: count ==13
[2025-03-10 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-03-10 05:23:04] Production.INFO: count ==21
[2025-03-10 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647346') start
[2025-03-10 05:23:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:23:04] Production.INFO: ==3923== Lock acquired, processing the job...
[2025-03-10 05:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:23:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:23:04] Production.INFO: Total Charge 0
[2025-03-10 05:23:04] Production.INFO: ==3925== Lock acquired, processing the job...
[2025-03-10 05:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:23:04] Production.INFO: CreateAllLog End
[2025-03-10 05:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647346') end
[2025-03-10 05:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:23:04] Production.INFO: 1
[2025-03-10 05:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:23:04] Production.INFO: ==3927== Lock acquired, processing the job...
[2025-03-10 05:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:23:04] Production.INFO: ==3931== Lock acquired, processing the job...
[2025-03-10 05:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:23:04] Production.INFO: ==3933== Releasing lock...
[2025-03-10 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:23:04] Production.INFO: Account Balance End.
[2025-03-10 05:23:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:23:04] Production.INFO: ==3929== Releasing lock...
[2025-03-10 05:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:23:04] Production.INFO: ==3925== Releasing lock...
[2025-03-10 05:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:23:04] Production.ERROR: done
[2025-03-10 05:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:23:04] Production.ERROR: done
[2025-03-10 05:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:23:05
[end_date_ymd] => 2025-03-10 05:23:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:23:05' and `end` < '2025-03-10 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-03-10 05:23:11] Production.ERROR: CronJobId end10
[2025-03-10 05:23:11] Production.INFO: ==3927== Releasing lock...
[2025-03-10 05:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:23:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:23:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:23:14] Production.INFO: call_cost start
[2025-03-10 05:23:14] Production.INFO: call_cost end
[2025-03-10 05:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:23:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:23:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:23:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:23:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:23:15] Production.INFO: ==3923== Releasing lock...
[2025-03-10 05:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:23:17] Production.INFO: count ==109
[2025-03-10 05:23:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:23:05 - End Time 2025-03-10 05:23:05
[2025-03-10 05:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647350', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647350', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647350', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647350', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:23:17] Production.INFO: ProcessCDR(1,14647350,1,1,2)
[2025-03-10 05:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647350', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647350', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:23:20] Production.INFO: ==3931== Releasing lock...
[2025-03-10 05:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:23:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:24:01] Production.INFO: ==3987== Lock acquired, processing the job...
[2025-03-10 09:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:24:01] Production.INFO: neon service started
[2025-03-10 09:24:01] Production.INFO: neon service started
[2025-03-10 09:24:01] Production.INFO: ==3987== Releasing lock...
[2025-03-10 09:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:24:02] Production.INFO: ==3990== Lock acquired, processing the job...
[2025-03-10 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:24:02] Production.INFO: ==3992== Lock acquired, processing the job...
[2025-03-10 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:24:02] Production.INFO: ==3992== Releasing lock...
[2025-03-10 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:24:02] Production.INFO: ==3990== Releasing lock...
[2025-03-10 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:24:03] Production.INFO: ==3994== Lock acquired, processing the job...
[2025-03-10 05:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:24:03] Production.INFO: ==4004== Lock acquired, processing the job...
[2025-03-10 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05: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-03-10 05:24:03] Production.INFO: count ==13
[2025-03-10 05:24:03] Production.INFO: ==3996== Lock acquired, processing the job...
[2025-03-10 05:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05: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-03-10 05:24:03] Production.INFO: count ==21
[2025-03-10 05:24:03] Production.INFO: ==3998== Lock acquired, processing the job...
[2025-03-10 05:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:24:03] Production.INFO: ==4000== Lock acquired, processing the job...
[2025-03-10 05:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647352') start
[2025-03-10 05:24:04] Production.INFO: ==4002== Lock acquired, processing the job...
[2025-03-10 05:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647352') end
[2025-03-10 05:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:24:04] Production.INFO: 1
[2025-03-10 05:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:24:04] Production.INFO: Account Balance Start.
[2025-03-10 05:24:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:24:04] Production.INFO: 117
[2025-03-10 05:24:04] Production.INFO: ==4004== Releasing lock...
[2025-03-10 05:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:24:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:24:04] Production.INFO: Total Charge 0
[2025-03-10 05:24:04] Production.INFO: CreateAllLog End
[2025-03-10 05:24:04] Production.INFO: ==3996== Releasing lock...
[2025-03-10 05:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:24:04] Production.ERROR: done
[2025-03-10 05:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:24:04] Production.ERROR: done
[2025-03-10 05:24:04] Production.INFO: Account Balance End.
[2025-03-10 05:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:24:04] Production.INFO: ==4000== Releasing lock...
[2025-03-10 05:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:24:05
[end_date_ymd] => 2025-03-10 05:24:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:24:05' and `end` < '2025-03-10 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-03-10 05:24:12] Production.ERROR: CronJobId end10
[2025-03-10 05:24:12] Production.INFO: ==3998== Releasing lock...
[2025-03-10 05:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:24:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:24:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:24:14] Production.INFO: call_cost start
[2025-03-10 05:24:14] Production.INFO: call_cost end
[2025-03-10 05:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:24:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:24:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:24:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:24:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:24:15] Production.INFO: ==3994== Releasing lock...
[2025-03-10 05:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:24:17] Production.INFO: count ==109
[2025-03-10 05:24:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:24:05 - End Time 2025-03-10 05:24:05
[2025-03-10 05:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647355', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647355', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647355', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647355', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:24:17] Production.INFO: ProcessCDR(1,14647355,1,1,2)
[2025-03-10 05:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:24:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647355', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:24:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647355', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:24:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:24:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:24:20] Production.INFO: ==4002== Releasing lock...
[2025-03-10 05:24:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:24:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:25:02] Production.INFO: ==4061== Lock acquired, processing the job...
[2025-03-10 09:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:25:02] Production.INFO: neon service started
[2025-03-10 09:25:02] Production.INFO: neon service started
[2025-03-10 09:25:02] Production.INFO: ==4061== Releasing lock...
[2025-03-10 09:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:25:02] Production.INFO: ==4063== Lock acquired, processing the job...
[2025-03-10 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:25:02] Production.INFO: ==4063== Releasing lock...
[2025-03-10 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:25:02] Production.INFO: ==4065== Lock acquired, processing the job...
[2025-03-10 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:25:02] Production.INFO: ==4065== Releasing lock...
[2025-03-10 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:25:03] Production.INFO: ==4067== Lock acquired, processing the job...
[2025-03-10 05:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:25:03] Production.INFO: ==4069== Lock acquired, processing the job...
[2025-03-10 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:25:03] Production.INFO: ==4077== Lock acquired, processing the job...
[2025-03-10 05:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 05:25:03] Production.INFO: ==4069== Releasing lock...
[2025-03-10 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:25:03] Production.INFO: count ==13
[2025-03-10 05:25:03] Production.INFO: ==4071== Lock acquired, processing the job...
[2025-03-10 05:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 05:25:03] Production.INFO: count ==21
[2025-03-10 05:25:03] Production.INFO: ==4073== Lock acquired, processing the job...
[2025-03-10 05:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647358') start
[2025-03-10 05:25:03] Production.INFO: ==4075== Lock acquired, processing the job...
[2025-03-10 05:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647358') end
[2025-03-10 05:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:25:03] Production.INFO: 1
[2025-03-10 05:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:25:04] Production.INFO: ==4077== Releasing lock...
[2025-03-10 05:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:25:04] Production.INFO: Account Balance Start.
[2025-03-10 05:25:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:25:04] Production.INFO: 117
[2025-03-10 05:25:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:25:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:25:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:25:04] Production.ERROR: done
[2025-03-10 05:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:25:04] Production.INFO: Total Charge 0
[2025-03-10 05:25:04] Production.INFO: CreateAllLog End
[2025-03-10 05:25:04] Production.ERROR: done
[2025-03-10 05:25:04] Production.INFO: Account Balance End.
[2025-03-10 05:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:25:04] Production.INFO: ==4073== Releasing lock...
[2025-03-10 05:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:25:05
[end_date_ymd] => 2025-03-10 05:25:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:25:05' and `end` < '2025-03-10 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-03-10 05:25:12] Production.ERROR: CronJobId end10
[2025-03-10 05:25:12] Production.INFO: ==4071== Releasing lock...
[2025-03-10 05:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:25:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:25:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:25:13] Production.INFO: call_cost start
[2025-03-10 05:25:13] Production.INFO: call_cost end
[2025-03-10 05:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:25:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:25:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:25:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:25:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:25:14] Production.INFO: ==4067== Releasing lock...
[2025-03-10 05:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:25:17] Production.INFO: count ==109
[2025-03-10 05:25:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:25:05 - End Time 2025-03-10 05:25:05
[2025-03-10 05:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647360', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647360', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647360', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647360', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:25:17] Production.INFO: ProcessCDR(1,14647360,1,1,2)
[2025-03-10 05:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647360', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647360', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:25:20] Production.INFO: ==4075== Releasing lock...
[2025-03-10 05:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:25:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:26:01] Production.INFO: ==4141== Lock acquired, processing the job...
[2025-03-10 09:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:26:01] Production.INFO: neon service started
[2025-03-10 09:26:01] Production.INFO: neon service started
[2025-03-10 09:26:01] Production.INFO: ==4141== Releasing lock...
[2025-03-10 09:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:26:01] Production.INFO: ==4143== Lock acquired, processing the job...
[2025-03-10 05:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:26:02] Production.INFO: ==4143== Releasing lock...
[2025-03-10 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:26:02] Production.INFO: ==4145== Lock acquired, processing the job...
[2025-03-10 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:26:02] Production.INFO: ==4145== Releasing lock...
[2025-03-10 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:26:03] Production.INFO: ==4150== Lock acquired, processing the job...
[2025-03-10 05:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:26:03] Production.INFO: ==4148== Lock acquired, processing the job...
[2025-03-10 05:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:26:03] Production.INFO: ==4156== Lock acquired, processing the job...
[2025-03-10 05:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:26:03] Production.INFO: ==4152== Lock acquired, processing the job...
[2025-03-10 05:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:26:03] Production.INFO: ==4154== Lock acquired, processing the job...
[2025-03-10 05:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:26:03] Production.INFO: ==4158== Lock acquired, processing the job...
[2025-03-10 05:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:26:03] Production.ERROR: done
[2025-03-10 05:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:26:03] Production.INFO: Account Balance Start.
[2025-03-10 05:26:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:26:03] Production.INFO: 117
[2025-03-10 05:26:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 05: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-03-10 05:26:03] Production.INFO: ==4150== Releasing lock...
[2025-03-10 05:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:26:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:26:03] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:26:03] Production.INFO: count ==21
[2025-03-10 05:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647364') start
[2025-03-10 05:26:03] Production.ERROR: done
[2025-03-10 05:26:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:26:03] Production.INFO: Total Charge 0
[2025-03-10 05:26:03] Production.INFO: CreateAllLog End
[2025-03-10 05:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647364') end
[2025-03-10 05:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:26:03] Production.INFO: 1
[2025-03-10 05:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:26:03] Production.INFO: ==4158== Releasing lock...
[2025-03-10 05:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:26:03] Production.INFO: Account Balance End.
[2025-03-10 05:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:26:04] Production.INFO: ==4154== Releasing lock...
[2025-03-10 05:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:26:04
[end_date_ymd] => 2025-03-10 05:26:04
[RateCDR] => 1
)
[2025-03-10 05:26: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-03-10 02:26:04' and `end` < '2025-03-10 05:26: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-03-10 05:26:10] Production.ERROR: CronJobId end10
[2025-03-10 05:26:10] Production.INFO: ==4152== Releasing lock...
[2025-03-10 05:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:26:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:26:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:26:14] Production.INFO: call_cost start
[2025-03-10 05:26:14] Production.INFO: call_cost end
[2025-03-10 05:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:26:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:26:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:26:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:26:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:26:15] Production.INFO: ==4148== Releasing lock...
[2025-03-10 05:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:26:16] Production.INFO: count ==109
[2025-03-10 05:26:16] Production.ERROR: pbx CDR StartTime 2025-03-10 02:26:04 - End Time 2025-03-10 05:26:04
[2025-03-10 05:26:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647365', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647365', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647365', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647365', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:26:16] Production.INFO: ProcessCDR(1,14647365,1,1,2)
[2025-03-10 05:26:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:26:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:26:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647365', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647365', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:26:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:26:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:26:20] Production.INFO: ==4156== Releasing lock...
[2025-03-10 05:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:26:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:27:01] Production.INFO: ==4216== Lock acquired, processing the job...
[2025-03-10 09:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:27:01] Production.INFO: neon service started
[2025-03-10 09:27:01] Production.INFO: neon service started
[2025-03-10 09:27:01] Production.INFO: ==4216== Releasing lock...
[2025-03-10 09:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:27:02] Production.INFO: ==4218== Lock acquired, processing the job...
[2025-03-10 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:27:02] Production.INFO: ==4220== Lock acquired, processing the job...
[2025-03-10 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:27:02] Production.INFO: ==4220== Releasing lock...
[2025-03-10 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:27:03] Production.INFO: ==4218== Releasing lock...
[2025-03-10 05:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:27:03] Production.INFO: ==4227== Lock acquired, processing the job...
[2025-03-10 05:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:27:03] Production.INFO: ==4233== Lock acquired, processing the job...
[2025-03-10 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:27:03] Production.INFO: ==4223== Lock acquired, processing the job...
[2025-03-10 05:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:27:04] Production.INFO: ==4225== Lock acquired, processing the job...
[2025-03-10 05:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:27:04] Production.INFO: ==4229== Lock acquired, processing the job...
[2025-03-10 05:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05: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-03-10 05:27:04] Production.INFO: ==4231== Lock acquired, processing the job...
[2025-03-10 05:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:27:04] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:27:04] Production.INFO: count ==21
[2025-03-10 05:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647366') start
[2025-03-10 05:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:27:04] Production.INFO: Account Balance Start.
[2025-03-10 05:27:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647366') end
[2025-03-10 05:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:27:04] Production.INFO: 1
[2025-03-10 05:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:27:04] Production.INFO: 117
[2025-03-10 05:27:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:27:04] Production.INFO: ==4233== Releasing lock...
[2025-03-10 05:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:27:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:27:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:27:04] Production.INFO: ==4225== Releasing lock...
[2025-03-10 05:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:27:04] Production.ERROR: done
[2025-03-10 05:27:04] Production.INFO: Total Charge 0
[2025-03-10 05:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:27:04] Production.INFO: CreateAllLog End
[2025-03-10 05:27:04] Production.ERROR: done
[2025-03-10 05:27:04] Production.INFO: Account Balance End.
[2025-03-10 05:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:27:04] Production.INFO: ==4229== Releasing lock...
[2025-03-10 05:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:27:05
[end_date_ymd] => 2025-03-10 05:27:05
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:27:05' and `end` < '2025-03-10 05: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-03-10 05:27:11] Production.ERROR: CronJobId end10
[2025-03-10 05:27:11] Production.INFO: ==4227== Releasing lock...
[2025-03-10 05:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:27:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:27:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:27:15] Production.INFO: call_cost start
[2025-03-10 05:27:15] Production.INFO: call_cost end
[2025-03-10 05:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:27:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:27:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:27:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:27:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:27:15] Production.INFO: ==4223== Releasing lock...
[2025-03-10 05:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:27:17] Production.INFO: count ==109
[2025-03-10 05:27:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:27:05 - End Time 2025-03-10 05:27:05
[2025-03-10 05:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647370', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647370', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647370', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647370', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:27:17] Production.INFO: ProcessCDR(1,14647370,1,1,2)
[2025-03-10 05:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647370', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647370', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:27:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:27:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:27:20] Production.INFO: ==4231== Releasing lock...
[2025-03-10 05:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:27:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:28:01] Production.INFO: ==4287== Lock acquired, processing the job...
[2025-03-10 09:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:28:01] Production.INFO: neon service started
[2025-03-10 09:28:01] Production.INFO: neon service started
[2025-03-10 09:28:01] Production.INFO: ==4287== Releasing lock...
[2025-03-10 09:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:28:01] Production.INFO: ==4291== Lock acquired, processing the job...
[2025-03-10 09:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:28:01] Production.INFO: ==4291== Releasing lock...
[2025-03-10 09:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:28:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:28:01] Production.INFO: ==4289== Lock acquired, processing the job...
[2025-03-10 05:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:28:02] Production.INFO: ==4289== Releasing lock...
[2025-03-10 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:28:03] Production.INFO: ==4296== Lock acquired, processing the job...
[2025-03-10 05:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:28:03] Production.INFO: ==4302== Lock acquired, processing the job...
[2025-03-10 05:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:28:03] Production.INFO: ==4294== Lock acquired, processing the job...
[2025-03-10 05:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:28:03] Production.INFO: ==4298== Lock acquired, processing the job...
[2025-03-10 05:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:28:03] Production.INFO: ==4300== Lock acquired, processing the job...
[2025-03-10 05:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:28:03] Production.INFO: ==4304== Lock acquired, processing the job...
[2025-03-10 05:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:28:03] Production.INFO: ==4296== Releasing lock...
[2025-03-10 05:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:28:03] Production.INFO: Account Balance Start.
[2025-03-10 05:28:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:28:03] Production.INFO: 117
[2025-03-10 05:28:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 05:28:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:28:03] Production.INFO: count ==13
[2025-03-10 05:28:03] Production.ERROR: done
[2025-03-10 05:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 05:28:03] Production.INFO: count ==21
[2025-03-10 05:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647373') start
[2025-03-10 05:28:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:28:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:28:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:28:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:28:03] Production.ERROR: done
[2025-03-10 05:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647373') end
[2025-03-10 05:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:28:03] Production.INFO: 1
[2025-03-10 05:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:28:03] Production.INFO: Total Charge 0
[2025-03-10 05:28:03] Production.INFO: ==4304== Releasing lock...
[2025-03-10 05:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:28:03] Production.INFO: CreateAllLog End
[2025-03-10 05:28:04] Production.INFO: Account Balance End.
[2025-03-10 05:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:28:04] Production.INFO: ==4300== Releasing lock...
[2025-03-10 05:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:28:04
[end_date_ymd] => 2025-03-10 05:28:04
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:28:04' and `end` < '2025-03-10 05: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-03-10 05:28:11] Production.ERROR: CronJobId end10
[2025-03-10 05:28:11] Production.INFO: ==4298== Releasing lock...
[2025-03-10 05:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:28:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:28:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:28:14] Production.INFO: call_cost start
[2025-03-10 05:28:14] Production.INFO: call_cost end
[2025-03-10 05:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:28:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:28:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:28:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:28:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:28:15] Production.INFO: ==4294== Releasing lock...
[2025-03-10 05:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:28:17] Production.INFO: count ==109
[2025-03-10 05:28:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:28:04 - End Time 2025-03-10 05:28:04
[2025-03-10 05:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647375', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647375', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647375', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647375', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:28:17] Production.INFO: ProcessCDR(1,14647375,1,1,2)
[2025-03-10 05:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647375', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647375', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:28:20] Production.INFO: ==4302== Releasing lock...
[2025-03-10 05:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:28:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:29:01] Production.INFO: ==4358== Lock acquired, processing the job...
[2025-03-10 09:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:29:01] Production.INFO: neon service started
[2025-03-10 09:29:01] Production.INFO: neon service started
[2025-03-10 09:29:01] Production.INFO: ==4358== Releasing lock...
[2025-03-10 09:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:29:02] Production.INFO: ==4360== Lock acquired, processing the job...
[2025-03-10 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:29:02] Production.INFO: ==4362== Lock acquired, processing the job...
[2025-03-10 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:29:02] Production.INFO: ==4360== Releasing lock...
[2025-03-10 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:29:02] Production.INFO: ==4362== Releasing lock...
[2025-03-10 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:29:03] Production.INFO: ==4371== Lock acquired, processing the job...
[2025-03-10 05:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:29:03] Production.INFO: ==4373== Lock acquired, processing the job...
[2025-03-10 05:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:29:03] Production.INFO: ==4365== Lock acquired, processing the job...
[2025-03-10 05:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:29:03] Production.INFO: ==4367== Lock acquired, processing the job...
[2025-03-10 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:29:03] Production.INFO: Account Balance Start.
[2025-03-10 05:29:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:29:03] Production.INFO: 117
[2025-03-10 05:29:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:29:03] Production.INFO: ==4369== Lock acquired, processing the job...
[2025-03-10 05:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:29:03] Production.INFO: ==4375== Lock acquired, processing the job...
[2025-03-10 05:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:29:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 05:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:29:04] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:29:04] Production.INFO: count ==21
[2025-03-10 05:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647379') start
[2025-03-10 05:29:04] Production.ERROR: done
[2025-03-10 05:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:29:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647379') end
[2025-03-10 05:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:29:04] Production.INFO: 1
[2025-03-10 05:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:29:04] Production.INFO: Total Charge 0
[2025-03-10 05:29:04] Production.INFO: CreateAllLog End
[2025-03-10 05:29:04] Production.INFO: ==4375== Releasing lock...
[2025-03-10 05:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:29:04] Production.ERROR: done
[2025-03-10 05:29:04] Production.INFO: ==4367== Releasing lock...
[2025-03-10 05:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:29:04] Production.INFO: Account Balance End.
[2025-03-10 05:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:29:04] Production.INFO: ==4371== Releasing lock...
[2025-03-10 05:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:29:05
[end_date_ymd] => 2025-03-10 05:29:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:29:05' and `end` < '2025-03-10 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-03-10 05:29:11] Production.ERROR: CronJobId end10
[2025-03-10 05:29:11] Production.INFO: ==4369== Releasing lock...
[2025-03-10 05:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:29:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:29:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:29:14] Production.INFO: call_cost start
[2025-03-10 05:29:14] Production.INFO: call_cost end
[2025-03-10 05:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:29:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:29:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:29:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:29:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:29:15] Production.INFO: ==4365== Releasing lock...
[2025-03-10 05:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:29:17] Production.INFO: count ==109
[2025-03-10 05:29:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:29:05 - End Time 2025-03-10 05:29:05
[2025-03-10 05:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647380', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647380', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647380', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647380', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:29:17] Production.INFO: ProcessCDR(1,14647380,1,1,2)
[2025-03-10 05:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647380', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647380', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:29:20] Production.INFO: ==4373== Releasing lock...
[2025-03-10 05:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:29:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:30:02] Production.INFO: ==4429== Lock acquired, processing the job...
[2025-03-10 09:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:30:02] Production.INFO: neon service started
[2025-03-10 09:30:02] Production.INFO: neon service started
[2025-03-10 09:30:02] Production.INFO: ==4429== Releasing lock...
[2025-03-10 09:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:30:02] Production.INFO: ==4431== Lock acquired, processing the job...
[2025-03-10 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:30:03] Production.INFO: ==4431== Releasing lock...
[2025-03-10 05:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:30:03] Production.INFO: ==4433== Lock acquired, processing the job...
[2025-03-10 09:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:30:03] Production.INFO: ==4433== Releasing lock...
[2025-03-10 09:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:30:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:30:04] Production.INFO: ==4440== Lock acquired, processing the job...
[2025-03-10 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:30:04] Production.INFO: ==4436== Lock acquired, processing the job...
[2025-03-10 05:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 05:30:04] Production.INFO: ==4438== Lock acquired, processing the job...
[2025-03-10 05:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:30:04] Production.INFO: ==4446== Lock acquired, processing the job...
[2025-03-10 05:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 05:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:30:04] Production.ERROR: CronJob PID - 4440
[2025-03-10 05:30:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 05:30:04] Production.ERROR: CronJob ID - 7
[2025-03-10 05:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 05:30:00
[2025-03-10 05:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:30:04] Production.INFO: ==4448== Lock acquired, processing the job...
[2025-03-10 05:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 05:30:04] Production.INFO: ==4442== Lock acquired, processing the job...
[2025-03-10 05:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:30:04] Production.INFO: ==4444== Lock acquired, processing the job...
[2025-03-10 05:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 05:30:04] Production.INFO: ==4436== Releasing lock...
[2025-03-10 05:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 05:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 05:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:30:04] Production.INFO: ==4450== Lock acquired, processing the job...
[2025-03-10 05:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:30:04] Production.INFO: Account Balance Start.
[2025-03-10 05:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:30:04] Production.INFO: 117
[2025-03-10 05:30:04] Production.INFO: ==4440== Releasing lock...
[2025-03-10 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 05:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:30:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:30:04] Production.INFO: count ==21
[2025-03-10 05:30:04] Production.ERROR: done
[2025-03-10 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647384') start
[2025-03-10 05:30:04] Production.ERROR: done
[2025-03-10 05:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 05:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647385', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 05:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647384') end
[2025-03-10 05:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:30:04] Production.INFO: 1
[2025-03-10 05:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:30:05] Production.ERROR: done
[2025-03-10 05:30:05] Production.INFO: ==4450== Releasing lock...
[2025-03-10 05:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:30:05] Production.INFO: Date 2025-03-10
[2025-03-10 05:30:05] Production.INFO: Reseller ==> 0
[2025-03-10 05:30:05] Production.INFO: Total Charge 0
[2025-03-10 05:30:05] Production.INFO: CreateAllLog End
[2025-03-10 05:30:05] Production.INFO: Account Balance End.
[2025-03-10 05:30:05] Production.ERROR: CronJobId end 12
[2025-03-10 05:30:05] Production.INFO: ==4444== Releasing lock...
[2025-03-10 05:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:30:05
[end_date_ymd] => 2025-03-10 05:30:05
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:30:05' and `end` < '2025-03-10 05: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-03-10 05:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647385', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 05:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 05:30:09] Production.INFO: ProcessCDR(1,14647385,1,1,2)
[2025-03-10 05:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647385,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647385,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:30:09] Production.INFO: ==4448== Releasing lock...
[2025-03-10 05:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 05:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 05:30:13] Production.ERROR: CronJobId end10
[2025-03-10 05:30:13] Production.INFO: ==4442== Releasing lock...
[2025-03-10 05:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:30:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:30:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:30:16] Production.INFO: call_cost start
[2025-03-10 05:30:16] Production.INFO: call_cost end
[2025-03-10 05:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:30:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:30:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:30:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:30:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:30:17] Production.INFO: ==4438== Releasing lock...
[2025-03-10 05:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:30:17] Production.INFO: count ==107
[2025-03-10 05:30:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:30:05 - End Time 2025-03-10 05:30:05
[2025-03-10 05:30:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647386', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647386', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647386', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647386', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:30:17] Production.INFO: ProcessCDR(1,14647386,1,1,2)
[2025-03-10 05:30:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:30:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:30:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647386', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647386', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:30:21] Production.INFO: ==4446== Releasing lock...
[2025-03-10 05:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:30:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:31:01] Production.INFO: ==4505== Lock acquired, processing the job...
[2025-03-10 09:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:31:01] Production.INFO: neon service started
[2025-03-10 09:31:01] Production.INFO: neon service started
[2025-03-10 09:31:01] Production.INFO: ==4505== Releasing lock...
[2025-03-10 09:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:31:02] Production.INFO: ==4509== Lock acquired, processing the job...
[2025-03-10 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:31:02] Production.INFO: ==4509== Releasing lock...
[2025-03-10 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:31:02] Production.INFO: ==4507== Lock acquired, processing the job...
[2025-03-10 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:31:02] Production.INFO: ==4507== Releasing lock...
[2025-03-10 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:31:03] Production.INFO: ==4514== Lock acquired, processing the job...
[2025-03-10 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:31:03] Production.INFO: ==4520== Lock acquired, processing the job...
[2025-03-10 05:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:31:03] Production.INFO: ==4514== Releasing lock...
[2025-03-10 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:31:03] Production.INFO: ==4518== Lock acquired, processing the job...
[2025-03-10 05:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:31:03] Production.INFO: ==4522== Lock acquired, processing the job...
[2025-03-10 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:31:03] Production.INFO: ==4512== Lock acquired, processing the job...
[2025-03-10 05:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:31:03] Production.ERROR: done
[2025-03-10 05:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:31:03] Production.INFO: ==4516== Lock acquired, processing the job...
[2025-03-10 05:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 05:31:03] Production.INFO: count ==13
[2025-03-10 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-03-10 05:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:31:03] Production.INFO: Account Balance Start.
[2025-03-10 05:31:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:31:03] Production.INFO: 117
[2025-03-10 05:31:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:31:03] Production.INFO: count ==21
[2025-03-10 05:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647389') start
[2025-03-10 05:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:31:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:31:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:31:04] Production.INFO: Total Charge 0
[2025-03-10 05:31:04] Production.INFO: CreateAllLog End
[2025-03-10 05:31:04] Production.ERROR: done
[2025-03-10 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647389') end
[2025-03-10 05:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:31:04] Production.INFO: 1
[2025-03-10 05:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:31:04] Production.INFO: ==4522== Releasing lock...
[2025-03-10 05:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:31:04] Production.INFO: Account Balance End.
[2025-03-10 05:31:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:31:04] Production.INFO: ==4518== Releasing lock...
[2025-03-10 05:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:31:05
[end_date_ymd] => 2025-03-10 05:31:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:31:05' and `end` < '2025-03-10 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-03-10 05:31:12] Production.ERROR: CronJobId end10
[2025-03-10 05:31:12] Production.INFO: ==4516== Releasing lock...
[2025-03-10 05:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:31:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:31:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:31:14] Production.INFO: call_cost start
[2025-03-10 05:31:14] Production.INFO: call_cost end
[2025-03-10 05:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:31:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:31:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:31:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:31:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:31:15] Production.INFO: ==4512== Releasing lock...
[2025-03-10 05:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:31:17] Production.INFO: count ==104
[2025-03-10 05:31:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:31:05 - End Time 2025-03-10 05:31:05
[2025-03-10 05:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647391', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647391', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647391', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647391', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:31:17] Production.INFO: ProcessCDR(1,14647391,1,1,2)
[2025-03-10 05:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647391', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647391', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:31:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:31:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:31:20] Production.INFO: ==4520== Releasing lock...
[2025-03-10 05:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:31:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:32:02] Production.INFO: ==4588== Lock acquired, processing the job...
[2025-03-10 09:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:32:02] Production.INFO: neon service started
[2025-03-10 09:32:02] Production.INFO: neon service started
[2025-03-10 09:32:02] Production.INFO: ==4588== Releasing lock...
[2025-03-10 09:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:32:03] Production.INFO: ==4590== Lock acquired, processing the job...
[2025-03-10 05:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:32:03] Production.INFO: ==4592== Lock acquired, processing the job...
[2025-03-10 09:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:32:03] Production.INFO: ==4592== Releasing lock...
[2025-03-10 09:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:32:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:32:03] Production.INFO: ==4590== Releasing lock...
[2025-03-10 05:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:32:04] Production.INFO: ==4597== Lock acquired, processing the job...
[2025-03-10 05:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:32:04] Production.INFO: ==4601== Lock acquired, processing the job...
[2025-03-10 05:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:32:04] Production.INFO: ==4603== Lock acquired, processing the job...
[2025-03-10 05:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:32:04] Production.INFO: Account Balance Start.
[2025-03-10 05:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:32:04] Production.INFO: 117
[2025-03-10 05:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:32:04] Production.INFO: ==4597== Releasing lock...
[2025-03-10 05:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:32:04] Production.INFO: ==4595== Lock acquired, processing the job...
[2025-03-10 05:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:32:04] Production.INFO: Total Charge 0
[2025-03-10 05:32:04] Production.INFO: ==4605== Lock acquired, processing the job...
[2025-03-10 05:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:32:04] Production.INFO: ==4599== Lock acquired, processing the job...
[2025-03-10 05:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:32:04] Production.INFO: CreateAllLog End
[2025-03-10 05:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:32:04] Production.ERROR: done
[2025-03-10 05:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 05:32:04] Production.INFO: count ==13
[2025-03-10 05:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 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-03-10 05:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:32:04] Production.INFO: count ==21
[2025-03-10 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647395') start
[2025-03-10 05:32:04] Production.INFO: Account Balance End.
[2025-03-10 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647395') end
[2025-03-10 05:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:32:04] Production.INFO: 1
[2025-03-10 05:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:32:04] Production.ERROR: done
[2025-03-10 05:32:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:32:04] Production.INFO: ==4601== Releasing lock...
[2025-03-10 05:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:32:04] Production.INFO: ==4605== Releasing lock...
[2025-03-10 05:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:32:06
[end_date_ymd] => 2025-03-10 05:32:06
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:32:06' and `end` < '2025-03-10 05: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-03-10 05:32:12] Production.ERROR: CronJobId end10
[2025-03-10 05:32:13] Production.INFO: ==4599== Releasing lock...
[2025-03-10 05:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:32:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:32:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:32:15] Production.INFO: call_cost start
[2025-03-10 05:32:15] Production.INFO: call_cost end
[2025-03-10 05:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:32:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:32:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:32:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:32:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:32:15] Production.INFO: ==4595== Releasing lock...
[2025-03-10 05:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:32:18] Production.INFO: count ==103
[2025-03-10 05:32:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:32:06 - End Time 2025-03-10 05:32:06
[2025-03-10 05:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647396', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647396', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647396', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647396', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:32:18] Production.INFO: ProcessCDR(1,14647396,1,1,2)
[2025-03-10 05:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647396', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647396', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:32:21] Production.INFO: ==4603== Releasing lock...
[2025-03-10 05:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:32:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:33:01] Production.INFO: ==4708== Lock acquired, processing the job...
[2025-03-10 09:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:33:01] Production.INFO: neon service started
[2025-03-10 09:33:01] Production.INFO: neon service started
[2025-03-10 09:33:01] Production.INFO: ==4708== Releasing lock...
[2025-03-10 09:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:33:02] Production.INFO: ==4712== Lock acquired, processing the job...
[2025-03-10 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:33:02] Production.INFO: ==4712== Releasing lock...
[2025-03-10 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:33:02] Production.INFO: ==4710== Lock acquired, processing the job...
[2025-03-10 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:33:02] Production.INFO: ==4710== Releasing lock...
[2025-03-10 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:33:03] Production.INFO: ==4715== Lock acquired, processing the job...
[2025-03-10 05:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:33:03] Production.INFO: ==4719== Lock acquired, processing the job...
[2025-03-10 05:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:33:03] Production.INFO: ==4725== Lock acquired, processing the job...
[2025-03-10 05:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:33:03] Production.INFO: ==4717== Lock acquired, processing the job...
[2025-03-10 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05: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-03-10 05:33:03] Production.INFO: ==4721== Lock acquired, processing the job...
[2025-03-10 05:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:33:03] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:33:03] Production.INFO: count ==21
[2025-03-10 05:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647398') start
[2025-03-10 05:33:03] Production.INFO: ==4723== Lock acquired, processing the job...
[2025-03-10 05:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:33:03] Production.INFO: Account Balance Start.
[2025-03-10 05:33:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:33:03] Production.INFO: 117
[2025-03-10 05:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647398') end
[2025-03-10 05:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:33:03] Production.INFO: 1
[2025-03-10 05:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:33:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:33:04] Production.INFO: ==4725== Releasing lock...
[2025-03-10 05:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:33:04] Production.INFO: ==4717== Releasing lock...
[2025-03-10 05:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:33:04] Production.INFO: Total Charge 0
[2025-03-10 05:33:04] Production.INFO: CreateAllLog End
[2025-03-10 05:33:04] Production.ERROR: done
[2025-03-10 05:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:33:04] Production.ERROR: done
[2025-03-10 05:33:04] Production.INFO: Account Balance End.
[2025-03-10 05:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:33:04] Production.INFO: ==4721== Releasing lock...
[2025-03-10 05:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:33:05
[end_date_ymd] => 2025-03-10 05:33:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:33:05' and `end` < '2025-03-10 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-03-10 05:33:11] Production.ERROR: CronJobId end10
[2025-03-10 05:33:11] Production.INFO: ==4719== Releasing lock...
[2025-03-10 05:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:33:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:33:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:33:14] Production.INFO: call_cost start
[2025-03-10 05:33:14] Production.INFO: call_cost end
[2025-03-10 05:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:33:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:33:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:33:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:33:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:33:15] Production.INFO: ==4715== Releasing lock...
[2025-03-10 05:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:33:17] Production.INFO: count ==103
[2025-03-10 05:33:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:33:05 - End Time 2025-03-10 05:33:05
[2025-03-10 05:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647401', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647401', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647401', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647401', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:33:17] Production.INFO: ProcessCDR(1,14647401,1,1,2)
[2025-03-10 05:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647401', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647401', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:33:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:33:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:33:20] Production.INFO: ==4723== Releasing lock...
[2025-03-10 05:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:33:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:34:02] Production.INFO: ==4786== Lock acquired, processing the job...
[2025-03-10 09:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:34:02] Production.INFO: neon service started
[2025-03-10 09:34:02] Production.INFO: neon service started
[2025-03-10 09:34:02] Production.INFO: ==4786== Releasing lock...
[2025-03-10 09:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:34:02] Production.INFO: ==4788== Lock acquired, processing the job...
[2025-03-10 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:34:02] Production.INFO: ==4788== Releasing lock...
[2025-03-10 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:34:03] Production.INFO: ==4790== Lock acquired, processing the job...
[2025-03-10 09:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:34:03] Production.INFO: ==4790== Releasing lock...
[2025-03-10 09:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:34:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:34:03] Production.INFO: ==4797== Lock acquired, processing the job...
[2025-03-10 05:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:34:03] Production.INFO: ==4803== Lock acquired, processing the job...
[2025-03-10 05:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:34:03] Production.INFO: ==4793== Lock acquired, processing the job...
[2025-03-10 05:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:34:03] Production.INFO: ==4795== Lock acquired, processing the job...
[2025-03-10 05:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05: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-03-10 05:34:04] Production.INFO: ==4801== Lock acquired, processing the job...
[2025-03-10 05:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:34:04] Production.INFO: ==4799== Lock acquired, processing the job...
[2025-03-10 05:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:34:04] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:34:04] Production.INFO: count ==21
[2025-03-10 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647402') start
[2025-03-10 05:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:34:04] Production.INFO: Account Balance Start.
[2025-03-10 05:34:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:34:04] Production.INFO: 117
[2025-03-10 05:34:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:34:04] Production.INFO: ==4795== Releasing lock...
[2025-03-10 05:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647402') end
[2025-03-10 05:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:34:04] Production.INFO: 1
[2025-03-10 05:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:34:04] Production.INFO: Total Charge 0
[2025-03-10 05:34:04] Production.INFO: CreateAllLog End
[2025-03-10 05:34:04] Production.INFO: ==4803== Releasing lock...
[2025-03-10 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:34:04] Production.INFO: Account Balance End.
[2025-03-10 05:34:04] Production.ERROR: done
[2025-03-10 05:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:34:04] Production.INFO: ==4799== Releasing lock...
[2025-03-10 05:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:34:04] Production.ERROR: done
[2025-03-10 05:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:34:05
[end_date_ymd] => 2025-03-10 05:34:05
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:34:05' and `end` < '2025-03-10 05: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-03-10 05:34:12] Production.ERROR: CronJobId end10
[2025-03-10 05:34:12] Production.INFO: ==4797== Releasing lock...
[2025-03-10 05:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:34:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:34:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:34:15] Production.INFO: call_cost start
[2025-03-10 05:34:15] Production.INFO: call_cost end
[2025-03-10 05:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:34:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:34:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:34:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:34:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:34:16] Production.INFO: ==4793== Releasing lock...
[2025-03-10 05:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:34:17] Production.INFO: count ==103
[2025-03-10 05:34:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:34:05 - End Time 2025-03-10 05:34:05
[2025-03-10 05:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647406', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647406', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647406', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647406', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:34:17] Production.INFO: ProcessCDR(1,14647406,1,1,2)
[2025-03-10 05:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647406', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647406', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:34:21] Production.INFO: ==4801== Releasing lock...
[2025-03-10 05:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:34:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:35:01] Production.INFO: ==4857== Lock acquired, processing the job...
[2025-03-10 09:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:35:01] Production.INFO: neon service started
[2025-03-10 09:35:01] Production.INFO: neon service started
[2025-03-10 09:35:01] Production.INFO: ==4857== Releasing lock...
[2025-03-10 09:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:35:01] Production.INFO: ==4859== Lock acquired, processing the job...
[2025-03-10 05:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:35:02] Production.INFO: ==4859== Releasing lock...
[2025-03-10 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:35:02] Production.INFO: ==4861== Lock acquired, processing the job...
[2025-03-10 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:35:02] Production.INFO: ==4861== Releasing lock...
[2025-03-10 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:35:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:35:03] Production.INFO: ==4865== Lock acquired, processing the job...
[2025-03-10 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:35:03] Production.INFO: ==4863== Lock acquired, processing the job...
[2025-03-10 05:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:35:03] Production.INFO: ==4874== Lock acquired, processing the job...
[2025-03-10 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:35:03] Production.INFO: ==4867== Lock acquired, processing the job...
[2025-03-10 05:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:35:03] Production.INFO: ==4869== Lock acquired, processing the job...
[2025-03-10 05:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05: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-03-10 05:35:03] Production.INFO: ==4872== Lock acquired, processing the job...
[2025-03-10 05:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:35:03] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:35:03] Production.INFO: count ==21
[2025-03-10 05:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647409') start
[2025-03-10 05:35:03] Production.INFO: Account Balance Start.
[2025-03-10 05:35:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:35:03] Production.INFO: 117
[2025-03-10 05:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:35:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:35:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:35:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:35:03] Production.INFO: Total Charge 0
[2025-03-10 05:35:03] Production.INFO: CreateAllLog End
[2025-03-10 05:35:03] Production.INFO: ==4865== Releasing lock...
[2025-03-10 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647409') end
[2025-03-10 05:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:35:03] Production.INFO: 1
[2025-03-10 05:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:35:04] Production.INFO: ==4874== Releasing lock...
[2025-03-10 05:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:35:04] Production.ERROR: done
[2025-03-10 05:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:35:04] Production.INFO: Account Balance End.
[2025-03-10 05:35:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:35:04] Production.INFO: ==4869== Releasing lock...
[2025-03-10 05:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:35:04] Production.ERROR: done
[2025-03-10 05:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:35:05
[end_date_ymd] => 2025-03-10 05:35:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:35:05' and `end` < '2025-03-10 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-03-10 05:35:12] Production.ERROR: CronJobId end10
[2025-03-10 05:35:12] Production.INFO: ==4867== Releasing lock...
[2025-03-10 05:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:35:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:35:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:35:14] Production.INFO: call_cost start
[2025-03-10 05:35:14] Production.INFO: call_cost end
[2025-03-10 05:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:35:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:35:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:35:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:35:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:35:15] Production.INFO: ==4863== Releasing lock...
[2025-03-10 05:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:35:17] Production.INFO: count ==103
[2025-03-10 05:35:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:35:05 - End Time 2025-03-10 05:35:05
[2025-03-10 05:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647411', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647411', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647411', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647411', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:35:17] Production.INFO: ProcessCDR(1,14647411,1,1,2)
[2025-03-10 05:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647411', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647411', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:35:20] Production.INFO: ==4872== Releasing lock...
[2025-03-10 05:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:35:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:36:02] Production.INFO: ==4932== Lock acquired, processing the job...
[2025-03-10 09:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:36:02] Production.INFO: neon service started
[2025-03-10 09:36:02] Production.INFO: neon service started
[2025-03-10 09:36:02] Production.INFO: ==4932== Releasing lock...
[2025-03-10 09:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:36:02] Production.INFO: ==4934== Lock acquired, processing the job...
[2025-03-10 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:36:02] Production.INFO: ==4936== Lock acquired, processing the job...
[2025-03-10 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:36:02] Production.INFO: ==4936== Releasing lock...
[2025-03-10 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:36:03] Production.INFO: ==4934== Releasing lock...
[2025-03-10 05:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:36:04] Production.INFO: ==4943== Lock acquired, processing the job...
[2025-03-10 05:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:36:04] Production.INFO: ==4939== Lock acquired, processing the job...
[2025-03-10 05:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:36:04] Production.INFO: ==4945== Lock acquired, processing the job...
[2025-03-10 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:36:04] Production.INFO: ==4941== Lock acquired, processing the job...
[2025-03-10 05:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:36:04] Production.INFO: Account Balance Start.
[2025-03-10 05:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:36:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:36:04] Production.INFO: 117
[2025-03-10 05:36:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:36:04] Production.INFO: ==4947== Lock acquired, processing the job...
[2025-03-10 05:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:36:04] Production.INFO: Total Charge 0
[2025-03-10 05:36:04] Production.INFO: CreateAllLog End
[2025-03-10 05:36:04] Production.INFO: ==4949== Lock acquired, processing the job...
[2025-03-10 05:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:36:04] Production.INFO: ==4941== Releasing lock...
[2025-03-10 05:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05: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-03-10 05:36:04] Production.INFO: count ==13
[2025-03-10 05:36:04] Production.INFO: Account Balance End.
[2025-03-10 05: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-03-10 05:36:04] Production.INFO: count ==21
[2025-03-10 05:36:04] Production.ERROR: done
[2025-03-10 05:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647415') start
[2025-03-10 05:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:36:04] Production.INFO: ==4945== Releasing lock...
[2025-03-10 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:36:05] Production.ERROR: done
[2025-03-10 05:36:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647415') end
[2025-03-10 05:36:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:36:05] Production.INFO: 1
[2025-03-10 05:36:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:36:05] Production.INFO: ==4949== Releasing lock...
[2025-03-10 05:36:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:36:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:36:06
[end_date_ymd] => 2025-03-10 05:36:06
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:36:06' and `end` < '2025-03-10 05: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-03-10 05:36:11] Production.ERROR: CronJobId end10
[2025-03-10 05:36:11] Production.INFO: ==4943== Releasing lock...
[2025-03-10 05:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:36:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:36:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:36:14] Production.INFO: call_cost start
[2025-03-10 05:36:14] Production.INFO: call_cost end
[2025-03-10 05:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:36:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:36:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:36:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:36:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:36:15] Production.INFO: ==4939== Releasing lock...
[2025-03-10 05:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:36:18] Production.INFO: count ==103
[2025-03-10 05:36:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:36:06 - End Time 2025-03-10 05:36:06
[2025-03-10 05:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647416', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647416', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647416', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647416', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:36:18] Production.INFO: ProcessCDR(1,14647416,1,1,2)
[2025-03-10 05:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647416', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647416', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:36:21] Production.INFO: ==4947== Releasing lock...
[2025-03-10 05:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:36:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:37:01] Production.INFO: ==5004== Lock acquired, processing the job...
[2025-03-10 09:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:37:01] Production.INFO: neon service started
[2025-03-10 09:37:01] Production.INFO: neon service started
[2025-03-10 09:37:01] Production.INFO: ==5004== Releasing lock...
[2025-03-10 09:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:37:01] Production.INFO: ==5008== Lock acquired, processing the job...
[2025-03-10 09:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:37:01] Production.INFO: ==5008== Releasing lock...
[2025-03-10 09:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:37:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:37:02] Production.INFO: ==5006== Lock acquired, processing the job...
[2025-03-10 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:37:02] Production.INFO: ==5006== Releasing lock...
[2025-03-10 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:37:03] Production.INFO: ==5014== Lock acquired, processing the job...
[2025-03-10 05:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:37:03] Production.INFO: ==5017== Lock acquired, processing the job...
[2025-03-10 05:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:37:03] Production.INFO: ==5010== Lock acquired, processing the job...
[2025-03-10 05:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:37:03] Production.INFO: Account Balance Start.
[2025-03-10 05:37:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:37:03] Production.INFO: 117
[2025-03-10 05:37:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:37:03] Production.INFO: ==5012== Lock acquired, processing the job...
[2025-03-10 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:37:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:37:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:37:03] Production.INFO: Total Charge 0
[2025-03-10 05:37:03] Production.INFO: CreateAllLog End
[2025-03-10 05:37:03] Production.INFO: ==5019== Lock acquired, processing the job...
[2025-03-10 05:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:37:03] Production.INFO: ==5021== Lock acquired, processing the job...
[2025-03-10 05:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:37:03] Production.INFO: Account Balance End.
[2025-03-10 05:37:03] Production.ERROR: CronJobId end 12
[2025-03-10 05:37:03] Production.INFO: ==5017== Releasing lock...
[2025-03-10 05:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:37:03] Production.INFO: ==5012== Releasing lock...
[2025-03-10 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05: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-03-10 05:37:04] Production.INFO: count ==13
[2025-03-10 05:37:04] Production.ERROR: done
[2025-03-10 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-03-10 05:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:37:04] Production.INFO: count ==21
[2025-03-10 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647420') start
[2025-03-10 05:37:04] Production.ERROR: done
[2025-03-10 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647420') end
[2025-03-10 05:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:37:04] Production.INFO: 1
[2025-03-10 05:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:37:04] Production.INFO: ==5021== Releasing lock...
[2025-03-10 05:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:37:05
[end_date_ymd] => 2025-03-10 05:37:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:37:05' and `end` < '2025-03-10 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-03-10 05:37:10] Production.ERROR: CronJobId end10
[2025-03-10 05:37:10] Production.INFO: ==5014== Releasing lock...
[2025-03-10 05:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:37:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:37:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:37:13] Production.INFO: call_cost start
[2025-03-10 05:37:13] Production.INFO: call_cost end
[2025-03-10 05:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:37:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:37:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:37:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:37:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:37:14] Production.INFO: ==5010== Releasing lock...
[2025-03-10 05:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:37:17] Production.INFO: count ==106
[2025-03-10 05:37:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:37:05 - End Time 2025-03-10 05:37:05
[2025-03-10 05:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647421', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647421', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647421', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647421', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:37:17] Production.INFO: ProcessCDR(1,14647421,1,1,2)
[2025-03-10 05:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647421', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647421', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:37:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:37:20] Production.INFO: ==5019== Releasing lock...
[2025-03-10 05:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:37:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:38:01] Production.INFO: ==5078== Lock acquired, processing the job...
[2025-03-10 09:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:38:02] Production.INFO: neon service started
[2025-03-10 09:38:02] Production.INFO: neon service started
[2025-03-10 09:38:02] Production.INFO: ==5078== Releasing lock...
[2025-03-10 09:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:38:02] Production.INFO: ==5080== Lock acquired, processing the job...
[2025-03-10 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:38:02] Production.INFO: ==5082== Lock acquired, processing the job...
[2025-03-10 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:38:02] Production.INFO: ==5082== Releasing lock...
[2025-03-10 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:38:03] Production.INFO: ==5080== Releasing lock...
[2025-03-10 05:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:38:03] Production.INFO: ==5085== Lock acquired, processing the job...
[2025-03-10 05:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:38:04] Production.INFO: ==5089== Lock acquired, processing the job...
[2025-03-10 05:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:38:04] Production.INFO: ==5093== Lock acquired, processing the job...
[2025-03-10 05:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:38:04] Production.INFO: ==5087== Lock acquired, processing the job...
[2025-03-10 05:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:38:04] Production.INFO: ==5091== Lock acquired, processing the job...
[2025-03-10 05:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:38:04] Production.INFO: ==5095== Lock acquired, processing the job...
[2025-03-10 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:38:04] Production.ERROR: done
[2025-03-10 05:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:38:04] Production.INFO: Account Balance Start.
[2025-03-10 05:38:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:38:04] Production.INFO: 117
[2025-03-10 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-03-10 05:38:04] Production.ERROR: done
[2025-03-10 05:38:04] Production.INFO: ==5087== Releasing lock...
[2025-03-10 05:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:38:04] Production.INFO: count ==13
[2025-03-10 05:38:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 05:38:04] Production.INFO: count ==21
[2025-03-10 05:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647424') start
[2025-03-10 05:38:05] Production.INFO: Date 2025-03-10
[2025-03-10 05:38:05] Production.INFO: Reseller ==> 0
[2025-03-10 05:38:05] Production.INFO: Total Charge 0
[2025-03-10 05:38:05] Production.INFO: CreateAllLog End
[2025-03-10 05:38:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647424') end
[2025-03-10 05:38:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:38:05] Production.INFO: 1
[2025-03-10 05:38:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:38:05] Production.INFO: ==5095== Releasing lock...
[2025-03-10 05:38:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:38:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:38:05] Production.INFO: Account Balance End.
[2025-03-10 05:38:05] Production.ERROR: CronJobId end 12
[2025-03-10 05:38:05] Production.INFO: ==5091== Releasing lock...
[2025-03-10 05:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:38:06
[end_date_ymd] => 2025-03-10 05:38:06
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:38:06' and `end` < '2025-03-10 05: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-03-10 05:38:12] Production.ERROR: CronJobId end10
[2025-03-10 05:38:12] Production.INFO: ==5089== Releasing lock...
[2025-03-10 05:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:38:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:38:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:38:15] Production.INFO: call_cost start
[2025-03-10 05:38:15] Production.INFO: call_cost end
[2025-03-10 05:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:38:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:38:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:38:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:38:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:38:16] Production.INFO: ==5085== Releasing lock...
[2025-03-10 05:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:38:18] Production.INFO: count ==109
[2025-03-10 05:38:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:38:06 - End Time 2025-03-10 05:38:06
[2025-03-10 05:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647426', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647426', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647426', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647426', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:38:18] Production.INFO: ProcessCDR(1,14647426,1,1,2)
[2025-03-10 05:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647426', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647426', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:38:21] Production.INFO: ==5093== Releasing lock...
[2025-03-10 05:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:38:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 09:39:01] Production.INFO: ==5152== Lock acquired, processing the job...
[2025-03-10 09:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:39:01] Production.INFO: neon service started
[2025-03-10 09:39:01] Production.INFO: neon service started
[2025-03-10 09:39:01] Production.INFO: ==5152== Releasing lock...
[2025-03-10 09:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:39:02] Production.INFO: ==5154== Lock acquired, processing the job...
[2025-03-10 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:39:02] Production.INFO: ==5156== Lock acquired, processing the job...
[2025-03-10 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:39:02] Production.INFO: ==5156== Releasing lock...
[2025-03-10 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:39:02] Production.INFO: ==5154== Releasing lock...
[2025-03-10 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:39:03] Production.INFO: ==5169== Lock acquired, processing the job...
[2025-03-10 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:39:03] Production.INFO: ==5165== Lock acquired, processing the job...
[2025-03-10 05:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:39:03] Production.INFO: ==5159== Lock acquired, processing the job...
[2025-03-10 05:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 05:39:03] Production.INFO: count ==13
[2025-03-10 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-03-10 05:39:03] Production.INFO: Account Balance Start.
[2025-03-10 05:39:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:39:03] Production.INFO: count ==21
[2025-03-10 05:39:03] Production.INFO: 117
[2025-03-10 05:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647427') start
[2025-03-10 05:39:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:39:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:39:03] Production.INFO: ==5161== Lock acquired, processing the job...
[2025-03-10 05:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:39:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:39:03] Production.INFO: ==5163== Lock acquired, processing the job...
[2025-03-10 05:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647427') end
[2025-03-10 05:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:39:03] Production.INFO: 1
[2025-03-10 05:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:39:03] Production.INFO: ==5167== Lock acquired, processing the job...
[2025-03-10 05:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:39:03] Production.INFO: Total Charge 0
[2025-03-10 05:39:03] Production.INFO: CreateAllLog End
[2025-03-10 05:39:03] Production.INFO: ==5169== Releasing lock...
[2025-03-10 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:39:04] Production.INFO: Account Balance End.
[2025-03-10 05:39:04] Production.INFO: ==5161== Releasing lock...
[2025-03-10 05:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:39:04] Production.INFO: ==5165== Releasing lock...
[2025-03-10 05:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:39:04] Production.ERROR: done
[2025-03-10 05:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:39:04] Production.ERROR: done
[2025-03-10 05:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:39:05
[end_date_ymd] => 2025-03-10 05:39:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:39:05' and `end` < '2025-03-10 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-03-10 05:39:12] Production.ERROR: CronJobId end10
[2025-03-10 05:39:12] Production.INFO: ==5163== Releasing lock...
[2025-03-10 05:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:39:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:39:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:39:14] Production.INFO: call_cost start
[2025-03-10 05:39:14] Production.INFO: call_cost end
[2025-03-10 05:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:39:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:39:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:39:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:39:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:39:14] Production.INFO: ==5159== Releasing lock...
[2025-03-10 05:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:39:17] Production.INFO: count ==109
[2025-03-10 05:39:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:39:05 - End Time 2025-03-10 05:39:05
[2025-03-10 05:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647431', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647431', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647431', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647431', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:39:17] Production.INFO: ProcessCDR(1,14647431,1,1,2)
[2025-03-10 05:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647431', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647431', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:39:20] Production.INFO: ==5167== Releasing lock...
[2025-03-10 05:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:39:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 09:40:01] Production.INFO: ==5227== Lock acquired, processing the job...
[2025-03-10 09:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:40:01] Production.INFO: neon service started
[2025-03-10 09:40:01] Production.INFO: neon service started
[2025-03-10 09:40:01] Production.INFO: ==5227== Releasing lock...
[2025-03-10 09:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:40:02] Production.INFO: ==5229== Lock acquired, processing the job...
[2025-03-10 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:40:02] Production.INFO: ==5231== Lock acquired, processing the job...
[2025-03-10 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:40:02] Production.INFO: ==5231== Releasing lock...
[2025-03-10 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:40:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:40:02] Production.INFO: ==5229== Releasing lock...
[2025-03-10 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:40:03] Production.INFO: ==5233== Lock acquired, processing the job...
[2025-03-10 05:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 05:40:03] Production.INFO: ==5241== Lock acquired, processing the job...
[2025-03-10 05:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:40:03] Production.INFO: ==5235== Lock acquired, processing the job...
[2025-03-10 05:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 05:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 05:40:04] Production.INFO: ==5243== Lock acquired, processing the job...
[2025-03-10 05:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:40:04] Production.INFO: ==5233== Releasing lock...
[2025-03-10 05:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 05:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 05:40:04] Production.INFO: ==5245== Lock acquired, processing the job...
[2025-03-10 05:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 05:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:40:04] Production.INFO: ==5237== Lock acquired, processing the job...
[2025-03-10 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:40:04] Production.INFO: Account Balance Start.
[2025-03-10 05:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:40:04] Production.INFO: 117
[2025-03-10 05:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:40:04] Production.INFO: ==5247== Lock acquired, processing the job...
[2025-03-10 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:40:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:40:04] Production.INFO: ==5239== Lock acquired, processing the job...
[2025-03-10 05:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:40:04] Production.INFO: ==5237== Releasing lock...
[2025-03-10 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:40:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 05:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:40:04] Production.INFO: count ==13
[2025-03-10 05:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:40:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 05:40:04] Production.INFO: CreateAllLog End
[2025-03-10 05:40:04] Production.INFO: count ==21
[2025-03-10 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647435') start
[2025-03-10 05:40:04] Production.ERROR: done
[2025-03-10 05:40:04] Production.ERROR: done
[2025-03-10 05:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 05:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647436', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 05:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647435') end
[2025-03-10 05:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:40:04] Production.INFO: 1
[2025-03-10 05:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:40:04] Production.INFO: ==5247== Releasing lock...
[2025-03-10 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:40:04] Production.ERROR: done
[2025-03-10 05:40:04] Production.INFO: Account Balance End.
[2025-03-10 05:40:05] Production.ERROR: CronJobId end 12
[2025-03-10 05:40:05] Production.INFO: ==5241== Releasing lock...
[2025-03-10 05:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:40:06
[end_date_ymd] => 2025-03-10 05:40:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:40:06' and `end` < '2025-03-10 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-03-10 05:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647436', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 05:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 05:40:08] Production.INFO: ProcessCDR(1,14647436,1,1,2)
[2025-03-10 05:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647436,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647436,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:40:08] Production.INFO: ==5245== Releasing lock...
[2025-03-10 05:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 05:40:08] Production.INFO: 26 MB #Memory Used#
[2025-03-10 05:40:15] Production.ERROR: CronJobId end10
[2025-03-10 05:40:15] Production.INFO: ==5239== Releasing lock...
[2025-03-10 05:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:40:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:40:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:40:16] Production.INFO: call_cost start
[2025-03-10 05:40:16] Production.INFO: call_cost end
[2025-03-10 05:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:40:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:40:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:40:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:40:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:40:17] Production.INFO: ==5235== Releasing lock...
[2025-03-10 05:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:40:18] Production.INFO: count ==110
[2025-03-10 05:40:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:40:06 - End Time 2025-03-10 05:40:06
[2025-03-10 05:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647437', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647437', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647437', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647437', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:40:18] Production.INFO: ProcessCDR(1,14647437,1,1,2)
[2025-03-10 05:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647437', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647437', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:40:21] Production.INFO: ==5243== Releasing lock...
[2025-03-10 05:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:40:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:41:02] Production.INFO: ==5305== Lock acquired, processing the job...
[2025-03-10 09:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:41:02] Production.INFO: neon service started
[2025-03-10 09:41:02] Production.INFO: neon service started
[2025-03-10 09:41:02] Production.INFO: ==5305== Releasing lock...
[2025-03-10 09:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:41:02] Production.INFO: ==5308== Lock acquired, processing the job...
[2025-03-10 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:41:03] Production.INFO: ==5310== Lock acquired, processing the job...
[2025-03-10 09:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:41:03] Production.INFO: ==5310== Releasing lock...
[2025-03-10 09:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:41:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:41:03] Production.INFO: ==5308== Releasing lock...
[2025-03-10 05:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:41:03] Production.INFO: ==5312== Lock acquired, processing the job...
[2025-03-10 05:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:41:03] Production.INFO: ==5314== Lock acquired, processing the job...
[2025-03-10 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:41:03] Production.INFO: ==5318== Lock acquired, processing the job...
[2025-03-10 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:41:04] Production.INFO: ==5316== Lock acquired, processing the job...
[2025-03-10 05:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:41:04] Production.INFO: Account Balance Start.
[2025-03-10 05:41:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:41:04] Production.INFO: 117
[2025-03-10 05:41:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:41:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:41:04] Production.INFO: ==5320== Lock acquired, processing the job...
[2025-03-10 05:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:41:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:41:04] Production.INFO: ==5314== Releasing lock...
[2025-03-10 05:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:41:04] Production.INFO: Total Charge 0
[2025-03-10 05:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:41:04] Production.INFO: ==5322== Lock acquired, processing the job...
[2025-03-10 05:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:41:04] Production.INFO: CreateAllLog End
[2025-03-10 05: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-03-10 05:41:04] Production.INFO: Account Balance End.
[2025-03-10 05:41:04] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:41:04] Production.INFO: count ==21
[2025-03-10 05:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:41:04] Production.INFO: ==5318== Releasing lock...
[2025-03-10 05:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647441') start
[2025-03-10 05:41:04] Production.ERROR: done
[2025-03-10 05:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647441') end
[2025-03-10 05:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:41:04] Production.INFO: 1
[2025-03-10 05:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:41:04] Production.INFO: ==5322== Releasing lock...
[2025-03-10 05:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:41:04] Production.ERROR: done
[2025-03-10 05:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:41:05
[end_date_ymd] => 2025-03-10 05:41:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:41:05' and `end` < '2025-03-10 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-03-10 05:41:11] Production.ERROR: CronJobId end10
[2025-03-10 05:41:11] Production.INFO: ==5316== Releasing lock...
[2025-03-10 05:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:41:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:41:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:41:14] Production.INFO: call_cost start
[2025-03-10 05:41:14] Production.INFO: call_cost end
[2025-03-10 05:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:41:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:41:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:41:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:41:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:41:15] Production.INFO: ==5312== Releasing lock...
[2025-03-10 05:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:41:17] Production.INFO: count ==110
[2025-03-10 05:41:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:41:05 - End Time 2025-03-10 05:41:05
[2025-03-10 05:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647442', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647442', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647442', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647442', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:41:18] Production.INFO: ProcessCDR(1,14647442,1,1,2)
[2025-03-10 05:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647442', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647442', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:41:21] Production.INFO: ==5320== Releasing lock...
[2025-03-10 05:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:41:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:42:01] Production.INFO: ==5381== Lock acquired, processing the job...
[2025-03-10 09:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:42:01] Production.INFO: neon service started
[2025-03-10 09:42:01] Production.INFO: neon service started
[2025-03-10 09:42:01] Production.INFO: ==5381== Releasing lock...
[2025-03-10 09:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:42:02] Production.INFO: ==5386== Lock acquired, processing the job...
[2025-03-10 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:42:02] Production.INFO: ==5386== Releasing lock...
[2025-03-10 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:42:02] Production.INFO: ==5384== Lock acquired, processing the job...
[2025-03-10 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:42:02] Production.INFO: ==5384== Releasing lock...
[2025-03-10 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:42:03] Production.INFO: ==5391== Lock acquired, processing the job...
[2025-03-10 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:42:03] Production.INFO: ==5395== Lock acquired, processing the job...
[2025-03-10 05:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:42:03] Production.INFO: ==5397== Lock acquired, processing the job...
[2025-03-10 05:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:42:03] Production.INFO: ==5399== Lock acquired, processing the job...
[2025-03-10 05:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:42:03] Production.INFO: Account Balance Start.
[2025-03-10 05:42:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:42:03] Production.INFO: 117
[2025-03-10 05:42:03] Production.INFO: ==5389== Lock acquired, processing the job...
[2025-03-10 05:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:42:04] Production.INFO: ==5393== Lock acquired, processing the job...
[2025-03-10 05:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 05:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:42:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:42:04] Production.INFO: count ==21
[2025-03-10 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647445') start
[2025-03-10 05:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:42:04] Production.INFO: ==5391== Releasing lock...
[2025-03-10 05:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:42:04] Production.ERROR: done
[2025-03-10 05:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:42:04] Production.INFO: Total Charge 0
[2025-03-10 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647445') end
[2025-03-10 05:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:42:04] Production.INFO: 1
[2025-03-10 05:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:42:04] Production.INFO: CreateAllLog End
[2025-03-10 05:42:04] Production.INFO: ==5399== Releasing lock...
[2025-03-10 05:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:42:04] Production.ERROR: done
[2025-03-10 05:42:04] Production.INFO: Account Balance End.
[2025-03-10 05:42:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:42:04] Production.INFO: ==5395== Releasing lock...
[2025-03-10 05:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:42:05
[end_date_ymd] => 2025-03-10 05:42:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:42:05' and `end` < '2025-03-10 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-03-10 05:42:11] Production.ERROR: CronJobId end10
[2025-03-10 05:42:11] Production.INFO: ==5393== Releasing lock...
[2025-03-10 05:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:42:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:42:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:42:14] Production.INFO: call_cost start
[2025-03-10 05:42:14] Production.INFO: call_cost end
[2025-03-10 05:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:42:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:42:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:42:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:42:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:42:15] Production.INFO: ==5389== Releasing lock...
[2025-03-10 05:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:42:17] Production.INFO: count ==110
[2025-03-10 05:42:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:42:05 - End Time 2025-03-10 05:42:05
[2025-03-10 05:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647447', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647447', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647447', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647447', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:42:17] Production.INFO: ProcessCDR(1,14647447,1,1,2)
[2025-03-10 05:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647447', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647447', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:42:21] Production.INFO: ==5397== Releasing lock...
[2025-03-10 05:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:42:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:43:02] Production.INFO: ==5459== Lock acquired, processing the job...
[2025-03-10 09:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:43:02] Production.INFO: neon service started
[2025-03-10 09:43:02] Production.INFO: neon service started
[2025-03-10 09:43:02] Production.INFO: ==5459== Releasing lock...
[2025-03-10 09:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:43:03] Production.INFO: ==5461== Lock acquired, processing the job...
[2025-03-10 05:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:43:03] Production.INFO: ==5463== Lock acquired, processing the job...
[2025-03-10 09:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:43:03] Production.INFO: ==5463== Releasing lock...
[2025-03-10 09:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:43:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:43:03] Production.INFO: ==5461== Releasing lock...
[2025-03-10 05:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:43:04] Production.INFO: ==5468== Lock acquired, processing the job...
[2025-03-10 05:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:43:04] Production.INFO: ==5476== Lock acquired, processing the job...
[2025-03-10 05:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05: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-03-10 05:43:04] Production.INFO: count ==13
[2025-03-10 05:43:04] Production.INFO: ==5468== Releasing lock...
[2025-03-10 05:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:43:04] Production.INFO: ==5466== Lock acquired, processing the job...
[2025-03-10 05:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05: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-03-10 05:43:04] Production.INFO: count ==21
[2025-03-10 05:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647449') start
[2025-03-10 05:43:04] Production.INFO: ==5470== Lock acquired, processing the job...
[2025-03-10 05:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:43:04] Production.INFO: ==5472== Lock acquired, processing the job...
[2025-03-10 05:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:43:04] Production.INFO: ==5474== Lock acquired, processing the job...
[2025-03-10 05:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647449') end
[2025-03-10 05:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:43:04] Production.INFO: 1
[2025-03-10 05:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:43:04] Production.INFO: ==5476== Releasing lock...
[2025-03-10 05:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:43:04] Production.INFO: Account Balance Start.
[2025-03-10 05:43:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:43:04] Production.INFO: 117
[2025-03-10 05:43:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:43:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:43:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:43:04] Production.INFO: Total Charge 0
[2025-03-10 05:43:04] Production.INFO: CreateAllLog End
[2025-03-10 05:43:05] Production.ERROR: done
[2025-03-10 05:43:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:43:05] Production.INFO: Account Balance End.
[2025-03-10 05:43:05] Production.ERROR: CronJobId end 12
[2025-03-10 05:43:05] Production.INFO: ==5472== Releasing lock...
[2025-03-10 05:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:43:05] Production.ERROR: done
[2025-03-10 05:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:43:06
[end_date_ymd] => 2025-03-10 05:43:06
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:43:06' and `end` < '2025-03-10 05: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-03-10 05:43:12] Production.ERROR: CronJobId end10
[2025-03-10 05:43:12] Production.INFO: ==5470== Releasing lock...
[2025-03-10 05:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:43:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:43:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:43:13] Production.INFO: call_cost start
[2025-03-10 05:43:13] Production.INFO: call_cost end
[2025-03-10 05:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:43:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:43:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:43:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:43:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:43:14] Production.INFO: ==5466== Releasing lock...
[2025-03-10 05:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:43:18] Production.INFO: count ==110
[2025-03-10 05:43:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:43:06 - End Time 2025-03-10 05:43:06
[2025-03-10 05:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647452', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647452', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647452', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647452', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:43:18] Production.INFO: ProcessCDR(1,14647452,1,1,2)
[2025-03-10 05:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647452', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647452', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:43:21] Production.INFO: ==5474== Releasing lock...
[2025-03-10 05:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:43:21] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:44:01] Production.INFO: ==5545== Lock acquired, processing the job...
[2025-03-10 09:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:44:01] Production.INFO: neon service started
[2025-03-10 09:44:01] Production.INFO: neon service started
[2025-03-10 09:44:01] Production.INFO: ==5545== Releasing lock...
[2025-03-10 09:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:44:02] Production.INFO: ==5549== Lock acquired, processing the job...
[2025-03-10 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:44:02] Production.INFO: ==5549== Releasing lock...
[2025-03-10 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:44:02] Production.INFO: ==5547== Lock acquired, processing the job...
[2025-03-10 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:44:02] Production.INFO: ==5547== Releasing lock...
[2025-03-10 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:44:03] Production.INFO: ==5554== Lock acquired, processing the job...
[2025-03-10 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:44:03] Production.INFO: ==5560== Lock acquired, processing the job...
[2025-03-10 05:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:44:03] Production.INFO: ==5554== Releasing lock...
[2025-03-10 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:44:03] Production.INFO: ==5552== Lock acquired, processing the job...
[2025-03-10 05:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:44:04] Production.INFO: ==5556== Lock acquired, processing the job...
[2025-03-10 05:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:44:04] Production.INFO: ==5558== Lock acquired, processing the job...
[2025-03-10 05:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:44:04] Production.INFO: ==5562== Lock acquired, processing the job...
[2025-03-10 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:44:04] Production.ERROR: done
[2025-03-10 05:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:44:04] Production.INFO: Account Balance Start.
[2025-03-10 05:44:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:44:04] Production.INFO: 117
[2025-03-10 05:44:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 05:44:04] Production.ERROR: done
[2025-03-10 05:44:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:44:04] Production.INFO: count ==21
[2025-03-10 05:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647456') start
[2025-03-10 05:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:44:04] Production.INFO: Total Charge 0
[2025-03-10 05:44:04] Production.INFO: CreateAllLog End
[2025-03-10 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647456') end
[2025-03-10 05:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:44:04] Production.INFO: 1
[2025-03-10 05:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:44:04] Production.INFO: ==5562== Releasing lock...
[2025-03-10 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:44:04] Production.INFO: Account Balance End.
[2025-03-10 05:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:44:04] Production.INFO: ==5558== Releasing lock...
[2025-03-10 05:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:44:05
[end_date_ymd] => 2025-03-10 05:44:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:44:05' and `end` < '2025-03-10 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-03-10 05:44:12] Production.ERROR: CronJobId end10
[2025-03-10 05:44:12] Production.INFO: ==5556== Releasing lock...
[2025-03-10 05:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:44:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:44:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:44:14] Production.INFO: call_cost start
[2025-03-10 05:44:14] Production.INFO: call_cost end
[2025-03-10 05:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:44:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:44:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:44:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:44:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:44:15] Production.INFO: ==5552== Releasing lock...
[2025-03-10 05:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:44:17] Production.INFO: count ==106
[2025-03-10 05:44:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:44:05 - End Time 2025-03-10 05:44:05
[2025-03-10 05:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647457', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647457', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647457', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647457', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:44:17] Production.INFO: ProcessCDR(1,14647457,1,1,2)
[2025-03-10 05:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647457', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647457', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:44:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:44:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:44:20] Production.INFO: ==5560== Releasing lock...
[2025-03-10 05:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:44:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 09:45:02] Production.INFO: ==5629== Lock acquired, processing the job...
[2025-03-10 09:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:45:02] Production.INFO: neon service started
[2025-03-10 09:45:02] Production.INFO: neon service started
[2025-03-10 09:45:02] Production.INFO: ==5629== Releasing lock...
[2025-03-10 09:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:45:02] Production.INFO: ==5631== Lock acquired, processing the job...
[2025-03-10 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:45:03] Production.INFO: ==5631== Releasing lock...
[2025-03-10 05:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:45:03] Production.INFO: ==5633== Lock acquired, processing the job...
[2025-03-10 09:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:45:03] Production.INFO: ==5633== Releasing lock...
[2025-03-10 09:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:45:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:45:03] Production.INFO: ==5644== Lock acquired, processing the job...
[2025-03-10 05:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:45:04] Production.INFO: ==5640== Lock acquired, processing the job...
[2025-03-10 05:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:45:04] Production.INFO: ==5636== Lock acquired, processing the job...
[2025-03-10 05:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:45:04] Production.INFO: ==5638== Lock acquired, processing the job...
[2025-03-10 05:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:45:04] Production.INFO: ==5642== Lock acquired, processing the job...
[2025-03-10 05:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:45:04] Production.INFO: ==5646== Lock acquired, processing the job...
[2025-03-10 05:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:45:04] Production.ERROR: done
[2025-03-10 05:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05: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-03-10 05:45:04] Production.INFO: Account Balance Start.
[2025-03-10 05:45:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:45:04] Production.INFO: 117
[2025-03-10 05:45:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:45:04] Production.INFO: count ==13
[2025-03-10 05:45:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 05: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-03-10 05:45:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:45:04] Production.INFO: count ==21
[2025-03-10 05:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:45:04] Production.INFO: Total Charge 0
[2025-03-10 05:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647460') start
[2025-03-10 05:45:04] Production.INFO: CreateAllLog End
[2025-03-10 05:45:04] Production.ERROR: done
[2025-03-10 05:45:04] Production.INFO: ==5638== Releasing lock...
[2025-03-10 05:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647460') end
[2025-03-10 05:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:45:04] Production.INFO: 1
[2025-03-10 05:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:45:05] Production.INFO: ==5646== Releasing lock...
[2025-03-10 05:45:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:45:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:45:05] Production.INFO: Account Balance End.
[2025-03-10 05:45:05] Production.ERROR: CronJobId end 12
[2025-03-10 05:45:05] Production.INFO: ==5642== Releasing lock...
[2025-03-10 05:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:45:06
[end_date_ymd] => 2025-03-10 05:45:06
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:45:06' and `end` < '2025-03-10 05: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-03-10 05:45:11] Production.ERROR: CronJobId end10
[2025-03-10 05:45:11] Production.INFO: ==5640== Releasing lock...
[2025-03-10 05:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:45:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:45:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:45:15] Production.INFO: call_cost start
[2025-03-10 05:45:15] Production.INFO: call_cost end
[2025-03-10 05:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:45:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:45:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:45:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:45:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:45:16] Production.INFO: ==5636== Releasing lock...
[2025-03-10 05:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:45:18] Production.INFO: count ==95
[2025-03-10 05:45:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:45:06 - End Time 2025-03-10 05:45:06
[2025-03-10 05:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647462', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647462', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647462', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647462', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:45:18] Production.INFO: ProcessCDR(1,14647462,1,1,2)
[2025-03-10 05:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647462', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647462', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:45:21] Production.INFO: ==5644== Releasing lock...
[2025-03-10 05:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:45:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:46:01] Production.INFO: ==5725== Lock acquired, processing the job...
[2025-03-10 09:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:46:01] Production.INFO: neon service started
[2025-03-10 09:46:01] Production.INFO: neon service started
[2025-03-10 09:46:01] Production.INFO: ==5725== Releasing lock...
[2025-03-10 09:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:46:02] Production.INFO: ==5729== Lock acquired, processing the job...
[2025-03-10 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:46:02] Production.INFO: ==5729== Releasing lock...
[2025-03-10 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:46:02] Production.INFO: ==5727== Lock acquired, processing the job...
[2025-03-10 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:46:02] Production.INFO: ==5727== Releasing lock...
[2025-03-10 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:46:03] Production.INFO: ==5732== Lock acquired, processing the job...
[2025-03-10 05:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:46:03] Production.INFO: ==5740== Lock acquired, processing the job...
[2025-03-10 05:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:46:03] Production.INFO: ==5734== Lock acquired, processing the job...
[2025-03-10 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:46:03] Production.INFO: ==5736== Lock acquired, processing the job...
[2025-03-10 05:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:46:03] Production.INFO: ==5738== Lock acquired, processing the job...
[2025-03-10 05:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:46:03] Production.INFO: ==5742== Lock acquired, processing the job...
[2025-03-10 05:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:46:04] Production.INFO: Account Balance Start.
[2025-03-10 05:46:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:46:04] Production.INFO: 117
[2025-03-10 05:46:04] Production.ERROR: done
[2025-03-10 05:46:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 05: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-03-10 05:46:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:46:04] Production.INFO: count ==21
[2025-03-10 05:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647466') start
[2025-03-10 05:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:46:04] Production.ERROR: done
[2025-03-10 05:46:04] Production.INFO: ==5734== Releasing lock...
[2025-03-10 05:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:46:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:46:04] Production.INFO: Total Charge 0
[2025-03-10 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647466') end
[2025-03-10 05:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:46:04] Production.INFO: 1
[2025-03-10 05:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:46:04] Production.INFO: CreateAllLog End
[2025-03-10 05:46:04] Production.INFO: ==5742== Releasing lock...
[2025-03-10 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:46:04] Production.INFO: Account Balance End.
[2025-03-10 05:46:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:46:04] Production.INFO: ==5738== Releasing lock...
[2025-03-10 05:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:46:05
[end_date_ymd] => 2025-03-10 05:46:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:46:05' and `end` < '2025-03-10 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-03-10 05:46:11] Production.ERROR: CronJobId end10
[2025-03-10 05:46:11] Production.INFO: ==5736== Releasing lock...
[2025-03-10 05:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:46:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:46:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:46:13] Production.INFO: call_cost start
[2025-03-10 05:46:13] Production.INFO: call_cost end
[2025-03-10 05:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:46:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:46:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:46:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:46:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:46:14] Production.INFO: ==5732== Releasing lock...
[2025-03-10 05:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:46:17] Production.INFO: count ==96
[2025-03-10 05:46:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:46:05 - End Time 2025-03-10 05:46:05
[2025-03-10 05:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647467', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647467', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647467', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647467', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:46:17] Production.INFO: ProcessCDR(1,14647467,1,1,2)
[2025-03-10 05:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647467', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647467', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:46:21] Production.INFO: ==5740== Releasing lock...
[2025-03-10 05:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:46:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:47:02] Production.INFO: ==5815== Lock acquired, processing the job...
[2025-03-10 09:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:47:02] Production.INFO: neon service started
[2025-03-10 09:47:02] Production.INFO: neon service started
[2025-03-10 09:47:02] Production.INFO: ==5815== Releasing lock...
[2025-03-10 09:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:47:02] Production.INFO: ==5821== Lock acquired, processing the job...
[2025-03-10 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:47:02] Production.INFO: ==5823== Lock acquired, processing the job...
[2025-03-10 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:47:03] Production.INFO: ==5823== Releasing lock...
[2025-03-10 09:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:47:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:47:03] Production.INFO: ==5821== Releasing lock...
[2025-03-10 05:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:47:04] Production.INFO: ==5834== Lock acquired, processing the job...
[2025-03-10 05:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:47:04] Production.INFO: ==5826== Lock acquired, processing the job...
[2025-03-10 05:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:47:04] Production.INFO: ==5836== Lock acquired, processing the job...
[2025-03-10 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:47:04] Production.INFO: ==5828== Lock acquired, processing the job...
[2025-03-10 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:47:04] Production.INFO: ==5830== Lock acquired, processing the job...
[2025-03-10 05:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:47:04] Production.INFO: ==5832== Lock acquired, processing the job...
[2025-03-10 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 05:47:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:47:04] Production.INFO: count ==21
[2025-03-10 05:47:04] Production.ERROR: done
[2025-03-10 05:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647468') start
[2025-03-10 05:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:47:04] Production.INFO: Account Balance Start.
[2025-03-10 05:47:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:47:04] Production.INFO: 117
[2025-03-10 05:47:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:47:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647468') end
[2025-03-10 05:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:47:04] Production.INFO: 1
[2025-03-10 05:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:47:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:47:04] Production.INFO: ==5836== Releasing lock...
[2025-03-10 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:47:04] Production.ERROR: done
[2025-03-10 05:47:04] Production.INFO: Total Charge 0
[2025-03-10 05:47:04] Production.INFO: CreateAllLog End
[2025-03-10 05:47:05] Production.INFO: ==5828== Releasing lock...
[2025-03-10 05:47:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:47:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:47:05] Production.INFO: Account Balance End.
[2025-03-10 05:47:05] Production.ERROR: CronJobId end 12
[2025-03-10 05:47:05] Production.INFO: ==5832== Releasing lock...
[2025-03-10 05:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:47:05
[end_date_ymd] => 2025-03-10 05:47:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:47:05' and `end` < '2025-03-10 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-03-10 05:47:12] Production.ERROR: CronJobId end10
[2025-03-10 05:47:12] Production.INFO: ==5830== Releasing lock...
[2025-03-10 05:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:47:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:47:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:47:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:47:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:47:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:47:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:47:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:47:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:47:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:47:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:47:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:47:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:47:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:47:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:47:15] Production.INFO: call_cost start
[2025-03-10 05:47:15] Production.INFO: call_cost end
[2025-03-10 05:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:47:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:47:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:47:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:47:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:47:16] Production.INFO: ==5826== Releasing lock...
[2025-03-10 05:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:47:18] Production.INFO: count ==96
[2025-03-10 05:47:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:47:05 - End Time 2025-03-10 05:47:05
[2025-03-10 05:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647472', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647472', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647472', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647472', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:47:18] Production.INFO: ProcessCDR(1,14647472,1,1,2)
[2025-03-10 05:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647472', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647472', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:47:21] Production.INFO: ==5834== Releasing lock...
[2025-03-10 05:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:47:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:48:01] Production.INFO: ==5904== Lock acquired, processing the job...
[2025-03-10 09:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:48:01] Production.INFO: neon service started
[2025-03-10 09:48:01] Production.INFO: neon service started
[2025-03-10 09:48:01] Production.INFO: ==5904== Releasing lock...
[2025-03-10 09:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:48:02] Production.INFO: ==5906== Lock acquired, processing the job...
[2025-03-10 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:48:02] Production.INFO: ==5908== Lock acquired, processing the job...
[2025-03-10 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:48:02] Production.INFO: ==5906== Releasing lock...
[2025-03-10 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:48:02] Production.INFO: ==5908== Releasing lock...
[2025-03-10 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:48:03] Production.INFO: ==5915== Lock acquired, processing the job...
[2025-03-10 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:48:03] Production.INFO: ==5923== Lock acquired, processing the job...
[2025-03-10 05:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:48:03] Production.INFO: ==5913== Lock acquired, processing the job...
[2025-03-10 05:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 05:48:03] Production.INFO: count ==13
[2025-03-10 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-03-10 05:48:03] Production.INFO: count ==21
[2025-03-10 05:48:03] Production.INFO: ==5917== Lock acquired, processing the job...
[2025-03-10 05:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647473') start
[2025-03-10 05:48:03] Production.INFO: ==5919== Lock acquired, processing the job...
[2025-03-10 05:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647473') end
[2025-03-10 05:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:48:03] Production.INFO: 1
[2025-03-10 05:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:48:03] Production.INFO: ==5923== Releasing lock...
[2025-03-10 05:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:48:03] Production.INFO: ==5921== Lock acquired, processing the job...
[2025-03-10 05:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:48:03] Production.INFO: Account Balance Start.
[2025-03-10 05:48:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:48:03] Production.INFO: 117
[2025-03-10 05:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:48:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:48:03] Production.INFO: ==5915== Releasing lock...
[2025-03-10 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:48:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:48:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:48:04] Production.INFO: Total Charge 0
[2025-03-10 05:48:04] Production.INFO: CreateAllLog End
[2025-03-10 05:48:04] Production.ERROR: done
[2025-03-10 05:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:48:04] Production.INFO: Account Balance End.
[2025-03-10 05:48:04] Production.ERROR: done
[2025-03-10 05:48:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:48:04] Production.INFO: ==5919== Releasing lock...
[2025-03-10 05:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:48:05
[end_date_ymd] => 2025-03-10 05:48:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:48:05' and `end` < '2025-03-10 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-03-10 05:48:11] Production.ERROR: CronJobId end10
[2025-03-10 05:48:11] Production.INFO: ==5917== Releasing lock...
[2025-03-10 05:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:48:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:48:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:48:14] Production.INFO: call_cost start
[2025-03-10 05:48:14] Production.INFO: call_cost end
[2025-03-10 05:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:48:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:48:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:48:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:48:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:48:15] Production.INFO: ==5913== Releasing lock...
[2025-03-10 05:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:48:17] Production.INFO: count ==96
[2025-03-10 05:48:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:48:05 - End Time 2025-03-10 05:48:05
[2025-03-10 05:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647477', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647477', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647477', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647477', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:48:17] Production.INFO: ProcessCDR(1,14647477,1,1,2)
[2025-03-10 05:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647477', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647477', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:48:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:48:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:48:20] Production.INFO: ==5921== Releasing lock...
[2025-03-10 05:48:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:48:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:49:02] Production.INFO: ==6034== Lock acquired, processing the job...
[2025-03-10 09:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:49:02] Production.INFO: neon service started
[2025-03-10 09:49:02] Production.INFO: neon service started
[2025-03-10 09:49:02] Production.INFO: ==6034== Releasing lock...
[2025-03-10 09:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:49:02] Production.INFO: ==6036== Lock acquired, processing the job...
[2025-03-10 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:49:02] Production.INFO: ==6036== Releasing lock...
[2025-03-10 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:49:03] Production.INFO: ==6038== Lock acquired, processing the job...
[2025-03-10 09:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:49:03] Production.INFO: ==6038== Releasing lock...
[2025-03-10 09:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:49:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:49:03] Production.INFO: ==6049== Lock acquired, processing the job...
[2025-03-10 05:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:49:03] Production.INFO: ==6051== Lock acquired, processing the job...
[2025-03-10 05:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:49:03] Production.INFO: ==6041== Lock acquired, processing the job...
[2025-03-10 05:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:49:03] Production.INFO: ==6043== Lock acquired, processing the job...
[2025-03-10 05:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:49:03] Production.INFO: ==6045== Lock acquired, processing the job...
[2025-03-10 05:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:49:04] Production.INFO: ==6047== Lock acquired, processing the job...
[2025-03-10 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 05:49:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:49:04] Production.INFO: count ==21
[2025-03-10 05:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647478') start
[2025-03-10 05:49:04] Production.INFO: Account Balance Start.
[2025-03-10 05:49:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:49:04] Production.INFO: 117
[2025-03-10 05:49:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647478') end
[2025-03-10 05:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:49:04] Production.INFO: 1
[2025-03-10 05:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:49:04] Production.ERROR: done
[2025-03-10 05:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:49:04] Production.INFO: ==6043== Releasing lock...
[2025-03-10 05:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:49:04] Production.INFO: ==6051== Releasing lock...
[2025-03-10 05:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:49:04] Production.ERROR: done
[2025-03-10 05:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:49:04] Production.INFO: Total Charge 0
[2025-03-10 05:49:04] Production.INFO: CreateAllLog End
[2025-03-10 05:49:04] Production.INFO: Account Balance End.
[2025-03-10 05:49:05] Production.ERROR: CronJobId end 12
[2025-03-10 05:49:05] Production.INFO: ==6047== Releasing lock...
[2025-03-10 05:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:49:05
[end_date_ymd] => 2025-03-10 05:49:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:49:05' and `end` < '2025-03-10 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-03-10 05:49:12] Production.ERROR: CronJobId end10
[2025-03-10 05:49:12] Production.INFO: ==6045== Releasing lock...
[2025-03-10 05:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:49:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:49:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:49:15] Production.INFO: call_cost start
[2025-03-10 05:49:15] Production.INFO: call_cost end
[2025-03-10 05:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:49:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:49:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:49:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:49:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:49:16] Production.INFO: ==6041== Releasing lock...
[2025-03-10 05:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:49:17] Production.INFO: count ==96
[2025-03-10 05:49:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:49:05 - End Time 2025-03-10 05:49:05
[2025-03-10 05:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647482', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647482', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647482', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647482', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:49:17] Production.INFO: ProcessCDR(1,14647482,1,1,2)
[2025-03-10 05:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647482', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647482', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:49:20] Production.INFO: ==6049== Releasing lock...
[2025-03-10 05:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:49:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:50:01] Production.INFO: ==6119== Lock acquired, processing the job...
[2025-03-10 09:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:50:01] Production.INFO: neon service started
[2025-03-10 09:50:01] Production.INFO: neon service started
[2025-03-10 09:50:01] Production.INFO: ==6119== Releasing lock...
[2025-03-10 09:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:50:01] Production.INFO: ==6123== Lock acquired, processing the job...
[2025-03-10 09:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:50:02] Production.INFO: ==6123== Releasing lock...
[2025-03-10 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:50:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:50:02] Production.INFO: ==6121== Lock acquired, processing the job...
[2025-03-10 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:50:02] Production.INFO: ==6121== Releasing lock...
[2025-03-10 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:50:03] Production.INFO: ==6130== Lock acquired, processing the job...
[2025-03-10 05:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:50:03] Production.INFO: ==6126== Lock acquired, processing the job...
[2025-03-10 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 05:50:03] Production.INFO: ==6132== Lock acquired, processing the job...
[2025-03-10 05:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:50:03] Production.INFO: ==6138== Lock acquired, processing the job...
[2025-03-10 05:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 05:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 05:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 05:50:03] Production.ERROR: CronJob PID - 6130
[2025-03-10 05:50:03] Production.ERROR: CronJob Title - Account Block
[2025-03-10 05:50:03] Production.ERROR: CronJob ID - 7
[2025-03-10 05:50:03] Production.ERROR: CronJob Last Run Time 2025-03-10 05:50:00
[2025-03-10 05:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 05:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 05:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 05:50:03] Production.INFO: ==6126== Releasing lock...
[2025-03-10 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 05:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 05:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:50:03] Production.INFO: ==6128== Lock acquired, processing the job...
[2025-03-10 05:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:50:03] Production.INFO: ==6134== Lock acquired, processing the job...
[2025-03-10 05:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:50:04] Production.INFO: ==6136== Lock acquired, processing the job...
[2025-03-10 05:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:50:04] Production.INFO: ==6141== Lock acquired, processing the job...
[2025-03-10 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:50:04] Production.INFO: ==6130== Releasing lock...
[2025-03-10 05:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:50:04] Production.INFO: Account Balance Start.
[2025-03-10 05:50:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:50:04] Production.INFO: 117
[2025-03-10 05:50:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:50:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 05:50:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:50:04] Production.INFO: count ==21
[2025-03-10 05:50:04] Production.ERROR: done
[2025-03-10 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647486') start
[2025-03-10 05:50:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:50:04] Production.INFO: Total Charge 0
[2025-03-10 05:50:04] Production.INFO: CreateAllLog End
[2025-03-10 05:50:04] Production.ERROR: done
[2025-03-10 05:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 05:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647487', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647486') end
[2025-03-10 05:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:50:04] Production.INFO: 1
[2025-03-10 05:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:50:04] Production.INFO: ==6141== Releasing lock...
[2025-03-10 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:50:04] Production.ERROR: done
[2025-03-10 05:50:04] Production.INFO: Account Balance End.
[2025-03-10 05:50:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:50:04] Production.INFO: ==6134== Releasing lock...
[2025-03-10 05:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:50:06
[end_date_ymd] => 2025-03-10 05:50:06
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:50:06' and `end` < '2025-03-10 05: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-03-10 05:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647487', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 05:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 05:50:08] Production.INFO: ProcessCDR(1,14647487,1,1,2)
[2025-03-10 05:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647487,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647487,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:50:08] Production.INFO: ==6138== Releasing lock...
[2025-03-10 05:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 05:50:08] Production.INFO: 26 MB #Memory Used#
[2025-03-10 05:50:14] Production.ERROR: CronJobId end10
[2025-03-10 05:50:14] Production.INFO: ==6132== Releasing lock...
[2025-03-10 05:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:50:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:50:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:50:16] Production.INFO: call_cost start
[2025-03-10 05:50:16] Production.INFO: call_cost end
[2025-03-10 05:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:50:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:50:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:50:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:50:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:50:17] Production.INFO: ==6128== Releasing lock...
[2025-03-10 05:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:50:17] Production.INFO: count ==96
[2025-03-10 05:50:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:50:06 - End Time 2025-03-10 05:50:06
[2025-03-10 05:50:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647488', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647488', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647488', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647488', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:50:18] Production.INFO: ProcessCDR(1,14647488,1,1,2)
[2025-03-10 05:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647488', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647488', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:50:21] Production.INFO: ==6136== Releasing lock...
[2025-03-10 05:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:50:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:51:02] Production.INFO: ==6215== Lock acquired, processing the job...
[2025-03-10 09:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:51:02] Production.INFO: neon service started
[2025-03-10 09:51:02] Production.INFO: neon service started
[2025-03-10 09:51:02] Production.INFO: ==6215== Releasing lock...
[2025-03-10 09:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:51:02] Production.INFO: ==6219== Lock acquired, processing the job...
[2025-03-10 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:51:02] Production.INFO: ==6219== Releasing lock...
[2025-03-10 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:51:02] Production.INFO: ==6217== Lock acquired, processing the job...
[2025-03-10 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:51:02] Production.INFO: ==6217== Releasing lock...
[2025-03-10 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:51:03] Production.INFO: ==6228== Lock acquired, processing the job...
[2025-03-10 05:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:51:03] Production.INFO: ==6232== Lock acquired, processing the job...
[2025-03-10 05:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:51:03] Production.INFO: ==6221== Lock acquired, processing the job...
[2025-03-10 05:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:51:03] Production.INFO: Account Balance Start.
[2025-03-10 05:51:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:51:03] Production.INFO: 117
[2025-03-10 05:51:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:51:03] Production.INFO: ==6223== Lock acquired, processing the job...
[2025-03-10 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:51:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:51:04] Production.INFO: ==6225== Lock acquired, processing the job...
[2025-03-10 05:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:51:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:51:04] Production.INFO: ==6230== Lock acquired, processing the job...
[2025-03-10 05:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05: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-03-10 05:51:04] Production.INFO: Total Charge 0
[2025-03-10 05:51:04] Production.INFO: CreateAllLog End
[2025-03-10 05:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:51:04] Production.INFO: count ==13
[2025-03-10 05:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05: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-03-10 05:51:04] Production.INFO: count ==21
[2025-03-10 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647491') start
[2025-03-10 05:51:04] Production.INFO: Account Balance End.
[2025-03-10 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647491') end
[2025-03-10 05:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:51:04] Production.INFO: 1
[2025-03-10 05:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:51:04] Production.INFO: ==6223== Releasing lock...
[2025-03-10 05:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:51:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:51:04] Production.INFO: ==6228== Releasing lock...
[2025-03-10 05:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:51:04] Production.ERROR: done
[2025-03-10 05:51:04] Production.INFO: ==6232== Releasing lock...
[2025-03-10 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:51:04] Production.ERROR: done
[2025-03-10 05:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:51:05
[end_date_ymd] => 2025-03-10 05:51:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:51:05' and `end` < '2025-03-10 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-03-10 05:51:12] Production.ERROR: CronJobId end10
[2025-03-10 05:51:12] Production.INFO: ==6225== Releasing lock...
[2025-03-10 05:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:51:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:51:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:51:15] Production.INFO: call_cost start
[2025-03-10 05:51:15] Production.INFO: call_cost end
[2025-03-10 05:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:51:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:51:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:51:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:51:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:51:16] Production.INFO: ==6221== Releasing lock...
[2025-03-10 05:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:51:17] Production.INFO: count ==96
[2025-03-10 05:51:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:51:05 - End Time 2025-03-10 05:51:05
[2025-03-10 05:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647493', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647493', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647493', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647493', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:51:17] Production.INFO: ProcessCDR(1,14647493,1,1,2)
[2025-03-10 05:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647493', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647493', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:51:21] Production.INFO: ==6230== Releasing lock...
[2025-03-10 05:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:51:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:52:01] Production.INFO: ==6299== Lock acquired, processing the job...
[2025-03-10 09:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:52:01] Production.INFO: neon service started
[2025-03-10 09:52:01] Production.INFO: neon service started
[2025-03-10 09:52:01] Production.INFO: ==6299== Releasing lock...
[2025-03-10 09:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:52:01] Production.INFO: ==6301== Lock acquired, processing the job...
[2025-03-10 05:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:52:02] Production.INFO: ==6303== Lock acquired, processing the job...
[2025-03-10 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 05:52:02] Production.INFO: ==6301== Releasing lock...
[2025-03-10 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:52:02] Production.INFO: ==6303== Releasing lock...
[2025-03-10 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:52:03] Production.INFO: ==6306== Lock acquired, processing the job...
[2025-03-10 05:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:52:03] Production.INFO: ==6310== Lock acquired, processing the job...
[2025-03-10 05:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:52:03] Production.INFO: ==6316== Lock acquired, processing the job...
[2025-03-10 05:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:52:03] Production.INFO: ==6308== Lock acquired, processing the job...
[2025-03-10 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 05:52:03] Production.INFO: count ==13
[2025-03-10 05:52:03] Production.INFO: ==6312== Lock acquired, processing the job...
[2025-03-10 05:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 05:52:03] Production.INFO: count ==21
[2025-03-10 05:52:03] Production.INFO: ==6314== Lock acquired, processing the job...
[2025-03-10 05:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647495') start
[2025-03-10 05:52:03] Production.INFO: Account Balance Start.
[2025-03-10 05:52:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:52:03] Production.INFO: 117
[2025-03-10 05:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647495') end
[2025-03-10 05:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:52:03] Production.INFO: 1
[2025-03-10 05:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:52:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:52:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:52:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:52:03] Production.INFO: Total Charge 0
[2025-03-10 05:52:03] Production.INFO: CreateAllLog End
[2025-03-10 05:52:03] Production.INFO: ==6316== Releasing lock...
[2025-03-10 05:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:52:03] Production.INFO: ==6308== Releasing lock...
[2025-03-10 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:52:04] Production.ERROR: done
[2025-03-10 05:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:52:04] Production.INFO: Account Balance End.
[2025-03-10 05:52:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:52:04] Production.INFO: ==6312== Releasing lock...
[2025-03-10 05:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:52:04] Production.ERROR: done
[2025-03-10 05:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:52:05
[end_date_ymd] => 2025-03-10 05:52:05
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:52:05' and `end` < '2025-03-10 05: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-03-10 05:52:11] Production.ERROR: CronJobId end10
[2025-03-10 05:52:11] Production.INFO: ==6310== Releasing lock...
[2025-03-10 05:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:52:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:52:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:52:14] Production.INFO: call_cost start
[2025-03-10 05:52:14] Production.INFO: call_cost end
[2025-03-10 05:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:52:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:52:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:52:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:52:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:52:15] Production.INFO: ==6306== Releasing lock...
[2025-03-10 05:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:52:17] Production.INFO: count ==96
[2025-03-10 05:52:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:52:05 - End Time 2025-03-10 05:52:05
[2025-03-10 05:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647498', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647498', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647498', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647498', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:52:17] Production.INFO: ProcessCDR(1,14647498,1,1,2)
[2025-03-10 05:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647498', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647498', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:52:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:52:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:52:20] Production.INFO: ==6314== Releasing lock...
[2025-03-10 05:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:52:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:53:01] Production.INFO: ==6377== Lock acquired, processing the job...
[2025-03-10 09:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:53:01] Production.INFO: neon service started
[2025-03-10 09:53:01] Production.INFO: neon service started
[2025-03-10 09:53:01] Production.INFO: ==6377== Releasing lock...
[2025-03-10 09:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:53:02] Production.INFO: ==6380== Lock acquired, processing the job...
[2025-03-10 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:53:02] Production.INFO: ==6380== Releasing lock...
[2025-03-10 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:53:02] Production.INFO: ==6382== Lock acquired, processing the job...
[2025-03-10 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:53:02] Production.INFO: ==6382== Releasing lock...
[2025-03-10 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:53:03] Production.INFO: ==6384== Lock acquired, processing the job...
[2025-03-10 05:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:53:03] Production.INFO: ==6386== Lock acquired, processing the job...
[2025-03-10 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:53:03] Production.INFO: ==6392== Lock acquired, processing the job...
[2025-03-10 05:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:53:03] Production.INFO: ==6388== Lock acquired, processing the job...
[2025-03-10 05:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:53:03] Production.INFO: ==6390== Lock acquired, processing the job...
[2025-03-10 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:53:03] Production.INFO: ==6386== Releasing lock...
[2025-03-10 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:53:03] Production.INFO: ==6394== Lock acquired, processing the job...
[2025-03-10 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:53:03] Production.INFO: Account Balance Start.
[2025-03-10 05:53:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:53:03] Production.INFO: 117
[2025-03-10 05:53:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:53:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 05: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-03-10 05:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:53:04] Production.INFO: count ==13
[2025-03-10 05:53:04] Production.ERROR: done
[2025-03-10 05:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05: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-03-10 05:53:04] Production.INFO: count ==21
[2025-03-10 05:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647502') start
[2025-03-10 05:53:04] Production.INFO: Total Charge 0
[2025-03-10 05:53:04] Production.INFO: CreateAllLog End
[2025-03-10 05:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647502') end
[2025-03-10 05:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:53:04] Production.INFO: 1
[2025-03-10 05:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:53:04] Production.ERROR: done
[2025-03-10 05:53:04] Production.INFO: Account Balance End.
[2025-03-10 05:53:04] Production.INFO: ==6394== Releasing lock...
[2025-03-10 05:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:53:04] Production.INFO: ==6390== Releasing lock...
[2025-03-10 05:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:53:05
[end_date_ymd] => 2025-03-10 05:53:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:53:05' and `end` < '2025-03-10 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-03-10 05:53:12] Production.ERROR: CronJobId end10
[2025-03-10 05:53:12] Production.INFO: ==6388== Releasing lock...
[2025-03-10 05:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:53:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:53:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:53:15] Production.INFO: call_cost start
[2025-03-10 05:53:15] Production.INFO: call_cost end
[2025-03-10 05:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:53:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:53:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:53:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:53:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:53:16] Production.INFO: ==6384== Releasing lock...
[2025-03-10 05:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:53:17] Production.INFO: count ==96
[2025-03-10 05:53:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:53:05 - End Time 2025-03-10 05:53:05
[2025-03-10 05:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647503', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647503', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647503', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647503', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:53:17] Production.INFO: ProcessCDR(1,14647503,1,1,2)
[2025-03-10 05:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647503', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647503', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:53:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:53:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:53:20] Production.INFO: ==6392== Releasing lock...
[2025-03-10 05:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:53:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:54:01] Production.INFO: ==6454== Lock acquired, processing the job...
[2025-03-10 09:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:54:01] Production.INFO: neon service started
[2025-03-10 09:54:01] Production.INFO: neon service started
[2025-03-10 09:54:01] Production.INFO: ==6454== Releasing lock...
[2025-03-10 09:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:54:01] Production.INFO: ==6456== Lock acquired, processing the job...
[2025-03-10 05:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:54:02] Production.INFO: ==6456== Releasing lock...
[2025-03-10 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:54:02] Production.INFO: ==6458== Lock acquired, processing the job...
[2025-03-10 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:54:02] Production.INFO: ==6458== Releasing lock...
[2025-03-10 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:54:03] Production.INFO: ==6464== Lock acquired, processing the job...
[2025-03-10 05:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:54:03] Production.INFO: ==6471== Lock acquired, processing the job...
[2025-03-10 05:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:54:03] Production.INFO: ==6460== Lock acquired, processing the job...
[2025-03-10 05:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:54:03] Production.INFO: ==6462== Lock acquired, processing the job...
[2025-03-10 05:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:54:03] Production.INFO: ==6467== Lock acquired, processing the job...
[2025-03-10 05:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:54:03] Production.INFO: ==6469== Lock acquired, processing the job...
[2025-03-10 05:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:54:03] Production.INFO: Account Balance Start.
[2025-03-10 05:54:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:54:03] Production.INFO: 117
[2025-03-10 05: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-03-10 05:54:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:54:03] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:54:03] Production.INFO: count ==21
[2025-03-10 05:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647504') start
[2025-03-10 05:54:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:54:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:54:03] Production.INFO: Total Charge 0
[2025-03-10 05:54:03] Production.INFO: CreateAllLog End
[2025-03-10 05:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647504') end
[2025-03-10 05:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:54:03] Production.INFO: 1
[2025-03-10 05:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:54:03] Production.INFO: ==6471== Releasing lock...
[2025-03-10 05:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:54:03] Production.ERROR: done
[2025-03-10 05:54:03] Production.INFO: Account Balance End.
[2025-03-10 05:54:03] Production.ERROR: CronJobId end 12
[2025-03-10 05:54:03] Production.INFO: ==6467== Releasing lock...
[2025-03-10 05:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:54:03] Production.INFO: ==6462== Releasing lock...
[2025-03-10 05:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:54:04] Production.ERROR: done
[2025-03-10 05:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:54:05
[end_date_ymd] => 2025-03-10 05:54:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:54:05' and `end` < '2025-03-10 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-03-10 05:54:11] Production.ERROR: CronJobId end10
[2025-03-10 05:54:11] Production.INFO: ==6464== Releasing lock...
[2025-03-10 05:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:54:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:54:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:54:15] Production.INFO: call_cost start
[2025-03-10 05:54:15] Production.INFO: call_cost end
[2025-03-10 05:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:54:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:54:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:54:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:54:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:54:15] Production.INFO: ==6460== Releasing lock...
[2025-03-10 05:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:54:16] Production.INFO: count ==96
[2025-03-10 05:54:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:54:05 - End Time 2025-03-10 05:54:05
[2025-03-10 05:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647508', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647508', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647508', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647508', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:54:17] Production.INFO: ProcessCDR(1,14647508,1,1,2)
[2025-03-10 05:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647508', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647508', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:54:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:54:20] Production.INFO: ==6469== Releasing lock...
[2025-03-10 05:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:54:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:55:01] Production.INFO: ==6531== Lock acquired, processing the job...
[2025-03-10 09:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:55:01] Production.INFO: neon service started
[2025-03-10 09:55:01] Production.INFO: neon service started
[2025-03-10 09:55:01] Production.INFO: ==6531== Releasing lock...
[2025-03-10 09:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:55:02] Production.INFO: ==6535== Lock acquired, processing the job...
[2025-03-10 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:55:02] Production.INFO: ==6535== Releasing lock...
[2025-03-10 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:55:02] Production.INFO: ==6533== Lock acquired, processing the job...
[2025-03-10 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:55:02] Production.INFO: ==6533== Releasing lock...
[2025-03-10 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:55:03] Production.INFO: ==6541== Lock acquired, processing the job...
[2025-03-10 05:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:55:03] Production.INFO: ==6545== Lock acquired, processing the job...
[2025-03-10 05:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:55:03] Production.INFO: ==6537== Lock acquired, processing the job...
[2025-03-10 05:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:55:03] Production.INFO: ==6539== Lock acquired, processing the job...
[2025-03-10 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:55:03] Production.INFO: ==6547== Lock acquired, processing the job...
[2025-03-10 05:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:55:03] Production.INFO: ==6543== Lock acquired, processing the job...
[2025-03-10 05:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:55:04] Production.ERROR: done
[2025-03-10 05:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:55:04] Production.INFO: Account Balance Start.
[2025-03-10 05:55:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:55:04] Production.INFO: 117
[2025-03-10 05:55:04] Production.INFO: Date 2025-03-08
[2025-03-10 05: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-03-10 05:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:55:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:55:04] Production.INFO: count ==21
[2025-03-10 05:55:04] Production.ERROR: done
[2025-03-10 05:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647511') start
[2025-03-10 05:55:04] Production.INFO: ==6539== Releasing lock...
[2025-03-10 05:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:55:04] Production.INFO: Total Charge 0
[2025-03-10 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647511') end
[2025-03-10 05:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:55:04] Production.INFO: 1
[2025-03-10 05:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:55:04] Production.INFO: CreateAllLog End
[2025-03-10 05:55:04] Production.INFO: ==6547== Releasing lock...
[2025-03-10 05:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:55:04] Production.INFO: Account Balance End.
[2025-03-10 05:55:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:55:04] Production.INFO: ==6543== Releasing lock...
[2025-03-10 05:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:55:05
[end_date_ymd] => 2025-03-10 05:55:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:55:05' and `end` < '2025-03-10 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-03-10 05:55:12] Production.ERROR: CronJobId end10
[2025-03-10 05:55:12] Production.INFO: ==6541== Releasing lock...
[2025-03-10 05:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:55:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:55:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:55:14] Production.INFO: call_cost start
[2025-03-10 05:55:14] Production.INFO: call_cost end
[2025-03-10 05:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:55:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:55:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:55:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:55:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:55:15] Production.INFO: ==6537== Releasing lock...
[2025-03-10 05:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:55:17] Production.INFO: count ==96
[2025-03-10 05:55:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:55:05 - End Time 2025-03-10 05:55:05
[2025-03-10 05:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647513', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647513', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647513', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647513', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:55:17] Production.INFO: ProcessCDR(1,14647513,1,1,2)
[2025-03-10 05:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647513', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647513', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:55:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:55:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:55:21] Production.INFO: ==6545== Releasing lock...
[2025-03-10 05:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:55:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:56:02] Production.INFO: ==6606== Lock acquired, processing the job...
[2025-03-10 09:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:56:02] Production.INFO: neon service started
[2025-03-10 09:56:02] Production.INFO: neon service started
[2025-03-10 09:56:02] Production.INFO: ==6606== Releasing lock...
[2025-03-10 09:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:56:02] Production.INFO: ==6609== Lock acquired, processing the job...
[2025-03-10 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:56:03] Production.INFO: ==6609== Releasing lock...
[2025-03-10 05:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:56:03] Production.INFO: ==6611== Lock acquired, processing the job...
[2025-03-10 09:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:56:03] Production.INFO: ==6611== Releasing lock...
[2025-03-10 09:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:56:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:56:04] Production.INFO: ==6613== Lock acquired, processing the job...
[2025-03-10 05:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:56:04] Production.INFO: ==6615== Lock acquired, processing the job...
[2025-03-10 05:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:56:04] Production.INFO: ==6617== Lock acquired, processing the job...
[2025-03-10 05:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:56:04] Production.INFO: ==6619== Lock acquired, processing the job...
[2025-03-10 05:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:56:04] Production.INFO: ==6623== Lock acquired, processing the job...
[2025-03-10 05:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:56:04] Production.INFO: ==6621== Lock acquired, processing the job...
[2025-03-10 05:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:56:04] Production.INFO: Account Balance Start.
[2025-03-10 05:56:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:56:04] Production.INFO: 117
[2025-03-10 05:56:04] Production.INFO: Date 2025-03-08
[2025-03-10 05:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 05:56:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:56:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:56:04] Production.INFO: count ==21
[2025-03-10 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647517') start
[2025-03-10 05:56:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647517') end
[2025-03-10 05:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:56:04] Production.INFO: 1
[2025-03-10 05:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:56:04] Production.INFO: Total Charge 0
[2025-03-10 05:56:04] Production.INFO: CreateAllLog End
[2025-03-10 05:56:04] Production.INFO: ==6623== Releasing lock...
[2025-03-10 05:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:56:04] Production.ERROR: done
[2025-03-10 05:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:56:04] Production.INFO: ==6615== Releasing lock...
[2025-03-10 05:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:56:04] Production.ERROR: done
[2025-03-10 05:56:05] Production.INFO: Account Balance End.
[2025-03-10 05:56:05] Production.ERROR: CronJobId end 12
[2025-03-10 05:56:05] Production.INFO: ==6619== Releasing lock...
[2025-03-10 05:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:56:05
[end_date_ymd] => 2025-03-10 05:56:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:56:05' and `end` < '2025-03-10 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-03-10 05:56:11] Production.ERROR: CronJobId end10
[2025-03-10 05:56:11] Production.INFO: ==6617== Releasing lock...
[2025-03-10 05:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:56:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:56:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:56:14] Production.INFO: call_cost start
[2025-03-10 05:56:14] Production.INFO: call_cost end
[2025-03-10 05:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:56:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:56:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:56:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:56:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:56:15] Production.INFO: ==6613== Releasing lock...
[2025-03-10 05:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:56:17] Production.INFO: count ==96
[2025-03-10 05:56:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:56:05 - End Time 2025-03-10 05:56:05
[2025-03-10 05:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647518', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647518', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647518', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647518', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:56:17] Production.INFO: ProcessCDR(1,14647518,1,1,2)
[2025-03-10 05:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647518', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647518', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:56:21] Production.INFO: ==6621== Releasing lock...
[2025-03-10 05:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:56:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:57:01] Production.INFO: ==6681== Lock acquired, processing the job...
[2025-03-10 09:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:57:01] Production.INFO: neon service started
[2025-03-10 09:57:01] Production.INFO: neon service started
[2025-03-10 09:57:01] Production.INFO: ==6681== Releasing lock...
[2025-03-10 09:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:57:02] Production.INFO: ==6685== Lock acquired, processing the job...
[2025-03-10 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:57:02] Production.INFO: ==6685== Releasing lock...
[2025-03-10 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:57:02] Production.INFO: ==6683== Lock acquired, processing the job...
[2025-03-10 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:57:02] Production.INFO: ==6683== Releasing lock...
[2025-03-10 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 05:57:03] Production.INFO: ==6692== Lock acquired, processing the job...
[2025-03-10 05:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:57:03] Production.INFO: ==6694== Lock acquired, processing the job...
[2025-03-10 05:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:57:03] Production.INFO: ==6690== Lock acquired, processing the job...
[2025-03-10 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:57:03] Production.INFO: ==6688== Lock acquired, processing the job...
[2025-03-10 05:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:57:03] Production.INFO: Account Balance Start.
[2025-03-10 05:57:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:57:03] Production.INFO: 117
[2025-03-10 05:57:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:57:03] Production.INFO: ==6696== Lock acquired, processing the job...
[2025-03-10 05:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:57:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:57:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:57:04] Production.INFO: ==6698== Lock acquired, processing the job...
[2025-03-10 05:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:57:04] Production.INFO: Total Charge 0
[2025-03-10 05:57:04] Production.INFO: CreateAllLog End
[2025-03-10 05: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-03-10 05:57:04] Production.INFO: ==6690== Releasing lock...
[2025-03-10 05:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:57:04] Production.INFO: count ==13
[2025-03-10 05: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-03-10 05:57:04] Production.INFO: count ==21
[2025-03-10 05:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647522') start
[2025-03-10 05:57:04] Production.ERROR: done
[2025-03-10 05:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647522') end
[2025-03-10 05:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:57:04] Production.INFO: 1
[2025-03-10 05:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:57:04] Production.INFO: ==6698== Releasing lock...
[2025-03-10 05:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:57:04] Production.ERROR: done
[2025-03-10 05:57:04] Production.INFO: Account Balance End.
[2025-03-10 05:57:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:57:04] Production.INFO: ==6694== Releasing lock...
[2025-03-10 05:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:57:05
[end_date_ymd] => 2025-03-10 05:57:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 02:57:05' and `end` < '2025-03-10 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-03-10 05:57:12] Production.ERROR: CronJobId end10
[2025-03-10 05:57:12] Production.INFO: ==6692== Releasing lock...
[2025-03-10 05:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:57:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:57:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:57:15] Production.INFO: call_cost start
[2025-03-10 05:57:15] Production.INFO: call_cost end
[2025-03-10 05:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:57:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:57:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:57:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:57:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:57:15] Production.INFO: ==6688== Releasing lock...
[2025-03-10 05:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:57:17] Production.INFO: count ==96
[2025-03-10 05:57:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:57:05 - End Time 2025-03-10 05:57:05
[2025-03-10 05:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647523', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647523', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647523', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647523', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:57:17] Production.INFO: ProcessCDR(1,14647523,1,1,2)
[2025-03-10 05:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647523', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647523', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:57:21] Production.INFO: ==6696== Releasing lock...
[2025-03-10 05:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:57:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 09:58:02] Production.INFO: ==6760== Lock acquired, processing the job...
[2025-03-10 09:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:58:02] Production.INFO: neon service started
[2025-03-10 09:58:02] Production.INFO: neon service started
[2025-03-10 09:58:02] Production.INFO: ==6760== Releasing lock...
[2025-03-10 09:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:58:02] Production.INFO: ==6762== Lock acquired, processing the job...
[2025-03-10 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:58:03] Production.INFO: ==6762== Releasing lock...
[2025-03-10 05:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:58:03] Production.INFO: ==6764== Lock acquired, processing the job...
[2025-03-10 09:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:58:03] Production.INFO: ==6764== Releasing lock...
[2025-03-10 09:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:58:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:58:04] Production.INFO: ==6766== Lock acquired, processing the job...
[2025-03-10 05:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:58:04] Production.INFO: ==6772== Lock acquired, processing the job...
[2025-03-10 05:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:58:04] Production.INFO: ==6777== Lock acquired, processing the job...
[2025-03-10 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:58:04] Production.INFO: Account Balance Start.
[2025-03-10 05:58:04] Production.INFO: CreateAllLog Start
[2025-03-10 05:58:04] Production.INFO: 117
[2025-03-10 05:58:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 05:58:04] Production.INFO: ==6768== Lock acquired, processing the job...
[2025-03-10 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:58:04] Production.INFO: ==6770== Lock acquired, processing the job...
[2025-03-10 05:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:58:04] Production.INFO: Date 2025-03-09
[2025-03-10 05:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:58:04] Production.INFO: count ==13
[2025-03-10 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-03-10 05:58:04] Production.INFO: count ==21
[2025-03-10 05:58:04] Production.INFO: Date 2025-03-10
[2025-03-10 05:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647526') start
[2025-03-10 05:58:04] Production.INFO: Total Charge 0
[2025-03-10 05:58:04] Production.INFO: ==6774== Lock acquired, processing the job...
[2025-03-10 05:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:58:04] Production.INFO: CreateAllLog End
[2025-03-10 05:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647526') end
[2025-03-10 05:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:58:04] Production.INFO: 1
[2025-03-10 05:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:58:04] Production.INFO: ==6777== Releasing lock...
[2025-03-10 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:58:04] Production.INFO: ==6768== Releasing lock...
[2025-03-10 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:58:04] Production.INFO: Account Balance End.
[2025-03-10 05:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:58:04] Production.INFO: ==6772== Releasing lock...
[2025-03-10 05:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:58:04] Production.ERROR: done
[2025-03-10 05:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:58:05] Production.ERROR: done
[2025-03-10 05:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:58:06
[end_date_ymd] => 2025-03-10 05:58:06
[RateCDR] => 1
)
[2025-03-10 05:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 02:58:06' and `end` < '2025-03-10 05:58:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 05:58:12] Production.ERROR: CronJobId end10
[2025-03-10 05:58:12] Production.INFO: ==6770== Releasing lock...
[2025-03-10 05:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:58:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:58:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:58:14] Production.INFO: call_cost start
[2025-03-10 05:58:14] Production.INFO: call_cost end
[2025-03-10 05:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:58:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:58:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:58:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:58:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:58:15] Production.INFO: ==6766== Releasing lock...
[2025-03-10 05:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:58:18] Production.INFO: count ==100
[2025-03-10 05:58:18] Production.ERROR: pbx CDR StartTime 2025-03-10 02:58:06 - End Time 2025-03-10 05:58:06
[2025-03-10 05:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647528', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647528', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647528', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647528', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:58:18] Production.INFO: ProcessCDR(1,14647528,1,1,2)
[2025-03-10 05:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647528', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647528', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:58:22] Production.INFO: ==6774== Releasing lock...
[2025-03-10 05:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:58:22] Production.INFO: 29 MB #Memory Used#
[2025-03-10 09:59:01] Production.INFO: ==6834== Lock acquired, processing the job...
[2025-03-10 09:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 09:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 09:59:01] Production.INFO: neon service started
[2025-03-10 09:59:01] Production.INFO: neon service started
[2025-03-10 09:59:01] Production.INFO: ==6834== Releasing lock...
[2025-03-10 09:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 09:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 05:59:02] Production.INFO: ==6836== Lock acquired, processing the job...
[2025-03-10 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 05:59:02] Production.INFO: ==6836== Releasing lock...
[2025-03-10 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 05:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:59:02] Production.INFO: ==6838== Lock acquired, processing the job...
[2025-03-10 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:59:02] Production.INFO: ==6838== Releasing lock...
[2025-03-10 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 09:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 05:59:03] Production.INFO: ==6842== Lock acquired, processing the job...
[2025-03-10 05:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 05:59:03] Production.INFO: ==6844== Lock acquired, processing the job...
[2025-03-10 05:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 05:59:03] Production.INFO: ==6840== Lock acquired, processing the job...
[2025-03-10 05:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 05:59:03] Production.INFO: ==6846== Lock acquired, processing the job...
[2025-03-10 05:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 05:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 05:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 05:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 05:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 05:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 05:59:03] Production.INFO: ==6848== Lock acquired, processing the job...
[2025-03-10 05:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 05:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 05:59:03] Production.INFO: Account Balance Start.
[2025-03-10 05:59:03] Production.INFO: CreateAllLog Start
[2025-03-10 05:59:03] Production.INFO: 117
[2025-03-10 05:59:03] Production.INFO: Date 2025-03-08
[2025-03-10 05:59:03] Production.INFO: ==6850== Lock acquired, processing the job...
[2025-03-10 05:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 05:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:59:03] Production.INFO: Date 2025-03-09
[2025-03-10 05:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 05:59:03] Production.INFO: ==6842== Releasing lock...
[2025-03-10 05:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 05:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 05:59:03] Production.INFO: Date 2025-03-10
[2025-03-10 05:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 05:59:03] Production.INFO: Total Charge 0
[2025-03-10 05:59:03] Production.INFO: count ==13
[2025-03-10 05:59:04] Production.INFO: CreateAllLog End
[2025-03-10 05: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-03-10 05:59:04] Production.INFO: count ==21
[2025-03-10 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647532') start
[2025-03-10 05:59:04] Production.ERROR: done
[2025-03-10 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647532') end
[2025-03-10 05:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 05:59:04] Production.INFO: 1
[2025-03-10 05:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 05:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 05:59:04] Production.INFO: Account Balance End.
[2025-03-10 05:59:04] Production.INFO: ==6850== Releasing lock...
[2025-03-10 05:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 05:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 05:59:04] Production.ERROR: CronJobId end 12
[2025-03-10 05:59:04] Production.INFO: ==6846== Releasing lock...
[2025-03-10 05:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 05:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 05:59:04] Production.ERROR: done
[2025-03-10 05:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 02:59:05
[end_date_ymd] => 2025-03-10 05:59:05
[RateCDR] => 1
)
[2025-03-10 05: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-03-10 02:59:05' and `end` < '2025-03-10 05: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-03-10 05:59:12] Production.ERROR: CronJobId end10
[2025-03-10 05:59:12] Production.INFO: ==6844== Releasing lock...
[2025-03-10 05:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 05:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 05:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 05:59:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 05:59:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 05:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 05:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 05:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 05:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 05:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 05:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 05:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 05:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 05:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 05:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 05:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 05:59:14] Production.INFO: call_cost start
[2025-03-10 05:59:14] Production.INFO: call_cost end
[2025-03-10 05:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 05:59:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 05:59:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 05:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 05:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 05:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 05:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 05:59:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 05:59:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 05:59:15] Production.INFO: ==6840== Releasing lock...
[2025-03-10 05:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 05:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 05:59:17] Production.INFO: count ==100
[2025-03-10 05:59:17] Production.ERROR: pbx CDR StartTime 2025-03-10 02:59:05 - End Time 2025-03-10 05:59:05
[2025-03-10 05:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647533', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647533', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647533', 'tblTempVendorCDR_20' ) start
[2025-03-10 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647533', 'tblTempVendorCDR_20' ) end
[2025-03-10 05:59:17] Production.INFO: ProcessCDR(1,14647533,1,1,2)
[2025-03-10 05:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 05:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 05:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647533', 'tblTempUsageDetail_20' ) start
[2025-03-10 05:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647533', 'tblTempUsageDetail_20' ) end
[2025-03-10 05:59:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 05:59:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 05:59:20] Production.INFO: ==6848== Releasing lock...
[2025-03-10 05:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 05:59:20] Production.INFO: 29 MB #Memory Used#
[2025-03-10 10:00:02] Production.INFO: ==6911== Lock acquired, processing the job...
[2025-03-10 10:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:00:02] Production.INFO: neon service started
[2025-03-10 10:00:02] Production.INFO: neon service started
[2025-03-10 10:00:02] Production.INFO: ==6911== Releasing lock...
[2025-03-10 10:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:00:02] Production.INFO: ==6916== Lock acquired, processing the job...
[2025-03-10 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:00:02] Production.INFO: ==6916== Releasing lock...
[2025-03-10 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:00:03] Production.INFO: ==6914== Lock acquired, processing the job...
[2025-03-10 06:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:00:03] Production.INFO: ==6914== Releasing lock...
[2025-03-10 06:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:00:04] Production.INFO: ==6918== Lock acquired, processing the job...
[2025-03-10 06:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 06:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 06:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 06:00:04] Production.INFO: ==6918== Releasing lock...
[2025-03-10 06:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 06:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 06:00:04] Production.INFO: ==6920== Lock acquired, processing the job...
[2025-03-10 06:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:00:04] Production.INFO: ==6924== Lock acquired, processing the job...
[2025-03-10 06:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:00:04] Production.INFO: ==6928== Lock acquired, processing the job...
[2025-03-10 06:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:00:04] Production.INFO: ==6922== Lock acquired, processing the job...
[2025-03-10 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:00:05] Production.INFO: ==6926== Lock acquired, processing the job...
[2025-03-10 06:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:00:05] Production.INFO: ==6930== Lock acquired, processing the job...
[2025-03-10 06:00:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 06:00:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:00:05] Production.INFO: ==6932== Lock acquired, processing the job...
[2025-03-10 06:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:00:05] Production.INFO: Account Balance Start.
[2025-03-10 06:00:05] Production.INFO: CreateAllLog Start
[2025-03-10 06:00:05] Production.INFO: 117
[2025-03-10 06:00:05] Production.INFO: Date 2025-03-08
[2025-03-10 06:00:05] Production.INFO: Reseller ==> 0
[2025-03-10 06:00:05] Production.INFO: Date 2025-03-09
[2025-03-10 06:00:05] Production.INFO: Reseller ==> 0
[2025-03-10 06:00:05] Production.INFO: ==6922== Releasing lock...
[2025-03-10 06:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:00:05] Production.ERROR: done
[2025-03-10 06:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:00:05] Production.INFO: Date 2025-03-10
[2025-03-10 06:00:05] Production.INFO: Reseller ==> 0
[2025-03-10 06: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-03-10 06:00:05] Production.INFO: count ==13
[2025-03-10 06:00:05] Production.ERROR: done
[2025-03-10 06: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-03-10 06:00:05] Production.INFO: Total Charge 0
[2025-03-10 06:00:05] Production.INFO: count ==21
[2025-03-10 06:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647537') start
[2025-03-10 06:00:05] Production.INFO: CreateAllLog End
[2025-03-10 06:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647537') end
[2025-03-10 06:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:00:05] Production.INFO: 1
[2025-03-10 06:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:00:05] Production.ERROR: done
[2025-03-10 06:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 06:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647538', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 06:00:05] Production.INFO: ==6932== Releasing lock...
[2025-03-10 06:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:00:05] Production.INFO: Account Balance End.
[2025-03-10 06:00:05] Production.ERROR: CronJobId end 12
[2025-03-10 06:00:05] Production.INFO: ==6926== Releasing lock...
[2025-03-10 06:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:00:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:00:07
[end_date_ymd] => 2025-03-10 06:00:07
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:00:07' and `end` < '2025-03-10 06: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-03-10 06:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647538', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 06:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 06:00:10] Production.INFO: ProcessCDR(1,14647538,1,1,2)
[2025-03-10 06:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647538,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647538,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:00:10] Production.INFO: ==6930== Releasing lock...
[2025-03-10 06:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 06:00:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 06:00:15] Production.ERROR: CronJobId end10
[2025-03-10 06:00:15] Production.INFO: ==6924== Releasing lock...
[2025-03-10 06:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:00:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:00:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:00:18] Production.INFO: call_cost start
[2025-03-10 06:00:18] Production.INFO: call_cost end
[2025-03-10 06:00:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:00:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:00:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:00:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:00:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:00:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:00:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:00:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:00:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:00:19] Production.INFO: ==6920== Releasing lock...
[2025-03-10 06:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:00:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:00:19] Production.INFO: count ==87
[2025-03-10 06:00:19] Production.ERROR: pbx CDR StartTime 2025-03-10 03:00:07 - End Time 2025-03-10 06:00:07
[2025-03-10 06:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647539', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647539', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647539', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647539', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:00:19] Production.INFO: ProcessCDR(1,14647539,1,1,2)
[2025-03-10 06:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647539', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647539', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:00:22] Production.INFO: ==6928== Releasing lock...
[2025-03-10 06:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:00:22] Production.INFO: 29 MB #Memory Used#
[2025-03-10 10:01:01] Production.INFO: ==6997== Lock acquired, processing the job...
[2025-03-10 10:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:01:01] Production.INFO: neon service started
[2025-03-10 10:01:01] Production.INFO: neon service started
[2025-03-10 10:01:01] Production.INFO: ==6997== Releasing lock...
[2025-03-10 10:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:01:02] Production.INFO: ==7010== Lock acquired, processing the job...
[2025-03-10 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:01:02] Production.INFO: ==7010== Releasing lock...
[2025-03-10 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:01:02] Production.INFO: ==7008== Lock acquired, processing the job...
[2025-03-10 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:01:02] Production.INFO: ==7008== Releasing lock...
[2025-03-10 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:01:03] Production.INFO: ==7019== Lock acquired, processing the job...
[2025-03-10 06:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:01:03] Production.INFO: ==7013== Lock acquired, processing the job...
[2025-03-10 06:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:01:03] Production.INFO: ==7017== Lock acquired, processing the job...
[2025-03-10 06:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:01:03] Production.INFO: ==7015== Lock acquired, processing the job...
[2025-03-10 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:01:03] Production.INFO: Account Balance Start.
[2025-03-10 06:01:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:01:03] Production.INFO: 117
[2025-03-10 06:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:01:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:01:03] Production.INFO: ==7021== Lock acquired, processing the job...
[2025-03-10 06:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:01:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:01:03] Production.INFO: ==7023== Lock acquired, processing the job...
[2025-03-10 06:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:01:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:01:04] Production.INFO: Total Charge 0
[2025-03-10 06:01:04] Production.INFO: CreateAllLog End
[2025-03-10 06:01:04] Production.INFO: ==7015== Releasing lock...
[2025-03-10 06:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 06:01:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:01:04] Production.INFO: count ==21
[2025-03-10 06:01:04] Production.ERROR: done
[2025-03-10 06:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647543') start
[2025-03-10 06:01:04] Production.INFO: Account Balance End.
[2025-03-10 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647543') end
[2025-03-10 06:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:01:04] Production.INFO: 1
[2025-03-10 06:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:01:04] Production.INFO: ==7019== Releasing lock...
[2025-03-10 06:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:01:04] Production.INFO: ==7023== Releasing lock...
[2025-03-10 06:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:01:04] Production.ERROR: done
[2025-03-10 06:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:01:05
[end_date_ymd] => 2025-03-10 06:01:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:01:05' and `end` < '2025-03-10 06: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-03-10 06:01: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-03-10 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-03-10 06:01:12] Production.ERROR: CronJobId end10
[2025-03-10 06:01:12] Production.INFO: ==7017== Releasing lock...
[2025-03-10 06:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:01:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:01:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:01:15] Production.INFO: call_cost start
[2025-03-10 06:01:15] Production.INFO: call_cost end
[2025-03-10 06:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:01:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:01:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:01:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:01:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:01:16] Production.INFO: ==7013== Releasing lock...
[2025-03-10 06:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:01:17] Production.INFO: count ==81
[2025-03-10 06:01:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:01:05 - End Time 2025-03-10 06:01:05
[2025-03-10 06:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647544', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647544', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647544', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647544', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:01:17] Production.INFO: ProcessCDR(1,14647544,1,1,2)
[2025-03-10 06:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647544', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647544', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:01:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:01:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:01:20] Production.INFO: ==7021== Releasing lock...
[2025-03-10 06:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:01:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:02:02] Production.INFO: ==7080== Lock acquired, processing the job...
[2025-03-10 10:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:02:02] Production.INFO: neon service started
[2025-03-10 10:02:02] Production.INFO: neon service started
[2025-03-10 10:02:02] Production.INFO: ==7080== Releasing lock...
[2025-03-10 10:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:02:02] Production.INFO: ==7082== Lock acquired, processing the job...
[2025-03-10 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:02:02] Production.INFO: ==7084== Lock acquired, processing the job...
[2025-03-10 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:02:03] Production.INFO: ==7084== Releasing lock...
[2025-03-10 10:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:02:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:02:03] Production.INFO: ==7082== Releasing lock...
[2025-03-10 06:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:02:04] Production.INFO: ==7087== Lock acquired, processing the job...
[2025-03-10 06:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:02:04] Production.INFO: ==7089== Lock acquired, processing the job...
[2025-03-10 06:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:02:04] Production.INFO: ==7095== Lock acquired, processing the job...
[2025-03-10 06:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:02:04] Production.INFO: ==7093== Lock acquired, processing the job...
[2025-03-10 06:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:02:04] Production.INFO: ==7091== Lock acquired, processing the job...
[2025-03-10 06:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:02:04] Production.INFO: ==7097== Lock acquired, processing the job...
[2025-03-10 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:02:04] Production.INFO: ==7089== Releasing lock...
[2025-03-10 06:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 06:02:04] Production.INFO: Account Balance Start.
[2025-03-10 06:02:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:02:04] Production.INFO: count ==13
[2025-03-10 06:02:04] Production.INFO: 117
[2025-03-10 06:02:04] Production.ERROR: done
[2025-03-10 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-03-10 06:02:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:02:04] Production.INFO: count ==21
[2025-03-10 06:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647548') start
[2025-03-10 06:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:02:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:02:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:02:04] Production.INFO: Total Charge 0
[2025-03-10 06:02:04] Production.INFO: CreateAllLog End
[2025-03-10 06:02:04] Production.ERROR: done
[2025-03-10 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647548') end
[2025-03-10 06:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:02:04] Production.INFO: 1
[2025-03-10 06:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:02:04] Production.INFO: ==7097== Releasing lock...
[2025-03-10 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:02:05] Production.INFO: Account Balance End.
[2025-03-10 06:02:05] Production.ERROR: CronJobId end 12
[2025-03-10 06:02:05] Production.INFO: ==7093== Releasing lock...
[2025-03-10 06:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:02:06
[end_date_ymd] => 2025-03-10 06:02:06
[RateCDR] => 1
)
[2025-03-10 06:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 03:02:06' and `end` < '2025-03-10 06:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 06:02:12] Production.ERROR: CronJobId end10
[2025-03-10 06:02:12] Production.INFO: ==7091== Releasing lock...
[2025-03-10 06:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:02:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:02:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:02:15] Production.INFO: call_cost start
[2025-03-10 06:02:15] Production.INFO: call_cost end
[2025-03-10 06:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:02:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:02:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:02:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:02:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:02:16] Production.INFO: ==7087== Releasing lock...
[2025-03-10 06:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:02:18] Production.INFO: count ==79
[2025-03-10 06:02:18] Production.ERROR: pbx CDR StartTime 2025-03-10 03:02:06 - End Time 2025-03-10 06:02:06
[2025-03-10 06:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647549', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647549', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647549', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647549', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:02:18] Production.INFO: ProcessCDR(1,14647549,1,1,2)
[2025-03-10 06:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647549', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647549', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:02:21] Production.INFO: ==7095== Releasing lock...
[2025-03-10 06:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:02:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:03:01] Production.INFO: ==7161== Lock acquired, processing the job...
[2025-03-10 10:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:03:01] Production.INFO: neon service started
[2025-03-10 10:03:01] Production.INFO: neon service started
[2025-03-10 10:03:01] Production.INFO: ==7161== Releasing lock...
[2025-03-10 10:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:03:02] Production.INFO: ==7165== Lock acquired, processing the job...
[2025-03-10 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:03:02] Production.INFO: ==7165== Releasing lock...
[2025-03-10 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:03:02] Production.INFO: ==7163== Lock acquired, processing the job...
[2025-03-10 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:03:02] Production.INFO: ==7163== Releasing lock...
[2025-03-10 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:03:03] Production.INFO: ==7168== Lock acquired, processing the job...
[2025-03-10 06:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:03:03] Production.INFO: ==7174== Lock acquired, processing the job...
[2025-03-10 06:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:03:03] Production.INFO: ==7170== Lock acquired, processing the job...
[2025-03-10 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:03:03] Production.INFO: Account Balance Start.
[2025-03-10 06:03:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:03:03] Production.INFO: 117
[2025-03-10 06:03:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:03:03] Production.INFO: ==7172== Lock acquired, processing the job...
[2025-03-10 06:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:03:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:03:03] Production.INFO: ==7176== Lock acquired, processing the job...
[2025-03-10 06:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:03:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:03:03] Production.INFO: Total Charge 0
[2025-03-10 06:03:03] Production.INFO: CreateAllLog End
[2025-03-10 06:03:03] Production.INFO: ==7178== Lock acquired, processing the job...
[2025-03-10 06:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:03:03] Production.INFO: ==7170== Releasing lock...
[2025-03-10 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:03:04] Production.INFO: Account Balance End.
[2025-03-10 06:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:03:04] Production.INFO: ==7174== Releasing lock...
[2025-03-10 06:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 06:03:04] Production.ERROR: done
[2025-03-10 06:03:04] Production.INFO: count ==13
[2025-03-10 06:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 06:03:04] Production.INFO: count ==21
[2025-03-10 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647553') start
[2025-03-10 06:03:04] Production.ERROR: done
[2025-03-10 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647553') end
[2025-03-10 06:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:03:04] Production.INFO: 1
[2025-03-10 06:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:03:04] Production.INFO: ==7178== Releasing lock...
[2025-03-10 06:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:03:05
[end_date_ymd] => 2025-03-10 06:03:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:03:05' and `end` < '2025-03-10 06: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-03-10 06:03:11] Production.ERROR: CronJobId end10
[2025-03-10 06:03:11] Production.INFO: ==7172== Releasing lock...
[2025-03-10 06:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:03:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:03:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:03:14] Production.INFO: call_cost start
[2025-03-10 06:03:14] Production.INFO: call_cost end
[2025-03-10 06:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:03:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:03:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:03:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:03:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:03:15] Production.INFO: ==7168== Releasing lock...
[2025-03-10 06:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:03:17] Production.INFO: count ==78
[2025-03-10 06:03:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:03:05 - End Time 2025-03-10 06:03:05
[2025-03-10 06:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647554', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647554', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647554', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647554', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:03:17] Production.INFO: ProcessCDR(1,14647554,1,1,2)
[2025-03-10 06:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647554', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647554', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:03:21] Production.INFO: ==7176== Releasing lock...
[2025-03-10 06:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:03:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:04:02] Production.INFO: ==7278== Lock acquired, processing the job...
[2025-03-10 10:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:04:02] Production.INFO: neon service started
[2025-03-10 10:04:02] Production.INFO: neon service started
[2025-03-10 10:04:02] Production.INFO: ==7278== Releasing lock...
[2025-03-10 10:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:04:02] Production.INFO: ==7280== Lock acquired, processing the job...
[2025-03-10 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:04:02] Production.INFO: ==7282== Lock acquired, processing the job...
[2025-03-10 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:04:03] Production.INFO: ==7282== Releasing lock...
[2025-03-10 10:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:04:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:04:03] Production.INFO: ==7280== Releasing lock...
[2025-03-10 06:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:04:04] Production.INFO: ==7288== Lock acquired, processing the job...
[2025-03-10 06:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:04:04] Production.INFO: ==7286== Lock acquired, processing the job...
[2025-03-10 06:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:04:04] Production.INFO: ==7292== Lock acquired, processing the job...
[2025-03-10 06:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:04:04] Production.INFO: Account Balance Start.
[2025-03-10 06:04:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:04:04] Production.INFO: 117
[2025-03-10 06:04:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:04:04] Production.INFO: ==7290== Lock acquired, processing the job...
[2025-03-10 06:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:04:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:04:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:04:04] Production.INFO: ==7294== Lock acquired, processing the job...
[2025-03-10 06:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:04:04] Production.INFO: Total Charge 0
[2025-03-10 06:04:04] Production.INFO: CreateAllLog End
[2025-03-10 06:04:04] Production.INFO: ==7288== Releasing lock...
[2025-03-10 06:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:04:04] Production.INFO: ==7296== Lock acquired, processing the job...
[2025-03-10 06:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:04:04] Production.INFO: Account Balance End.
[2025-03-10 06: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-03-10 06:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:04:04] Production.INFO: ==7292== Releasing lock...
[2025-03-10 06:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:04:04] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:04:04] Production.INFO: count ==21
[2025-03-10 06:04:04] Production.ERROR: done
[2025-03-10 06:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647558') start
[2025-03-10 06:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647558') end
[2025-03-10 06:04:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:04:05] Production.INFO: 1
[2025-03-10 06:04:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:04:05] Production.ERROR: done
[2025-03-10 06:04:05] Production.INFO: ==7296== Releasing lock...
[2025-03-10 06:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:04:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:04:06
[end_date_ymd] => 2025-03-10 06:04:06
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:04:06' and `end` < '2025-03-10 06: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-03-10 06:04:12] Production.ERROR: CronJobId end10
[2025-03-10 06:04:12] Production.INFO: ==7290== Releasing lock...
[2025-03-10 06:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:04:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:04:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:04:15] Production.INFO: call_cost start
[2025-03-10 06:04:15] Production.INFO: call_cost end
[2025-03-10 06:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:04:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:04:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:04:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:04:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:04:16] Production.INFO: ==7286== Releasing lock...
[2025-03-10 06:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:04:18] Production.INFO: count ==78
[2025-03-10 06:04:18] Production.ERROR: pbx CDR StartTime 2025-03-10 03:04:06 - End Time 2025-03-10 06:04:06
[2025-03-10 06:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647559', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647559', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647559', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647559', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:04:18] Production.INFO: ProcessCDR(1,14647559,1,1,2)
[2025-03-10 06:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647559', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647559', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:04:21] Production.INFO: ==7294== Releasing lock...
[2025-03-10 06:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:04:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:05:01] Production.INFO: ==7357== Lock acquired, processing the job...
[2025-03-10 10:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:05:01] Production.INFO: neon service started
[2025-03-10 10:05:01] Production.INFO: neon service started
[2025-03-10 10:05:01] Production.INFO: ==7357== Releasing lock...
[2025-03-10 10:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:05:02] Production.INFO: ==7359== Lock acquired, processing the job...
[2025-03-10 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:05:02] Production.INFO: ==7359== Releasing lock...
[2025-03-10 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:05:02] Production.INFO: ==7361== Lock acquired, processing the job...
[2025-03-10 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:05:02] Production.INFO: ==7361== Releasing lock...
[2025-03-10 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:05:02] Production.INFO: 26 MB #Memory Used#
[2025-03-10 06:05:03] Production.INFO: ==7369== Lock acquired, processing the job...
[2025-03-10 06:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:05:03] Production.INFO: ==7373== Lock acquired, processing the job...
[2025-03-10 06:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:05:03] Production.INFO: Account Balance Start.
[2025-03-10 06:05:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:05:03] Production.INFO: 117
[2025-03-10 06:05:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:05:03] Production.INFO: Date 2025-03-09
[2025-03-10 06: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-03-10 06:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:05:03] Production.INFO: ==7363== Lock acquired, processing the job...
[2025-03-10 06:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:05:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:05:03] Production.INFO: count ==21
[2025-03-10 06:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647561') start
[2025-03-10 06:05:03] Production.INFO: ==7365== Lock acquired, processing the job...
[2025-03-10 06:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:05:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:05:03] Production.INFO: Total Charge 0
[2025-03-10 06:05:03] Production.INFO: ==7367== Lock acquired, processing the job...
[2025-03-10 06:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:05:03] Production.INFO: CreateAllLog End
[2025-03-10 06:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647561') end
[2025-03-10 06:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:05:03] Production.INFO: 1
[2025-03-10 06:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:05:03] Production.INFO: Account Balance End.
[2025-03-10 06:05:03] Production.INFO: ==7371== Lock acquired, processing the job...
[2025-03-10 06:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:05:03] Production.INFO: ==7373== Releasing lock...
[2025-03-10 06:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:05:03] Production.ERROR: CronJobId end 12
[2025-03-10 06:05:03] Production.INFO: ==7369== Releasing lock...
[2025-03-10 06:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:05:03] Production.INFO: ==7365== Releasing lock...
[2025-03-10 06:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:05:04] Production.ERROR: done
[2025-03-10 06:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:05:04] Production.ERROR: done
[2025-03-10 06:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:05:05
[end_date_ymd] => 2025-03-10 06:05:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:05:05' and `end` < '2025-03-10 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-03-10 06:05:12] Production.ERROR: CronJobId end10
[2025-03-10 06:05:12] Production.INFO: ==7367== Releasing lock...
[2025-03-10 06:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:05:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:05:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:05:14] Production.INFO: call_cost start
[2025-03-10 06:05:14] Production.INFO: call_cost end
[2025-03-10 06:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:05:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:05:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:05:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:05:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:05:15] Production.INFO: ==7363== Releasing lock...
[2025-03-10 06:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:05:17] Production.INFO: count ==78
[2025-03-10 06:05:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:05:05 - End Time 2025-03-10 06:05:05
[2025-03-10 06:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647564', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647564', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647564', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647564', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:05:17] Production.INFO: ProcessCDR(1,14647564,1,1,2)
[2025-03-10 06:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647564', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647564', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:05:20] Production.INFO: ==7371== Releasing lock...
[2025-03-10 06:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:05:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:06:02] Production.INFO: ==7437== Lock acquired, processing the job...
[2025-03-10 10:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:06:02] Production.INFO: neon service started
[2025-03-10 10:06:02] Production.INFO: neon service started
[2025-03-10 10:06:02] Production.INFO: ==7437== Releasing lock...
[2025-03-10 10:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:06:02] Production.INFO: ==7439== Lock acquired, processing the job...
[2025-03-10 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:06:02] Production.INFO: ==7439== Releasing lock...
[2025-03-10 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:06:02] Production.INFO: ==7441== Lock acquired, processing the job...
[2025-03-10 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:06:03] Production.INFO: ==7441== Releasing lock...
[2025-03-10 10:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:06:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:06:03] Production.INFO: ==7443== Lock acquired, processing the job...
[2025-03-10 06:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:06:03] Production.INFO: ==7447== Lock acquired, processing the job...
[2025-03-10 06:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:06:03] Production.INFO: ==7449== Lock acquired, processing the job...
[2025-03-10 06:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:06:03] Production.INFO: Account Balance Start.
[2025-03-10 06:06:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:06:03] Production.INFO: 117
[2025-03-10 06:06:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:06:03] Production.INFO: ==7445== Lock acquired, processing the job...
[2025-03-10 06:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:06:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:06:03] Production.INFO: ==7451== Lock acquired, processing the job...
[2025-03-10 06:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:06:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:06:03] Production.INFO: Total Charge 0
[2025-03-10 06:06:03] Production.INFO: CreateAllLog End
[2025-03-10 06:06:04] Production.INFO: ==7453== Lock acquired, processing the job...
[2025-03-10 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:06:04] Production.INFO: ==7445== Releasing lock...
[2025-03-10 06:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:06:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 06:06:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:06:04] Production.INFO: ==7449== Releasing lock...
[2025-03-10 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:06:04] Production.INFO: count ==13
[2025-03-10 06:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:06:04] Production.ERROR: done
[2025-03-10 06:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 06:06:04] Production.INFO: count ==21
[2025-03-10 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647568') start
[2025-03-10 06:06:04] Production.ERROR: done
[2025-03-10 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647568') end
[2025-03-10 06:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:06:04] Production.INFO: 1
[2025-03-10 06:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:06:04] Production.INFO: ==7453== Releasing lock...
[2025-03-10 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:06:05
[end_date_ymd] => 2025-03-10 06:06:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:06:05' and `end` < '2025-03-10 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-03-10 06:06:11] Production.ERROR: CronJobId end10
[2025-03-10 06:06:11] Production.INFO: ==7447== Releasing lock...
[2025-03-10 06:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:06:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:06:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:06:14] Production.INFO: call_cost start
[2025-03-10 06:06:14] Production.INFO: call_cost end
[2025-03-10 06:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:06:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:06:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:06:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:06:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:06:15] Production.INFO: ==7443== Releasing lock...
[2025-03-10 06:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:06:17] Production.INFO: count ==78
[2025-03-10 06:06:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:06:05 - End Time 2025-03-10 06:06:05
[2025-03-10 06:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647569', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647569', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647569', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647569', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:06:17] Production.INFO: ProcessCDR(1,14647569,1,1,2)
[2025-03-10 06:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:06:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647569', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647569', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:06:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:06:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:06:20] Production.INFO: ==7451== Releasing lock...
[2025-03-10 06:06:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:06:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:07:01] Production.INFO: ==7514== Lock acquired, processing the job...
[2025-03-10 10:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:07:01] Production.INFO: neon service started
[2025-03-10 10:07:01] Production.INFO: neon service started
[2025-03-10 10:07:01] Production.INFO: ==7514== Releasing lock...
[2025-03-10 10:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:07:01] Production.INFO: ==7516== Lock acquired, processing the job...
[2025-03-10 06:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:07:02] Production.INFO: ==7516== Releasing lock...
[2025-03-10 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:07:02] Production.INFO: ==7518== Lock acquired, processing the job...
[2025-03-10 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:07:02] Production.INFO: ==7518== Releasing lock...
[2025-03-10 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:07:03] Production.INFO: ==7526== Lock acquired, processing the job...
[2025-03-10 06:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:07:03] Production.INFO: ==7520== Lock acquired, processing the job...
[2025-03-10 06:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:07:03] Production.INFO: ==7528== Lock acquired, processing the job...
[2025-03-10 06:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:07:03] Production.INFO: ==7522== Lock acquired, processing the job...
[2025-03-10 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:07:03] Production.INFO: ==7524== Lock acquired, processing the job...
[2025-03-10 06:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:07:03] Production.INFO: ==7530== Lock acquired, processing the job...
[2025-03-10 06:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:07:03] Production.INFO: Account Balance Start.
[2025-03-10 06:07:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:07:03] Production.INFO: 117
[2025-03-10 06:07:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06: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-03-10 06:07:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:07:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:07:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:07:03] Production.INFO: count ==21
[2025-03-10 06:07:03] Production.ERROR: done
[2025-03-10 06:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:07:03] Production.INFO: Total Charge 0
[2025-03-10 06:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647573') start
[2025-03-10 06:07:03] Production.INFO: CreateAllLog End
[2025-03-10 06:07:03] Production.INFO: ==7522== Releasing lock...
[2025-03-10 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:07:03] Production.ERROR: done
[2025-03-10 06:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647573') end
[2025-03-10 06:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:07:03] Production.INFO: 1
[2025-03-10 06:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:07:03] Production.INFO: ==7530== Releasing lock...
[2025-03-10 06:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:07:03] Production.INFO: Account Balance End.
[2025-03-10 06:07:03] Production.ERROR: CronJobId end 12
[2025-03-10 06:07:03] Production.INFO: ==7526== Releasing lock...
[2025-03-10 06:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:07:04
[end_date_ymd] => 2025-03-10 06:07:04
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:07:04' and `end` < '2025-03-10 06: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-03-10 06:07:11] Production.ERROR: CronJobId end10
[2025-03-10 06:07:11] Production.INFO: ==7524== Releasing lock...
[2025-03-10 06:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:07:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:07:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:07:14] Production.INFO: call_cost start
[2025-03-10 06:07:14] Production.INFO: call_cost end
[2025-03-10 06:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:07:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:07:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:07:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:07:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:07:15] Production.INFO: ==7520== Releasing lock...
[2025-03-10 06:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:07:16] Production.INFO: count ==78
[2025-03-10 06:07:16] Production.ERROR: pbx CDR StartTime 2025-03-10 03:07:04 - End Time 2025-03-10 06:07:04
[2025-03-10 06:07:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:07:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647574', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:07:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647574', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:07:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647574', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:07:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647574', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:07:16] Production.INFO: ProcessCDR(1,14647574,1,1,2)
[2025-03-10 06:07:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:07:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:07:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647574', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647574', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:07:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:07:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:07:20] Production.INFO: ==7528== Releasing lock...
[2025-03-10 06:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:07:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:08:01] Production.INFO: ==7591== Lock acquired, processing the job...
[2025-03-10 10:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:08:01] Production.INFO: neon service started
[2025-03-10 10:08:02] Production.INFO: neon service started
[2025-03-10 10:08:02] Production.INFO: ==7591== Releasing lock...
[2025-03-10 10:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:08:02] Production.INFO: ==7593== Lock acquired, processing the job...
[2025-03-10 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:08:02] Production.INFO: ==7595== Lock acquired, processing the job...
[2025-03-10 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:08:02] Production.INFO: ==7595== Releasing lock...
[2025-03-10 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:08:02] Production.INFO: ==7593== Releasing lock...
[2025-03-10 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:08:03] Production.INFO: ==7598== Lock acquired, processing the job...
[2025-03-10 06:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:08:03] Production.INFO: ==7600== Lock acquired, processing the job...
[2025-03-10 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:08:03] Production.INFO: ==7602== Lock acquired, processing the job...
[2025-03-10 06:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:08:04] Production.INFO: ==7604== Lock acquired, processing the job...
[2025-03-10 06:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:08:04] Production.INFO: ==7600== Releasing lock...
[2025-03-10 06:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:08:04] Production.INFO: ==7606== Lock acquired, processing the job...
[2025-03-10 06:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:08:04] Production.INFO: Account Balance Start.
[2025-03-10 06:08:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:08:04] Production.INFO: 117
[2025-03-10 06:08:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:08:04] Production.INFO: ==7608== Lock acquired, processing the job...
[2025-03-10 06:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:08:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:08:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:08:04] Production.INFO: Total Charge 0
[2025-03-10 06:08:04] Production.INFO: CreateAllLog End
[2025-03-10 06: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-03-10 06:08:04] Production.INFO: count ==13
[2025-03-10 06:08:04] Production.ERROR: done
[2025-03-10 06:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06: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-03-10 06:08:04] Production.INFO: count ==21
[2025-03-10 06:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647578') start
[2025-03-10 06:08:04] Production.ERROR: done
[2025-03-10 06:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647578') end
[2025-03-10 06:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:08:04] Production.INFO: 1
[2025-03-10 06:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:08:04] Production.INFO: Account Balance End.
[2025-03-10 06:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:08:04] Production.INFO: ==7604== Releasing lock...
[2025-03-10 06:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:08:04] Production.INFO: ==7608== Releasing lock...
[2025-03-10 06:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:08:05
[end_date_ymd] => 2025-03-10 06:08:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:08:05' and `end` < '2025-03-10 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-03-10 06:08:11] Production.ERROR: CronJobId end10
[2025-03-10 06:08:11] Production.INFO: ==7602== Releasing lock...
[2025-03-10 06:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:08:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:08:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:08:13] Production.INFO: call_cost start
[2025-03-10 06:08:13] Production.INFO: call_cost end
[2025-03-10 06:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:08:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:08:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:08:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:08:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:08:14] Production.INFO: ==7598== Releasing lock...
[2025-03-10 06:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:08:17] Production.INFO: count ==78
[2025-03-10 06:08:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:08:05 - End Time 2025-03-10 06:08:05
[2025-03-10 06:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647579', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647579', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647579', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647579', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:08:18] Production.INFO: ProcessCDR(1,14647579,1,1,2)
[2025-03-10 06:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647579', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647579', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:08:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:08:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:08:20] Production.INFO: ==7606== Releasing lock...
[2025-03-10 06:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:08:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:09:01] Production.INFO: ==7664== Lock acquired, processing the job...
[2025-03-10 10:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:09:01] Production.INFO: neon service started
[2025-03-10 10:09:01] Production.INFO: neon service started
[2025-03-10 10:09:01] Production.INFO: ==7664== Releasing lock...
[2025-03-10 10:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:09:01] Production.INFO: ==7668== Lock acquired, processing the job...
[2025-03-10 10:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:09:01] Production.INFO: ==7668== Releasing lock...
[2025-03-10 10:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:09:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:09:01] Production.INFO: ==7666== Lock acquired, processing the job...
[2025-03-10 06:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:09:02] Production.INFO: ==7666== Releasing lock...
[2025-03-10 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:09:03] Production.INFO: ==7675== Lock acquired, processing the job...
[2025-03-10 06:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:09:03] Production.INFO: ==7671== Lock acquired, processing the job...
[2025-03-10 06:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:09:03] Production.INFO: ==7681== Lock acquired, processing the job...
[2025-03-10 06:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:09:03] Production.INFO: ==7673== Lock acquired, processing the job...
[2025-03-10 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:09:03] Production.INFO: ==7677== Lock acquired, processing the job...
[2025-03-10 06:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06: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-03-10 06:09:03] Production.INFO: ==7679== Lock acquired, processing the job...
[2025-03-10 06:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:09:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:09:03] Production.INFO: Account Balance Start.
[2025-03-10 06:09:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:09:03] Production.INFO: 117
[2025-03-10 06:09:03] Production.INFO: count ==21
[2025-03-10 06:09:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647581') start
[2025-03-10 06:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:09:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:09:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647581') end
[2025-03-10 06:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:09:03] Production.INFO: 1
[2025-03-10 06:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:09:03] Production.INFO: ==7673== Releasing lock...
[2025-03-10 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:09:03] Production.INFO: Total Charge 0
[2025-03-10 06:09:03] Production.INFO: CreateAllLog End
[2025-03-10 06:09:03] Production.INFO: ==7681== Releasing lock...
[2025-03-10 06:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:09:03] Production.ERROR: done
[2025-03-10 06:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:09:04] Production.INFO: Account Balance End.
[2025-03-10 06:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:09:04] Production.INFO: ==7677== Releasing lock...
[2025-03-10 06:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:09:04] Production.ERROR: done
[2025-03-10 06:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:09:05
[end_date_ymd] => 2025-03-10 06:09:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:09:05' and `end` < '2025-03-10 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-03-10 06:09:11] Production.ERROR: CronJobId end10
[2025-03-10 06:09:11] Production.INFO: ==7675== Releasing lock...
[2025-03-10 06:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:09:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:09:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:09:14] Production.INFO: call_cost start
[2025-03-10 06:09:14] Production.INFO: call_cost end
[2025-03-10 06:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:09:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:09:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:09:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:09:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:09:15] Production.INFO: ==7671== Releasing lock...
[2025-03-10 06:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:09:17] Production.INFO: count ==78
[2025-03-10 06:09:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:09:05 - End Time 2025-03-10 06:09:05
[2025-03-10 06:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647584', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647584', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647584', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647584', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:09:17] Production.INFO: ProcessCDR(1,14647584,1,1,2)
[2025-03-10 06:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647584', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647584', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:09:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:09:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:09:20] Production.INFO: ==7679== Releasing lock...
[2025-03-10 06:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:09:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:10:01] Production.INFO: ==7747== Lock acquired, processing the job...
[2025-03-10 10:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:10:01] Production.INFO: neon service started
[2025-03-10 10:10:01] Production.INFO: neon service started
[2025-03-10 10:10:01] Production.INFO: ==7747== Releasing lock...
[2025-03-10 10:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:10:02] Production.INFO: ==7749== Lock acquired, processing the job...
[2025-03-10 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:10:02] Production.INFO: ==7749== Releasing lock...
[2025-03-10 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:10:02] Production.INFO: ==7751== Lock acquired, processing the job...
[2025-03-10 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:10:02] Production.INFO: ==7751== Releasing lock...
[2025-03-10 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:10:03] Production.INFO: ==7754== Lock acquired, processing the job...
[2025-03-10 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 06:10:03] Production.INFO: ==7756== Lock acquired, processing the job...
[2025-03-10 06:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 06:10:03] Production.ERROR: CronJob PID - 7756
[2025-03-10 06:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 06:10:03] Production.ERROR: CronJob ID - 5
[2025-03-10 06:10:03] Production.ERROR: CronJob Last Run Time 2025-03-10 06:10:00
[2025-03-10 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 06:10:03] Production.INFO: ==7758== Lock acquired, processing the job...
[2025-03-10 06:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 06:10:03] Production.INFO: ==7754== Releasing lock...
[2025-03-10 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 06:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 06:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:10:03] Production.INFO: ==7760== Lock acquired, processing the job...
[2025-03-10 06:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:10:04] Production.INFO: ==7764== Lock acquired, processing the job...
[2025-03-10 06:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:10:04] Production.INFO: ==7762== Lock acquired, processing the job...
[2025-03-10 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:10:04] Production.INFO: ==7768== Lock acquired, processing the job...
[2025-03-10 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:10:04] Production.INFO: ==7766== Lock acquired, processing the job...
[2025-03-10 06:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 06:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:10:04] Production.INFO: Account Balance Start.
[2025-03-10 06:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:10:04] Production.INFO: 117
[2025-03-10 06:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 06: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-03-10 06:10:04] Production.INFO: count ==13
[2025-03-10 06:10:04] Production.ERROR: done
[2025-03-10 06: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-03-10 06:10:04] Production.INFO: count ==21
[2025-03-10 06:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647588') start
[2025-03-10 06:10:04] Production.INFO: Total Charge 0
[2025-03-10 06:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 06:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647589', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 06:10:04] Production.INFO: CreateAllLog End
[2025-03-10 06:10:04] Production.INFO: ==7758== Releasing lock...
[2025-03-10 06:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:10:04] Production.ERROR: done
[2025-03-10 06:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647588') end
[2025-03-10 06:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:10:04] Production.INFO: 1
[2025-03-10 06:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:10:04] Production.INFO: ==7768== Releasing lock...
[2025-03-10 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:10:04] Production.ERROR: done
[2025-03-10 06:10:05] Production.INFO: Account Balance End.
[2025-03-10 06:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 06:10:05] Production.INFO: ==7762== Releasing lock...
[2025-03-10 06:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:10:05
[end_date_ymd] => 2025-03-10 06:10:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:10:05' and `end` < '2025-03-10 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-03-10 06:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647589', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 06:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 06:10:08] Production.INFO: ProcessCDR(1,14647589,1,1,2)
[2025-03-10 06:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647589,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647589,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:10:08] Production.INFO: ==7766== Releasing lock...
[2025-03-10 06:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 06:10:08] Production.INFO: 26 MB #Memory Used#
[2025-03-10 06:10:14] Production.ERROR: CronJobId end10
[2025-03-10 06:10:14] Production.INFO: ==7760== Releasing lock...
[2025-03-10 06:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:10:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:10:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:10:16] Production.INFO: call_cost start
[2025-03-10 06:10:16] Production.INFO: call_cost end
[2025-03-10 06:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:10:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:10:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:10:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:10:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:10:17] Production.INFO: ==7756== Releasing lock...
[2025-03-10 06:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:10:17] Production.INFO: count ==78
[2025-03-10 06:10:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:10:05 - End Time 2025-03-10 06:10:05
[2025-03-10 06:10:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:10:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647590', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647590', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647590', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647590', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:10:18] Production.INFO: ProcessCDR(1,14647590,1,1,2)
[2025-03-10 06:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647590', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647590', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:10:21] Production.INFO: ==7764== Releasing lock...
[2025-03-10 06:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:10:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:11:02] Production.INFO: ==7863== Lock acquired, processing the job...
[2025-03-10 10:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:11:02] Production.INFO: neon service started
[2025-03-10 10:11:02] Production.INFO: neon service started
[2025-03-10 10:11:02] Production.INFO: ==7863== Releasing lock...
[2025-03-10 10:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:11:02] Production.INFO: ==7866== Lock acquired, processing the job...
[2025-03-10 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:11:03] Production.INFO: ==7868== Lock acquired, processing the job...
[2025-03-10 10:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:11:03] Production.INFO: ==7868== Releasing lock...
[2025-03-10 10:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:11:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:11:03] Production.INFO: ==7866== Releasing lock...
[2025-03-10 06:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:11:04] Production.INFO: ==7874== Lock acquired, processing the job...
[2025-03-10 06:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:11:04] Production.INFO: ==7882== Lock acquired, processing the job...
[2025-03-10 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:11:04] Production.INFO: ==7872== Lock acquired, processing the job...
[2025-03-10 06:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:11:04] Production.INFO: ==7876== Lock acquired, processing the job...
[2025-03-10 06:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06: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-03-10 06:11:04] Production.INFO: count ==13
[2025-03-10 06:11:04] Production.INFO: ==7878== Lock acquired, processing the job...
[2025-03-10 06:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 06:11:04] Production.INFO: ==7880== Lock acquired, processing the job...
[2025-03-10 06:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:11:04] Production.INFO: count ==21
[2025-03-10 06:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647591') start
[2025-03-10 06:11:04] Production.INFO: Account Balance Start.
[2025-03-10 06:11:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:11:04] Production.INFO: 117
[2025-03-10 06:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:11:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647591') end
[2025-03-10 06:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:11:04] Production.INFO: 1
[2025-03-10 06:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:11:04] Production.INFO: ==7874== Releasing lock...
[2025-03-10 06:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:11:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:11:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:11:04] Production.INFO: ==7882== Releasing lock...
[2025-03-10 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:11:04] Production.INFO: Total Charge 0
[2025-03-10 06:11:04] Production.INFO: CreateAllLog End
[2025-03-10 06:11:05] Production.ERROR: done
[2025-03-10 06:11:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:11:05] Production.INFO: Account Balance End.
[2025-03-10 06:11:05] Production.ERROR: done
[2025-03-10 06:11:05] Production.ERROR: CronJobId end 12
[2025-03-10 06:11:05] Production.INFO: ==7878== Releasing lock...
[2025-03-10 06:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:11:06
[end_date_ymd] => 2025-03-10 06:11:06
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:11:06' and `end` < '2025-03-10 06: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-03-10 06:11:12] Production.ERROR: CronJobId end10
[2025-03-10 06:11:12] Production.INFO: ==7876== Releasing lock...
[2025-03-10 06:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:11:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:11:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:11:15] Production.INFO: call_cost start
[2025-03-10 06:11:15] Production.INFO: call_cost end
[2025-03-10 06:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:11:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:11:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:11:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:11:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:11:16] Production.INFO: ==7872== Releasing lock...
[2025-03-10 06:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:11:18] Production.INFO: count ==78
[2025-03-10 06:11:18] Production.ERROR: pbx CDR StartTime 2025-03-10 03:11:06 - End Time 2025-03-10 06:11:06
[2025-03-10 06:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647595', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647595', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647595', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647595', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:11:18] Production.INFO: ProcessCDR(1,14647595,1,1,2)
[2025-03-10 06:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647595', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647595', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:11:21] Production.INFO: ==7880== Releasing lock...
[2025-03-10 06:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:11:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:12:01] Production.INFO: ==7983== Lock acquired, processing the job...
[2025-03-10 10:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:12:01] Production.INFO: neon service started
[2025-03-10 10:12:01] Production.INFO: neon service started
[2025-03-10 10:12:01] Production.INFO: ==7983== Releasing lock...
[2025-03-10 10:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:12:02] Production.INFO: ==7985== Lock acquired, processing the job...
[2025-03-10 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:12:02] Production.INFO: ==7985== Releasing lock...
[2025-03-10 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:12:02] Production.INFO: ==7987== Lock acquired, processing the job...
[2025-03-10 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:12:02] Production.INFO: ==7987== Releasing lock...
[2025-03-10 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:12:03] Production.INFO: ==7990== Lock acquired, processing the job...
[2025-03-10 06:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:12:03] Production.INFO: ==7992== Lock acquired, processing the job...
[2025-03-10 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:12:03] Production.INFO: ==7998== Lock acquired, processing the job...
[2025-03-10 06:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:12:03] Production.INFO: ==7994== Lock acquired, processing the job...
[2025-03-10 06:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:12:03] Production.INFO: ==7996== Lock acquired, processing the job...
[2025-03-10 06:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:12:03] Production.INFO: ==8000== Lock acquired, processing the job...
[2025-03-10 06:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:12:03] Production.INFO: ==7992== Releasing lock...
[2025-03-10 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:12:03] Production.INFO: Account Balance Start.
[2025-03-10 06:12:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:12:03] Production.INFO: 117
[2025-03-10 06:12:04] Production.ERROR: done
[2025-03-10 06:12:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 06: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-03-10 06:12:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:12:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:12:04] Production.INFO: count ==13
[2025-03-10 06:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 06: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-03-10 06:12:04] Production.ERROR: done
[2025-03-10 06:12:04] Production.INFO: count ==21
[2025-03-10 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647599') start
[2025-03-10 06:12:04] Production.INFO: Total Charge 0
[2025-03-10 06:12:04] Production.INFO: CreateAllLog End
[2025-03-10 06:12:04] Production.INFO: Account Balance End.
[2025-03-10 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647599') end
[2025-03-10 06:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:12:04] Production.INFO: 1
[2025-03-10 06:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:12:04] Production.INFO: ==7996== Releasing lock...
[2025-03-10 06:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:12:04] Production.INFO: ==8000== Releasing lock...
[2025-03-10 06:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:12:05
[end_date_ymd] => 2025-03-10 06:12:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:12:05' and `end` < '2025-03-10 06: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-03-10 06:12:12] Production.ERROR: CronJobId end10
[2025-03-10 06:12:12] Production.INFO: ==7994== Releasing lock...
[2025-03-10 06:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:12:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:12:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:12:15] Production.INFO: call_cost start
[2025-03-10 06:12:15] Production.INFO: call_cost end
[2025-03-10 06:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:12:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:12:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:12:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:12:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:12:15] Production.INFO: ==7990== Releasing lock...
[2025-03-10 06:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:12:17] Production.INFO: count ==74
[2025-03-10 06:12:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:12:05 - End Time 2025-03-10 06:12:05
[2025-03-10 06:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647600', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647600', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647600', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647600', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:12:17] Production.INFO: ProcessCDR(1,14647600,1,1,2)
[2025-03-10 06:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647600', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647600', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:12:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:12:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:12:20] Production.INFO: ==7998== Releasing lock...
[2025-03-10 06:12:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:12:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:13:02] Production.INFO: ==8095== Lock acquired, processing the job...
[2025-03-10 10:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:13:02] Production.INFO: neon service started
[2025-03-10 10:13:02] Production.INFO: neon service started
[2025-03-10 10:13:02] Production.INFO: ==8095== Releasing lock...
[2025-03-10 10:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:13:02] Production.INFO: ==8097== Lock acquired, processing the job...
[2025-03-10 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:13:02] Production.INFO: ==8099== Lock acquired, processing the job...
[2025-03-10 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:13:02] Production.INFO: ==8099== Releasing lock...
[2025-03-10 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:13:03] Production.INFO: ==8097== Releasing lock...
[2025-03-10 06:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:13:04] Production.INFO: ==8104== Lock acquired, processing the job...
[2025-03-10 06:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:13:04] Production.INFO: ==8106== Lock acquired, processing the job...
[2025-03-10 06:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:13:04] Production.INFO: ==8108== Lock acquired, processing the job...
[2025-03-10 06:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:13:04] Production.INFO: ==8110== Lock acquired, processing the job...
[2025-03-10 06:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:13:04] Production.INFO: ==8112== Lock acquired, processing the job...
[2025-03-10 06:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:13:04] Production.INFO: Account Balance Start.
[2025-03-10 06:13:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:13:04] Production.INFO: 117
[2025-03-10 06:13:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:13:04] Production.INFO: ==8114== Lock acquired, processing the job...
[2025-03-10 06:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:13:04] Production.INFO: ==8106== Releasing lock...
[2025-03-10 06:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:13:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:13:04] Production.INFO: Total Charge 0
[2025-03-10 06:13:04] Production.INFO: CreateAllLog End
[2025-03-10 06: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-03-10 06:13:04] Production.INFO: Account Balance End.
[2025-03-10 06:13:04] Production.ERROR: done
[2025-03-10 06:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:13:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:13:04] Production.INFO: ==8110== Releasing lock...
[2025-03-10 06:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:13:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:13:05] Production.INFO: count ==21
[2025-03-10 06:13:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647604') start
[2025-03-10 06:13:05] Production.ERROR: done
[2025-03-10 06:13:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647604') end
[2025-03-10 06:13:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:13:05] Production.INFO: 1
[2025-03-10 06:13:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:13:05] Production.INFO: ==8114== Releasing lock...
[2025-03-10 06:13:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:13:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:13:06
[end_date_ymd] => 2025-03-10 06:13:06
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:13:06' and `end` < '2025-03-10 06: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-03-10 06:13:13] Production.ERROR: CronJobId end10
[2025-03-10 06:13:13] Production.INFO: ==8108== Releasing lock...
[2025-03-10 06:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:13:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:13:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:13:16] Production.INFO: call_cost start
[2025-03-10 06:13:16] Production.INFO: call_cost end
[2025-03-10 06:13:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:13:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:13:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:13:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:13:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:13:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:13:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:13:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:13:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:13:17] Production.INFO: ==8104== Releasing lock...
[2025-03-10 06:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:13:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:13:18] Production.INFO: count ==74
[2025-03-10 06:13:18] Production.ERROR: pbx CDR StartTime 2025-03-10 03:13:06 - End Time 2025-03-10 06:13:06
[2025-03-10 06:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647605', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647605', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647605', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647605', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:13:18] Production.INFO: ProcessCDR(1,14647605,1,1,2)
[2025-03-10 06:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647605', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647605', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:13:21] Production.INFO: ==8112== Releasing lock...
[2025-03-10 06:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:13:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:14:01] Production.INFO: ==8209== Lock acquired, processing the job...
[2025-03-10 10:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:14:01] Production.INFO: neon service started
[2025-03-10 10:14:01] Production.INFO: neon service started
[2025-03-10 10:14:01] Production.INFO: ==8209== Releasing lock...
[2025-03-10 10:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:14:02] Production.INFO: ==8211== Lock acquired, processing the job...
[2025-03-10 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:14:02] Production.INFO: ==8211== Releasing lock...
[2025-03-10 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:14:02] Production.INFO: ==8213== Lock acquired, processing the job...
[2025-03-10 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:14:02] Production.INFO: ==8213== Releasing lock...
[2025-03-10 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:14:03] Production.INFO: ==8217== Lock acquired, processing the job...
[2025-03-10 06:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:14:03] Production.INFO: ==8225== Lock acquired, processing the job...
[2025-03-10 06:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:14:03] Production.INFO: ==8219== Lock acquired, processing the job...
[2025-03-10 06:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:14:03] Production.INFO: ==8221== Lock acquired, processing the job...
[2025-03-10 06:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:14:03] Production.INFO: ==8227== Lock acquired, processing the job...
[2025-03-10 06:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:14:03] Production.INFO: ==8223== Lock acquired, processing the job...
[2025-03-10 06:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:14:03] Production.ERROR: done
[2025-03-10 06:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:14:03] Production.INFO: Account Balance Start.
[2025-03-10 06:14:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:14:03] Production.INFO: 117
[2025-03-10 06:14:03] Production.INFO: Date 2025-03-08
[2025-03-10 06: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-03-10 06:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:14:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:14:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:14:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:14:04] Production.INFO: count ==21
[2025-03-10 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647609') start
[2025-03-10 06:14:04] Production.ERROR: done
[2025-03-10 06:14:04] Production.INFO: Total Charge 0
[2025-03-10 06:14:04] Production.INFO: CreateAllLog End
[2025-03-10 06:14:04] Production.INFO: ==8219== Releasing lock...
[2025-03-10 06:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647609') end
[2025-03-10 06:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:14:04] Production.INFO: 1
[2025-03-10 06:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:14:04] Production.INFO: ==8227== Releasing lock...
[2025-03-10 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:14:04] Production.INFO: Account Balance End.
[2025-03-10 06:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:14:04] Production.INFO: ==8223== Releasing lock...
[2025-03-10 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:14:05
[end_date_ymd] => 2025-03-10 06:14:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:14:05' and `end` < '2025-03-10 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-03-10 06:14:12] Production.ERROR: CronJobId end10
[2025-03-10 06:14:12] Production.INFO: ==8221== Releasing lock...
[2025-03-10 06:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:14:14] Production.INFO: call_cost start
[2025-03-10 06:14:14] Production.INFO: call_cost end
[2025-03-10 06:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:14:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:14:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:14:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:14:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:14:15] Production.INFO: ==8217== Releasing lock...
[2025-03-10 06:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:14:17] Production.INFO: count ==74
[2025-03-10 06:14:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:14:05 - End Time 2025-03-10 06:14:05
[2025-03-10 06:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647610', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647610', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647610', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647610', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:14:17] Production.INFO: ProcessCDR(1,14647610,1,1,2)
[2025-03-10 06:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647610', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647610', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:14:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:14:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:14:20] Production.INFO: ==8225== Releasing lock...
[2025-03-10 06:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:14:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:15:02] Production.INFO: ==8326== Lock acquired, processing the job...
[2025-03-10 10:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:15:02] Production.INFO: neon service started
[2025-03-10 10:15:02] Production.INFO: neon service started
[2025-03-10 10:15:02] Production.INFO: ==8326== Releasing lock...
[2025-03-10 10:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:15:02] Production.INFO: ==8330== Lock acquired, processing the job...
[2025-03-10 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:15:02] Production.INFO: ==8330== Releasing lock...
[2025-03-10 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:15:02] Production.INFO: ==8328== Lock acquired, processing the job...
[2025-03-10 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:15:03] Production.INFO: ==8328== Releasing lock...
[2025-03-10 06:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:15:03] Production.INFO: ==8332== Lock acquired, processing the job...
[2025-03-10 06:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:15:03] Production.INFO: ==8334== Lock acquired, processing the job...
[2025-03-10 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:15:03] Production.INFO: ==8340== Lock acquired, processing the job...
[2025-03-10 06:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:15:04] Production.INFO: ==8336== Lock acquired, processing the job...
[2025-03-10 06:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:15:04] Production.INFO: ==8338== Lock acquired, processing the job...
[2025-03-10 06:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:15:04] Production.INFO: ==8343== Lock acquired, processing the job...
[2025-03-10 06:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:15:04] Production.INFO: ==8334== Releasing lock...
[2025-03-10 06:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:15:04] Production.ERROR: done
[2025-03-10 06:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:15:04] Production.INFO: Account Balance Start.
[2025-03-10 06:15:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:15:04] Production.INFO: 117
[2025-03-10 06: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-03-10 06:15:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:15:04] Production.INFO: count ==13
[2025-03-10 06:15:04] Production.ERROR: done
[2025-03-10 06:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 06: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-03-10 06:15:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:15:04] Production.INFO: count ==21
[2025-03-10 06:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647613') start
[2025-03-10 06:15:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:15:04] Production.INFO: Total Charge 0
[2025-03-10 06:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647613') end
[2025-03-10 06:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:15:04] Production.INFO: 1
[2025-03-10 06:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:15:04] Production.INFO: CreateAllLog End
[2025-03-10 06:15:04] Production.INFO: ==8343== Releasing lock...
[2025-03-10 06:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:15:04] Production.INFO: Account Balance End.
[2025-03-10 06:15:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:15:04] Production.INFO: ==8338== Releasing lock...
[2025-03-10 06:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:15:05
[end_date_ymd] => 2025-03-10 06:15:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:15:05' and `end` < '2025-03-10 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-03-10 06:15:13] Production.ERROR: CronJobId end10
[2025-03-10 06:15:13] Production.INFO: ==8336== Releasing lock...
[2025-03-10 06:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:15:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:15:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:15:15] Production.INFO: call_cost start
[2025-03-10 06:15:15] Production.INFO: call_cost end
[2025-03-10 06:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:15:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:15:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:15:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:15:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:15:16] Production.INFO: ==8332== Releasing lock...
[2025-03-10 06:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:15:17] Production.INFO: count ==73
[2025-03-10 06:15:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:15:05 - End Time 2025-03-10 06:15:05
[2025-03-10 06:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647615', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647615', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647615', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647615', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:15:17] Production.INFO: ProcessCDR(1,14647615,1,1,2)
[2025-03-10 06:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647615', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647615', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:15:21] Production.INFO: ==8340== Releasing lock...
[2025-03-10 06:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:15:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:16:01] Production.INFO: ==8435== Lock acquired, processing the job...
[2025-03-10 10:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:16:01] Production.INFO: neon service started
[2025-03-10 10:16:01] Production.INFO: neon service started
[2025-03-10 10:16:01] Production.INFO: ==8435== Releasing lock...
[2025-03-10 10:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:16:02] Production.INFO: ==8437== Lock acquired, processing the job...
[2025-03-10 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:16:02] Production.INFO: ==8437== Releasing lock...
[2025-03-10 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:16:02] Production.INFO: ==8439== Lock acquired, processing the job...
[2025-03-10 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:16:02] Production.INFO: ==8439== Releasing lock...
[2025-03-10 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:16:03] Production.INFO: ==8442== Lock acquired, processing the job...
[2025-03-10 06:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:16:03] Production.INFO: ==8444== Lock acquired, processing the job...
[2025-03-10 06:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:16:03] Production.INFO: ==8450== Lock acquired, processing the job...
[2025-03-10 06:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:16:03] Production.INFO: ==8446== Lock acquired, processing the job...
[2025-03-10 06:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:16:03] Production.INFO: ==8448== Lock acquired, processing the job...
[2025-03-10 06:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:16:03] Production.INFO: ==8444== Releasing lock...
[2025-03-10 06:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:16:03] Production.INFO: ==8452== Lock acquired, processing the job...
[2025-03-10 06:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:16:04] Production.INFO: Account Balance Start.
[2025-03-10 06:16:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:16:04] Production.INFO: 117
[2025-03-10 06:16:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:16:04] Production.ERROR: done
[2025-03-10 06:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:16:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 06:16:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:16:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:16:04] Production.INFO: count ==21
[2025-03-10 06:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647619') start
[2025-03-10 06:16:04] Production.ERROR: done
[2025-03-10 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647619') end
[2025-03-10 06:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:16:04] Production.INFO: 1
[2025-03-10 06:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:16:04] Production.INFO: Total Charge 0
[2025-03-10 06:16:04] Production.INFO: CreateAllLog End
[2025-03-10 06:16:04] Production.INFO: ==8452== Releasing lock...
[2025-03-10 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:16:04] Production.INFO: Account Balance End.
[2025-03-10 06:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:16:04] Production.INFO: ==8448== Releasing lock...
[2025-03-10 06:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:16:05
[end_date_ymd] => 2025-03-10 06:16:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:16:05' and `end` < '2025-03-10 06: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-03-10 06:16:13] Production.ERROR: CronJobId end10
[2025-03-10 06:16:13] Production.INFO: ==8446== Releasing lock...
[2025-03-10 06:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:16:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:16:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:16:14] Production.INFO: call_cost start
[2025-03-10 06:16:14] Production.INFO: call_cost end
[2025-03-10 06:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:16:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:16:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:16:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:16:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:16:15] Production.INFO: ==8442== Releasing lock...
[2025-03-10 06:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:16:17] Production.INFO: count ==75
[2025-03-10 06:16:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:16:05 - End Time 2025-03-10 06:16:05
[2025-03-10 06:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647620', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647620', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647620', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647620', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:16:17] Production.INFO: ProcessCDR(1,14647620,1,1,2)
[2025-03-10 06:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647620', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647620', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:16:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:16:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:16:20] Production.INFO: ==8450== Releasing lock...
[2025-03-10 06:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:16:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:17:02] Production.INFO: ==8550== Lock acquired, processing the job...
[2025-03-10 10:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:17:02] Production.INFO: neon service started
[2025-03-10 10:17:02] Production.INFO: neon service started
[2025-03-10 10:17:02] Production.INFO: ==8550== Releasing lock...
[2025-03-10 10:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:17:02] Production.INFO: ==8552== Lock acquired, processing the job...
[2025-03-10 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:17:02] Production.INFO: ==8552== Releasing lock...
[2025-03-10 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:17:03] Production.INFO: ==8554== Lock acquired, processing the job...
[2025-03-10 10:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:17:03] Production.INFO: ==8554== Releasing lock...
[2025-03-10 10:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:17:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:17:03] Production.INFO: ==8561== Lock acquired, processing the job...
[2025-03-10 06:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:17:03] Production.INFO: ==8567== Lock acquired, processing the job...
[2025-03-10 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:17:03] Production.INFO: ==8557== Lock acquired, processing the job...
[2025-03-10 06:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:17:03] Production.INFO: ==8559== Lock acquired, processing the job...
[2025-03-10 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 06:17:03] Production.INFO: count ==13
[2025-03-10 06:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06: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-03-10 06:17:04] Production.INFO: ==8563== Lock acquired, processing the job...
[2025-03-10 06:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:17:04] Production.INFO: count ==21
[2025-03-10 06:17:04] Production.INFO: ==8565== Lock acquired, processing the job...
[2025-03-10 06:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647621') start
[2025-03-10 06:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647621') end
[2025-03-10 06:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:17:04] Production.INFO: 1
[2025-03-10 06:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:17:04] Production.INFO: Account Balance Start.
[2025-03-10 06:17:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:17:04] Production.INFO: 117
[2025-03-10 06:17:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:17:04] Production.INFO: ==8567== Releasing lock...
[2025-03-10 06:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:17:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:17:04] Production.INFO: ==8559== Releasing lock...
[2025-03-10 06:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:17:04] Production.ERROR: done
[2025-03-10 06:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:17:04] Production.INFO: Total Charge 0
[2025-03-10 06:17:04] Production.INFO: CreateAllLog End
[2025-03-10 06:17:04] Production.ERROR: done
[2025-03-10 06:17:04] Production.INFO: Account Balance End.
[2025-03-10 06:17:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:17:04] Production.INFO: ==8563== Releasing lock...
[2025-03-10 06:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:17:05
[end_date_ymd] => 2025-03-10 06:17:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:17:05' and `end` < '2025-03-10 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-03-10 06:17:13] Production.ERROR: CronJobId end10
[2025-03-10 06:17:13] Production.INFO: ==8561== Releasing lock...
[2025-03-10 06:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:17:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:17:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:17:15] Production.INFO: call_cost start
[2025-03-10 06:17:15] Production.INFO: call_cost end
[2025-03-10 06:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:17:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:17:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:17:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:17:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:17:15] Production.INFO: ==8557== Releasing lock...
[2025-03-10 06:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:17:17] Production.INFO: count ==78
[2025-03-10 06:17:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:17:05 - End Time 2025-03-10 06:17:05
[2025-03-10 06:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647625', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647625', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647625', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647625', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:17:17] Production.INFO: ProcessCDR(1,14647625,1,1,2)
[2025-03-10 06:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647625', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647625', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:17:20] Production.INFO: ==8565== Releasing lock...
[2025-03-10 06:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:17:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:18:01] Production.INFO: ==8661== Lock acquired, processing the job...
[2025-03-10 10:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:18:01] Production.INFO: neon service started
[2025-03-10 10:18:01] Production.INFO: neon service started
[2025-03-10 10:18:01] Production.INFO: ==8661== Releasing lock...
[2025-03-10 10:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:18:02] Production.INFO: ==8663== Lock acquired, processing the job...
[2025-03-10 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:18:02] Production.INFO: ==8663== Releasing lock...
[2025-03-10 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:18:02] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:18:02] Production.INFO: ==8665== Lock acquired, processing the job...
[2025-03-10 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:18:02] Production.INFO: ==8665== Releasing lock...
[2025-03-10 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:18:03] Production.INFO: ==8668== Lock acquired, processing the job...
[2025-03-10 06:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:18:03] Production.INFO: ==8676== Lock acquired, processing the job...
[2025-03-10 06:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:18:03] Production.INFO: ==8678== Lock acquired, processing the job...
[2025-03-10 06:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:18:03] Production.INFO: ==8670== Lock acquired, processing the job...
[2025-03-10 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:18:03] Production.INFO: ==8672== Lock acquired, processing the job...
[2025-03-10 06:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:18:03] Production.INFO: ==8674== Lock acquired, processing the job...
[2025-03-10 06:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06: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-03-10 06:18:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:18:03] Production.INFO: count ==21
[2025-03-10 06:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647627') start
[2025-03-10 06:18:03] Production.INFO: Account Balance Start.
[2025-03-10 06:18:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:18:03] Production.INFO: 117
[2025-03-10 06:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:18:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:18:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:18:04] Production.ERROR: done
[2025-03-10 06:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647627') end
[2025-03-10 06:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:18:04] Production.INFO: 1
[2025-03-10 06:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:18:04] Production.INFO: Total Charge 0
[2025-03-10 06:18:04] Production.INFO: ==8678== Releasing lock...
[2025-03-10 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:18:04] Production.INFO: ==8670== Releasing lock...
[2025-03-10 06:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:18:04] Production.INFO: CreateAllLog End
[2025-03-10 06:18:04] Production.ERROR: done
[2025-03-10 06:18:04] Production.INFO: Account Balance End.
[2025-03-10 06:18:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:18:04] Production.INFO: ==8674== Releasing lock...
[2025-03-10 06:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:18:05
[end_date_ymd] => 2025-03-10 06:18:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:18:05' and `end` < '2025-03-10 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-03-10 06:18:12] Production.ERROR: CronJobId end10
[2025-03-10 06:18:12] Production.INFO: ==8672== Releasing lock...
[2025-03-10 06:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:18:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:18:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:18:15] Production.INFO: call_cost start
[2025-03-10 06:18:15] Production.INFO: call_cost end
[2025-03-10 06:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:18:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:18:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:18:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:18:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:18:15] Production.INFO: ==8668== Releasing lock...
[2025-03-10 06:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:18:17] Production.INFO: count ==78
[2025-03-10 06:18:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:18:05 - End Time 2025-03-10 06:18:05
[2025-03-10 06:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647630', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647630', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647630', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647630', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:18:17] Production.INFO: ProcessCDR(1,14647630,1,1,2)
[2025-03-10 06:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647630', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647630', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:18:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:18:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:18:20] Production.INFO: ==8676== Releasing lock...
[2025-03-10 06:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:18:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:19:02] Production.INFO: ==8775== Lock acquired, processing the job...
[2025-03-10 10:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:19:02] Production.INFO: neon service started
[2025-03-10 10:19:02] Production.INFO: neon service started
[2025-03-10 10:19:02] Production.INFO: ==8775== Releasing lock...
[2025-03-10 10:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:19:02] Production.INFO: ==8778== Lock acquired, processing the job...
[2025-03-10 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:19:02] Production.INFO: ==8780== Lock acquired, processing the job...
[2025-03-10 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:19:02] Production.INFO: ==8778== Releasing lock...
[2025-03-10 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:19:02] Production.INFO: ==8780== Releasing lock...
[2025-03-10 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:19:03] Production.INFO: ==8790== Lock acquired, processing the job...
[2025-03-10 06:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:19:03] Production.INFO: Account Balance Start.
[2025-03-10 06:19:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:19:03] Production.INFO: ==8792== Lock acquired, processing the job...
[2025-03-10 06:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:19:03] Production.INFO: 117
[2025-03-10 06:19:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:19:03] Production.INFO: ==8784== Lock acquired, processing the job...
[2025-03-10 06:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:19:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:19:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:19:03] Production.INFO: Total Charge 0
[2025-03-10 06:19:03] Production.INFO: CreateAllLog End
[2025-03-10 06:19:03] Production.INFO: ==8786== Lock acquired, processing the job...
[2025-03-10 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:19:04] Production.INFO: ==8788== Lock acquired, processing the job...
[2025-03-10 06:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:19:04] Production.INFO: ==8794== Lock acquired, processing the job...
[2025-03-10 06:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:19:04] Production.INFO: Account Balance End.
[2025-03-10 06:19:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:19:04] Production.INFO: ==8790== Releasing lock...
[2025-03-10 06:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06: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-03-10 06:19:04] Production.ERROR: done
[2025-03-10 06:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:19:04] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:19:04] Production.INFO: count ==21
[2025-03-10 06:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647634') start
[2025-03-10 06:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647634') end
[2025-03-10 06:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:19:04] Production.INFO: 1
[2025-03-10 06:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:19:04] Production.INFO: ==8786== Releasing lock...
[2025-03-10 06:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:19:04] Production.ERROR: done
[2025-03-10 06:19:04] Production.INFO: ==8794== Releasing lock...
[2025-03-10 06:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:19:05
[end_date_ymd] => 2025-03-10 06:19:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:19:05' and `end` < '2025-03-10 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-03-10 06:19:12] Production.ERROR: CronJobId end10
[2025-03-10 06:19:12] Production.INFO: ==8788== Releasing lock...
[2025-03-10 06:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:19:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:19:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:19:15] Production.INFO: call_cost start
[2025-03-10 06:19:15] Production.INFO: call_cost end
[2025-03-10 06:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:19:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:19:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:19:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:19:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:19:16] Production.INFO: ==8784== Releasing lock...
[2025-03-10 06:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:19:17] Production.INFO: count ==78
[2025-03-10 06:19:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:19:05 - End Time 2025-03-10 06:19:05
[2025-03-10 06:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647635', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647635', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647635', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647635', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:19:17] Production.INFO: ProcessCDR(1,14647635,1,1,2)
[2025-03-10 06:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647635', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647635', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:19:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:19:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:19:20] Production.INFO: ==8792== Releasing lock...
[2025-03-10 06:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:19:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:20:01] Production.INFO: ==8927== Lock acquired, processing the job...
[2025-03-10 10:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:20:01] Production.INFO: neon service started
[2025-03-10 10:20:01] Production.INFO: neon service started
[2025-03-10 10:20:01] Production.INFO: ==8927== Releasing lock...
[2025-03-10 10:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:20:01] Production.INFO: ==8929== Lock acquired, processing the job...
[2025-03-10 06:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:20:02] Production.INFO: ==8929== Releasing lock...
[2025-03-10 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:20:02] Production.INFO: ==8931== Lock acquired, processing the job...
[2025-03-10 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:20:02] Production.INFO: ==8931== Releasing lock...
[2025-03-10 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:20:03] Production.INFO: ==8935== Lock acquired, processing the job...
[2025-03-10 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 06:20:03] Production.INFO: ==8937== Lock acquired, processing the job...
[2025-03-10 06:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:20:03] Production.INFO: ==8939== Lock acquired, processing the job...
[2025-03-10 06:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:20:03] Production.INFO: ==8941== Lock acquired, processing the job...
[2025-03-10 06:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 06:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 06:20:03] Production.ERROR: CronJob PID - 8937
[2025-03-10 06:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 06:20:03] Production.ERROR: CronJob ID - 5
[2025-03-10 06:20:03] Production.ERROR: CronJob Last Run Time 2025-03-10 06:20:00
[2025-03-10 06:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 06:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 06:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 06:20:03] Production.INFO: ==8935== Releasing lock...
[2025-03-10 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 06:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 06:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:20:03] Production.INFO: ==8943== Lock acquired, processing the job...
[2025-03-10 06:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:20:03] Production.INFO: ==8945== Lock acquired, processing the job...
[2025-03-10 06:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:20:03] Production.INFO: ==8950== Lock acquired, processing the job...
[2025-03-10 06:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:20:03] Production.INFO: ==8948== Lock acquired, processing the job...
[2025-03-10 06:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 06:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:20:03] Production.INFO: Account Balance Start.
[2025-03-10 06:20:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:20:03] Production.INFO: 117
[2025-03-10 06:20:03] Production.INFO: Date 2025-03-08
[2025-03-10 06: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-03-10 06:20:04] Production.INFO: count ==13
[2025-03-10 06:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 06:20:04] Production.INFO: count ==21
[2025-03-10 06:20:04] Production.INFO: ==8939== Releasing lock...
[2025-03-10 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647639') start
[2025-03-10 06:20:04] Production.ERROR: done
[2025-03-10 06:20:04] Production.ERROR: done
[2025-03-10 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647639') end
[2025-03-10 06:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:20:04] Production.INFO: 1
[2025-03-10 06:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 06:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647640', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 06:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:20:04] Production.INFO: ==8950== Releasing lock...
[2025-03-10 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:20:04] Production.INFO: Total Charge 0
[2025-03-10 06:20:04] Production.INFO: CreateAllLog End
[2025-03-10 06:20:04] Production.ERROR: done
[2025-03-10 06:20:04] Production.INFO: Account Balance End.
[2025-03-10 06:20:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:20:04] Production.INFO: ==8943== Releasing lock...
[2025-03-10 06:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:20:05
[end_date_ymd] => 2025-03-10 06:20:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:20:05' and `end` < '2025-03-10 06: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-03-10 06:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647640', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 06:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 06:20:08] Production.INFO: ProcessCDR(1,14647640,1,1,2)
[2025-03-10 06:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647640,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647640,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:20:08] Production.INFO: ==8948== Releasing lock...
[2025-03-10 06:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 06:20:08] Production.INFO: 26 MB #Memory Used#
[2025-03-10 06:20:14] Production.ERROR: CronJobId end10
[2025-03-10 06:20:14] Production.INFO: ==8941== Releasing lock...
[2025-03-10 06:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:20:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:20:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:20:16] Production.INFO: call_cost start
[2025-03-10 06:20:16] Production.INFO: call_cost end
[2025-03-10 06:20:17] Production.INFO: count ==78
[2025-03-10 06:20:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:20:05 - End Time 2025-03-10 06:20:05
[2025-03-10 06:20:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647641', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647641', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647641', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:20:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647641', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:20:17] Production.INFO: ProcessCDR(1,14647641,1,1,2)
[2025-03-10 06:20:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:20:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:20:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:20:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:20:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:20:17] Production.INFO: ==8937== Releasing lock...
[2025-03-10 06:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:20:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:20:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:20:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:20:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647641', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:20:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647641', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:20:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:20:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:20:20] Production.INFO: ==8945== Releasing lock...
[2025-03-10 06:20:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:20:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:21:01] Production.INFO: ==9041== Lock acquired, processing the job...
[2025-03-10 10:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:21:01] Production.INFO: neon service started
[2025-03-10 10:21:01] Production.INFO: neon service started
[2025-03-10 10:21:01] Production.INFO: ==9041== Releasing lock...
[2025-03-10 10:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:21:02] Production.INFO: ==9043== Lock acquired, processing the job...
[2025-03-10 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:21:02] Production.INFO: ==9045== Lock acquired, processing the job...
[2025-03-10 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:21:02] Production.INFO: ==9045== Releasing lock...
[2025-03-10 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:21:02] Production.INFO: ==9043== Releasing lock...
[2025-03-10 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:21:03] Production.INFO: ==9047== Lock acquired, processing the job...
[2025-03-10 06:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:21:03] Production.INFO: ==9050== Lock acquired, processing the job...
[2025-03-10 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:21:03] Production.INFO: ==9057== Lock acquired, processing the job...
[2025-03-10 06:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:21:03] Production.INFO: ==9059== Lock acquired, processing the job...
[2025-03-10 06:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:21:03] Production.INFO: ==9052== Lock acquired, processing the job...
[2025-03-10 06:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:21:03] Production.INFO: ==9050== Releasing lock...
[2025-03-10 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:21:03] Production.INFO: ==9055== Lock acquired, processing the job...
[2025-03-10 06:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 06:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:21:04] Production.ERROR: done
[2025-03-10 06:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:21:04] Production.INFO: Account Balance Start.
[2025-03-10 06:21:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:21:04] Production.INFO: 117
[2025-03-10 06:21:04] Production.INFO: count ==13
[2025-03-10 06:21:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 06:21:04] Production.INFO: count ==21
[2025-03-10 06:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647644') start
[2025-03-10 06:21:04] Production.ERROR: done
[2025-03-10 06:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647644') end
[2025-03-10 06:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:21:04] Production.INFO: 1
[2025-03-10 06:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:21:04] Production.INFO: Total Charge 0
[2025-03-10 06:21:04] Production.INFO: CreateAllLog End
[2025-03-10 06:21:04] Production.INFO: ==9059== Releasing lock...
[2025-03-10 06:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:21:04] Production.INFO: Account Balance End.
[2025-03-10 06:21:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:21:04] Production.INFO: ==9055== Releasing lock...
[2025-03-10 06:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:21:05
[end_date_ymd] => 2025-03-10 06:21:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:21:05' and `end` < '2025-03-10 06: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-03-10 06:21:12] Production.ERROR: CronJobId end10
[2025-03-10 06:21:12] Production.INFO: ==9052== Releasing lock...
[2025-03-10 06:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:21:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:21:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:21:15] Production.INFO: call_cost start
[2025-03-10 06:21:15] Production.INFO: call_cost end
[2025-03-10 06:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:21:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:21:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:21:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:21:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:21:16] Production.INFO: ==9047== Releasing lock...
[2025-03-10 06:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:21:17] Production.INFO: count ==77
[2025-03-10 06:21:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:21:05 - End Time 2025-03-10 06:21:05
[2025-03-10 06:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647646', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647646', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647646', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647646', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:21:17] Production.INFO: ProcessCDR(1,14647646,1,1,2)
[2025-03-10 06:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647646', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647646', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:21:20] Production.INFO: ==9057== Releasing lock...
[2025-03-10 06:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:21:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:22:01] Production.INFO: ==9156== Lock acquired, processing the job...
[2025-03-10 10:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:22:01] Production.INFO: neon service started
[2025-03-10 10:22:01] Production.INFO: neon service started
[2025-03-10 10:22:01] Production.INFO: ==9156== Releasing lock...
[2025-03-10 10:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:22:02] Production.INFO: ==9158== Lock acquired, processing the job...
[2025-03-10 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:22:02] Production.INFO: ==9160== Lock acquired, processing the job...
[2025-03-10 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:22:02] Production.INFO: ==9160== Releasing lock...
[2025-03-10 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:22:02] Production.INFO: ==9158== Releasing lock...
[2025-03-10 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:22:03] Production.INFO: ==9167== Lock acquired, processing the job...
[2025-03-10 06:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:22:03] Production.INFO: ==9171== Lock acquired, processing the job...
[2025-03-10 06:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:22:03] Production.INFO: ==9163== Lock acquired, processing the job...
[2025-03-10 06:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:22:03] Production.INFO: ==9165== Lock acquired, processing the job...
[2025-03-10 06:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:22:03] Production.INFO: ==9169== Lock acquired, processing the job...
[2025-03-10 06:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:22:03] Production.INFO: ==9173== Lock acquired, processing the job...
[2025-03-10 06:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:22:03] Production.ERROR: done
[2025-03-10 06:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:22:03] Production.INFO: ==9165== Releasing lock...
[2025-03-10 06:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:22:03] Production.INFO: Account Balance Start.
[2025-03-10 06:22:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:22:03] Production.INFO: 117
[2025-03-10 06:22:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 06: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-03-10 06:22:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:22:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:22:04] Production.INFO: count ==21
[2025-03-10 06:22:04] Production.ERROR: done
[2025-03-10 06:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647650') start
[2025-03-10 06:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:22:04] Production.INFO: Total Charge 0
[2025-03-10 06:22:04] Production.INFO: CreateAllLog End
[2025-03-10 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647650') end
[2025-03-10 06:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:22:04] Production.INFO: 1
[2025-03-10 06:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:22:04] Production.INFO: ==9173== Releasing lock...
[2025-03-10 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:22:04] Production.INFO: Account Balance End.
[2025-03-10 06:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:22:04] Production.INFO: ==9169== Releasing lock...
[2025-03-10 06:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:22:05
[end_date_ymd] => 2025-03-10 06:22:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:22:05' and `end` < '2025-03-10 06: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-03-10 06:22:11] Production.ERROR: CronJobId end10
[2025-03-10 06:22:11] Production.INFO: ==9167== Releasing lock...
[2025-03-10 06:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:22:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:22:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:22:14] Production.INFO: call_cost start
[2025-03-10 06:22:14] Production.INFO: call_cost end
[2025-03-10 06:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:22:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:22:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:22:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:22:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:22:15] Production.INFO: ==9163== Releasing lock...
[2025-03-10 06:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:22:17] Production.INFO: count ==77
[2025-03-10 06:22:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:22:05 - End Time 2025-03-10 06:22:05
[2025-03-10 06:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647651', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647651', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647651', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647651', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:22:17] Production.INFO: ProcessCDR(1,14647651,1,1,2)
[2025-03-10 06:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647651', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647651', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:22:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:22:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:22:20] Production.INFO: ==9171== Releasing lock...
[2025-03-10 06:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:22:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:23:01] Production.INFO: ==9252== Lock acquired, processing the job...
[2025-03-10 10:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:23:01] Production.INFO: neon service started
[2025-03-10 10:23:01] Production.INFO: neon service started
[2025-03-10 10:23:01] Production.INFO: ==9252== Releasing lock...
[2025-03-10 10:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:23:02] Production.INFO: ==9254== Lock acquired, processing the job...
[2025-03-10 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:23:02] Production.INFO: ==9254== Releasing lock...
[2025-03-10 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:23:02] Production.INFO: ==9256== Lock acquired, processing the job...
[2025-03-10 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:23:02] Production.INFO: ==9256== Releasing lock...
[2025-03-10 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:23:03] Production.INFO: ==9266== Lock acquired, processing the job...
[2025-03-10 06:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:23:03] Production.INFO: ==9268== Lock acquired, processing the job...
[2025-03-10 06:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:23:03] Production.INFO: ==9260== Lock acquired, processing the job...
[2025-03-10 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:23:03] Production.INFO: ==9258== Lock acquired, processing the job...
[2025-03-10 06:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06: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-03-10 06:23:03] Production.INFO: ==9262== Lock acquired, processing the job...
[2025-03-10 06:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:23:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:23:03] Production.INFO: count ==21
[2025-03-10 06:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:23:03] Production.INFO: ==9264== Lock acquired, processing the job...
[2025-03-10 06:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647652') start
[2025-03-10 06:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:23:03] Production.INFO: Account Balance Start.
[2025-03-10 06:23:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:23:03] Production.INFO: 117
[2025-03-10 06:23:03] Production.ERROR: done
[2025-03-10 06:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:23:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647652') end
[2025-03-10 06:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:23:04] Production.INFO: 1
[2025-03-10 06:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:23:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:23:04] Production.INFO: ==9268== Releasing lock...
[2025-03-10 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:23:04] Production.ERROR: done
[2025-03-10 06:23:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:23:04] Production.INFO: ==9260== Releasing lock...
[2025-03-10 06:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:23:04] Production.INFO: Total Charge 0
[2025-03-10 06:23:04] Production.INFO: CreateAllLog End
[2025-03-10 06:23:04] Production.INFO: Account Balance End.
[2025-03-10 06:23:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:23:04] Production.INFO: ==9264== Releasing lock...
[2025-03-10 06:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:23:05
[end_date_ymd] => 2025-03-10 06:23:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:23:05' and `end` < '2025-03-10 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-03-10 06:23:11] Production.ERROR: CronJobId end10
[2025-03-10 06:23:11] Production.INFO: ==9262== Releasing lock...
[2025-03-10 06:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:23:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:23:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:23:14] Production.INFO: call_cost start
[2025-03-10 06:23:14] Production.INFO: call_cost end
[2025-03-10 06:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:23:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:23:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:23:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:23:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:23:15] Production.INFO: ==9258== Releasing lock...
[2025-03-10 06:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:23:17] Production.INFO: count ==76
[2025-03-10 06:23:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:23:05 - End Time 2025-03-10 06:23:05
[2025-03-10 06:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647656', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647656', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647656', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647656', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:23:17] Production.INFO: ProcessCDR(1,14647656,1,1,2)
[2025-03-10 06:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647656', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647656', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:23:20] Production.INFO: ==9266== Releasing lock...
[2025-03-10 06:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:23:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:24:02] Production.INFO: ==9329== Lock acquired, processing the job...
[2025-03-10 10:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:24:02] Production.INFO: neon service started
[2025-03-10 10:24:02] Production.INFO: neon service started
[2025-03-10 10:24:02] Production.INFO: ==9329== Releasing lock...
[2025-03-10 10:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:24:02] Production.INFO: ==9333== Lock acquired, processing the job...
[2025-03-10 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:24:02] Production.INFO: ==9333== Releasing lock...
[2025-03-10 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:24:02] Production.INFO: ==9331== Lock acquired, processing the job...
[2025-03-10 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:24:03] Production.INFO: ==9331== Releasing lock...
[2025-03-10 06:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:24:04] Production.INFO: ==9342== Lock acquired, processing the job...
[2025-03-10 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:24:04] Production.INFO: ==9347== Lock acquired, processing the job...
[2025-03-10 06:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:24:04] Production.INFO: Account Balance Start.
[2025-03-10 06:24:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:24:04] Production.INFO: 117
[2025-03-10 06:24:04] Production.INFO: Date 2025-03-08
[2025-03-10 06: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-03-10 06:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:24:04] Production.INFO: ==9336== Lock acquired, processing the job...
[2025-03-10 06:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:24:04] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:24:04] Production.INFO: count ==21
[2025-03-10 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647658') start
[2025-03-10 06:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:24:04] Production.INFO: ==9338== Lock acquired, processing the job...
[2025-03-10 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:24:04] Production.INFO: ==9340== Lock acquired, processing the job...
[2025-03-10 06:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:24:04] Production.INFO: Total Charge 0
[2025-03-10 06:24:04] Production.INFO: CreateAllLog End
[2025-03-10 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647658') end
[2025-03-10 06:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:24:04] Production.INFO: 1
[2025-03-10 06:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:24:04] Production.INFO: ==9344== Lock acquired, processing the job...
[2025-03-10 06:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:24:04] Production.INFO: ==9347== Releasing lock...
[2025-03-10 06:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:24:04] Production.INFO: Account Balance End.
[2025-03-10 06:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:24:04] Production.INFO: ==9342== Releasing lock...
[2025-03-10 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:24:04] Production.INFO: ==9338== Releasing lock...
[2025-03-10 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:24:04] Production.ERROR: done
[2025-03-10 06:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:24:05] Production.ERROR: done
[2025-03-10 06:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:24:05
[end_date_ymd] => 2025-03-10 06:24:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:24:05' and `end` < '2025-03-10 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-03-10 06:24:12] Production.ERROR: CronJobId end10
[2025-03-10 06:24:12] Production.INFO: ==9340== Releasing lock...
[2025-03-10 06:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:24:15] Production.INFO: call_cost start
[2025-03-10 06:24:15] Production.INFO: call_cost end
[2025-03-10 06:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:24:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:24:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:24:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:24:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:24:16] Production.INFO: ==9336== Releasing lock...
[2025-03-10 06:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:24:17] Production.INFO: count ==76
[2025-03-10 06:24:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:24:05 - End Time 2025-03-10 06:24:05
[2025-03-10 06:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647661', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647661', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647661', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647661', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:24:17] Production.INFO: ProcessCDR(1,14647661,1,1,2)
[2025-03-10 06:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647661', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647661', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:24:21] Production.INFO: ==9344== Releasing lock...
[2025-03-10 06:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:24:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:25:01] Production.INFO: ==9405== Lock acquired, processing the job...
[2025-03-10 10:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:25:01] Production.INFO: neon service started
[2025-03-10 10:25:01] Production.INFO: neon service started
[2025-03-10 10:25:01] Production.INFO: ==9405== Releasing lock...
[2025-03-10 10:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:25:02] Production.INFO: ==9409== Lock acquired, processing the job...
[2025-03-10 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:25:02] Production.INFO: ==9409== Releasing lock...
[2025-03-10 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:25:02] Production.INFO: ==9407== Lock acquired, processing the job...
[2025-03-10 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:25:02] Production.INFO: ==9407== Releasing lock...
[2025-03-10 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:25:03] Production.INFO: ==9413== Lock acquired, processing the job...
[2025-03-10 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:25:03] Production.INFO: ==9422== Lock acquired, processing the job...
[2025-03-10 06:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 06:25:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:25:03] Production.INFO: count ==21
[2025-03-10 06:25:03] Production.INFO: ==9411== Lock acquired, processing the job...
[2025-03-10 06:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647663') start
[2025-03-10 06:25:03] Production.INFO: ==9415== Lock acquired, processing the job...
[2025-03-10 06:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647663') end
[2025-03-10 06:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:25:03] Production.INFO: 1
[2025-03-10 06:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:25:03] Production.INFO: ==9419== Lock acquired, processing the job...
[2025-03-10 06:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:25:03] Production.INFO: ==9417== Lock acquired, processing the job...
[2025-03-10 06:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:25:03] Production.INFO: ==9413== Releasing lock...
[2025-03-10 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:25:03] Production.INFO: ==9422== Releasing lock...
[2025-03-10 06:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:25:04] Production.ERROR: done
[2025-03-10 06:25:04] Production.INFO: Account Balance Start.
[2025-03-10 06:25:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:25:04] Production.INFO: 117
[2025-03-10 06:25:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:25:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:25:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:25:04] Production.INFO: Total Charge 0
[2025-03-10 06:25:04] Production.INFO: CreateAllLog End
[2025-03-10 06:25:04] Production.ERROR: done
[2025-03-10 06:25:04] Production.INFO: Account Balance End.
[2025-03-10 06:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:25:04] Production.INFO: ==9417== Releasing lock...
[2025-03-10 06:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:25:05
[end_date_ymd] => 2025-03-10 06:25:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:25:05' and `end` < '2025-03-10 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-03-10 06:25:11] Production.ERROR: CronJobId end10
[2025-03-10 06:25:11] Production.INFO: ==9415== Releasing lock...
[2025-03-10 06:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:25:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:25:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:25:14] Production.INFO: call_cost start
[2025-03-10 06:25:14] Production.INFO: call_cost end
[2025-03-10 06:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:25:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:25:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:25:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:25:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:25:15] Production.INFO: ==9411== Releasing lock...
[2025-03-10 06:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:25:17] Production.INFO: count ==76
[2025-03-10 06:25:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:25:05 - End Time 2025-03-10 06:25:05
[2025-03-10 06:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647666', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647666', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647666', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647666', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:25:17] Production.INFO: ProcessCDR(1,14647666,1,1,2)
[2025-03-10 06:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647666', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647666', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:25:20] Production.INFO: ==9419== Releasing lock...
[2025-03-10 06:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:25:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:26:02] Production.INFO: ==9476== Lock acquired, processing the job...
[2025-03-10 10:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:26:02] Production.INFO: neon service started
[2025-03-10 10:26:02] Production.INFO: neon service started
[2025-03-10 10:26:02] Production.INFO: ==9476== Releasing lock...
[2025-03-10 10:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:26:02] Production.INFO: ==9479== Lock acquired, processing the job...
[2025-03-10 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:26:03] Production.INFO: ==9479== Releasing lock...
[2025-03-10 06:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:26:03] Production.INFO: ==9481== Lock acquired, processing the job...
[2025-03-10 10:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:26:03] Production.INFO: ==9481== Releasing lock...
[2025-03-10 10:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:26:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:26:04] Production.INFO: ==9493== Lock acquired, processing the job...
[2025-03-10 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:26:04] Production.INFO: ==9491== Lock acquired, processing the job...
[2025-03-10 06:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06: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-03-10 06:26:04] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:26:04] Production.INFO: count ==21
[2025-03-10 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647667') start
[2025-03-10 06:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:26:04] Production.INFO: ==9483== Lock acquired, processing the job...
[2025-03-10 06:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:26:04] Production.INFO: ==9485== Lock acquired, processing the job...
[2025-03-10 06:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:26:04] Production.INFO: ==9487== Lock acquired, processing the job...
[2025-03-10 06:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:26:04] Production.INFO: ==9489== Lock acquired, processing the job...
[2025-03-10 06:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647667') end
[2025-03-10 06:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:26:04] Production.INFO: 1
[2025-03-10 06:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:26:04] Production.INFO: ==9493== Releasing lock...
[2025-03-10 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:26:04] Production.INFO: Account Balance Start.
[2025-03-10 06:26:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:26:04] Production.INFO: 117
[2025-03-10 06:26:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:26:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:26:04] Production.INFO: Total Charge 0
[2025-03-10 06:26:04] Production.INFO: CreateAllLog End
[2025-03-10 06:26:04] Production.ERROR: done
[2025-03-10 06:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:26:04] Production.INFO: ==9485== Releasing lock...
[2025-03-10 06:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:26:04] Production.INFO: Account Balance End.
[2025-03-10 06:26:04] Production.ERROR: done
[2025-03-10 06:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:26:04] Production.INFO: ==9489== Releasing lock...
[2025-03-10 06:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:26:06
[end_date_ymd] => 2025-03-10 06:26:06
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:26:06' and `end` < '2025-03-10 06: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-03-10 06:26:12] Production.ERROR: CronJobId end10
[2025-03-10 06:26:12] Production.INFO: ==9487== Releasing lock...
[2025-03-10 06:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:26:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:26:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:26:14] Production.INFO: call_cost start
[2025-03-10 06:26:15] Production.INFO: call_cost end
[2025-03-10 06:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:26:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:26:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:26:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:26:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:26:15] Production.INFO: ==9483== Releasing lock...
[2025-03-10 06:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:26:18] Production.INFO: count ==76
[2025-03-10 06:26:18] Production.ERROR: pbx CDR StartTime 2025-03-10 03:26:06 - End Time 2025-03-10 06:26:06
[2025-03-10 06:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647671', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647671', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647671', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647671', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:26:18] Production.INFO: ProcessCDR(1,14647671,1,1,2)
[2025-03-10 06:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647671', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647671', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:26:21] Production.INFO: ==9491== Releasing lock...
[2025-03-10 06:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:26:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:27:01] Production.INFO: ==9549== Lock acquired, processing the job...
[2025-03-10 10:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:27:01] Production.INFO: neon service started
[2025-03-10 10:27:01] Production.INFO: neon service started
[2025-03-10 10:27:01] Production.INFO: ==9549== Releasing lock...
[2025-03-10 10:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:27:02] Production.INFO: ==9551== Lock acquired, processing the job...
[2025-03-10 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:27:02] Production.INFO: ==9551== Releasing lock...
[2025-03-10 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:27:02] Production.INFO: ==9553== Lock acquired, processing the job...
[2025-03-10 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:27:02] Production.INFO: ==9553== Releasing lock...
[2025-03-10 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:27:03] Production.INFO: ==9556== Lock acquired, processing the job...
[2025-03-10 06:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:27:03] Production.INFO: ==9558== Lock acquired, processing the job...
[2025-03-10 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:27:03] Production.INFO: ==9560== Lock acquired, processing the job...
[2025-03-10 06:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:27:03] Production.INFO: ==9564== Lock acquired, processing the job...
[2025-03-10 06:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:27:03] Production.INFO: ==9566== Lock acquired, processing the job...
[2025-03-10 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:27:03] Production.INFO: ==9562== Lock acquired, processing the job...
[2025-03-10 06:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:27:03] Production.INFO: ==9558== Releasing lock...
[2025-03-10 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:27:03] Production.INFO: Account Balance Start.
[2025-03-10 06:27:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:27:03] Production.INFO: 117
[2025-03-10 06:27:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 06: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-03-10 06:27:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:27:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:27:04] Production.INFO: count ==21
[2025-03-10 06:27:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647675') start
[2025-03-10 06:27:04] Production.ERROR: done
[2025-03-10 06:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:27:04] Production.INFO: Total Charge 0
[2025-03-10 06:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647675') end
[2025-03-10 06:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:27:04] Production.INFO: 1
[2025-03-10 06:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:27:04] Production.INFO: CreateAllLog End
[2025-03-10 06:27:04] Production.INFO: ==9566== Releasing lock...
[2025-03-10 06:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:27:04] Production.ERROR: done
[2025-03-10 06:27:04] Production.INFO: Account Balance End.
[2025-03-10 06:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:27:04] Production.INFO: ==9562== Releasing lock...
[2025-03-10 06:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:27:05
[end_date_ymd] => 2025-03-10 06:27:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:27:05' and `end` < '2025-03-10 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-03-10 06:27:12] Production.ERROR: CronJobId end10
[2025-03-10 06:27:12] Production.INFO: ==9560== Releasing lock...
[2025-03-10 06:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:27:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:27:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:27:14] Production.INFO: call_cost start
[2025-03-10 06:27:14] Production.INFO: call_cost end
[2025-03-10 06:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:27:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:27:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:27:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:27:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:27:15] Production.INFO: ==9556== Releasing lock...
[2025-03-10 06:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:27:17] Production.INFO: count ==76
[2025-03-10 06:27:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:27:05 - End Time 2025-03-10 06:27:05
[2025-03-10 06:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647676', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647676', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647676', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647676', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:27:17] Production.INFO: ProcessCDR(1,14647676,1,1,2)
[2025-03-10 06:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647676', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647676', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:27:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:27:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:27:20] Production.INFO: ==9564== Releasing lock...
[2025-03-10 06:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:27:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:28:02] Production.INFO: ==9622== Lock acquired, processing the job...
[2025-03-10 10:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:28:02] Production.INFO: neon service started
[2025-03-10 10:28:02] Production.INFO: neon service started
[2025-03-10 10:28:02] Production.INFO: ==9622== Releasing lock...
[2025-03-10 10:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:28:02] Production.INFO: ==9624== Lock acquired, processing the job...
[2025-03-10 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:28:02] Production.INFO: ==9624== Releasing lock...
[2025-03-10 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:28:03] Production.INFO: ==9626== Lock acquired, processing the job...
[2025-03-10 10:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:28:03] Production.INFO: ==9626== Releasing lock...
[2025-03-10 10:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:28:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:28:04] Production.INFO: ==9637== Lock acquired, processing the job...
[2025-03-10 06:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:28:04] Production.INFO: ==9639== Lock acquired, processing the job...
[2025-03-10 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:28:04] Production.INFO: ==9629== Lock acquired, processing the job...
[2025-03-10 06:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:28:04] Production.INFO: ==9631== Lock acquired, processing the job...
[2025-03-10 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:28:04] Production.INFO: ==9633== Lock acquired, processing the job...
[2025-03-10 06:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:28:04] Production.INFO: ==9635== Lock acquired, processing the job...
[2025-03-10 06:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06: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-03-10 06:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:28:04] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:28:04] Production.INFO: count ==21
[2025-03-10 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647677') start
[2025-03-10 06:28:04] Production.INFO: Account Balance Start.
[2025-03-10 06:28:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:28:04] Production.INFO: 117
[2025-03-10 06:28:04] Production.ERROR: done
[2025-03-10 06:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:28:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647677') end
[2025-03-10 06:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:28:04] Production.INFO: 1
[2025-03-10 06:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:28:04] Production.ERROR: done
[2025-03-10 06:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:28:04] Production.INFO: ==9639== Releasing lock...
[2025-03-10 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:28:04] Production.INFO: ==9631== Releasing lock...
[2025-03-10 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:28:04] Production.INFO: Total Charge 0
[2025-03-10 06:28:04] Production.INFO: CreateAllLog End
[2025-03-10 06:28:04] Production.INFO: Account Balance End.
[2025-03-10 06:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:28:04] Production.INFO: ==9635== Releasing lock...
[2025-03-10 06:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:28:05
[end_date_ymd] => 2025-03-10 06:28:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:28:05' and `end` < '2025-03-10 06: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-03-10 06:28:13] Production.ERROR: CronJobId end10
[2025-03-10 06:28:13] Production.INFO: ==9633== Releasing lock...
[2025-03-10 06:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:28:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:28:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:28:16] Production.INFO: call_cost start
[2025-03-10 06:28:16] Production.INFO: call_cost end
[2025-03-10 06:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:28:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:28:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:28:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:28:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:28:16] Production.INFO: ==9629== Releasing lock...
[2025-03-10 06:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:28:17] Production.INFO: count ==78
[2025-03-10 06:28:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:28:05 - End Time 2025-03-10 06:28:05
[2025-03-10 06:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647681', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647681', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647681', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647681', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:28:17] Production.INFO: ProcessCDR(1,14647681,1,1,2)
[2025-03-10 06:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647681', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647681', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:28:21] Production.INFO: ==9637== Releasing lock...
[2025-03-10 06:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:28:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:29:01] Production.INFO: ==9695== Lock acquired, processing the job...
[2025-03-10 10:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:29:01] Production.INFO: neon service started
[2025-03-10 10:29:01] Production.INFO: neon service started
[2025-03-10 10:29:01] Production.INFO: ==9695== Releasing lock...
[2025-03-10 10:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:29:02] Production.INFO: ==9697== Lock acquired, processing the job...
[2025-03-10 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:29:02] Production.INFO: ==9697== Releasing lock...
[2025-03-10 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:29:02] Production.INFO: ==9699== Lock acquired, processing the job...
[2025-03-10 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:29:02] Production.INFO: ==9699== Releasing lock...
[2025-03-10 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:29:03] Production.INFO: ==9708== Lock acquired, processing the job...
[2025-03-10 06:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:29:03] Production.INFO: ==9710== Lock acquired, processing the job...
[2025-03-10 06:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:29:03] Production.INFO: Account Balance Start.
[2025-03-10 06:29:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:29:03] Production.INFO: 117
[2025-03-10 06:29:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:29:03] Production.INFO: ==9702== Lock acquired, processing the job...
[2025-03-10 06:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:29:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:29:03] Production.INFO: ==9704== Lock acquired, processing the job...
[2025-03-10 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:29:03] Production.INFO: ==9706== Lock acquired, processing the job...
[2025-03-10 06:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:29:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:29:03] Production.INFO: Total Charge 0
[2025-03-10 06:29:03] Production.INFO: CreateAllLog End
[2025-03-10 06:29:03] Production.INFO: ==9712== Lock acquired, processing the job...
[2025-03-10 06:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:29:03] Production.ERROR: done
[2025-03-10 06:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06: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-03-10 06:29:03] Production.INFO: Account Balance End.
[2025-03-10 06:29:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:29:03] Production.INFO: count ==21
[2025-03-10 06:29:03] Production.ERROR: CronJobId end 12
[2025-03-10 06:29:03] Production.INFO: ==9708== Releasing lock...
[2025-03-10 06:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647685') start
[2025-03-10 06:29:03] Production.ERROR: done
[2025-03-10 06:29:03] Production.INFO: ==9704== Releasing lock...
[2025-03-10 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647685') end
[2025-03-10 06:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:29:03] Production.INFO: 1
[2025-03-10 06:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:29:04] Production.INFO: ==9712== Releasing lock...
[2025-03-10 06:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:29:04
[end_date_ymd] => 2025-03-10 06:29:04
[RateCDR] => 1
)
[2025-03-10 06:29: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-03-10 03:29:04' and `end` < '2025-03-10 06:29: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-03-10 06:29:12] Production.ERROR: CronJobId end10
[2025-03-10 06:29:12] Production.INFO: ==9706== Releasing lock...
[2025-03-10 06:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:29:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:29:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:29:15] Production.INFO: call_cost start
[2025-03-10 06:29:15] Production.INFO: call_cost end
[2025-03-10 06:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:29:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:29:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:29:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:29:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:29:16] Production.INFO: ==9702== Releasing lock...
[2025-03-10 06:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:29:16] Production.INFO: count ==78
[2025-03-10 06:29:16] Production.ERROR: pbx CDR StartTime 2025-03-10 03:29:04 - End Time 2025-03-10 06:29:04
[2025-03-10 06:29:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:29:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647686', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:29:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647686', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:29:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647686', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:29:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647686', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:29:16] Production.INFO: ProcessCDR(1,14647686,1,1,2)
[2025-03-10 06:29:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:29:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:29:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:29:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:29:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647686', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:29:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647686', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:29:19] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:29:19] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:29:19] Production.INFO: ==9710== Releasing lock...
[2025-03-10 06:29:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:29:19] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:30:02] Production.INFO: ==9776== Lock acquired, processing the job...
[2025-03-10 10:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:30:02] Production.INFO: neon service started
[2025-03-10 10:30:02] Production.INFO: neon service started
[2025-03-10 10:30:02] Production.INFO: ==9776== Releasing lock...
[2025-03-10 10:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:30:02] Production.INFO: ==9778== Lock acquired, processing the job...
[2025-03-10 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:30:03] Production.INFO: ==9780== Lock acquired, processing the job...
[2025-03-10 10:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:30:03] Production.INFO: ==9780== Releasing lock...
[2025-03-10 10:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:30:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:30:03] Production.INFO: ==9778== Releasing lock...
[2025-03-10 06:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:30:04] Production.INFO: ==9782== Lock acquired, processing the job...
[2025-03-10 06:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 06:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 06:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 06:30:04] Production.INFO: ==9782== Releasing lock...
[2025-03-10 06:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 06:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 06:30:04] Production.INFO: ==9787== Lock acquired, processing the job...
[2025-03-10 06:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:30:04] Production.INFO: ==9784== Lock acquired, processing the job...
[2025-03-10 06:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:30:04] Production.INFO: ==9791== Lock acquired, processing the job...
[2025-03-10 06:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:30:04] Production.INFO: ==9795== Lock acquired, processing the job...
[2025-03-10 06:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 06:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:30:04] Production.INFO: ==9789== Lock acquired, processing the job...
[2025-03-10 06:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:30:04] Production.INFO: Account Balance Start.
[2025-03-10 06:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:30:04] Production.INFO: 117
[2025-03-10 06:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:30:04] Production.INFO: ==9793== Lock acquired, processing the job...
[2025-03-10 06:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:30:04] Production.INFO: ==9797== Lock acquired, processing the job...
[2025-03-10 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:30:04] Production.INFO: Total Charge 0
[2025-03-10 06:30:04] Production.INFO: ==9787== Releasing lock...
[2025-03-10 06:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:30:04] Production.INFO: CreateAllLog End
[2025-03-10 06:30:04] Production.ERROR: done
[2025-03-10 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-03-10 06:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 06:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647691', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 06:30:05] Production.INFO: count ==13
[2025-03-10 06:30:05] Production.INFO: Account Balance End.
[2025-03-10 06: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-03-10 06:30:05] Production.INFO: count ==21
[2025-03-10 06:30:05] Production.ERROR: CronJobId end 12
[2025-03-10 06:30:05] Production.INFO: ==9791== Releasing lock...
[2025-03-10 06:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647690') start
[2025-03-10 06:30:05] Production.ERROR: done
[2025-03-10 06:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647690') end
[2025-03-10 06:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:30:05] Production.INFO: 1
[2025-03-10 06:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:30:05] Production.INFO: ==9797== Releasing lock...
[2025-03-10 06:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:30:05] Production.ERROR: done
[2025-03-10 06:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:30:06
[end_date_ymd] => 2025-03-10 06:30:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:30:06' and `end` < '2025-03-10 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-03-10 06:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647691', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 06:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 06:30:09] Production.INFO: ProcessCDR(1,14647691,1,1,2)
[2025-03-10 06:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647691,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647691,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:30:09] Production.INFO: ==9795== Releasing lock...
[2025-03-10 06:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 06:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 06:30:15] Production.ERROR: CronJobId end10
[2025-03-10 06:30:15] Production.INFO: ==9789== Releasing lock...
[2025-03-10 06:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:30:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:30:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:30:17] Production.INFO: call_cost start
[2025-03-10 06:30:17] Production.INFO: call_cost end
[2025-03-10 06:30:18] Production.INFO: count ==80
[2025-03-10 06:30:18] Production.ERROR: pbx CDR StartTime 2025-03-10 03:30:06 - End Time 2025-03-10 06:30:06
[2025-03-10 06:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647692', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647692', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647692', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647692', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:30:18] Production.INFO: ProcessCDR(1,14647692,1,1,2)
[2025-03-10 06:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:30:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:30:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:30:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:30:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:30:18] Production.INFO: ==9784== Releasing lock...
[2025-03-10 06:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647692', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647692', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:30:21] Production.INFO: ==9793== Releasing lock...
[2025-03-10 06:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:30:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:31:01] Production.INFO: ==9854== Lock acquired, processing the job...
[2025-03-10 10:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:31:01] Production.INFO: neon service started
[2025-03-10 10:31:01] Production.INFO: neon service started
[2025-03-10 10:31:01] Production.INFO: ==9854== Releasing lock...
[2025-03-10 10:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:31:02] Production.INFO: ==9856== Lock acquired, processing the job...
[2025-03-10 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:31:02] Production.INFO: ==9858== Lock acquired, processing the job...
[2025-03-10 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:31:02] Production.INFO: ==9858== Releasing lock...
[2025-03-10 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:31:02] Production.INFO: ==9856== Releasing lock...
[2025-03-10 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:31:03] Production.INFO: ==9861== Lock acquired, processing the job...
[2025-03-10 06:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:31:03] Production.INFO: ==9863== Lock acquired, processing the job...
[2025-03-10 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:31:03] Production.INFO: ==9867== Lock acquired, processing the job...
[2025-03-10 06:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:31:03] Production.INFO: Account Balance Start.
[2025-03-10 06:31:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:31:03] Production.INFO: 117
[2025-03-10 06:31:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:31:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:31:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:31:03] Production.INFO: ==9863== Releasing lock...
[2025-03-10 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:31:03] Production.INFO: Total Charge 0
[2025-03-10 06:31:03] Production.INFO: CreateAllLog End
[2025-03-10 06:31:03] Production.INFO: ==9865== Lock acquired, processing the job...
[2025-03-10 06:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:31:03] Production.INFO: ==9869== Lock acquired, processing the job...
[2025-03-10 06:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:31:03] Production.INFO: Account Balance End.
[2025-03-10 06:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:31:03] Production.INFO: ==9871== Lock acquired, processing the job...
[2025-03-10 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:31:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:31:04] Production.INFO: ==9867== Releasing lock...
[2025-03-10 06:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 06:31:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:31:04] Production.INFO: count ==21
[2025-03-10 06:31:04] Production.ERROR: done
[2025-03-10 06:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647696') start
[2025-03-10 06:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647696') end
[2025-03-10 06:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:31:04] Production.INFO: 1
[2025-03-10 06:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:31:04] Production.INFO: ==9871== Releasing lock...
[2025-03-10 06:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:31:04] Production.ERROR: done
[2025-03-10 06:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:31:05
[end_date_ymd] => 2025-03-10 06:31:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:31:05' and `end` < '2025-03-10 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-03-10 06:31:12] Production.ERROR: CronJobId end10
[2025-03-10 06:31:12] Production.INFO: ==9865== Releasing lock...
[2025-03-10 06:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:31:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:31:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:31:13] Production.INFO: call_cost start
[2025-03-10 06:31:13] Production.INFO: call_cost end
[2025-03-10 06:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:31:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:31:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:31:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:31:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:31:14] Production.INFO: ==9861== Releasing lock...
[2025-03-10 06:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:31:17] Production.INFO: count ==80
[2025-03-10 06:31:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:31:05 - End Time 2025-03-10 06:31:05
[2025-03-10 06:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647697', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647697', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647697', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647697', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:31:17] Production.INFO: ProcessCDR(1,14647697,1,1,2)
[2025-03-10 06:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647697', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647697', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:31:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:31:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:31:20] Production.INFO: ==9869== Releasing lock...
[2025-03-10 06:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:31:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:32:02] Production.INFO: ==9929== Lock acquired, processing the job...
[2025-03-10 10:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:32:02] Production.INFO: neon service started
[2025-03-10 10:32:02] Production.INFO: neon service started
[2025-03-10 10:32:02] Production.INFO: ==9929== Releasing lock...
[2025-03-10 10:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:32:02] Production.INFO: ==9931== Lock acquired, processing the job...
[2025-03-10 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:32:02] Production.INFO: ==9933== Lock acquired, processing the job...
[2025-03-10 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:32:02] Production.INFO: ==9933== Releasing lock...
[2025-03-10 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:32:03] Production.INFO: ==9931== Releasing lock...
[2025-03-10 06:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:32:03] Production.INFO: ==9936== Lock acquired, processing the job...
[2025-03-10 06:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:32:03] Production.INFO: ==9940== Lock acquired, processing the job...
[2025-03-10 06:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:32:04] Production.INFO: ==9942== Lock acquired, processing the job...
[2025-03-10 06:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:32:04] Production.INFO: ==9938== Lock acquired, processing the job...
[2025-03-10 06:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:32:04] Production.INFO: Account Balance Start.
[2025-03-10 06:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:32:04] Production.INFO: 117
[2025-03-10 06:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:32:04] Production.INFO: ==9944== Lock acquired, processing the job...
[2025-03-10 06:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:32:04] Production.INFO: ==9946== Lock acquired, processing the job...
[2025-03-10 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 06:32:04] Production.INFO: Total Charge 0
[2025-03-10 06:32:04] Production.INFO: ==9938== Releasing lock...
[2025-03-10 06:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:32:04] Production.INFO: CreateAllLog End
[2025-03-10 06:32:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:32:04] Production.INFO: count ==21
[2025-03-10 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647701') start
[2025-03-10 06:32:04] Production.ERROR: done
[2025-03-10 06:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647701') end
[2025-03-10 06:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:32:04] Production.INFO: 1
[2025-03-10 06:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:32:04] Production.INFO: Account Balance End.
[2025-03-10 06:32:05] Production.ERROR: done
[2025-03-10 06:32:05] Production.INFO: ==9946== Releasing lock...
[2025-03-10 06:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:32:05] Production.ERROR: CronJobId end 12
[2025-03-10 06:32:05] Production.INFO: ==9942== Releasing lock...
[2025-03-10 06:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:32:05
[end_date_ymd] => 2025-03-10 06:32:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:32:05' and `end` < '2025-03-10 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-03-10 06:32:11] Production.ERROR: CronJobId end10
[2025-03-10 06:32:11] Production.INFO: ==9940== Releasing lock...
[2025-03-10 06:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:32:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:32:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:32:14] Production.INFO: call_cost start
[2025-03-10 06:32:14] Production.INFO: call_cost end
[2025-03-10 06:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:32:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:32:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:32:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:32:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:32:15] Production.INFO: ==9936== Releasing lock...
[2025-03-10 06:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:32:17] Production.INFO: count ==80
[2025-03-10 06:32:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:32:05 - End Time 2025-03-10 06:32:05
[2025-03-10 06:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647702', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647702', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647702', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647702', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:32:17] Production.INFO: ProcessCDR(1,14647702,1,1,2)
[2025-03-10 06:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647702', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647702', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:32:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:32:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:32:20] Production.INFO: ==9944== Releasing lock...
[2025-03-10 06:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:32:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:33:01] Production.INFO: ==10001== Lock acquired, processing the job...
[2025-03-10 10:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:33:01] Production.INFO: neon service started
[2025-03-10 10:33:01] Production.INFO: neon service started
[2025-03-10 10:33:01] Production.INFO: ==10001== Releasing lock...
[2025-03-10 10:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:33:02] Production.INFO: ==10005== Lock acquired, processing the job...
[2025-03-10 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:33:02] Production.INFO: ==10005== Releasing lock...
[2025-03-10 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:33:02] Production.INFO: ==10003== Lock acquired, processing the job...
[2025-03-10 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:33:02] Production.INFO: ==10003== Releasing lock...
[2025-03-10 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:33:03] Production.INFO: ==10008== Lock acquired, processing the job...
[2025-03-10 06:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:33:03] Production.INFO: ==10012== Lock acquired, processing the job...
[2025-03-10 06:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:33:03] Production.INFO: ==10018== Lock acquired, processing the job...
[2025-03-10 06:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:33:03] Production.INFO: ==10016== Lock acquired, processing the job...
[2025-03-10 06:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06: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-03-10 06:33:03] Production.INFO: ==10010== Lock acquired, processing the job...
[2025-03-10 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:33:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:33:03] Production.INFO: count ==21
[2025-03-10 06:33:03] Production.INFO: ==10014== Lock acquired, processing the job...
[2025-03-10 06:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647704') start
[2025-03-10 06:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647704') end
[2025-03-10 06:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:33:03] Production.INFO: 1
[2025-03-10 06:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:33:03] Production.INFO: Account Balance Start.
[2025-03-10 06:33:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:33:03] Production.INFO: 117
[2025-03-10 06:33:04] Production.ERROR: done
[2025-03-10 06:33:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:33:04] Production.INFO: ==10018== Releasing lock...
[2025-03-10 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:33:04] Production.INFO: ==10010== Releasing lock...
[2025-03-10 06:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:33:04] Production.ERROR: done
[2025-03-10 06:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:33:04] Production.INFO: Total Charge 0
[2025-03-10 06:33:04] Production.INFO: CreateAllLog End
[2025-03-10 06:33:04] Production.INFO: Account Balance End.
[2025-03-10 06:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:33:04] Production.INFO: ==10014== Releasing lock...
[2025-03-10 06:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:33:05
[end_date_ymd] => 2025-03-10 06:33:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:33:05' and `end` < '2025-03-10 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-03-10 06:33:12] Production.ERROR: CronJobId end10
[2025-03-10 06:33:12] Production.INFO: ==10012== Releasing lock...
[2025-03-10 06:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:33:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:33:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:33:14] Production.INFO: call_cost start
[2025-03-10 06:33:14] Production.INFO: call_cost end
[2025-03-10 06:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:33:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:33:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:33:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:33:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:33:15] Production.INFO: ==10008== Releasing lock...
[2025-03-10 06:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:33:17] Production.INFO: count ==80
[2025-03-10 06:33:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:33:05 - End Time 2025-03-10 06:33:05
[2025-03-10 06:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647707', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647707', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647707', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647707', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:33:17] Production.INFO: ProcessCDR(1,14647707,1,1,2)
[2025-03-10 06:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647707', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647707', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:33:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:33:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:33:20] Production.INFO: ==10016== Releasing lock...
[2025-03-10 06:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:33:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:34:02] Production.INFO: ==10072== Lock acquired, processing the job...
[2025-03-10 10:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:34:02] Production.INFO: neon service started
[2025-03-10 10:34:02] Production.INFO: neon service started
[2025-03-10 10:34:02] Production.INFO: ==10072== Releasing lock...
[2025-03-10 10:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:34:02] Production.INFO: ==10075== Lock acquired, processing the job...
[2025-03-10 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:34:02] Production.INFO: ==10077== Lock acquired, processing the job...
[2025-03-10 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:34:02] Production.INFO: ==10077== Releasing lock...
[2025-03-10 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:34:03] Production.INFO: ==10075== Releasing lock...
[2025-03-10 06:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:34:04] Production.INFO: ==10087== Lock acquired, processing the job...
[2025-03-10 06:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:34:04] Production.INFO: ==10079== Lock acquired, processing the job...
[2025-03-10 06:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:34:04] Production.INFO: ==10089== Lock acquired, processing the job...
[2025-03-10 06:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:34:04] Production.INFO: ==10081== Lock acquired, processing the job...
[2025-03-10 06:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:34:04] Production.INFO: ==10083== Lock acquired, processing the job...
[2025-03-10 06:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:34:04] Production.INFO: ==10085== Lock acquired, processing the job...
[2025-03-10 06:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 06:34:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:34:04] Production.INFO: count ==21
[2025-03-10 06:34:04] Production.INFO: Account Balance Start.
[2025-03-10 06:34:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647709') start
[2025-03-10 06:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:34:04] Production.INFO: 117
[2025-03-10 06:34:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647709') end
[2025-03-10 06:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:34:04] Production.INFO: 1
[2025-03-10 06:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:34:04] Production.INFO: ==10089== Releasing lock...
[2025-03-10 06:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:34:04] Production.ERROR: done
[2025-03-10 06:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:34:04] Production.INFO: Total Charge 0
[2025-03-10 06:34:04] Production.INFO: CreateAllLog End
[2025-03-10 06:34:04] Production.INFO: ==10081== Releasing lock...
[2025-03-10 06:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:34:04] Production.ERROR: done
[2025-03-10 06:34:04] Production.INFO: Account Balance End.
[2025-03-10 06:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:34:04] Production.INFO: ==10085== Releasing lock...
[2025-03-10 06:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:34:05
[end_date_ymd] => 2025-03-10 06:34:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:34:05' and `end` < '2025-03-10 06: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-03-10 06:34:11] Production.ERROR: CronJobId end10
[2025-03-10 06:34:11] Production.INFO: ==10083== Releasing lock...
[2025-03-10 06:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:34:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:34:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:34:14] Production.INFO: call_cost start
[2025-03-10 06:34:14] Production.INFO: call_cost end
[2025-03-10 06:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:34:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:34:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:34:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:34:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:34:15] Production.INFO: ==10079== Releasing lock...
[2025-03-10 06:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:34:17] Production.INFO: count ==80
[2025-03-10 06:34:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:34:05 - End Time 2025-03-10 06:34:05
[2025-03-10 06:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647712', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647712', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647712', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647712', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:34:17] Production.INFO: ProcessCDR(1,14647712,1,1,2)
[2025-03-10 06:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647712', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647712', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:34:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:34:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:34:20] Production.INFO: ==10087== Releasing lock...
[2025-03-10 06:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:34:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:35:01] Production.INFO: ==10185== Lock acquired, processing the job...
[2025-03-10 10:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:35:01] Production.INFO: neon service started
[2025-03-10 10:35:01] Production.INFO: neon service started
[2025-03-10 10:35:01] Production.INFO: ==10185== Releasing lock...
[2025-03-10 10:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:35:01] Production.INFO: ==10189== Lock acquired, processing the job...
[2025-03-10 10:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:35:01] Production.INFO: ==10189== Releasing lock...
[2025-03-10 10:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:35:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:35:02] Production.INFO: ==10187== Lock acquired, processing the job...
[2025-03-10 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:35:02] Production.INFO: ==10187== Releasing lock...
[2025-03-10 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:35:03] Production.INFO: ==10192== Lock acquired, processing the job...
[2025-03-10 06:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:35:03] Production.INFO: ==10194== Lock acquired, processing the job...
[2025-03-10 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:35:03] Production.INFO: ==10198== Lock acquired, processing the job...
[2025-03-10 06:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:35:03] Production.INFO: ==10196== Lock acquired, processing the job...
[2025-03-10 06:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:35:03] Production.INFO: Account Balance Start.
[2025-03-10 06:35:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:35:03] Production.INFO: 117
[2025-03-10 06:35:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:35:03] Production.INFO: ==10200== Lock acquired, processing the job...
[2025-03-10 06:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:35:03] Production.INFO: ==10202== Lock acquired, processing the job...
[2025-03-10 06:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:35:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:35:03] Production.INFO: ==10194== Releasing lock...
[2025-03-10 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:35:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:35:03] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 06:35:03] Production.INFO: CreateAllLog End
[2025-03-10 06:35:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:35:03] Production.INFO: count ==21
[2025-03-10 06:35:03] Production.ERROR: done
[2025-03-10 06:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647716') start
[2025-03-10 06:35:04] Production.ERROR: done
[2025-03-10 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647716') end
[2025-03-10 06:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:35:04] Production.INFO: 1
[2025-03-10 06:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:35:04] Production.INFO: Account Balance End.
[2025-03-10 06:35:04] Production.INFO: ==10202== Releasing lock...
[2025-03-10 06:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:35:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:35:04] Production.INFO: ==10198== Releasing lock...
[2025-03-10 06:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:35:05
[end_date_ymd] => 2025-03-10 06:35:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:35:05' and `end` < '2025-03-10 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-03-10 06:35:11] Production.ERROR: CronJobId end10
[2025-03-10 06:35:11] Production.INFO: ==10196== Releasing lock...
[2025-03-10 06:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:35:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:35:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:35:14] Production.INFO: call_cost start
[2025-03-10 06:35:14] Production.INFO: call_cost end
[2025-03-10 06:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:35:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:35:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:35:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:35:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:35:15] Production.INFO: ==10192== Releasing lock...
[2025-03-10 06:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:35:17] Production.INFO: count ==83
[2025-03-10 06:35:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:35:05 - End Time 2025-03-10 06:35:05
[2025-03-10 06:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647717', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647717', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647717', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647717', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:35:17] Production.INFO: ProcessCDR(1,14647717,1,1,2)
[2025-03-10 06:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647717', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647717', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:35:20] Production.INFO: ==10200== Releasing lock...
[2025-03-10 06:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:35:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:36:01] Production.INFO: ==10256== Lock acquired, processing the job...
[2025-03-10 10:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:36:01] Production.INFO: neon service started
[2025-03-10 10:36:01] Production.INFO: neon service started
[2025-03-10 10:36:01] Production.INFO: ==10256== Releasing lock...
[2025-03-10 10:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:36:02] Production.INFO: ==10260== Lock acquired, processing the job...
[2025-03-10 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:36:02] Production.INFO: ==10260== Releasing lock...
[2025-03-10 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:36:02] Production.INFO: ==10258== Lock acquired, processing the job...
[2025-03-10 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:36:02] Production.INFO: ==10258== Releasing lock...
[2025-03-10 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:36:03] Production.INFO: ==10263== Lock acquired, processing the job...
[2025-03-10 06:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:36:03] Production.INFO: ==10265== Lock acquired, processing the job...
[2025-03-10 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:36:03] Production.INFO: ==10271== Lock acquired, processing the job...
[2025-03-10 06:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:36:04] Production.INFO: ==10267== Lock acquired, processing the job...
[2025-03-10 06:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:36:04] Production.INFO: ==10273== Lock acquired, processing the job...
[2025-03-10 06:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:36:04] Production.INFO: ==10269== Lock acquired, processing the job...
[2025-03-10 06:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:36:04] Production.INFO: ==10265== Releasing lock...
[2025-03-10 06:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:36:04] Production.ERROR: done
[2025-03-10 06:36:04] Production.INFO: Account Balance Start.
[2025-03-10 06:36:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:36:04] Production.INFO: 117
[2025-03-10 06:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:36:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 06:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:36:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:36:04] Production.INFO: count ==21
[2025-03-10 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647721') start
[2025-03-10 06:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:36:04] Production.INFO: Total Charge 0
[2025-03-10 06:36:04] Production.INFO: CreateAllLog End
[2025-03-10 06:36:04] Production.ERROR: done
[2025-03-10 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647721') end
[2025-03-10 06:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:36:04] Production.INFO: 1
[2025-03-10 06:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:36:04] Production.INFO: ==10273== Releasing lock...
[2025-03-10 06:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:36:04] Production.INFO: Account Balance End.
[2025-03-10 06:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:36:04] Production.INFO: ==10269== Releasing lock...
[2025-03-10 06:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:36:05
[end_date_ymd] => 2025-03-10 06:36:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:36:05' and `end` < '2025-03-10 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-03-10 06:36:12] Production.ERROR: CronJobId end10
[2025-03-10 06:36:12] Production.INFO: ==10267== Releasing lock...
[2025-03-10 06:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:36:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:36:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:36:14] Production.INFO: call_cost start
[2025-03-10 06:36:14] Production.INFO: call_cost end
[2025-03-10 06:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:36:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:36:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:36:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:36:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:36:15] Production.INFO: ==10263== Releasing lock...
[2025-03-10 06:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:36:17] Production.INFO: count ==83
[2025-03-10 06:36:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:36:05 - End Time 2025-03-10 06:36:05
[2025-03-10 06:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647722', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647722', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647722', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647722', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:36:17] Production.INFO: ProcessCDR(1,14647722,1,1,2)
[2025-03-10 06:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647722', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647722', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:36:20] Production.INFO: ==10271== Releasing lock...
[2025-03-10 06:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:36:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:37:01] Production.INFO: ==10328== Lock acquired, processing the job...
[2025-03-10 10:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:37:01] Production.INFO: neon service started
[2025-03-10 10:37:01] Production.INFO: neon service started
[2025-03-10 10:37:01] Production.INFO: ==10328== Releasing lock...
[2025-03-10 10:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:37:02] Production.INFO: ==10330== Lock acquired, processing the job...
[2025-03-10 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:37:02] Production.INFO: ==10332== Lock acquired, processing the job...
[2025-03-10 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:37:02] Production.INFO: ==10332== Releasing lock...
[2025-03-10 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:37:02] Production.INFO: ==10330== Releasing lock...
[2025-03-10 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:37:03] Production.INFO: ==10335== Lock acquired, processing the job...
[2025-03-10 06:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:37:03] Production.INFO: ==10337== Lock acquired, processing the job...
[2025-03-10 06:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:37:03] Production.INFO: ==10341== Lock acquired, processing the job...
[2025-03-10 06:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:37:03] Production.INFO: Account Balance Start.
[2025-03-10 06:37:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:37:03] Production.INFO: 117
[2025-03-10 06:37:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:37:03] Production.INFO: ==10339== Lock acquired, processing the job...
[2025-03-10 06:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:37:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:37:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:37:03] Production.INFO: ==10343== Lock acquired, processing the job...
[2025-03-10 06:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:37:03] Production.INFO: Total Charge 0
[2025-03-10 06:37:03] Production.INFO: ==10345== Lock acquired, processing the job...
[2025-03-10 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:37:03] Production.INFO: CreateAllLog End
[2025-03-10 06:37:03] Production.INFO: ==10337== Releasing lock...
[2025-03-10 06:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 06:37:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:37:04] Production.INFO: count ==21
[2025-03-10 06:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647726') start
[2025-03-10 06:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647726') end
[2025-03-10 06:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:37:04] Production.INFO: 1
[2025-03-10 06:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:37:04] Production.ERROR: done
[2025-03-10 06:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:37:04] Production.INFO: Account Balance End.
[2025-03-10 06:37:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:37:04] Production.INFO: ==10341== Releasing lock...
[2025-03-10 06:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:37:04] Production.INFO: ==10345== Releasing lock...
[2025-03-10 06:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:37:04] Production.ERROR: done
[2025-03-10 06:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:37:05
[end_date_ymd] => 2025-03-10 06:37:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:37:05' and `end` < '2025-03-10 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-03-10 06:37:11] Production.ERROR: CronJobId end10
[2025-03-10 06:37:11] Production.INFO: ==10339== Releasing lock...
[2025-03-10 06:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:37:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:37:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:37:13] Production.INFO: call_cost start
[2025-03-10 06:37:13] Production.INFO: call_cost end
[2025-03-10 06:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:37:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:37:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:37:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:37:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:37:14] Production.INFO: ==10335== Releasing lock...
[2025-03-10 06:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:37:17] Production.INFO: count ==83
[2025-03-10 06:37:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:37:05 - End Time 2025-03-10 06:37:05
[2025-03-10 06:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647727', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647727', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647727', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647727', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:37:17] Production.INFO: ProcessCDR(1,14647727,1,1,2)
[2025-03-10 06:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647727', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647727', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:37:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:37:20] Production.INFO: ==10343== Releasing lock...
[2025-03-10 06:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:37:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:38:02] Production.INFO: ==10401== Lock acquired, processing the job...
[2025-03-10 10:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:38:02] Production.INFO: neon service started
[2025-03-10 10:38:02] Production.INFO: neon service started
[2025-03-10 10:38:02] Production.INFO: ==10401== Releasing lock...
[2025-03-10 10:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:38:02] Production.INFO: ==10405== Lock acquired, processing the job...
[2025-03-10 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:38:02] Production.INFO: ==10405== Releasing lock...
[2025-03-10 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:38:02] Production.INFO: ==10403== Lock acquired, processing the job...
[2025-03-10 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:38:02] Production.INFO: ==10403== Releasing lock...
[2025-03-10 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:38:03] Production.INFO: ==10407== Lock acquired, processing the job...
[2025-03-10 06:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:38:03] Production.INFO: ==10414== Lock acquired, processing the job...
[2025-03-10 06:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:38:03] Production.INFO: Account Balance Start.
[2025-03-10 06:38:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:38:03] Production.INFO: 117
[2025-03-10 06:38:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:38:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:38:03] Production.INFO: ==10418== Lock acquired, processing the job...
[2025-03-10 06:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:38:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:38:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:38:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:38:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:38:03] Production.INFO: ==10409== Lock acquired, processing the job...
[2025-03-10 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:38:03] Production.INFO: Total Charge 0
[2025-03-10 06:38:03] Production.INFO: ==10411== Lock acquired, processing the job...
[2025-03-10 06:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:38:03] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 06:38:04] Production.INFO: count ==13
[2025-03-10 06:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:38:04] Production.INFO: ==10416== Lock acquired, processing the job...
[2025-03-10 06:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 06:38:04] Production.INFO: count ==21
[2025-03-10 06:38:04] Production.INFO: Account Balance End.
[2025-03-10 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647730') start
[2025-03-10 06:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:38:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:38:04] Production.INFO: ==10414== Releasing lock...
[2025-03-10 06:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647730') end
[2025-03-10 06:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:38:04] Production.INFO: 1
[2025-03-10 06:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:38:04] Production.INFO: ==10418== Releasing lock...
[2025-03-10 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:38:04] Production.INFO: ==10409== Releasing lock...
[2025-03-10 06:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:38:04] Production.ERROR: done
[2025-03-10 06:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:38:04] Production.ERROR: done
[2025-03-10 06:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:38:05
[end_date_ymd] => 2025-03-10 06:38:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:38:05' and `end` < '2025-03-10 06: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-03-10 06:38:11] Production.ERROR: CronJobId end10
[2025-03-10 06:38:11] Production.INFO: ==10411== Releasing lock...
[2025-03-10 06:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:38:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:38:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:38:14] Production.INFO: call_cost start
[2025-03-10 06:38:14] Production.INFO: call_cost end
[2025-03-10 06:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:38:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:38:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:38:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:38:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:38:15] Production.INFO: ==10407== Releasing lock...
[2025-03-10 06:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:38:17] Production.INFO: count ==83
[2025-03-10 06:38:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:38:05 - End Time 2025-03-10 06:38:05
[2025-03-10 06:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647732', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647732', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647732', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647732', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:38:17] Production.INFO: ProcessCDR(1,14647732,1,1,2)
[2025-03-10 06:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647732', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647732', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:38:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:38:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:38:20] Production.INFO: ==10416== Releasing lock...
[2025-03-10 06:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:38:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:39:01] Production.INFO: ==10475== Lock acquired, processing the job...
[2025-03-10 10:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:39:01] Production.INFO: neon service started
[2025-03-10 10:39:01] Production.INFO: neon service started
[2025-03-10 10:39:01] Production.INFO: ==10475== Releasing lock...
[2025-03-10 10:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:39:01] Production.INFO: ==10477== Lock acquired, processing the job...
[2025-03-10 06:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:39:02] Production.INFO: ==10477== Releasing lock...
[2025-03-10 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:39:02] Production.INFO: ==10479== Lock acquired, processing the job...
[2025-03-10 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:39:02] Production.INFO: ==10479== Releasing lock...
[2025-03-10 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:39:03] Production.INFO: ==10486== Lock acquired, processing the job...
[2025-03-10 06:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:39:03] Production.INFO: ==10482== Lock acquired, processing the job...
[2025-03-10 06:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:39:03] Production.INFO: ==10492== Lock acquired, processing the job...
[2025-03-10 06:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:39:03] Production.INFO: ==10484== Lock acquired, processing the job...
[2025-03-10 06:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:39:03] Production.INFO: ==10488== Lock acquired, processing the job...
[2025-03-10 06:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:39:03] Production.INFO: ==10490== Lock acquired, processing the job...
[2025-03-10 06:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 06:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:39:03] Production.INFO: count ==13
[2025-03-10 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-03-10 06:39:03] Production.INFO: count ==21
[2025-03-10 06:39:03] Production.INFO: Account Balance Start.
[2025-03-10 06:39:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647734') start
[2025-03-10 06:39:03] Production.INFO: 117
[2025-03-10 06:39:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647734') end
[2025-03-10 06:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:39:03] Production.INFO: 1
[2025-03-10 06:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:39:03] Production.INFO: ==10492== Releasing lock...
[2025-03-10 06:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:39:03] Production.ERROR: done
[2025-03-10 06:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:39:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:39:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:39:03] Production.ERROR: done
[2025-03-10 06:39:03] Production.INFO: Total Charge 0
[2025-03-10 06:39:03] Production.INFO: ==10484== Releasing lock...
[2025-03-10 06:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:39:03] Production.INFO: CreateAllLog End
[2025-03-10 06:39:04] Production.INFO: Account Balance End.
[2025-03-10 06:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:39:04] Production.INFO: ==10488== Releasing lock...
[2025-03-10 06:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:39:05
[end_date_ymd] => 2025-03-10 06:39:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:39:05' and `end` < '2025-03-10 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-03-10 06:39:11] Production.ERROR: CronJobId end10
[2025-03-10 06:39:11] Production.INFO: ==10486== Releasing lock...
[2025-03-10 06:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:39:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:39:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:39:13] Production.INFO: call_cost start
[2025-03-10 06:39:13] Production.INFO: call_cost end
[2025-03-10 06:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:39:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:39:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:39:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:39:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:39:14] Production.INFO: ==10482== Releasing lock...
[2025-03-10 06:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:39:16] Production.INFO: count ==83
[2025-03-10 06:39:16] Production.ERROR: pbx CDR StartTime 2025-03-10 03:39:05 - End Time 2025-03-10 06:39:05
[2025-03-10 06:39:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:39:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647737', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:39:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647737', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:39:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647737', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:39:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647737', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:39:16] Production.INFO: ProcessCDR(1,14647737,1,1,2)
[2025-03-10 06:39:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:39:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:39:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647737', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647737', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:39:20] Production.INFO: ==10490== Releasing lock...
[2025-03-10 06:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:39:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:40:01] Production.INFO: ==10550== Lock acquired, processing the job...
[2025-03-10 10:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:40:01] Production.INFO: neon service started
[2025-03-10 10:40:01] Production.INFO: neon service started
[2025-03-10 10:40:01] Production.INFO: ==10550== Releasing lock...
[2025-03-10 10:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:40:02] Production.INFO: ==10552== Lock acquired, processing the job...
[2025-03-10 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:40:02] Production.INFO: ==10554== Lock acquired, processing the job...
[2025-03-10 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:40:02] Production.INFO: ==10554== Releasing lock...
[2025-03-10 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:40:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:40:03] Production.INFO: ==10552== Releasing lock...
[2025-03-10 06:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:40:03] Production.INFO: ==10561== Lock acquired, processing the job...
[2025-03-10 06:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:40:04] Production.INFO: ==10557== Lock acquired, processing the job...
[2025-03-10 06:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 06:40:04] Production.INFO: ==10565== Lock acquired, processing the job...
[2025-03-10 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 06:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 06:40:04] Production.ERROR: CronJob PID - 10561
[2025-03-10 06:40:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 06:40:04] Production.ERROR: CronJob ID - 7
[2025-03-10 06:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 06:40:00
[2025-03-10 06:40:04] Production.INFO: ==10559== Lock acquired, processing the job...
[2025-03-10 06:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 06:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 06:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 06:40:04] Production.ERROR: CronJob PID - 10565
[2025-03-10 06:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 06:40:04] Production.ERROR: CronJob ID - 12
[2025-03-10 06:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 06:40:00
[2025-03-10 06:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 06:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 06:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 06:40:04] Production.INFO: ==10557== Releasing lock...
[2025-03-10 06:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 06:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 06:40:04] Production.INFO: ==10569== Lock acquired, processing the job...
[2025-03-10 06:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 06:40:04] Production.INFO: Account Balance Start.
[2025-03-10 06:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:40:04] Production.INFO: 117
[2025-03-10 06:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:40:04] Production.INFO: ==10563== Lock acquired, processing the job...
[2025-03-10 06:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:40:04] Production.INFO: ==10561== Releasing lock...
[2025-03-10 06:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:40:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:40:04] Production.INFO: ==10567== Lock acquired, processing the job...
[2025-03-10 06:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:40:04] Production.INFO: ==10572== Lock acquired, processing the job...
[2025-03-10 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:40:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:40:04] Production.INFO: Total Charge 0
[2025-03-10 06:40:04] Production.INFO: CreateAllLog End
[2025-03-10 06:40:04] Production.ERROR: done
[2025-03-10 06:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 06:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647742', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 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-03-10 06:40:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:40:04] Production.INFO: count ==21
[2025-03-10 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647741') start
[2025-03-10 06:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647741') end
[2025-03-10 06:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:40:05] Production.INFO: 1
[2025-03-10 06:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:40:05] Production.INFO: Account Balance End.
[2025-03-10 06:40:05] Production.ERROR: CronJobId end 12
[2025-03-10 06:40:05] Production.INFO: ==10565== Releasing lock...
[2025-03-10 06:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:40:05] Production.INFO: ==10572== Releasing lock...
[2025-03-10 06:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:40:05] Production.ERROR: done
[2025-03-10 06:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:40:05] Production.ERROR: done
[2025-03-10 06:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:40:06
[end_date_ymd] => 2025-03-10 06:40:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:40:06' and `end` < '2025-03-10 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-03-10 06:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647742', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 06:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 06:40:09] Production.INFO: ProcessCDR(1,14647742,1,1,2)
[2025-03-10 06:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647742,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647742,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:40:09] Production.INFO: ==10569== Releasing lock...
[2025-03-10 06:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 06:40:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 06:40:14] Production.ERROR: CronJobId end10
[2025-03-10 06:40:14] Production.INFO: ==10563== Releasing lock...
[2025-03-10 06:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:40:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:40:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:40:16] Production.INFO: call_cost start
[2025-03-10 06:40:16] Production.INFO: call_cost end
[2025-03-10 06:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:40:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:40:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:40:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:40:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:40:17] Production.INFO: ==10559== Releasing lock...
[2025-03-10 06:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:40:18] Production.INFO: count ==83
[2025-03-10 06:40:18] Production.ERROR: pbx CDR StartTime 2025-03-10 03:40:06 - End Time 2025-03-10 06:40:06
[2025-03-10 06:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647743', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647743', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647743', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647743', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:40:18] Production.INFO: ProcessCDR(1,14647743,1,1,2)
[2025-03-10 06:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647743', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647743', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:40:21] Production.INFO: ==10567== Releasing lock...
[2025-03-10 06:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:40:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:41:01] Production.INFO: ==10626== Lock acquired, processing the job...
[2025-03-10 10:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:41:01] Production.INFO: neon service started
[2025-03-10 10:41:01] Production.INFO: neon service started
[2025-03-10 10:41:01] Production.INFO: ==10626== Releasing lock...
[2025-03-10 10:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:41:01] Production.INFO: ==10628== Lock acquired, processing the job...
[2025-03-10 06:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:41:02] Production.INFO: ==10630== Lock acquired, processing the job...
[2025-03-10 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 06:41:02] Production.INFO: ==10628== Releasing lock...
[2025-03-10 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:41:02] Production.INFO: ==10630== Releasing lock...
[2025-03-10 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:41:03] Production.INFO: ==10639== Lock acquired, processing the job...
[2025-03-10 06:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:41:03] Production.INFO: ==10632== Lock acquired, processing the job...
[2025-03-10 06:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:41:03] Production.INFO: Account Balance Start.
[2025-03-10 06:41:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:41:03] Production.INFO: 117
[2025-03-10 06:41:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:41:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:41:03] Production.INFO: ==10643== Lock acquired, processing the job...
[2025-03-10 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:41:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:41:03] Production.INFO: Total Charge 0
[2025-03-10 06:41:03] Production.INFO: ==10635== Lock acquired, processing the job...
[2025-03-10 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:41:03] Production.INFO: CreateAllLog End
[2025-03-10 06:41:03] Production.INFO: ==10637== Lock acquired, processing the job...
[2025-03-10 06:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:41:03] Production.INFO: ==10641== Lock acquired, processing the job...
[2025-03-10 06:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 06:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:41:03] Production.INFO: count ==13
[2025-03-10 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-03-10 06:41:03] Production.INFO: count ==21
[2025-03-10 06:41:03] Production.INFO: Account Balance End.
[2025-03-10 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647746') start
[2025-03-10 06:41:03] Production.ERROR: CronJobId end 12
[2025-03-10 06:41:03] Production.INFO: ==10639== Releasing lock...
[2025-03-10 06:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647746') end
[2025-03-10 06:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:41:04] Production.INFO: 1
[2025-03-10 06:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:41:04] Production.INFO: ==10635== Releasing lock...
[2025-03-10 06:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:41:04] Production.INFO: ==10643== Releasing lock...
[2025-03-10 06:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:41:04] Production.ERROR: done
[2025-03-10 06:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:41:04] Production.ERROR: done
[2025-03-10 06:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:41:05
[end_date_ymd] => 2025-03-10 06:41:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:41:05' and `end` < '2025-03-10 06: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-03-10 06:41:12] Production.ERROR: CronJobId end10
[2025-03-10 06:41:12] Production.INFO: ==10637== Releasing lock...
[2025-03-10 06:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:41:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:41:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:41:14] Production.INFO: call_cost start
[2025-03-10 06:41:14] Production.INFO: call_cost end
[2025-03-10 06:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:41:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:41:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:41:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:41:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:41:15] Production.INFO: ==10632== Releasing lock...
[2025-03-10 06:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:41:17] Production.INFO: count ==83
[2025-03-10 06:41:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:41:05 - End Time 2025-03-10 06:41:05
[2025-03-10 06:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647748', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647748', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647748', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647748', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:41:17] Production.INFO: ProcessCDR(1,14647748,1,1,2)
[2025-03-10 06:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647748', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647748', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:41:20] Production.INFO: ==10641== Releasing lock...
[2025-03-10 06:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:41:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:42:02] Production.INFO: ==10698== Lock acquired, processing the job...
[2025-03-10 10:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:42:02] Production.INFO: neon service started
[2025-03-10 10:42:02] Production.INFO: neon service started
[2025-03-10 10:42:02] Production.INFO: ==10698== Releasing lock...
[2025-03-10 10:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:42:02] Production.INFO: ==10702== Lock acquired, processing the job...
[2025-03-10 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:42:02] Production.INFO: ==10702== Releasing lock...
[2025-03-10 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:42:02] Production.INFO: ==10700== Lock acquired, processing the job...
[2025-03-10 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:42:02] Production.INFO: ==10700== Releasing lock...
[2025-03-10 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:42:03] Production.INFO: ==10704== Lock acquired, processing the job...
[2025-03-10 06:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:42:03] Production.INFO: ==10706== Lock acquired, processing the job...
[2025-03-10 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:42:03] Production.INFO: ==10710== Lock acquired, processing the job...
[2025-03-10 06:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:42:03] Production.INFO: ==10708== Lock acquired, processing the job...
[2025-03-10 06:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:42:03] Production.INFO: ==10712== Lock acquired, processing the job...
[2025-03-10 06:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:42:04] Production.INFO: Account Balance Start.
[2025-03-10 06:42:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:42:04] Production.INFO: 117
[2025-03-10 06:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:42:04] Production.INFO: ==10715== Lock acquired, processing the job...
[2025-03-10 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:42:04] Production.INFO: ==10706== Releasing lock...
[2025-03-10 06:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 06:42:04] Production.INFO: Total Charge 0
[2025-03-10 06:42:04] Production.INFO: count ==13
[2025-03-10 06:42:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 06:42:04] Production.INFO: count ==21
[2025-03-10 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647752') start
[2025-03-10 06:42:04] Production.ERROR: done
[2025-03-10 06:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:42:04] Production.ERROR: done
[2025-03-10 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647752') end
[2025-03-10 06:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:42:04] Production.INFO: 1
[2025-03-10 06:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:42:04] Production.INFO: Account Balance End.
[2025-03-10 06:42:04] Production.INFO: ==10715== Releasing lock...
[2025-03-10 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:42:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:42:04] Production.INFO: ==10710== Releasing lock...
[2025-03-10 06:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:42:05
[end_date_ymd] => 2025-03-10 06:42:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:42:05' and `end` < '2025-03-10 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-03-10 06:42:11] Production.ERROR: CronJobId end10
[2025-03-10 06:42:11] Production.INFO: ==10708== Releasing lock...
[2025-03-10 06:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:42:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:42:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:42:14] Production.INFO: call_cost start
[2025-03-10 06:42:14] Production.INFO: call_cost end
[2025-03-10 06:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:42:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:42:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:42:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:42:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:42:15] Production.INFO: ==10704== Releasing lock...
[2025-03-10 06:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:42:17] Production.INFO: count ==83
[2025-03-10 06:42:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:42:05 - End Time 2025-03-10 06:42:05
[2025-03-10 06:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647753', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647753', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647753', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647753', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:42:17] Production.INFO: ProcessCDR(1,14647753,1,1,2)
[2025-03-10 06:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647753', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647753', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:42:21] Production.INFO: ==10712== Releasing lock...
[2025-03-10 06:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:42:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:43:01] Production.INFO: ==10770== Lock acquired, processing the job...
[2025-03-10 10:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:43:01] Production.INFO: neon service started
[2025-03-10 10:43:01] Production.INFO: neon service started
[2025-03-10 10:43:01] Production.INFO: ==10770== Releasing lock...
[2025-03-10 10:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:43:01] Production.INFO: ==10774== Lock acquired, processing the job...
[2025-03-10 10:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:43:01] Production.INFO: ==10774== Releasing lock...
[2025-03-10 10:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:43:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:43:01] Production.INFO: ==10772== Lock acquired, processing the job...
[2025-03-10 06:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:43:02] Production.INFO: ==10772== Releasing lock...
[2025-03-10 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:43:03] Production.INFO: ==10776== Lock acquired, processing the job...
[2025-03-10 06:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:43:03] Production.INFO: ==10780== Lock acquired, processing the job...
[2025-03-10 06:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:43:03] Production.INFO: ==10784== Lock acquired, processing the job...
[2025-03-10 06:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:43:03] Production.INFO: ==10782== Lock acquired, processing the job...
[2025-03-10 06:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:43:03] Production.INFO: ==10778== Lock acquired, processing the job...
[2025-03-10 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:43:03] Production.INFO: Account Balance Start.
[2025-03-10 06:43:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:43:03] Production.INFO: 117
[2025-03-10 06:43:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:43:03] Production.INFO: ==10786== Lock acquired, processing the job...
[2025-03-10 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:43:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:43:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:43:03] Production.ERROR: done
[2025-03-10 06:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 06:43:03] Production.INFO: Total Charge 0
[2025-03-10 06:43:03] Production.INFO: CreateAllLog End
[2025-03-10 06:43:03] Production.INFO: ==10778== Releasing lock...
[2025-03-10 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:43:03] Production.INFO: count ==13
[2025-03-10 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-03-10 06:43:03] Production.INFO: count ==21
[2025-03-10 06:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647757') start
[2025-03-10 06:43:03] Production.ERROR: done
[2025-03-10 06:43:04] Production.INFO: Account Balance End.
[2025-03-10 06:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647757') end
[2025-03-10 06:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:43:04] Production.INFO: 1
[2025-03-10 06:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:43:04] Production.INFO: ==10782== Releasing lock...
[2025-03-10 06:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:43:04] Production.INFO: ==10786== Releasing lock...
[2025-03-10 06:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:43:04
[end_date_ymd] => 2025-03-10 06:43:04
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:43:04' and `end` < '2025-03-10 06: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-03-10 06:43:11] Production.ERROR: CronJobId end10
[2025-03-10 06:43:11] Production.INFO: ==10780== Releasing lock...
[2025-03-10 06:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:43:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:43:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:43:13] Production.INFO: call_cost start
[2025-03-10 06:43:13] Production.INFO: call_cost end
[2025-03-10 06:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:43:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:43:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:43:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:43:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:43:14] Production.INFO: ==10776== Releasing lock...
[2025-03-10 06:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:43:16] Production.INFO: count ==83
[2025-03-10 06:43:16] Production.ERROR: pbx CDR StartTime 2025-03-10 03:43:04 - End Time 2025-03-10 06:43:04
[2025-03-10 06:43:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:43:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647758', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:43:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647758', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:43:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647758', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:43:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647758', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:43:16] Production.INFO: ProcessCDR(1,14647758,1,1,2)
[2025-03-10 06:43:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:43:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:43:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:43:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:43:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647758', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:43:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647758', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:43:19] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:43:19] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:43:19] Production.INFO: ==10784== Releasing lock...
[2025-03-10 06:43:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:43:19] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:44:01] Production.INFO: ==10848== Lock acquired, processing the job...
[2025-03-10 10:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:44:02] Production.INFO: neon service started
[2025-03-10 10:44:02] Production.INFO: neon service started
[2025-03-10 10:44:02] Production.INFO: ==10848== Releasing lock...
[2025-03-10 10:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:44:02] Production.INFO: ==10852== Lock acquired, processing the job...
[2025-03-10 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:44:02] Production.INFO: ==10852== Releasing lock...
[2025-03-10 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:44:02] Production.INFO: ==10850== Lock acquired, processing the job...
[2025-03-10 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:44:02] Production.INFO: ==10850== Releasing lock...
[2025-03-10 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:44:03] Production.INFO: ==10857== Lock acquired, processing the job...
[2025-03-10 06:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:44:03] Production.INFO: ==10855== Lock acquired, processing the job...
[2025-03-10 06:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:44:03] Production.INFO: ==10863== Lock acquired, processing the job...
[2025-03-10 06:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:44:04] Production.INFO: ==10865== Lock acquired, processing the job...
[2025-03-10 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:44:04] Production.INFO: ==10859== Lock acquired, processing the job...
[2025-03-10 06:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:44:04] Production.INFO: ==10861== Lock acquired, processing the job...
[2025-03-10 06:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:44:04] Production.INFO: ==10857== Releasing lock...
[2025-03-10 06:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:44:04] Production.INFO: Account Balance Start.
[2025-03-10 06:44:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:44:04] Production.INFO: 117
[2025-03-10 06:44:04] Production.INFO: Date 2025-03-08
[2025-03-10 06: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-03-10 06:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:44:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:44:04] Production.INFO: count ==21
[2025-03-10 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647762') start
[2025-03-10 06:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647762') end
[2025-03-10 06:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:44:04] Production.INFO: 1
[2025-03-10 06:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:44:04] Production.INFO: Total Charge 0
[2025-03-10 06:44:04] Production.ERROR: done
[2025-03-10 06:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:44:04] Production.INFO: CreateAllLog End
[2025-03-10 06:44:04] Production.INFO: ==10865== Releasing lock...
[2025-03-10 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:44:04] Production.ERROR: done
[2025-03-10 06:44:04] Production.INFO: Account Balance End.
[2025-03-10 06:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:44:04] Production.INFO: ==10861== Releasing lock...
[2025-03-10 06:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:44:05
[end_date_ymd] => 2025-03-10 06:44:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:44:05' and `end` < '2025-03-10 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-03-10 06:44:11] Production.ERROR: CronJobId end10
[2025-03-10 06:44:11] Production.INFO: ==10859== Releasing lock...
[2025-03-10 06:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:44:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:44:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:44:14] Production.INFO: call_cost start
[2025-03-10 06:44:14] Production.INFO: call_cost end
[2025-03-10 06:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:44:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:44:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:44:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:44:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:44:15] Production.INFO: ==10855== Releasing lock...
[2025-03-10 06:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:44:17] Production.INFO: count ==83
[2025-03-10 06:44:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:44:05 - End Time 2025-03-10 06:44:05
[2025-03-10 06:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647763', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647763', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647763', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647763', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:44:17] Production.INFO: ProcessCDR(1,14647763,1,1,2)
[2025-03-10 06:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647763', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647763', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:44:21] Production.INFO: ==10863== Releasing lock...
[2025-03-10 06:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:44:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:45:01] Production.INFO: ==10921== Lock acquired, processing the job...
[2025-03-10 10:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:45:01] Production.INFO: neon service started
[2025-03-10 10:45:01] Production.INFO: neon service started
[2025-03-10 10:45:01] Production.INFO: ==10921== Releasing lock...
[2025-03-10 10:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:45:01] Production.INFO: ==10923== Lock acquired, processing the job...
[2025-03-10 06:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:45:02] Production.INFO: ==10923== Releasing lock...
[2025-03-10 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:45:02] Production.INFO: ==10925== Lock acquired, processing the job...
[2025-03-10 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:45:02] Production.INFO: ==10925== Releasing lock...
[2025-03-10 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:45:03] Production.INFO: ==10936== Lock acquired, processing the job...
[2025-03-10 06:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:45:03] Production.INFO: ==10938== Lock acquired, processing the job...
[2025-03-10 06:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:45:03] Production.INFO: ==10927== Lock acquired, processing the job...
[2025-03-10 06:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:45:03] Production.INFO: ==10929== Lock acquired, processing the job...
[2025-03-10 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:45:03] Production.INFO: ==10932== Lock acquired, processing the job...
[2025-03-10 06:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 06:45:03] Production.INFO: ==10934== Lock acquired, processing the job...
[2025-03-10 06:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:45:03] Production.INFO: count ==13
[2025-03-10 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-03-10 06:45:03] Production.INFO: count ==21
[2025-03-10 06:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647764') start
[2025-03-10 06:45:03] Production.ERROR: done
[2025-03-10 06:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647764') end
[2025-03-10 06:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:45:03] Production.INFO: 1
[2025-03-10 06:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:45:03] Production.INFO: Account Balance Start.
[2025-03-10 06:45:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:45:03] Production.INFO: 117
[2025-03-10 06:45:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:45:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:45:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:45:03] Production.INFO: ==10938== Releasing lock...
[2025-03-10 06:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:45:03] Production.ERROR: done
[2025-03-10 06:45:03] Production.INFO: Total Charge 0
[2025-03-10 06:45:03] Production.INFO: CreateAllLog End
[2025-03-10 06:45:03] Production.INFO: ==10929== Releasing lock...
[2025-03-10 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:45:04] Production.INFO: Account Balance End.
[2025-03-10 06:45:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:45:04] Production.INFO: ==10934== Releasing lock...
[2025-03-10 06:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:45:04
[end_date_ymd] => 2025-03-10 06:45:04
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:45:04' and `end` < '2025-03-10 06: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-03-10 06:45:11] Production.ERROR: CronJobId end10
[2025-03-10 06:45:11] Production.INFO: ==10932== Releasing lock...
[2025-03-10 06:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:45:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:45:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:45:13] Production.INFO: call_cost start
[2025-03-10 06:45:13] Production.INFO: call_cost end
[2025-03-10 06:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:45:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:45:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:45:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:45:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:45:14] Production.INFO: ==10927== Releasing lock...
[2025-03-10 06:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:45:16] Production.INFO: count ==83
[2025-03-10 06:45:16] Production.ERROR: pbx CDR StartTime 2025-03-10 03:45:04 - End Time 2025-03-10 06:45:04
[2025-03-10 06:45:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647768', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647768', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647768', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:45:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647768', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:45:16] Production.INFO: ProcessCDR(1,14647768,1,1,2)
[2025-03-10 06:45:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647768', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647768', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:45:20] Production.INFO: ==10936== Releasing lock...
[2025-03-10 06:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:45:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:46:01] Production.INFO: ==10991== Lock acquired, processing the job...
[2025-03-10 10:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:46:01] Production.INFO: neon service started
[2025-03-10 10:46:02] Production.INFO: neon service started
[2025-03-10 10:46:02] Production.INFO: ==10991== Releasing lock...
[2025-03-10 10:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:46:02] Production.INFO: ==10993== Lock acquired, processing the job...
[2025-03-10 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:46:02] Production.INFO: ==10995== Lock acquired, processing the job...
[2025-03-10 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:46:02] Production.INFO: ==10995== Releasing lock...
[2025-03-10 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:46:02] Production.INFO: ==10993== Releasing lock...
[2025-03-10 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:46:03] Production.INFO: ==10998== Lock acquired, processing the job...
[2025-03-10 06:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:46:03] Production.INFO: ==11004== Lock acquired, processing the job...
[2025-03-10 06:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:46:03] Production.INFO: Account Balance Start.
[2025-03-10 06:46:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:46:03] Production.INFO: ==11000== Lock acquired, processing the job...
[2025-03-10 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:46:03] Production.INFO: 117
[2025-03-10 06:46:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:46:04] Production.INFO: ==11006== Lock acquired, processing the job...
[2025-03-10 06:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:46:04] Production.INFO: ==11002== Lock acquired, processing the job...
[2025-03-10 06:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:46:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:46:04] Production.INFO: Total Charge 0
[2025-03-10 06:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:46:04] Production.INFO: ==11008== Lock acquired, processing the job...
[2025-03-10 06:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:46:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 06:46:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:46:04] Production.INFO: count ==21
[2025-03-10 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647772') start
[2025-03-10 06:46:04] Production.INFO: ==11000== Releasing lock...
[2025-03-10 06:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647772') end
[2025-03-10 06:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:46:04] Production.INFO: 1
[2025-03-10 06:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:46:04] Production.ERROR: done
[2025-03-10 06:46:04] Production.INFO: ==11008== Releasing lock...
[2025-03-10 06:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:46:04] Production.ERROR: done
[2025-03-10 06:46:05] Production.INFO: Account Balance End.
[2025-03-10 06:46:05] Production.ERROR: CronJobId end 12
[2025-03-10 06:46:05] Production.INFO: ==11004== Releasing lock...
[2025-03-10 06:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:46:06
[end_date_ymd] => 2025-03-10 06:46:06
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:46:06' and `end` < '2025-03-10 06: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-03-10 06:46:12] Production.ERROR: CronJobId end10
[2025-03-10 06:46:12] Production.INFO: ==11002== Releasing lock...
[2025-03-10 06:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:46:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:46:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:46:15] Production.INFO: call_cost start
[2025-03-10 06:46:15] Production.INFO: call_cost end
[2025-03-10 06:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:46:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:46:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:46:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:46:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:46:16] Production.INFO: ==10998== Releasing lock...
[2025-03-10 06:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:46:18] Production.INFO: count ==83
[2025-03-10 06:46:18] Production.ERROR: pbx CDR StartTime 2025-03-10 03:46:06 - End Time 2025-03-10 06:46:06
[2025-03-10 06:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647773', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647773', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647773', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647773', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:46:18] Production.INFO: ProcessCDR(1,14647773,1,1,2)
[2025-03-10 06:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647773', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647773', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:46:21] Production.INFO: ==11006== Releasing lock...
[2025-03-10 06:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:46:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:47:01] Production.INFO: ==11062== Lock acquired, processing the job...
[2025-03-10 10:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:47:01] Production.INFO: neon service started
[2025-03-10 10:47:01] Production.INFO: neon service started
[2025-03-10 10:47:01] Production.INFO: ==11062== Releasing lock...
[2025-03-10 10:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:47:01] Production.INFO: ==11064== Lock acquired, processing the job...
[2025-03-10 06:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:47:02] Production.INFO: ==11064== Releasing lock...
[2025-03-10 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:47:02] Production.INFO: ==11066== Lock acquired, processing the job...
[2025-03-10 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:47:02] Production.INFO: ==11066== Releasing lock...
[2025-03-10 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:47:02] Production.INFO: ==11068== Lock acquired, processing the job...
[2025-03-10 06:47:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:47:03] Production.INFO: ==11072== Lock acquired, processing the job...
[2025-03-10 06:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:47:03] Production.INFO: ==11077== Lock acquired, processing the job...
[2025-03-10 06:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:47:03] Production.INFO: ==11070== Lock acquired, processing the job...
[2025-03-10 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:47:03] Production.INFO: ==11075== Lock acquired, processing the job...
[2025-03-10 06:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:47:03] Production.INFO: ==11079== Lock acquired, processing the job...
[2025-03-10 06:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:47:03] Production.ERROR: done
[2025-03-10 06:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 06:47:03] Production.INFO: count ==13
[2025-03-10 06:47:03] Production.INFO: Account Balance Start.
[2025-03-10 06:47:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:47:03] Production.INFO: 117
[2025-03-10 06:47:03] Production.INFO: ==11070== Releasing lock...
[2025-03-10 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 06:47:03] Production.INFO: count ==21
[2025-03-10 06:47:03] Production.ERROR: done
[2025-03-10 06:47:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647777') start
[2025-03-10 06:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:47:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647777') end
[2025-03-10 06:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:47:03] Production.INFO: 1
[2025-03-10 06:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:47:03] Production.INFO: ==11079== Releasing lock...
[2025-03-10 06:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:47:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:47:03] Production.INFO: Total Charge 0
[2025-03-10 06:47:04] Production.INFO: CreateAllLog End
[2025-03-10 06:47:04] Production.INFO: Account Balance End.
[2025-03-10 06:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:47:04] Production.INFO: ==11075== Releasing lock...
[2025-03-10 06:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:47:04
[end_date_ymd] => 2025-03-10 06:47:04
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:47:04' and `end` < '2025-03-10 06: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-03-10 06:47:11] Production.ERROR: CronJobId end10
[2025-03-10 06:47:11] Production.INFO: ==11072== Releasing lock...
[2025-03-10 06:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:47:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:47:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:47:14] Production.INFO: call_cost start
[2025-03-10 06:47:14] Production.INFO: call_cost end
[2025-03-10 06:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:47:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:47:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:47:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:47:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:47:15] Production.INFO: ==11068== Releasing lock...
[2025-03-10 06:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:47:17] Production.INFO: count ==83
[2025-03-10 06:47:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:47:04 - End Time 2025-03-10 06:47:04
[2025-03-10 06:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647778', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647778', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647778', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647778', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:47:17] Production.INFO: ProcessCDR(1,14647778,1,1,2)
[2025-03-10 06:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647778', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647778', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:47:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:47:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:47:20] Production.INFO: ==11077== Releasing lock...
[2025-03-10 06:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:47:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:48:01] Production.INFO: ==11136== Lock acquired, processing the job...
[2025-03-10 10:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:48:01] Production.INFO: neon service started
[2025-03-10 10:48:01] Production.INFO: neon service started
[2025-03-10 10:48:01] Production.INFO: ==11136== Releasing lock...
[2025-03-10 10:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:48:02] Production.INFO: ==11140== Lock acquired, processing the job...
[2025-03-10 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:48:02] Production.INFO: ==11140== Releasing lock...
[2025-03-10 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:48:02] Production.INFO: ==11138== Lock acquired, processing the job...
[2025-03-10 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:48:02] Production.INFO: ==11138== Releasing lock...
[2025-03-10 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:48:03] Production.INFO: ==11150== Lock acquired, processing the job...
[2025-03-10 06:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:48:03] Production.INFO: ==11152== Lock acquired, processing the job...
[2025-03-10 06:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:48:03] Production.INFO: Account Balance Start.
[2025-03-10 06:48:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:48:03] Production.INFO: 117
[2025-03-10 06:48:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:48:03] Production.INFO: ==11143== Lock acquired, processing the job...
[2025-03-10 06:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:48:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:48:03] Production.INFO: ==11145== Lock acquired, processing the job...
[2025-03-10 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:48:04] Production.INFO: ==11147== Lock acquired, processing the job...
[2025-03-10 06:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:48:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:48:04] Production.INFO: ==11154== Lock acquired, processing the job...
[2025-03-10 06:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:48:04] Production.INFO: Total Charge 0
[2025-03-10 06:48:04] Production.INFO: CreateAllLog End
[2025-03-10 06:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 06:48:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:48:04] Production.INFO: Account Balance End.
[2025-03-10 06:48:04] Production.INFO: count ==21
[2025-03-10 06:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647782') start
[2025-03-10 06:48:04] Production.ERROR: done
[2025-03-10 06:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:48:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:48:04] Production.INFO: ==11150== Releasing lock...
[2025-03-10 06:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:48:04] Production.INFO: ==11145== Releasing lock...
[2025-03-10 06:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647782') end
[2025-03-10 06:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:48:04] Production.INFO: 1
[2025-03-10 06:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:48:04] Production.INFO: ==11154== Releasing lock...
[2025-03-10 06:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:48:04] Production.ERROR: done
[2025-03-10 06:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:48:05
[end_date_ymd] => 2025-03-10 06:48:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:48:05' and `end` < '2025-03-10 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-03-10 06:48:12] Production.ERROR: CronJobId end10
[2025-03-10 06:48:12] Production.INFO: ==11147== Releasing lock...
[2025-03-10 06:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:48:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:48:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:48:15] Production.INFO: call_cost start
[2025-03-10 06:48:15] Production.INFO: call_cost end
[2025-03-10 06:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:48:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:48:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:48:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:48:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:48:16] Production.INFO: ==11143== Releasing lock...
[2025-03-10 06:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:48:17] Production.INFO: count ==84
[2025-03-10 06:48:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:48:05 - End Time 2025-03-10 06:48:05
[2025-03-10 06:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647783', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647783', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647783', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647783', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:48:17] Production.INFO: ProcessCDR(1,14647783,1,1,2)
[2025-03-10 06:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647783', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647783', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:48:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:48:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:48:21] Production.INFO: ==11152== Releasing lock...
[2025-03-10 06:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:48:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:49:01] Production.INFO: ==11210== Lock acquired, processing the job...
[2025-03-10 10:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:49:01] Production.INFO: neon service started
[2025-03-10 10:49:01] Production.INFO: neon service started
[2025-03-10 10:49:01] Production.INFO: ==11210== Releasing lock...
[2025-03-10 10:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:49:01] Production.INFO: ==11212== Lock acquired, processing the job...
[2025-03-10 06:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:49:02] Production.INFO: ==11214== Lock acquired, processing the job...
[2025-03-10 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:49:02] Production.INFO: ==11214== Releasing lock...
[2025-03-10 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:49:02] Production.INFO: ==11212== Releasing lock...
[2025-03-10 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:49:03] Production.INFO: ==11221== Lock acquired, processing the job...
[2025-03-10 06:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:49:03] Production.INFO: ==11227== Lock acquired, processing the job...
[2025-03-10 06:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:49:03] Production.INFO: ==11217== Lock acquired, processing the job...
[2025-03-10 06:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:49:03] Production.INFO: ==11219== Lock acquired, processing the job...
[2025-03-10 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 06:49:03] Production.INFO: ==11223== Lock acquired, processing the job...
[2025-03-10 06:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:49:03] Production.INFO: count ==13
[2025-03-10 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-03-10 06:49:03] Production.INFO: count ==21
[2025-03-10 06:49:03] Production.INFO: ==11225== Lock acquired, processing the job...
[2025-03-10 06:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647784') start
[2025-03-10 06:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:49:03] Production.INFO: Account Balance Start.
[2025-03-10 06:49:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:49:03] Production.INFO: 117
[2025-03-10 06:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647784') end
[2025-03-10 06:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:49:03] Production.INFO: 1
[2025-03-10 06:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:49:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:49:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:49:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:49:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:49:03] Production.INFO: ==11227== Releasing lock...
[2025-03-10 06:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:49:03] Production.INFO: ==11219== Releasing lock...
[2025-03-10 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:49:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:49:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:49:03] Production.ERROR: done
[2025-03-10 06:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:49:03] Production.INFO: Total Charge 0
[2025-03-10 06:49:03] Production.INFO: CreateAllLog End
[2025-03-10 06:49:04] Production.ERROR: done
[2025-03-10 06:49:04] Production.INFO: Account Balance End.
[2025-03-10 06:49:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:49:04] Production.INFO: ==11223== Releasing lock...
[2025-03-10 06:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:49:04
[end_date_ymd] => 2025-03-10 06:49:04
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:49:04' and `end` < '2025-03-10 06: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-03-10 06:49:10] Production.ERROR: CronJobId end10
[2025-03-10 06:49:10] Production.INFO: ==11221== Releasing lock...
[2025-03-10 06:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:49:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:49:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:49:13] Production.INFO: call_cost start
[2025-03-10 06:49:13] Production.INFO: call_cost end
[2025-03-10 06:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:49:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:49:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:49:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:49:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:49:14] Production.INFO: ==11217== Releasing lock...
[2025-03-10 06:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:49:16] Production.INFO: count ==86
[2025-03-10 06:49:16] Production.ERROR: pbx CDR StartTime 2025-03-10 03:49:04 - End Time 2025-03-10 06:49:04
[2025-03-10 06:49:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:49:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647788', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:49:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647788', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:49:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647788', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:49:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647788', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:49:16] Production.INFO: ProcessCDR(1,14647788,1,1,2)
[2025-03-10 06:49:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:49:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:49:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647788', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647788', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:49:20] Production.INFO: ==11225== Releasing lock...
[2025-03-10 06:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:49:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:50:01] Production.INFO: ==11319== Lock acquired, processing the job...
[2025-03-10 10:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:50:01] Production.INFO: neon service started
[2025-03-10 10:50:01] Production.INFO: neon service started
[2025-03-10 10:50:01] Production.INFO: ==11319== Releasing lock...
[2025-03-10 10:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:50:02] Production.INFO: ==11321== Lock acquired, processing the job...
[2025-03-10 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:50:02] Production.INFO: ==11321== Releasing lock...
[2025-03-10 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:50:02] Production.INFO: ==11323== Lock acquired, processing the job...
[2025-03-10 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:50:02] Production.INFO: ==11323== Releasing lock...
[2025-03-10 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:50:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:50:03] Production.INFO: ==11327== Lock acquired, processing the job...
[2025-03-10 06:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:50:03] Production.INFO: ==11325== Lock acquired, processing the job...
[2025-03-10 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 06:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:50:03] Production.INFO: ==11329== Lock acquired, processing the job...
[2025-03-10 06:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 06:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 06:50:03] Production.ERROR: CronJob PID - 11327
[2025-03-10 06:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 06:50:03] Production.ERROR: CronJob ID - 5
[2025-03-10 06:50:03] Production.ERROR: CronJob Last Run Time 2025-03-10 06:50:00
[2025-03-10 06:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 06:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 06:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 06:50:03] Production.INFO: ==11325== Releasing lock...
[2025-03-10 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 06:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 06:50:03] Production.INFO: ==11340== Lock acquired, processing the job...
[2025-03-10 06:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:50:03] Production.INFO: ==11337== Lock acquired, processing the job...
[2025-03-10 06:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 06:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:50:03] Production.INFO: ==11331== Lock acquired, processing the job...
[2025-03-10 06:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06: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-03-10 06:50:03] Production.INFO: ==11335== Lock acquired, processing the job...
[2025-03-10 06:50:03] Production.INFO: ==11333== Lock acquired, processing the job...
[2025-03-10 06:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:50:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:50:03] Production.INFO: count ==21
[2025-03-10 06:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647790') start
[2025-03-10 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647790') end
[2025-03-10 06:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:50:04] Production.INFO: 1
[2025-03-10 06:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:50:04] Production.INFO: Account Balance Start.
[2025-03-10 06:50:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:50:04] Production.INFO: 117
[2025-03-10 06:50:04] Production.INFO: ==11340== Releasing lock...
[2025-03-10 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:50:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:50:04] Production.ERROR: done
[2025-03-10 06:50:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:50:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:50:04] Production.INFO: Total Charge 0
[2025-03-10 06:50:04] Production.INFO: CreateAllLog End
[2025-03-10 06:50:04] Production.INFO: ==11329== Releasing lock...
[2025-03-10 06:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 06:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647793', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 06:50:04] Production.ERROR: done
[2025-03-10 06:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:50:04] Production.ERROR: done
[2025-03-10 06:50:04] Production.INFO: Account Balance End.
[2025-03-10 06:50:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:50:04] Production.INFO: ==11333== Releasing lock...
[2025-03-10 06:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:50:05
[end_date_ymd] => 2025-03-10 06:50:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:50:05' and `end` < '2025-03-10 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-03-10 06:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647793', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 06:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 06:50:08] Production.INFO: ProcessCDR(1,14647793,1,1,2)
[2025-03-10 06:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647793,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647793,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:50:09] Production.INFO: ==11337== Releasing lock...
[2025-03-10 06:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 06:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 06:50:13] Production.ERROR: CronJobId end10
[2025-03-10 06:50:13] Production.INFO: ==11331== Releasing lock...
[2025-03-10 06:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:50:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:50:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:50:15] Production.INFO: call_cost start
[2025-03-10 06:50:15] Production.INFO: call_cost end
[2025-03-10 06:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:50:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:50:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:50:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:50:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:50:16] Production.INFO: ==11327== Releasing lock...
[2025-03-10 06:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:50:17] Production.INFO: count ==86
[2025-03-10 06:50:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:50:05 - End Time 2025-03-10 06:50:05
[2025-03-10 06:50:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647794', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647794', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647794', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647794', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:50:17] Production.INFO: ProcessCDR(1,14647794,1,1,2)
[2025-03-10 06:50:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:50:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:50:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:50:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:50:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647794', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:50:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647794', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:50:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:50:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:50:20] Production.INFO: ==11335== Releasing lock...
[2025-03-10 06:50:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:50:20] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 10:51:02] Production.INFO: ==11397== Lock acquired, processing the job...
[2025-03-10 10:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:51:02] Production.INFO: neon service started
[2025-03-10 10:51:02] Production.INFO: neon service started
[2025-03-10 10:51:02] Production.INFO: ==11397== Releasing lock...
[2025-03-10 10:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:51:02] Production.INFO: ==11399== Lock acquired, processing the job...
[2025-03-10 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:51:02] Production.INFO: ==11399== Releasing lock...
[2025-03-10 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:51:02] Production.INFO: ==11401== Lock acquired, processing the job...
[2025-03-10 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:51:03] Production.INFO: ==11401== Releasing lock...
[2025-03-10 10:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:51:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:51:03] Production.INFO: ==11403== Lock acquired, processing the job...
[2025-03-10 06:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:51:03] Production.INFO: ==11405== Lock acquired, processing the job...
[2025-03-10 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:51:03] Production.INFO: ==11409== Lock acquired, processing the job...
[2025-03-10 06:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:51:03] Production.INFO: ==11407== Lock acquired, processing the job...
[2025-03-10 06:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:51:03] Production.INFO: ==11411== Lock acquired, processing the job...
[2025-03-10 06:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:51:03] Production.INFO: ==11413== Lock acquired, processing the job...
[2025-03-10 06:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:51:03] Production.INFO: Account Balance Start.
[2025-03-10 06:51:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:51:03] Production.INFO: 117
[2025-03-10 06:51:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:51:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 06: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-03-10 06:51:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:51:04] Production.INFO: count ==13
[2025-03-10 06:51:04] Production.INFO: Total Charge 0
[2025-03-10 06:51:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 06:51:04] Production.INFO: count ==21
[2025-03-10 06:51:04] Production.INFO: ==11405== Releasing lock...
[2025-03-10 06:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647798') start
[2025-03-10 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647798') end
[2025-03-10 06:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:51:04] Production.INFO: 1
[2025-03-10 06:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:51:04] Production.ERROR: done
[2025-03-10 06:51:04] Production.INFO: ==11413== Releasing lock...
[2025-03-10 06:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:51:04] Production.INFO: Account Balance End.
[2025-03-10 06:51:04] Production.ERROR: done
[2025-03-10 06:51:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:51:04] Production.INFO: ==11409== Releasing lock...
[2025-03-10 06:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:51:05
[end_date_ymd] => 2025-03-10 06:51:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:51:05' and `end` < '2025-03-10 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-03-10 06:51:12] Production.ERROR: CronJobId end10
[2025-03-10 06:51:12] Production.INFO: ==11407== Releasing lock...
[2025-03-10 06:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:51:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:51:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:51:15] Production.INFO: call_cost start
[2025-03-10 06:51:15] Production.INFO: call_cost end
[2025-03-10 06:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:51:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:51:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:51:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:51:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:51:16] Production.INFO: ==11403== Releasing lock...
[2025-03-10 06:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:51:17] Production.INFO: count ==82
[2025-03-10 06:51:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:51:05 - End Time 2025-03-10 06:51:05
[2025-03-10 06:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647799', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647799', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647799', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647799', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:51:17] Production.INFO: ProcessCDR(1,14647799,1,1,2)
[2025-03-10 06:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647799', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647799', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:51:20] Production.INFO: ==11411== Releasing lock...
[2025-03-10 06:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:51:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:52:01] Production.INFO: ==11468== Lock acquired, processing the job...
[2025-03-10 10:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:52:01] Production.INFO: neon service started
[2025-03-10 10:52:01] Production.INFO: neon service started
[2025-03-10 10:52:01] Production.INFO: ==11468== Releasing lock...
[2025-03-10 10:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:52:01] Production.INFO: ==11471== Lock acquired, processing the job...
[2025-03-10 06:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:52:02] Production.INFO: ==11471== Releasing lock...
[2025-03-10 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:52:02] Production.INFO: ==11473== Lock acquired, processing the job...
[2025-03-10 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:52:02] Production.INFO: ==11473== Releasing lock...
[2025-03-10 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:52:03] Production.INFO: ==11475== Lock acquired, processing the job...
[2025-03-10 06:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:52:03] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-03-10 06:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:52:03] Production.INFO: ==11479== Lock acquired, processing the job...
[2025-03-10 06:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:52:03] Production.INFO: ==11483== Lock acquired, processing the job...
[2025-03-10 06:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:52:03] Production.INFO: ==11481== Lock acquired, processing the job...
[2025-03-10 06:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:52:03] Production.INFO: Account Balance Start.
[2025-03-10 06:52:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:52:03] Production.INFO: 117
[2025-03-10 06:52:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:52:03] Production.INFO: ==11485== Lock acquired, processing the job...
[2025-03-10 06:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:52:03] Production.INFO: ==11477== Releasing lock...
[2025-03-10 06:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:52:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:52:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:52:03] Production.INFO: Total Charge 0
[2025-03-10 06:52:03] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 06:52:03] Production.INFO: count ==13
[2025-03-10 06:52:03] Production.ERROR: done
[2025-03-10 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-03-10 06:52:03] Production.INFO: count ==21
[2025-03-10 06:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647803') start
[2025-03-10 06:52:04] Production.INFO: Account Balance End.
[2025-03-10 06:52:04] Production.ERROR: done
[2025-03-10 06:52:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:52:04] Production.INFO: ==11481== Releasing lock...
[2025-03-10 06:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647803') end
[2025-03-10 06:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:52:04] Production.INFO: 1
[2025-03-10 06:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:52:04] Production.INFO: ==11485== Releasing lock...
[2025-03-10 06:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:52:05
[end_date_ymd] => 2025-03-10 06:52:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:52:05' and `end` < '2025-03-10 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-03-10 06:52:11] Production.ERROR: CronJobId end10
[2025-03-10 06:52:11] Production.INFO: ==11479== Releasing lock...
[2025-03-10 06:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:52:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:52:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:52:14] Production.INFO: call_cost start
[2025-03-10 06:52:14] Production.INFO: call_cost end
[2025-03-10 06:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:52:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:52:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:52:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:52:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:52:15] Production.INFO: ==11475== Releasing lock...
[2025-03-10 06:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:52:17] Production.INFO: count ==82
[2025-03-10 06:52:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:52:05 - End Time 2025-03-10 06:52:05
[2025-03-10 06:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647804', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647804', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647804', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647804', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:52:17] Production.INFO: ProcessCDR(1,14647804,1,1,2)
[2025-03-10 06:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647804', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647804', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:52:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:52:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:52:20] Production.INFO: ==11483== Releasing lock...
[2025-03-10 06:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:52:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:53:02] Production.INFO: ==11560== Lock acquired, processing the job...
[2025-03-10 10:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:53:02] Production.INFO: neon service started
[2025-03-10 10:53:02] Production.INFO: neon service started
[2025-03-10 10:53:02] Production.INFO: ==11560== Releasing lock...
[2025-03-10 10:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:53:02] Production.INFO: ==11564== Lock acquired, processing the job...
[2025-03-10 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:53:02] Production.INFO: ==11564== Releasing lock...
[2025-03-10 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:53:02] Production.INFO: ==11562== Lock acquired, processing the job...
[2025-03-10 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:53:02] Production.INFO: ==11562== Releasing lock...
[2025-03-10 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:53:03] Production.INFO: ==11567== Lock acquired, processing the job...
[2025-03-10 06:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:53:03] Production.INFO: ==11569== Lock acquired, processing the job...
[2025-03-10 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:53:03] Production.INFO: ==11575== Lock acquired, processing the job...
[2025-03-10 06:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:53:03] Production.INFO: ==11571== Lock acquired, processing the job...
[2025-03-10 06:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:53:04] Production.INFO: ==11573== Lock acquired, processing the job...
[2025-03-10 06:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:53:04] Production.INFO: ==11569== Releasing lock...
[2025-03-10 06:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:53:04] Production.INFO: ==11577== Lock acquired, processing the job...
[2025-03-10 06:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:53:04] Production.INFO: Account Balance Start.
[2025-03-10 06:53:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:53:04] Production.INFO: 117
[2025-03-10 06:53:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:53:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:53:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 06:53:04] Production.INFO: CreateAllLog End
[2025-03-10 06:53:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:53:04] Production.ERROR: done
[2025-03-10 06:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:53:04] Production.INFO: count ==21
[2025-03-10 06:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647808') start
[2025-03-10 06:53:04] Production.INFO: Account Balance End.
[2025-03-10 06:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647808') end
[2025-03-10 06:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:53:04] Production.INFO: 1
[2025-03-10 06:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:53:04] Production.INFO: ==11577== Releasing lock...
[2025-03-10 06:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:53:04] Production.INFO: ==11573== Releasing lock...
[2025-03-10 06:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:53:04] Production.ERROR: done
[2025-03-10 06:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:53:05
[end_date_ymd] => 2025-03-10 06:53:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:53:05' and `end` < '2025-03-10 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-03-10 06:53:12] Production.ERROR: CronJobId end10
[2025-03-10 06:53:12] Production.INFO: ==11571== Releasing lock...
[2025-03-10 06:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:53:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:53:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:53:15] Production.INFO: call_cost start
[2025-03-10 06:53:15] Production.INFO: call_cost end
[2025-03-10 06:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:53:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:53:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:53:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:53:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:53:15] Production.INFO: ==11567== Releasing lock...
[2025-03-10 06:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:53:17] Production.INFO: count ==82
[2025-03-10 06:53:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:53:05 - End Time 2025-03-10 06:53:05
[2025-03-10 06:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647809', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647809', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647809', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647809', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:53:17] Production.INFO: ProcessCDR(1,14647809,1,1,2)
[2025-03-10 06:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647809', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647809', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:53:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:53:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:53:20] Production.INFO: ==11575== Releasing lock...
[2025-03-10 06:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:53:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:54:01] Production.INFO: ==11674== Lock acquired, processing the job...
[2025-03-10 10:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:54:01] Production.INFO: neon service started
[2025-03-10 10:54:01] Production.INFO: neon service started
[2025-03-10 10:54:01] Production.INFO: ==11674== Releasing lock...
[2025-03-10 10:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:54:02] Production.INFO: ==11676== Lock acquired, processing the job...
[2025-03-10 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:54:02] Production.INFO: ==11678== Lock acquired, processing the job...
[2025-03-10 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:54:02] Production.INFO: ==11678== Releasing lock...
[2025-03-10 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:54:02] Production.INFO: ==11676== Releasing lock...
[2025-03-10 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:54:03] Production.INFO: ==11687== Lock acquired, processing the job...
[2025-03-10 06:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:54:03] Production.INFO: ==11681== Lock acquired, processing the job...
[2025-03-10 06:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:54:03] Production.INFO: Account Balance Start.
[2025-03-10 06:54:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:54:03] Production.INFO: 117
[2025-03-10 06:54:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:54:03] Production.INFO: ==11691== Lock acquired, processing the job...
[2025-03-10 06:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:54:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:54:03] Production.INFO: ==11683== Lock acquired, processing the job...
[2025-03-10 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:54:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:54:03] Production.INFO: ==11685== Lock acquired, processing the job...
[2025-03-10 06:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:54:03] Production.INFO: Total Charge 0
[2025-03-10 06:54:03] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 06:54:03] Production.INFO: ==11689== Lock acquired, processing the job...
[2025-03-10 06:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:54:03] Production.INFO: count ==13
[2025-03-10 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-03-10 06:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:54:03] Production.INFO: count ==21
[2025-03-10 06:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647812') start
[2025-03-10 06:54:03] Production.INFO: Account Balance End.
[2025-03-10 06:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:54:04] Production.INFO: ==11687== Releasing lock...
[2025-03-10 06:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:54:04] Production.INFO: ==11683== Releasing lock...
[2025-03-10 06:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647812') end
[2025-03-10 06:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:54:04] Production.INFO: 1
[2025-03-10 06:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:54:04] Production.ERROR: done
[2025-03-10 06:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:54:04] Production.INFO: ==11691== Releasing lock...
[2025-03-10 06:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:54:04] Production.ERROR: done
[2025-03-10 06:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:54:05
[end_date_ymd] => 2025-03-10 06:54:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:54:05' and `end` < '2025-03-10 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-03-10 06:54:11] Production.ERROR: CronJobId end10
[2025-03-10 06:54:11] Production.INFO: ==11685== Releasing lock...
[2025-03-10 06:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:54:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:54:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:54:14] Production.INFO: call_cost start
[2025-03-10 06:54:14] Production.INFO: call_cost end
[2025-03-10 06:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:54:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:54:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:54:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:54:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:54:15] Production.INFO: ==11681== Releasing lock...
[2025-03-10 06:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:54:17] Production.INFO: count ==83
[2025-03-10 06:54:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:54:05 - End Time 2025-03-10 06:54:05
[2025-03-10 06:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647814', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647814', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647814', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647814', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:54:17] Production.INFO: ProcessCDR(1,14647814,1,1,2)
[2025-03-10 06:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647814', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647814', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:54:21] Production.INFO: ==11689== Releasing lock...
[2025-03-10 06:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:54:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:55:02] Production.INFO: ==11765== Lock acquired, processing the job...
[2025-03-10 10:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:55:02] Production.INFO: neon service started
[2025-03-10 10:55:02] Production.INFO: neon service started
[2025-03-10 10:55:02] Production.INFO: ==11765== Releasing lock...
[2025-03-10 10:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:55:02] Production.INFO: ==11769== Lock acquired, processing the job...
[2025-03-10 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:55:02] Production.INFO: ==11769== Releasing lock...
[2025-03-10 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:55:02] Production.INFO: ==11767== Lock acquired, processing the job...
[2025-03-10 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:55:03] Production.INFO: ==11767== Releasing lock...
[2025-03-10 06:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:55:03] Production.INFO: ==11772== Lock acquired, processing the job...
[2025-03-10 06:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:55:03] Production.INFO: ==11774== Lock acquired, processing the job...
[2025-03-10 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:55:03] Production.INFO: ==11776== Lock acquired, processing the job...
[2025-03-10 06:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:55:04] Production.INFO: ==11778== Lock acquired, processing the job...
[2025-03-10 06:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:55:04] Production.INFO: ==11780== Lock acquired, processing the job...
[2025-03-10 06:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:55:04] Production.INFO: ==11782== Lock acquired, processing the job...
[2025-03-10 06:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:55:04] Production.INFO: Account Balance Start.
[2025-03-10 06:55:04] Production.INFO: CreateAllLog Start
[2025-03-10 06:55:04] Production.INFO: 117
[2025-03-10 06:55:04] Production.INFO: ==11774== Releasing lock...
[2025-03-10 06:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:55:04] Production.INFO: Date 2025-03-08
[2025-03-10 06:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 06:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 06:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:55:04] Production.INFO: count ==13
[2025-03-10 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-03-10 06:55:04] Production.INFO: count ==21
[2025-03-10 06:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647818') start
[2025-03-10 06:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 06:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 06:55:04] Production.INFO: Total Charge 0
[2025-03-10 06:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647818') end
[2025-03-10 06:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:55:04] Production.INFO: 1
[2025-03-10 06:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:55:04] Production.INFO: CreateAllLog End
[2025-03-10 06:55:04] Production.INFO: ==11782== Releasing lock...
[2025-03-10 06:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:55:04] Production.ERROR: done
[2025-03-10 06:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:55:05] Production.ERROR: done
[2025-03-10 06:55:05] Production.INFO: Account Balance End.
[2025-03-10 06:55:05] Production.ERROR: CronJobId end 12
[2025-03-10 06:55:05] Production.INFO: ==11778== Releasing lock...
[2025-03-10 06:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:55:06
[end_date_ymd] => 2025-03-10 06:55:06
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:55:06' and `end` < '2025-03-10 06: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-03-10 06:55:13] Production.ERROR: CronJobId end10
[2025-03-10 06:55:13] Production.INFO: ==11776== Releasing lock...
[2025-03-10 06:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:55:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:55:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:55:14] Production.INFO: call_cost start
[2025-03-10 06:55:14] Production.INFO: call_cost end
[2025-03-10 06:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:55:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:55:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:55:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:55:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:55:15] Production.INFO: ==11772== Releasing lock...
[2025-03-10 06:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:55:18] Production.INFO: count ==83
[2025-03-10 06:55:18] Production.ERROR: pbx CDR StartTime 2025-03-10 03:55:06 - End Time 2025-03-10 06:55:06
[2025-03-10 06:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647819', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647819', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647819', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647819', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:55:18] Production.INFO: ProcessCDR(1,14647819,1,1,2)
[2025-03-10 06:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647819', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647819', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:55:21] Production.INFO: ==11780== Releasing lock...
[2025-03-10 06:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:56:01] Production.INFO: ==11837== Lock acquired, processing the job...
[2025-03-10 10:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:56:01] Production.INFO: neon service started
[2025-03-10 10:56:01] Production.INFO: neon service started
[2025-03-10 10:56:01] Production.INFO: ==11837== Releasing lock...
[2025-03-10 10:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:56:01] Production.INFO: ==11839== Lock acquired, processing the job...
[2025-03-10 06:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:56:02] Production.INFO: ==11839== Releasing lock...
[2025-03-10 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:56:02] Production.INFO: ==11841== Lock acquired, processing the job...
[2025-03-10 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:56:02] Production.INFO: ==11841== Releasing lock...
[2025-03-10 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:56:03] Production.INFO: ==11851== Lock acquired, processing the job...
[2025-03-10 06:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:56:03] Production.INFO: ==11843== Lock acquired, processing the job...
[2025-03-10 06:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:56:03] Production.INFO: ==11845== Lock acquired, processing the job...
[2025-03-10 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:56:03] Production.INFO: ==11853== Lock acquired, processing the job...
[2025-03-10 06:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:56:03] Production.INFO: ==11847== Lock acquired, processing the job...
[2025-03-10 06:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:56:03] Production.INFO: ==11849== Lock acquired, processing the job...
[2025-03-10 06:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 06:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:56:03] Production.INFO: Account Balance Start.
[2025-03-10 06:56:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:56:03] Production.INFO: 117
[2025-03-10 06:56:03] Production.INFO: count ==13
[2025-03-10 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-03-10 06:56:03] Production.INFO: count ==21
[2025-03-10 06:56:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647822') start
[2025-03-10 06:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:56:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:56:03] Production.ERROR: done
[2025-03-10 06:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647822') end
[2025-03-10 06:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:56:03] Production.INFO: 1
[2025-03-10 06:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:56:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:56:03] Production.INFO: Total Charge 0
[2025-03-10 06:56:03] Production.INFO: CreateAllLog End
[2025-03-10 06:56:03] Production.INFO: ==11845== Releasing lock...
[2025-03-10 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:56:03] Production.INFO: ==11853== Releasing lock...
[2025-03-10 06:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:56:03] Production.ERROR: done
[2025-03-10 06:56:04] Production.INFO: Account Balance End.
[2025-03-10 06:56:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:56:04] Production.INFO: ==11849== Releasing lock...
[2025-03-10 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:56:04
[end_date_ymd] => 2025-03-10 06:56:04
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:56:04' and `end` < '2025-03-10 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-03-10 06:56:10] Production.ERROR: CronJobId end10
[2025-03-10 06:56:10] Production.INFO: ==11847== Releasing lock...
[2025-03-10 06:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:56:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:56:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:56:14] Production.INFO: call_cost start
[2025-03-10 06:56:14] Production.INFO: call_cost end
[2025-03-10 06:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:56:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:56:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:56:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:56:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:56:15] Production.INFO: ==11843== Releasing lock...
[2025-03-10 06:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:56:17] Production.INFO: count ==83
[2025-03-10 06:56:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:56:04 - End Time 2025-03-10 06:56:04
[2025-03-10 06:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647824', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647824', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647824', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647824', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:56:17] Production.INFO: ProcessCDR(1,14647824,1,1,2)
[2025-03-10 06:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647824', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647824', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:56:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:56:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:56:20] Production.INFO: ==11851== Releasing lock...
[2025-03-10 06:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:56:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:57:01] Production.INFO: ==11909== Lock acquired, processing the job...
[2025-03-10 10:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:57:01] Production.INFO: neon service started
[2025-03-10 10:57:01] Production.INFO: neon service started
[2025-03-10 10:57:01] Production.INFO: ==11909== Releasing lock...
[2025-03-10 10:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:57:02] Production.INFO: ==11911== Lock acquired, processing the job...
[2025-03-10 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:57:02] Production.INFO: ==11911== Releasing lock...
[2025-03-10 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:57:02] Production.INFO: ==11913== Lock acquired, processing the job...
[2025-03-10 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:57:02] Production.INFO: ==11913== Releasing lock...
[2025-03-10 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:57:03] Production.INFO: ==11915== Lock acquired, processing the job...
[2025-03-10 06:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:57:03] Production.INFO: ==11917== Lock acquired, processing the job...
[2025-03-10 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:57:03] Production.INFO: ==11921== Lock acquired, processing the job...
[2025-03-10 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:57:03] Production.INFO: ==11919== Lock acquired, processing the job...
[2025-03-10 06:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:57:03] Production.INFO: Account Balance Start.
[2025-03-10 06:57:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:57:03] Production.INFO: 117
[2025-03-10 06:57:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:57:03] Production.INFO: ==11925== Lock acquired, processing the job...
[2025-03-10 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:57:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 06: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-03-10 06:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:57:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:57:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:57:03] Production.INFO: count ==21
[2025-03-10 06:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647828') start
[2025-03-10 06:57:03] Production.INFO: ==11923== Lock acquired, processing the job...
[2025-03-10 06:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:57:03] Production.INFO: Total Charge 0
[2025-03-10 06:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:57:03] Production.INFO: CreateAllLog End
[2025-03-10 06:57:03] Production.INFO: ==11917== Releasing lock...
[2025-03-10 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647828') end
[2025-03-10 06:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:57:04] Production.INFO: 1
[2025-03-10 06:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:57:04] Production.INFO: Account Balance End.
[2025-03-10 06:57:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:57:04] Production.INFO: ==11925== Releasing lock...
[2025-03-10 06:57:04] Production.INFO: ==11921== Releasing lock...
[2025-03-10 06:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:57:04] Production.ERROR: done
[2025-03-10 06:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:57:04] Production.ERROR: done
[2025-03-10 06:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:57:05
[end_date_ymd] => 2025-03-10 06:57:05
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:57:05' and `end` < '2025-03-10 06: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-03-10 06:57:11] Production.ERROR: CronJobId end10
[2025-03-10 06:57:11] Production.INFO: ==11919== Releasing lock...
[2025-03-10 06:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:57:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:57:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:57:13] Production.INFO: call_cost start
[2025-03-10 06:57:13] Production.INFO: call_cost end
[2025-03-10 06:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:57:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:57:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:57:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:57:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:57:14] Production.INFO: ==11915== Releasing lock...
[2025-03-10 06:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:57:17] Production.INFO: count ==83
[2025-03-10 06:57:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:57:05 - End Time 2025-03-10 06:57:05
[2025-03-10 06:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647829', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647829', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647829', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647829', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:57:17] Production.INFO: ProcessCDR(1,14647829,1,1,2)
[2025-03-10 06:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647829', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647829', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:57:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:57:20] Production.INFO: ==11923== Releasing lock...
[2025-03-10 06:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:57:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:58:01] Production.INFO: ==11979== Lock acquired, processing the job...
[2025-03-10 10:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:58:01] Production.INFO: neon service started
[2025-03-10 10:58:01] Production.INFO: neon service started
[2025-03-10 10:58:01] Production.INFO: ==11979== Releasing lock...
[2025-03-10 10:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:58:01] Production.INFO: ==11983== Lock acquired, processing the job...
[2025-03-10 10:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:58:01] Production.INFO: ==11983== Releasing lock...
[2025-03-10 10:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:58:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:58:01] Production.INFO: ==11981== Lock acquired, processing the job...
[2025-03-10 06:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:58:02] Production.INFO: ==11981== Releasing lock...
[2025-03-10 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 06:58:02] Production.INFO: ==11988== Lock acquired, processing the job...
[2025-03-10 06:58:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:58:03] Production.INFO: ==11990== Lock acquired, processing the job...
[2025-03-10 06:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06:58:03] Production.INFO: ==11996== Lock acquired, processing the job...
[2025-03-10 06:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:58:03] Production.INFO: ==11988== Releasing lock...
[2025-03-10 06:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:58:03] Production.INFO: ==11986== Lock acquired, processing the job...
[2025-03-10 06:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 06:58:03] Production.INFO: ==11992== Lock acquired, processing the job...
[2025-03-10 06:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:58:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:58:03] Production.INFO: count ==21
[2025-03-10 06:58:03] Production.INFO: ==11994== Lock acquired, processing the job...
[2025-03-10 06:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647831') start
[2025-03-10 06:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647831') end
[2025-03-10 06:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:58:03] Production.INFO: 1
[2025-03-10 06:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:58:03] Production.INFO: Account Balance Start.
[2025-03-10 06:58:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:58:03] Production.INFO: 117
[2025-03-10 06:58:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:58:03] Production.INFO: ==11996== Releasing lock...
[2025-03-10 06:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:58:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:58:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:58:03] Production.INFO: Total Charge 0
[2025-03-10 06:58:03] Production.INFO: CreateAllLog End
[2025-03-10 06:58:03] Production.ERROR: done
[2025-03-10 06:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:58:04] Production.ERROR: done
[2025-03-10 06:58:04] Production.INFO: Account Balance End.
[2025-03-10 06:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:58:04] Production.INFO: ==11992== Releasing lock...
[2025-03-10 06:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:58:04
[end_date_ymd] => 2025-03-10 06:58:04
[RateCDR] => 1
)
[2025-03-10 06: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-03-10 03:58:04' and `end` < '2025-03-10 06: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-03-10 06:58:10] Production.ERROR: CronJobId end10
[2025-03-10 06:58:10] Production.INFO: ==11990== Releasing lock...
[2025-03-10 06:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:58:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:58:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:58:13] Production.INFO: call_cost start
[2025-03-10 06:58:13] Production.INFO: call_cost end
[2025-03-10 06:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:58:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:58:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:58:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:58:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:58:14] Production.INFO: ==11986== Releasing lock...
[2025-03-10 06:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:58:16] Production.INFO: count ==83
[2025-03-10 06:58:16] Production.ERROR: pbx CDR StartTime 2025-03-10 03:58:04 - End Time 2025-03-10 06:58:04
[2025-03-10 06:58:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:58:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647834', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:58:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647834', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:58:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647834', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:58:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647834', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:58:16] Production.INFO: ProcessCDR(1,14647834,1,1,2)
[2025-03-10 06:58:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647834', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647834', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:58:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:58:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:58:20] Production.INFO: ==11994== Releasing lock...
[2025-03-10 06:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:58:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 10:59:01] Production.INFO: ==12052== Lock acquired, processing the job...
[2025-03-10 10:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 10:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 10:59:01] Production.INFO: neon service started
[2025-03-10 10:59:01] Production.INFO: neon service started
[2025-03-10 10:59:01] Production.INFO: ==12052== Releasing lock...
[2025-03-10 10:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 10:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 06:59:02] Production.INFO: ==12054== Lock acquired, processing the job...
[2025-03-10 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 06:59:02] Production.INFO: ==12054== Releasing lock...
[2025-03-10 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 06:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:59:02] Production.INFO: ==12056== Lock acquired, processing the job...
[2025-03-10 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:59:02] Production.INFO: ==12056== Releasing lock...
[2025-03-10 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 10:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 06:59:03] Production.INFO: ==12064== Lock acquired, processing the job...
[2025-03-10 06:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 06:59:03] Production.INFO: ==12058== Lock acquired, processing the job...
[2025-03-10 06:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 06:59:03] Production.INFO: Account Balance Start.
[2025-03-10 06:59:03] Production.INFO: CreateAllLog Start
[2025-03-10 06:59:03] Production.INFO: 117
[2025-03-10 06:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 06:59:03] Production.INFO: Date 2025-03-08
[2025-03-10 06:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:59:03] Production.INFO: ==12060== Lock acquired, processing the job...
[2025-03-10 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 06:59:03] Production.INFO: ==12062== Lock acquired, processing the job...
[2025-03-10 06:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 06:59:03] Production.INFO: Date 2025-03-09
[2025-03-10 06:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:59:03] Production.INFO: ==12066== Lock acquired, processing the job...
[2025-03-10 06:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 06:59:03] Production.INFO: Date 2025-03-10
[2025-03-10 06:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 06:59:03] Production.INFO: ==12068== Lock acquired, processing the job...
[2025-03-10 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 06:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 06:59:03] Production.INFO: Total Charge 0
[2025-03-10 06:59:03] Production.INFO: CreateAllLog End
[2025-03-10 06:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 06:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 06:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 06:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 06: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-03-10 06:59:03] Production.INFO: count ==13
[2025-03-10 06: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-03-10 06:59:03] Production.INFO: count ==21
[2025-03-10 06:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647838') start
[2025-03-10 06:59:04] Production.INFO: ==12060== Releasing lock...
[2025-03-10 06:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 06:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 06:59:04] Production.ERROR: done
[2025-03-10 06:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 06:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647838') end
[2025-03-10 06:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 06:59:04] Production.INFO: 1
[2025-03-10 06:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 06:59:04] Production.INFO: ==12068== Releasing lock...
[2025-03-10 06:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 06:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 06:59:04] Production.ERROR: done
[2025-03-10 06:59:04] Production.INFO: Account Balance End.
[2025-03-10 06:59:04] Production.ERROR: CronJobId end 12
[2025-03-10 06:59:04] Production.INFO: ==12064== Releasing lock...
[2025-03-10 06:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 06:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 06:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 03:59:05
[end_date_ymd] => 2025-03-10 06:59:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 03:59:05' and `end` < '2025-03-10 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-03-10 06:59:11] Production.ERROR: CronJobId end10
[2025-03-10 06:59:11] Production.INFO: ==12062== Releasing lock...
[2025-03-10 06:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 06:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 06:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 06:59:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 06:59:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 06:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 06:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 06:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 06:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 06:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 06:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 06:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 06:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 06:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 06:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 06:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 06:59:14] Production.INFO: call_cost start
[2025-03-10 06:59:14] Production.INFO: call_cost end
[2025-03-10 06:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 06:59:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 06:59:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 06:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 06:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 06:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 06:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 06:59:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 06:59:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 06:59:15] Production.INFO: ==12058== Releasing lock...
[2025-03-10 06:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 06:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 06:59:17] Production.INFO: count ==79
[2025-03-10 06:59:17] Production.ERROR: pbx CDR StartTime 2025-03-10 03:59:05 - End Time 2025-03-10 06:59:05
[2025-03-10 06:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647839', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647839', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647839', 'tblTempVendorCDR_20' ) start
[2025-03-10 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647839', 'tblTempVendorCDR_20' ) end
[2025-03-10 06:59:17] Production.INFO: ProcessCDR(1,14647839,1,1,2)
[2025-03-10 06:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 06:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 06:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647839', 'tblTempUsageDetail_20' ) start
[2025-03-10 06:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647839', 'tblTempUsageDetail_20' ) end
[2025-03-10 06:59:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 06:59:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 06:59:20] Production.INFO: ==12066== Releasing lock...
[2025-03-10 06:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 06:59:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:00:02] Production.INFO: ==12129== Lock acquired, processing the job...
[2025-03-10 11:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:00:02] Production.INFO: neon service started
[2025-03-10 11:00:02] Production.INFO: neon service started
[2025-03-10 11:00:02] Production.INFO: ==12129== Releasing lock...
[2025-03-10 11:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:00:02] Production.INFO: ==12131== Lock acquired, processing the job...
[2025-03-10 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:00:02] Production.INFO: ==12131== Releasing lock...
[2025-03-10 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:00:03] Production.INFO: ==12133== Lock acquired, processing the job...
[2025-03-10 11:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:00:03] Production.INFO: ==12133== Releasing lock...
[2025-03-10 11:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:00:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:00:04] Production.INFO: ==12138== Lock acquired, processing the job...
[2025-03-10 07:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:00:04] Production.INFO: ==12146== Lock acquired, processing the job...
[2025-03-10 07:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:00:04] Production.INFO: ==12144== Lock acquired, processing the job...
[2025-03-10 07:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:00:04] Production.INFO: ==12136== Lock acquired, processing the job...
[2025-03-10 07:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 07:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:00:04] Production.INFO: Account Balance Start.
[2025-03-10 07:00:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:00:04] Production.INFO: 117
[2025-03-10 07:00:04] Production.INFO: ==12140== Lock acquired, processing the job...
[2025-03-10 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 07:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:00:04] Production.ERROR: CronJob PID - 12138
[2025-03-10 07:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 07:00:04] Production.ERROR: CronJob ID - 5
[2025-03-10 07:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 07:00:00
[2025-03-10 07:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:00:04] Production.ERROR: CronJob PID - 12144
[2025-03-10 07:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 07:00:04] Production.ERROR: CronJob ID - 12
[2025-03-10 07:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 07:00:00
[2025-03-10 07:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:00:04] Production.ERROR: CronJob PID - 12146
[2025-03-10 07:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 07:00:04] Production.ERROR: CronJob ID - 16
[2025-03-10 07:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 07:00:00
[2025-03-10 07:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:00:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:00:04] Production.INFO: ==12142== Lock acquired, processing the job...
[2025-03-10 07:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:00:04] Production.INFO: Total Charge 0
[2025-03-10 07:00:04] Production.INFO: CreateAllLog End
[2025-03-10 07:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 07:00:04] Production.INFO: ==12136== Releasing lock...
[2025-03-10 07:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 07:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 07:00:04] Production.INFO: ==12148== Lock acquired, processing the job...
[2025-03-10 07:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 07:00:04] Production.INFO: ==12150== Lock acquired, processing the job...
[2025-03-10 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:00:04] Production.ERROR: done
[2025-03-10 07:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:00:04] Production.INFO: ==12140== Releasing lock...
[2025-03-10 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07: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-03-10 07:00:05] Production.INFO: count ==13
[2025-03-10 07:00:05] Production.ERROR: done
[2025-03-10 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-03-10 07:00:05] Production.INFO: count ==21
[2025-03-10 07:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647843') start
[2025-03-10 07:00:05] Production.ERROR: done
[2025-03-10 07:00:05] Production.INFO: Account Balance End.
[2025-03-10 07:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 07:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647844', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 07:00:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:00:05] Production.INFO: ==12144== Releasing lock...
[2025-03-10 07:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647843') end
[2025-03-10 07:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:00:05] Production.INFO: 1
[2025-03-10 07:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:00:05] Production.INFO: ==12150== Releasing lock...
[2025-03-10 07:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:00:06
[end_date_ymd] => 2025-03-10 07:00:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:00:06' and `end` < '2025-03-10 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-03-10 07:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647844', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 07:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 07:00:09] Production.INFO: ProcessCDR(1,14647844,1,1,2)
[2025-03-10 07:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647844,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647844,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:00:09] Production.INFO: ==12148== Releasing lock...
[2025-03-10 07:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 07:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 07:00:15] Production.ERROR: CronJobId end10
[2025-03-10 07:00:15] Production.INFO: ==12142== Releasing lock...
[2025-03-10 07:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:00:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:00:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:00:17] Production.INFO: call_cost start
[2025-03-10 07:00:17] Production.INFO: call_cost end
[2025-03-10 07:00:18] Production.INFO: count ==87
[2025-03-10 07:00:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:00:06 - End Time 2025-03-10 07:00:06
[2025-03-10 07:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647845', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647845', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647845', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647845', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:00:18] Production.INFO: ProcessCDR(1,14647845,1,1,2)
[2025-03-10 07:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:00:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:00:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:00:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:00:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:00:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:00:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:00:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:00:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:00:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:00:19] Production.INFO: ==12138== Releasing lock...
[2025-03-10 07:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:00:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647845', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647845', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:00:22] Production.INFO: ==12146== Releasing lock...
[2025-03-10 07:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:00:22] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:01:01] Production.INFO: ==12287== Lock acquired, processing the job...
[2025-03-10 11:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:01:01] Production.INFO: neon service started
[2025-03-10 11:01:01] Production.INFO: neon service started
[2025-03-10 11:01:01] Production.INFO: ==12287== Releasing lock...
[2025-03-10 11:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:01:02] Production.INFO: ==12303== Lock acquired, processing the job...
[2025-03-10 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:01:02] Production.INFO: ==12303== Releasing lock...
[2025-03-10 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:01:02] Production.INFO: ==12301== Lock acquired, processing the job...
[2025-03-10 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:01:02] Production.INFO: ==12301== Releasing lock...
[2025-03-10 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:01:03] Production.INFO: ==12311== Lock acquired, processing the job...
[2025-03-10 07:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:01:03] Production.INFO: ==12309== Lock acquired, processing the job...
[2025-03-10 07:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:01:03] Production.INFO: Account Balance Start.
[2025-03-10 07:01:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:01:03] Production.INFO: 117
[2025-03-10 07:01:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:01:03] Production.INFO: ==12305== Lock acquired, processing the job...
[2025-03-10 07:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:01:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:01:03] Production.INFO: ==12307== Lock acquired, processing the job...
[2025-03-10 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:01:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:01:03] Production.INFO: Total Charge 0
[2025-03-10 07:01:03] Production.INFO: ==12313== Lock acquired, processing the job...
[2025-03-10 07:01:03] Production.INFO: CreateAllLog End
[2025-03-10 07:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:01:03] Production.INFO: ==12315== Lock acquired, processing the job...
[2025-03-10 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07: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-03-10 07:01:04] Production.INFO: Account Balance End.
[2025-03-10 07:01:04] Production.INFO: count ==13
[2025-03-10 07:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:01:04] Production.INFO: ==12311== Releasing lock...
[2025-03-10 07:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 07:01:04] Production.INFO: count ==21
[2025-03-10 07:01:04] Production.INFO: ==12307== Releasing lock...
[2025-03-10 07:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647849') start
[2025-03-10 07:01:04] Production.ERROR: done
[2025-03-10 07:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647849') end
[2025-03-10 07:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:01:04] Production.INFO: 1
[2025-03-10 07:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:01:04] Production.INFO: ==12315== Releasing lock...
[2025-03-10 07:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:01:04] Production.ERROR: done
[2025-03-10 07:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:01:05
[end_date_ymd] => 2025-03-10 07:01:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:01:05' and `end` < '2025-03-10 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-03-10 07:01:11] Production.ERROR: CronJobId end10
[2025-03-10 07:01:11] Production.INFO: ==12309== Releasing lock...
[2025-03-10 07:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:01:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:01:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:01:14] Production.INFO: call_cost start
[2025-03-10 07:01:14] Production.INFO: call_cost end
[2025-03-10 07:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:01:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:01:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:01:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:01:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:01:15] Production.INFO: ==12305== Releasing lock...
[2025-03-10 07:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:01:17] Production.INFO: count ==82
[2025-03-10 07:01:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:01:05 - End Time 2025-03-10 07:01:05
[2025-03-10 07:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647850', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647850', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647850', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647850', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:01:17] Production.INFO: ProcessCDR(1,14647850,1,1,2)
[2025-03-10 07:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647850', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647850', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:01:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:01:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:01:20] Production.INFO: ==12313== Releasing lock...
[2025-03-10 07:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:01:20] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:02:02] Production.INFO: ==12368== Lock acquired, processing the job...
[2025-03-10 11:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:02:02] Production.INFO: neon service started
[2025-03-10 11:02:02] Production.INFO: neon service started
[2025-03-10 11:02:02] Production.INFO: ==12368== Releasing lock...
[2025-03-10 11:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:02:02] Production.INFO: ==12372== Lock acquired, processing the job...
[2025-03-10 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:02:02] Production.INFO: ==12372== Releasing lock...
[2025-03-10 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:02:02] Production.INFO: ==12370== Lock acquired, processing the job...
[2025-03-10 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:02:03] Production.INFO: ==12370== Releasing lock...
[2025-03-10 07:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:02:03] Production.INFO: ==12375== Lock acquired, processing the job...
[2025-03-10 07:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:02:04] Production.INFO: ==12379== Lock acquired, processing the job...
[2025-03-10 07:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:02:04] Production.INFO: ==12383== Lock acquired, processing the job...
[2025-03-10 07:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:02:04] Production.INFO: ==12377== Lock acquired, processing the job...
[2025-03-10 07:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:02:04] Production.INFO: ==12381== Lock acquired, processing the job...
[2025-03-10 07:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:02:04] Production.INFO: ==12385== Lock acquired, processing the job...
[2025-03-10 07:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:02:04] Production.INFO: Account Balance Start.
[2025-03-10 07:02:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:02:04] Production.INFO: 117
[2025-03-10 07: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-03-10 07:02:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:02:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:02:04] Production.INFO: count ==21
[2025-03-10 07:02:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647854') start
[2025-03-10 07:02:04] Production.INFO: ==12377== Releasing lock...
[2025-03-10 07:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:02:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:02:04] Production.ERROR: done
[2025-03-10 07:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:02:04] Production.INFO: Total Charge 0
[2025-03-10 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647854') end
[2025-03-10 07:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:02:04] Production.INFO: 1
[2025-03-10 07:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:02:04] Production.INFO: CreateAllLog End
[2025-03-10 07:02:04] Production.INFO: ==12385== Releasing lock...
[2025-03-10 07:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:02:04] Production.ERROR: done
[2025-03-10 07:02:05] Production.INFO: Account Balance End.
[2025-03-10 07:02:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:02:05] Production.INFO: ==12381== Releasing lock...
[2025-03-10 07:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:02:06
[end_date_ymd] => 2025-03-10 07:02:06
[RateCDR] => 1
)
[2025-03-10 07:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 04:02:06' and `end` < '2025-03-10 07:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 07:02:13] Production.ERROR: CronJobId end10
[2025-03-10 07:02:13] Production.INFO: ==12379== Releasing lock...
[2025-03-10 07:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:02:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:02:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:02:16] Production.INFO: call_cost start
[2025-03-10 07:02:16] Production.INFO: call_cost end
[2025-03-10 07:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:02:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:02:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:02:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:02:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:02:17] Production.INFO: ==12375== Releasing lock...
[2025-03-10 07:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:02:18] Production.INFO: count ==82
[2025-03-10 07:02:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:02:06 - End Time 2025-03-10 07:02:06
[2025-03-10 07:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647855', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647855', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647855', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647855', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:02:18] Production.INFO: ProcessCDR(1,14647855,1,1,2)
[2025-03-10 07:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647855', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647855', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:02:22] Production.INFO: ==12383== Releasing lock...
[2025-03-10 07:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:02:22] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:03:01] Production.INFO: ==12443== Lock acquired, processing the job...
[2025-03-10 11:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:03:01] Production.INFO: neon service started
[2025-03-10 11:03:01] Production.INFO: neon service started
[2025-03-10 11:03:01] Production.INFO: ==12443== Releasing lock...
[2025-03-10 11:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:03:02] Production.INFO: ==12445== Lock acquired, processing the job...
[2025-03-10 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:03:02] Production.INFO: ==12445== Releasing lock...
[2025-03-10 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:03:02] Production.INFO: ==12447== Lock acquired, processing the job...
[2025-03-10 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:03:02] Production.INFO: ==12447== Releasing lock...
[2025-03-10 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:03:03] Production.INFO: ==12452== Lock acquired, processing the job...
[2025-03-10 07:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:03:03] Production.INFO: ==12454== Lock acquired, processing the job...
[2025-03-10 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:03:03] Production.INFO: ==12458== Lock acquired, processing the job...
[2025-03-10 07:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:03:03] Production.INFO: Account Balance Start.
[2025-03-10 07:03:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:03:03] Production.INFO: 117
[2025-03-10 07:03:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:03:03] Production.INFO: ==12454== Releasing lock...
[2025-03-10 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:03:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:03:03] Production.INFO: ==12456== Lock acquired, processing the job...
[2025-03-10 07:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:03:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:03:03] Production.INFO: ==12462== Lock acquired, processing the job...
[2025-03-10 07:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:03:03] Production.INFO: Total Charge 0
[2025-03-10 07:03:03] Production.INFO: CreateAllLog End
[2025-03-10 07:03:03] Production.INFO: ==12460== Lock acquired, processing the job...
[2025-03-10 07:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07: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-03-10 07:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:03:04] Production.INFO: count ==13
[2025-03-10 07:03:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 07:03:04] Production.INFO: count ==21
[2025-03-10 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647859') start
[2025-03-10 07:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:03:04] Production.INFO: ==12458== Releasing lock...
[2025-03-10 07:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647859') end
[2025-03-10 07:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:03:04] Production.INFO: 1
[2025-03-10 07:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:03:04] Production.INFO: ==12462== Releasing lock...
[2025-03-10 07:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:03:04] Production.ERROR: done
[2025-03-10 07:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:03:04] Production.ERROR: done
[2025-03-10 07:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:03:05
[end_date_ymd] => 2025-03-10 07:03:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:03:05' and `end` < '2025-03-10 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-03-10 07:03:13] Production.ERROR: CronJobId end10
[2025-03-10 07:03:13] Production.INFO: ==12456== Releasing lock...
[2025-03-10 07:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:03:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:03:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:03:15] Production.INFO: call_cost start
[2025-03-10 07:03:15] Production.INFO: call_cost end
[2025-03-10 07:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:03:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:03:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:03:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:03:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:03:16] Production.INFO: ==12452== Releasing lock...
[2025-03-10 07:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:03:19] Production.INFO: count ==82
[2025-03-10 07:03:19] Production.ERROR: pbx CDR StartTime 2025-03-10 04:03:05 - End Time 2025-03-10 07:03:05
[2025-03-10 07:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647860', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647860', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647860', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647860', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:03:19] Production.INFO: ProcessCDR(1,14647860,1,1,2)
[2025-03-10 07:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647860', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647860', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:03:23] Production.INFO: ==12460== Releasing lock...
[2025-03-10 07:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:03:23] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:04:02] Production.INFO: ==12517== Lock acquired, processing the job...
[2025-03-10 11:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:04:02] Production.INFO: neon service started
[2025-03-10 11:04:02] Production.INFO: neon service started
[2025-03-10 11:04:02] Production.INFO: ==12517== Releasing lock...
[2025-03-10 11:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:04:03] Production.INFO: ==12519== Lock acquired, processing the job...
[2025-03-10 07:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:04:03] Production.INFO: ==12521== Lock acquired, processing the job...
[2025-03-10 11:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:04:03] Production.INFO: ==12521== Releasing lock...
[2025-03-10 11:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:04:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:04:03] Production.INFO: ==12519== Releasing lock...
[2025-03-10 07:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:04:04] Production.INFO: ==12524== Lock acquired, processing the job...
[2025-03-10 07:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:04:04] Production.INFO: ==12526== Lock acquired, processing the job...
[2025-03-10 07:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:04:04] Production.INFO: ==12535== Lock acquired, processing the job...
[2025-03-10 07:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:04:04] Production.INFO: ==12528== Lock acquired, processing the job...
[2025-03-10 07:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07: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-03-10 07:04:04] Production.INFO: ==12530== Lock acquired, processing the job...
[2025-03-10 07:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:04:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:04:04] Production.INFO: count ==21
[2025-03-10 07:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647863') start
[2025-03-10 07:04:05] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:04:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:04:05] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:04:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:04:05] Production.INFO: ==12532== Lock acquired, processing the job...
[2025-03-10 07:04:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:04:05] Production.INFO: ==12526== Releasing lock...
[2025-03-10 07:04:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:04:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647863') end
[2025-03-10 07:04:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:04:05] Production.INFO: 1
[2025-03-10 07:04:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:04:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:04:05] Production.INFO: Account Balance Start.
[2025-03-10 07:04:05] Production.INFO: CreateAllLog Start
[2025-03-10 07:04:05] Production.INFO: 117
[2025-03-10 07:04:05] Production.INFO: Date 2025-03-08
[2025-03-10 07:04:05] Production.INFO: Reseller ==> 0
[2025-03-10 07:04:05] Production.INFO: Date 2025-03-09
[2025-03-10 07:04:05] Production.INFO: Reseller ==> 0
[2025-03-10 07:04:05] Production.INFO: Date 2025-03-10
[2025-03-10 07:04:05] Production.INFO: Reseller ==> 0
[2025-03-10 07:04:05] Production.INFO: ==12535== Releasing lock...
[2025-03-10 07:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:04:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:04:05] Production.INFO: Total Charge 0
[2025-03-10 07:04:05] Production.INFO: CreateAllLog End
[2025-03-10 07:04:05] Production.ERROR: done
[2025-03-10 07:04:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:04:05] Production.ERROR: done
[2025-03-10 07:04:05] Production.INFO: Account Balance End.
[2025-03-10 07:04:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:04:05] Production.INFO: ==12530== Releasing lock...
[2025-03-10 07:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:04:06
[end_date_ymd] => 2025-03-10 07:04:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:04:06' and `end` < '2025-03-10 07: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-03-10 07:04:13] Production.ERROR: CronJobId end10
[2025-03-10 07:04:13] Production.INFO: ==12528== Releasing lock...
[2025-03-10 07:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:04:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:04:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:04:16] Production.INFO: call_cost start
[2025-03-10 07:04:16] Production.INFO: call_cost end
[2025-03-10 07:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:04:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:04:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:04:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:04:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:04:17] Production.INFO: ==12524== Releasing lock...
[2025-03-10 07:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:04:19] Production.INFO: count ==82
[2025-03-10 07:04:19] Production.ERROR: pbx CDR StartTime 2025-03-10 04:04:06 - End Time 2025-03-10 07:04:06
[2025-03-10 07:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647865', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647865', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647865', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647865', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:04:19] Production.INFO: ProcessCDR(1,14647865,1,1,2)
[2025-03-10 07:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647865', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647865', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:04:22] Production.INFO: ==12532== Releasing lock...
[2025-03-10 07:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:04:22] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:05:01] Production.INFO: ==12668== Lock acquired, processing the job...
[2025-03-10 11:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:05:01] Production.INFO: neon service started
[2025-03-10 11:05:01] Production.INFO: neon service started
[2025-03-10 11:05:01] Production.INFO: ==12668== Releasing lock...
[2025-03-10 11:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:05:02] Production.INFO: ==12670== Lock acquired, processing the job...
[2025-03-10 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:05:02] Production.INFO: ==12672== Lock acquired, processing the job...
[2025-03-10 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:05:02] Production.INFO: ==12670== Releasing lock...
[2025-03-10 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:05:02] Production.INFO: ==12672== Releasing lock...
[2025-03-10 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:05:02] Production.INFO: 26 MB #Memory Used#
[2025-03-10 07:05:03] Production.INFO: ==12681== Lock acquired, processing the job...
[2025-03-10 07:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:05:03] Production.INFO: ==12674== Lock acquired, processing the job...
[2025-03-10 07:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:05:03] Production.INFO: ==12685== Lock acquired, processing the job...
[2025-03-10 07:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:05:03] Production.INFO: Account Balance Start.
[2025-03-10 07:05:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:05:03] Production.INFO: 117
[2025-03-10 07:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:05:03] Production.INFO: ==12676== Lock acquired, processing the job...
[2025-03-10 07:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:05:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:05:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 07:05:03] Production.INFO: ==12679== Lock acquired, processing the job...
[2025-03-10 07:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:05:03] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:05:04] Production.INFO: count ==21
[2025-03-10 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647868') start
[2025-03-10 07:05:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:05:04] Production.INFO: ==12683== Lock acquired, processing the job...
[2025-03-10 07:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:05:04] Production.INFO: Total Charge 0
[2025-03-10 07:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647868') end
[2025-03-10 07:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:05:04] Production.INFO: 1
[2025-03-10 07:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:05:04] Production.INFO: CreateAllLog End
[2025-03-10 07:05:04] Production.INFO: ==12685== Releasing lock...
[2025-03-10 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:05:04] Production.INFO: ==12676== Releasing lock...
[2025-03-10 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:05:04] Production.ERROR: done
[2025-03-10 07:05:04] Production.INFO: Account Balance End.
[2025-03-10 07:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:05:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:05:04] Production.INFO: ==12681== Releasing lock...
[2025-03-10 07:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:05:04] Production.ERROR: done
[2025-03-10 07:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:05:05
[end_date_ymd] => 2025-03-10 07:05:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:05:05' and `end` < '2025-03-10 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-03-10 07:05:13] Production.ERROR: CronJobId end10
[2025-03-10 07:05:13] Production.INFO: ==12679== Releasing lock...
[2025-03-10 07:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:05:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:05:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:05:16] Production.INFO: call_cost start
[2025-03-10 07:05:16] Production.INFO: call_cost end
[2025-03-10 07:05:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:05:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:05:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:05:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:05:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:05:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:05:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:05:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:05:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:05:17] Production.INFO: ==12674== Releasing lock...
[2025-03-10 07:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:05:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:05:18] Production.INFO: count ==82
[2025-03-10 07:05:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:05:05 - End Time 2025-03-10 07:05:05
[2025-03-10 07:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647870', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647870', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647870', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647870', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:05:18] Production.INFO: ProcessCDR(1,14647870,1,1,2)
[2025-03-10 07:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647870', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647870', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:05:21] Production.INFO: ==12683== Releasing lock...
[2025-03-10 07:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:05:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:06:01] Production.INFO: ==12778== Lock acquired, processing the job...
[2025-03-10 11:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:06:01] Production.INFO: neon service started
[2025-03-10 11:06:01] Production.INFO: neon service started
[2025-03-10 11:06:01] Production.INFO: ==12778== Releasing lock...
[2025-03-10 11:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:06:02] Production.INFO: ==12780== Lock acquired, processing the job...
[2025-03-10 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:06:02] Production.INFO: ==12782== Lock acquired, processing the job...
[2025-03-10 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:06:02] Production.INFO: ==12782== Releasing lock...
[2025-03-10 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:06:02] Production.INFO: ==12780== Releasing lock...
[2025-03-10 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:06:03] Production.INFO: ==12787== Lock acquired, processing the job...
[2025-03-10 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:06:03] Production.INFO: ==12791== Lock acquired, processing the job...
[2025-03-10 07:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:06:03] Production.INFO: ==12785== Lock acquired, processing the job...
[2025-03-10 07:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:06:03] Production.INFO: Account Balance Start.
[2025-03-10 07:06:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:06:03] Production.INFO: 117
[2025-03-10 07:06:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:06:03] Production.INFO: ==12787== Releasing lock...
[2025-03-10 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:06:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:06:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:06:03] Production.INFO: ==12789== Lock acquired, processing the job...
[2025-03-10 07:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:06:04] Production.INFO: Total Charge 0
[2025-03-10 07:06:04] Production.INFO: CreateAllLog End
[2025-03-10 07:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:06:04] Production.INFO: ==12793== Lock acquired, processing the job...
[2025-03-10 07:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:06:04] Production.INFO: Account Balance End.
[2025-03-10 07:06:04] Production.INFO: ==12795== Lock acquired, processing the job...
[2025-03-10 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:06:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:06:04] Production.INFO: ==12791== Releasing lock...
[2025-03-10 07:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 07:06:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:06:04] Production.INFO: count ==21
[2025-03-10 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647874') start
[2025-03-10 07:06:04] Production.ERROR: done
[2025-03-10 07:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647874') end
[2025-03-10 07:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:06:04] Production.INFO: 1
[2025-03-10 07:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:06:04] Production.INFO: ==12795== Releasing lock...
[2025-03-10 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:06:04] Production.ERROR: done
[2025-03-10 07:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:06:06
[end_date_ymd] => 2025-03-10 07:06:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:06:06' and `end` < '2025-03-10 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-03-10 07:06:13] Production.ERROR: CronJobId end10
[2025-03-10 07:06:13] Production.INFO: ==12789== Releasing lock...
[2025-03-10 07:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:06:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:06:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:06:15] Production.INFO: call_cost start
[2025-03-10 07:06:15] Production.INFO: call_cost end
[2025-03-10 07:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:06:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:06:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:06:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:06:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:06:16] Production.INFO: ==12785== Releasing lock...
[2025-03-10 07:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:06:18] Production.INFO: count ==82
[2025-03-10 07:06:19] Production.ERROR: pbx CDR StartTime 2025-03-10 04:06:06 - End Time 2025-03-10 07:06:06
[2025-03-10 07:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647875', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647875', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647875', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647875', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:06:19] Production.INFO: ProcessCDR(1,14647875,1,1,2)
[2025-03-10 07:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647875', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647875', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:06:22] Production.INFO: ==12793== Releasing lock...
[2025-03-10 07:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:06:22] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:07:01] Production.INFO: ==12847== Lock acquired, processing the job...
[2025-03-10 11:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:07:01] Production.INFO: neon service started
[2025-03-10 11:07:01] Production.INFO: neon service started
[2025-03-10 11:07:01] Production.INFO: ==12847== Releasing lock...
[2025-03-10 11:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:07:02] Production.INFO: ==12849== Lock acquired, processing the job...
[2025-03-10 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:07:02] Production.INFO: ==12851== Lock acquired, processing the job...
[2025-03-10 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:07:02] Production.INFO: ==12851== Releasing lock...
[2025-03-10 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:07:03] Production.INFO: ==12849== Releasing lock...
[2025-03-10 07:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:07:03] Production.INFO: ==12856== Lock acquired, processing the job...
[2025-03-10 07:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:07:04] Production.INFO: ==12866== Lock acquired, processing the job...
[2025-03-10 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07: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-03-10 07:07:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:07:04] Production.INFO: count ==21
[2025-03-10 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647876') start
[2025-03-10 07:07:04] Production.INFO: ==12858== Lock acquired, processing the job...
[2025-03-10 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:07:04] Production.INFO: ==12860== Lock acquired, processing the job...
[2025-03-10 07:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:07:04] Production.INFO: ==12862== Lock acquired, processing the job...
[2025-03-10 07:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:07:04] Production.INFO: ==12864== Lock acquired, processing the job...
[2025-03-10 07:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647876') end
[2025-03-10 07:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:07:04] Production.INFO: 1
[2025-03-10 07:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:07:04] Production.INFO: ==12866== Releasing lock...
[2025-03-10 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:07:04] Production.INFO: Account Balance Start.
[2025-03-10 07:07:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:07:04] Production.INFO: 117
[2025-03-10 07:07:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:07:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:07:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:07:04] Production.INFO: Total Charge 0
[2025-03-10 07:07:04] Production.INFO: CreateAllLog End
[2025-03-10 07:07:04] Production.ERROR: done
[2025-03-10 07:07:04] Production.INFO: ==12858== Releasing lock...
[2025-03-10 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:07:04] Production.INFO: Account Balance End.
[2025-03-10 07:07:04] Production.ERROR: done
[2025-03-10 07:07:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:07:05] Production.INFO: ==12862== Releasing lock...
[2025-03-10 07:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:07:06
[end_date_ymd] => 2025-03-10 07:07:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:07:06' and `end` < '2025-03-10 07: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-03-10 07:07:13] Production.ERROR: CronJobId end10
[2025-03-10 07:07:13] Production.INFO: ==12860== Releasing lock...
[2025-03-10 07:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:07:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:07:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:07:15] Production.INFO: call_cost start
[2025-03-10 07:07:15] Production.INFO: call_cost end
[2025-03-10 07:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:07:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:07:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:07:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:07:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:07:16] Production.INFO: ==12856== Releasing lock...
[2025-03-10 07:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:07:18] Production.INFO: count ==82
[2025-03-10 07:07:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:07:06 - End Time 2025-03-10 07:07:06
[2025-03-10 07:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647880', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647880', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647880', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647880', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:07:18] Production.INFO: ProcessCDR(1,14647880,1,1,2)
[2025-03-10 07:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647880', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647880', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:07:21] Production.INFO: ==12864== Releasing lock...
[2025-03-10 07:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:07:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:08:01] Production.INFO: ==12999== Lock acquired, processing the job...
[2025-03-10 11:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:08:01] Production.INFO: neon service started
[2025-03-10 11:08:01] Production.INFO: neon service started
[2025-03-10 11:08:01] Production.INFO: ==12999== Releasing lock...
[2025-03-10 11:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:08:01] Production.INFO: ==13001== Lock acquired, processing the job...
[2025-03-10 07:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:08:02] Production.INFO: ==13001== Releasing lock...
[2025-03-10 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:08:02] Production.INFO: ==13003== Lock acquired, processing the job...
[2025-03-10 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:08:02] Production.INFO: ==13003== Releasing lock...
[2025-03-10 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:08:02] Production.INFO: ==13005== Lock acquired, processing the job...
[2025-03-10 07:08:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:08:02] Production.INFO: ==13007== Lock acquired, processing the job...
[2025-03-10 07:08:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:08:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:08:03] Production.INFO: ==13013== Lock acquired, processing the job...
[2025-03-10 07:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:08:03] Production.INFO: ==13007== Releasing lock...
[2025-03-10 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:08:03] Production.INFO: ==13009== Lock acquired, processing the job...
[2025-03-10 07:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:08:03] Production.INFO: ==13015== Lock acquired, processing the job...
[2025-03-10 07:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:08:03] Production.INFO: ==13011== Lock acquired, processing the job...
[2025-03-10 07:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:08:03] Production.ERROR: done
[2025-03-10 07:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 07:08:03] Production.INFO: Account Balance Start.
[2025-03-10 07:08:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:08:03] Production.INFO: 117
[2025-03-10 07:08:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:08:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:08:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:08:03] Production.ERROR: done
[2025-03-10 07:08:03] Production.INFO: Total Charge 0
[2025-03-10 07:08:03] Production.INFO: CreateAllLog End
[2025-03-10 07:08:03] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:08:03] Production.INFO: count ==21
[2025-03-10 07:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647883') start
[2025-03-10 07:08:03] Production.INFO: Account Balance End.
[2025-03-10 07:08:03] Production.ERROR: CronJobId end 12
[2025-03-10 07:08:03] Production.INFO: ==13011== Releasing lock...
[2025-03-10 07:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647883') end
[2025-03-10 07:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:08:03] Production.INFO: 1
[2025-03-10 07:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:08:03] Production.INFO: ==13015== Releasing lock...
[2025-03-10 07:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:08:04
[end_date_ymd] => 2025-03-10 07:08:04
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:08:04' and `end` < '2025-03-10 07: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-03-10 07:08:12] Production.ERROR: CronJobId end10
[2025-03-10 07:08:12] Production.INFO: ==13009== Releasing lock...
[2025-03-10 07:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:08:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:08:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:08:14] Production.INFO: call_cost start
[2025-03-10 07:08:14] Production.INFO: call_cost end
[2025-03-10 07:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:08:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:08:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:08:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:08:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:08:15] Production.INFO: ==13005== Releasing lock...
[2025-03-10 07:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:08:16] Production.INFO: count ==82
[2025-03-10 07:08:16] Production.ERROR: pbx CDR StartTime 2025-03-10 04:08:04 - End Time 2025-03-10 07:08:04
[2025-03-10 07:08:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:08:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647885', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:08:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647885', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:08:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647885', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:08:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647885', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:08:16] Production.INFO: ProcessCDR(1,14647885,1,1,2)
[2025-03-10 07:08:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:08:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:08:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:08:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647885', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647885', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:08:19] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:08:19] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:08:19] Production.INFO: ==13013== Releasing lock...
[2025-03-10 07:08:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:08:19] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:09:01] Production.INFO: ==13071== Lock acquired, processing the job...
[2025-03-10 11:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:09:01] Production.INFO: neon service started
[2025-03-10 11:09:01] Production.INFO: neon service started
[2025-03-10 11:09:01] Production.INFO: ==13071== Releasing lock...
[2025-03-10 11:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:09:02] Production.INFO: ==13073== Lock acquired, processing the job...
[2025-03-10 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:09:02] Production.INFO: ==13073== Releasing lock...
[2025-03-10 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:09:02] Production.INFO: ==13075== Lock acquired, processing the job...
[2025-03-10 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:09:02] Production.INFO: ==13075== Releasing lock...
[2025-03-10 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:09:03] Production.INFO: ==13077== Lock acquired, processing the job...
[2025-03-10 07:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:09:03] Production.INFO: ==13081== Lock acquired, processing the job...
[2025-03-10 07:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:09:03] Production.INFO: ==13083== Lock acquired, processing the job...
[2025-03-10 07:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:09:03] Production.INFO: Account Balance Start.
[2025-03-10 07:09:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:09:03] Production.INFO: 117
[2025-03-10 07:09:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:09:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:09:03] Production.INFO: ==13079== Lock acquired, processing the job...
[2025-03-10 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:09:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:09:03] Production.INFO: Total Charge 0
[2025-03-10 07:09:03] Production.INFO: CreateAllLog End
[2025-03-10 07:09:03] Production.INFO: ==13087== Lock acquired, processing the job...
[2025-03-10 07:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:09:03] Production.INFO: ==13085== Lock acquired, processing the job...
[2025-03-10 07:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:09:03] Production.INFO: Account Balance End.
[2025-03-10 07: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-03-10 07:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:09:04] Production.INFO: ==13083== Releasing lock...
[2025-03-10 07:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:09:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:09:04] Production.INFO: count ==21
[2025-03-10 07:09:04] Production.INFO: ==13079== Releasing lock...
[2025-03-10 07:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647889') start
[2025-03-10 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647889') end
[2025-03-10 07:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:09:04] Production.INFO: 1
[2025-03-10 07:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:09:04] Production.ERROR: done
[2025-03-10 07:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:09:04] Production.INFO: ==13087== Releasing lock...
[2025-03-10 07:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:09:04] Production.ERROR: done
[2025-03-10 07:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:09:05
[end_date_ymd] => 2025-03-10 07:09:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:09:05' and `end` < '2025-03-10 07: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-03-10 07:09:12] Production.ERROR: CronJobId end10
[2025-03-10 07:09:12] Production.INFO: ==13081== Releasing lock...
[2025-03-10 07:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:09:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:09:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:09:14] Production.INFO: call_cost start
[2025-03-10 07:09:14] Production.INFO: call_cost end
[2025-03-10 07:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:09:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:09:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:09:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:09:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:09:14] Production.INFO: ==13077== Releasing lock...
[2025-03-10 07:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:09:17] Production.INFO: count ==82
[2025-03-10 07:09:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:09:05 - End Time 2025-03-10 07:09:05
[2025-03-10 07:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647890', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647890', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647890', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647890', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:09:17] Production.INFO: ProcessCDR(1,14647890,1,1,2)
[2025-03-10 07:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647890', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647890', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:09:21] Production.INFO: ==13085== Releasing lock...
[2025-03-10 07:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:09:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:10:01] Production.INFO: ==13140== Lock acquired, processing the job...
[2025-03-10 11:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:10:01] Production.INFO: neon service started
[2025-03-10 11:10:01] Production.INFO: neon service started
[2025-03-10 11:10:01] Production.INFO: ==13140== Releasing lock...
[2025-03-10 11:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:10:02] Production.INFO: ==13144== Lock acquired, processing the job...
[2025-03-10 07:10:02] Production.INFO: ==13142== Lock acquired, processing the job...
[2025-03-10 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:10:02] Production.INFO: ==13144== Releasing lock...
[2025-03-10 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:10:02] Production.INFO: ==13142== Releasing lock...
[2025-03-10 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:10:03] Production.INFO: ==13149== Lock acquired, processing the job...
[2025-03-10 07:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:10:03] Production.INFO: ==13147== Lock acquired, processing the job...
[2025-03-10 07:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 07:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:10:03] Production.INFO: ==13151== Lock acquired, processing the job...
[2025-03-10 07:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:10:03] Production.INFO: ==13157== Lock acquired, processing the job...
[2025-03-10 07:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 07:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:10:03] Production.ERROR: CronJob PID - 13149
[2025-03-10 07:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 07:10:03] Production.ERROR: CronJob ID - 5
[2025-03-10 07:10:03] Production.ERROR: CronJob Last Run Time 2025-03-10 07:10:00
[2025-03-10 07:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:10:03] Production.ERROR: CronJob PID - 13151
[2025-03-10 07:10:03] Production.ERROR: CronJob Title - Account Block
[2025-03-10 07:10:03] Production.ERROR: CronJob ID - 7
[2025-03-10 07:10:03] Production.ERROR: CronJob Last Run Time 2025-03-10 07:10:00
[2025-03-10 07:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 07:10:04] Production.INFO: ==13147== Releasing lock...
[2025-03-10 07:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 07:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 07:10:04] Production.INFO: ==13153== Lock acquired, processing the job...
[2025-03-10 07:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:10:04] Production.INFO: ==13155== Lock acquired, processing the job...
[2025-03-10 07:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:10:04] Production.INFO: ==13159== Lock acquired, processing the job...
[2025-03-10 07:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 07:10:04] Production.INFO: ==13161== Lock acquired, processing the job...
[2025-03-10 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:10:04] Production.ERROR: done
[2025-03-10 07:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:10:04] Production.INFO: ==13151== Releasing lock...
[2025-03-10 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:10:04] Production.INFO: Account Balance Start.
[2025-03-10 07:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:10:04] Production.INFO: 117
[2025-03-10 07:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 07:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:10:04] Production.INFO: count ==13
[2025-03-10 07:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 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-03-10 07:10:04] Production.INFO: count ==21
[2025-03-10 07:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647894') start
[2025-03-10 07:10:04] Production.ERROR: done
[2025-03-10 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647894') end
[2025-03-10 07:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:10:04] Production.INFO: 1
[2025-03-10 07:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:10:04] Production.INFO: Total Charge 0
[2025-03-10 07:10:04] Production.INFO: CreateAllLog End
[2025-03-10 07:10:04] Production.INFO: ==13161== Releasing lock...
[2025-03-10 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:10:04] Production.ERROR: done
[2025-03-10 07:10:05] Production.INFO: Account Balance End.
[2025-03-10 07:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:10:05] Production.INFO: ==13155== Releasing lock...
[2025-03-10 07:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 07:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647896', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 07:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:10:06
[end_date_ymd] => 2025-03-10 07:10:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:10:06' and `end` < '2025-03-10 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-03-10 07:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647896', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 07:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 07:10:09] Production.INFO: ProcessCDR(1,14647896,1,1,2)
[2025-03-10 07:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647896,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647896,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:10:09] Production.INFO: ==13159== Releasing lock...
[2025-03-10 07:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 07:10:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 07:10:13] Production.ERROR: CronJobId end10
[2025-03-10 07:10:13] Production.INFO: ==13153== Releasing lock...
[2025-03-10 07:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:10:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:10:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:10:16] Production.INFO: call_cost start
[2025-03-10 07:10:16] Production.INFO: call_cost end
[2025-03-10 07:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:10:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:10:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:10:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:10:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:10:17] Production.INFO: ==13149== Releasing lock...
[2025-03-10 07:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:10:18] Production.INFO: count ==91
[2025-03-10 07:10:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:10:06 - End Time 2025-03-10 07:10:06
[2025-03-10 07:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647895', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647895', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647895', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647895', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:10:18] Production.INFO: ProcessCDR(1,14647895,1,1,2)
[2025-03-10 07:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647895', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647895', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:10:23] Production.INFO: ==13157== Releasing lock...
[2025-03-10 07:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:10:23] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:11:01] Production.INFO: ==13217== Lock acquired, processing the job...
[2025-03-10 11:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:11:01] Production.INFO: neon service started
[2025-03-10 11:11:01] Production.INFO: neon service started
[2025-03-10 11:11:01] Production.INFO: ==13217== Releasing lock...
[2025-03-10 11:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:11:02] Production.INFO: ==13219== Lock acquired, processing the job...
[2025-03-10 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:11:02] Production.INFO: ==13221== Lock acquired, processing the job...
[2025-03-10 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:11:02] Production.INFO: ==13221== Releasing lock...
[2025-03-10 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:11:02] Production.INFO: ==13219== Releasing lock...
[2025-03-10 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:11:03] Production.INFO: ==13224== Lock acquired, processing the job...
[2025-03-10 07:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:11:03] Production.INFO: ==13226== Lock acquired, processing the job...
[2025-03-10 07:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:11:03] Production.INFO: ==13230== Lock acquired, processing the job...
[2025-03-10 07:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:11:03] Production.INFO: Account Balance Start.
[2025-03-10 07:11:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:11:03] Production.INFO: 117
[2025-03-10 07:11:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:11:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:11:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:11:03] Production.INFO: Total Charge 0
[2025-03-10 07:11:03] Production.INFO: CreateAllLog End
[2025-03-10 07:11:04] Production.INFO: ==13226== Releasing lock...
[2025-03-10 07:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:11:04] Production.INFO: Account Balance End.
[2025-03-10 07:11:04] Production.INFO: ==13228== Lock acquired, processing the job...
[2025-03-10 07:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:11:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:11:04] Production.INFO: ==13230== Releasing lock...
[2025-03-10 07:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:11:04] Production.INFO: ==13232== Lock acquired, processing the job...
[2025-03-10 07:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:11:04] Production.INFO: ==13234== Lock acquired, processing the job...
[2025-03-10 07:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07: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-03-10 07:11:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:11:04] Production.ERROR: done
[2025-03-10 07:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:11:04] Production.INFO: count ==21
[2025-03-10 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647900') start
[2025-03-10 07:11:04] Production.ERROR: done
[2025-03-10 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647900') end
[2025-03-10 07:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:11:04] Production.INFO: 1
[2025-03-10 07:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:11:04] Production.INFO: ==13234== Releasing lock...
[2025-03-10 07:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:11:05
[end_date_ymd] => 2025-03-10 07:11:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:11:05' and `end` < '2025-03-10 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-03-10 07:11:11] Production.ERROR: CronJobId end10
[2025-03-10 07:11:11] Production.INFO: ==13228== Releasing lock...
[2025-03-10 07:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:11:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:11:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:11:14] Production.INFO: call_cost start
[2025-03-10 07:11:14] Production.INFO: call_cost end
[2025-03-10 07:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:11:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:11:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:11:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:11:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:11:15] Production.INFO: ==13224== Releasing lock...
[2025-03-10 07:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:11:18] Production.INFO: count ==91
[2025-03-10 07:11:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:11:05 - End Time 2025-03-10 07:11:05
[2025-03-10 07:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647901', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647901', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647901', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647901', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:11:18] Production.INFO: ProcessCDR(1,14647901,1,1,2)
[2025-03-10 07:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647901', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647901', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:11:22] Production.INFO: ==13232== Releasing lock...
[2025-03-10 07:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:11:22] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:12:02] Production.INFO: ==13367== Lock acquired, processing the job...
[2025-03-10 11:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:12:02] Production.INFO: neon service started
[2025-03-10 11:12:02] Production.INFO: neon service started
[2025-03-10 11:12:02] Production.INFO: ==13367== Releasing lock...
[2025-03-10 11:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:12:02] Production.INFO: ==13371== Lock acquired, processing the job...
[2025-03-10 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:12:02] Production.INFO: ==13371== Releasing lock...
[2025-03-10 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:12:02] Production.INFO: ==13369== Lock acquired, processing the job...
[2025-03-10 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:12:03] Production.INFO: ==13369== Releasing lock...
[2025-03-10 07:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:12:03] Production.INFO: ==13376== Lock acquired, processing the job...
[2025-03-10 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:12:03] Production.INFO: ==13380== Lock acquired, processing the job...
[2025-03-10 07:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:12:03] Production.INFO: ==13382== Lock acquired, processing the job...
[2025-03-10 07:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:12:04] Production.INFO: Account Balance Start.
[2025-03-10 07:12:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:12:04] Production.INFO: 117
[2025-03-10 07:12:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:12:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:12:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:12:04] Production.INFO: Total Charge 0
[2025-03-10 07:12:04] Production.INFO: CreateAllLog End
[2025-03-10 07:12:04] Production.INFO: ==13376== Releasing lock...
[2025-03-10 07:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:12:04] Production.INFO: ==13374== Lock acquired, processing the job...
[2025-03-10 07:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:12:04] Production.INFO: ==13378== Lock acquired, processing the job...
[2025-03-10 07:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:12:04] Production.INFO: ==13384== Lock acquired, processing the job...
[2025-03-10 07:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:12:04] Production.INFO: Account Balance End.
[2025-03-10 07:12:04] Production.ERROR: done
[2025-03-10 07:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:12:04] Production.INFO: ==13380== Releasing lock...
[2025-03-10 07:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:12:04] Production.ERROR: done
[2025-03-10 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-03-10 07:12:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:12:04] Production.INFO: count ==21
[2025-03-10 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647905') start
[2025-03-10 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647905') end
[2025-03-10 07:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:12:04] Production.INFO: 1
[2025-03-10 07:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:12:04] Production.INFO: ==13384== Releasing lock...
[2025-03-10 07:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:12:05
[end_date_ymd] => 2025-03-10 07:12:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:12:05' and `end` < '2025-03-10 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-03-10 07:12:11] Production.ERROR: CronJobId end10
[2025-03-10 07:12:11] Production.INFO: ==13378== Releasing lock...
[2025-03-10 07:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:12:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:12:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:12:14] Production.INFO: call_cost start
[2025-03-10 07:12:14] Production.INFO: call_cost end
[2025-03-10 07:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:12:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:12:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:12:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:12:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:12:15] Production.INFO: ==13374== Releasing lock...
[2025-03-10 07:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:12:17] Production.INFO: count ==91
[2025-03-10 07:12:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:12:05 - End Time 2025-03-10 07:12:05
[2025-03-10 07:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647906', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647906', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647906', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647906', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:12:17] Production.INFO: ProcessCDR(1,14647906,1,1,2)
[2025-03-10 07:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647906', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647906', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:12:21] Production.INFO: ==13382== Releasing lock...
[2025-03-10 07:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:12:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:13:01] Production.INFO: ==13439== Lock acquired, processing the job...
[2025-03-10 11:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:13:01] Production.INFO: neon service started
[2025-03-10 11:13:01] Production.INFO: neon service started
[2025-03-10 11:13:01] Production.INFO: ==13439== Releasing lock...
[2025-03-10 11:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:13:02] Production.INFO: ==13441== Lock acquired, processing the job...
[2025-03-10 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:13:02] Production.INFO: ==13443== Lock acquired, processing the job...
[2025-03-10 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:13:02] Production.INFO: ==13443== Releasing lock...
[2025-03-10 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:13:02] Production.INFO: ==13441== Releasing lock...
[2025-03-10 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:13:03] Production.INFO: ==13452== Lock acquired, processing the job...
[2025-03-10 07:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:13:03] Production.INFO: ==13454== Lock acquired, processing the job...
[2025-03-10 07:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:13:03] Production.INFO: Account Balance Start.
[2025-03-10 07:13:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:13:03] Production.INFO: 117
[2025-03-10 07:13:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:13:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:13:04] Production.INFO: ==13446== Lock acquired, processing the job...
[2025-03-10 07:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:13:04] Production.INFO: Total Charge 0
[2025-03-10 07:13:04] Production.INFO: CreateAllLog End
[2025-03-10 07:13:04] Production.INFO: ==13448== Lock acquired, processing the job...
[2025-03-10 07:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:13:04] Production.INFO: ==13450== Lock acquired, processing the job...
[2025-03-10 07:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:13:04] Production.INFO: ==13456== Lock acquired, processing the job...
[2025-03-10 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:13:04] Production.INFO: Account Balance End.
[2025-03-10 07:13:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:13:04] Production.INFO: ==13452== Releasing lock...
[2025-03-10 07:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 07:13:04] Production.ERROR: done
[2025-03-10 07:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:13:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:13:04] Production.INFO: count ==21
[2025-03-10 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647910') start
[2025-03-10 07:13:04] Production.ERROR: done
[2025-03-10 07:13:04] Production.INFO: ==13448== Releasing lock...
[2025-03-10 07:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647910') end
[2025-03-10 07:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:13:04] Production.INFO: 1
[2025-03-10 07:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:13:04] Production.INFO: ==13456== Releasing lock...
[2025-03-10 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:13:05
[end_date_ymd] => 2025-03-10 07:13:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:13:05' and `end` < '2025-03-10 07: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-03-10 07:13:12] Production.ERROR: CronJobId end10
[2025-03-10 07:13:12] Production.INFO: ==13450== Releasing lock...
[2025-03-10 07:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:13:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:13:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:13:14] Production.INFO: call_cost start
[2025-03-10 07:13:14] Production.INFO: call_cost end
[2025-03-10 07:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:13:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:13:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:13:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:13:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:13:15] Production.INFO: ==13446== Releasing lock...
[2025-03-10 07:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:13:17] Production.INFO: count ==91
[2025-03-10 07:13:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:13:05 - End Time 2025-03-10 07:13:05
[2025-03-10 07:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647911', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647911', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647911', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647911', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:13:17] Production.INFO: ProcessCDR(1,14647911,1,1,2)
[2025-03-10 07:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647911', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647911', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:13:21] Production.INFO: ==13454== Releasing lock...
[2025-03-10 07:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:13:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:14:02] Production.INFO: ==13514== Lock acquired, processing the job...
[2025-03-10 11:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:14:02] Production.INFO: neon service started
[2025-03-10 11:14:02] Production.INFO: neon service started
[2025-03-10 11:14:02] Production.INFO: ==13514== Releasing lock...
[2025-03-10 11:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:14:02] Production.INFO: ==13516== Lock acquired, processing the job...
[2025-03-10 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:14:02] Production.INFO: ==13518== Lock acquired, processing the job...
[2025-03-10 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:14:03] Production.INFO: ==13518== Releasing lock...
[2025-03-10 11:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:14:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:14:03] Production.INFO: ==13516== Releasing lock...
[2025-03-10 07:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:14:03] Production.INFO: ==13521== Lock acquired, processing the job...
[2025-03-10 07:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:14:04] Production.INFO: ==13525== Lock acquired, processing the job...
[2025-03-10 07:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:14:04] Production.INFO: ==13529== Lock acquired, processing the job...
[2025-03-10 07:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:14:04] Production.INFO: ==13523== Lock acquired, processing the job...
[2025-03-10 07:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:14:04] Production.INFO: ==13527== Lock acquired, processing the job...
[2025-03-10 07:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:14:04] Production.INFO: ==13531== Lock acquired, processing the job...
[2025-03-10 07:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:14:04] Production.INFO: Account Balance Start.
[2025-03-10 07:14:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:14:04] Production.INFO: 117
[2025-03-10 07:14:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:14:04] Production.ERROR: done
[2025-03-10 07:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:14:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 07: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-03-10 07:14:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:14:04] Production.INFO: count ==13
[2025-03-10 07:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 07:14:04] Production.INFO: count ==21
[2025-03-10 07:14:04] Production.ERROR: done
[2025-03-10 07:14:04] Production.INFO: Total Charge 0
[2025-03-10 07:14:04] Production.INFO: ==13523== Releasing lock...
[2025-03-10 07:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647915') start
[2025-03-10 07:14:04] Production.INFO: CreateAllLog End
[2025-03-10 07:14:04] Production.INFO: Account Balance End.
[2025-03-10 07:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647915') end
[2025-03-10 07:14:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:14:05] Production.INFO: 1
[2025-03-10 07:14:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:14:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:14:05] Production.INFO: ==13527== Releasing lock...
[2025-03-10 07:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:14:05] Production.INFO: ==13531== Releasing lock...
[2025-03-10 07:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:14:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:14:05
[end_date_ymd] => 2025-03-10 07:14:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:14:05' and `end` < '2025-03-10 07: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-03-10 07:14:12] Production.ERROR: CronJobId end10
[2025-03-10 07:14:12] Production.INFO: ==13525== Releasing lock...
[2025-03-10 07:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:14:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:14:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:14:14] Production.INFO: call_cost start
[2025-03-10 07:14:14] Production.INFO: call_cost end
[2025-03-10 07:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:14:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:14:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:14:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:14:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:14:14] Production.INFO: ==13521== Releasing lock...
[2025-03-10 07:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:14:18] Production.INFO: count ==91
[2025-03-10 07:14:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:14:05 - End Time 2025-03-10 07:14:05
[2025-03-10 07:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647916', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647916', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647916', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647916', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:14:18] Production.INFO: ProcessCDR(1,14647916,1,1,2)
[2025-03-10 07:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647916', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647916', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:14:21] Production.INFO: ==13529== Releasing lock...
[2025-03-10 07:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:14:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:15:01] Production.INFO: ==13663== Lock acquired, processing the job...
[2025-03-10 11:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:15:01] Production.INFO: neon service started
[2025-03-10 11:15:01] Production.INFO: neon service started
[2025-03-10 11:15:01] Production.INFO: ==13663== Releasing lock...
[2025-03-10 11:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:15:02] Production.INFO: ==13667== Lock acquired, processing the job...
[2025-03-10 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:15:02] Production.INFO: ==13667== Releasing lock...
[2025-03-10 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:15:02] Production.INFO: ==13665== Lock acquired, processing the job...
[2025-03-10 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:15:02] Production.INFO: ==13665== Releasing lock...
[2025-03-10 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:15:03] Production.INFO: ==13670== Lock acquired, processing the job...
[2025-03-10 07:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:15:03] Production.INFO: ==13672== Lock acquired, processing the job...
[2025-03-10 07:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:15:03] Production.INFO: ==13678== Lock acquired, processing the job...
[2025-03-10 07:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:15:03] Production.INFO: ==13672== Releasing lock...
[2025-03-10 07:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:15:03] Production.INFO: ==13674== Lock acquired, processing the job...
[2025-03-10 07:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:15:03] Production.INFO: ==13680== Lock acquired, processing the job...
[2025-03-10 07:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:15:03] Production.INFO: ==13676== Lock acquired, processing the job...
[2025-03-10 07:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 07:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:15:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:15:04] Production.INFO: count ==21
[2025-03-10 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647919') start
[2025-03-10 07:15:04] Production.ERROR: done
[2025-03-10 07:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:15:04] Production.INFO: Account Balance Start.
[2025-03-10 07:15:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:15:04] Production.INFO: 117
[2025-03-10 07:15:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647919') end
[2025-03-10 07:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:15:04] Production.INFO: 1
[2025-03-10 07:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:15:04] Production.INFO: ==13680== Releasing lock...
[2025-03-10 07:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:15:04] Production.ERROR: done
[2025-03-10 07:15:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:15:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:15:04] Production.INFO: Total Charge 0
[2025-03-10 07:15:04] Production.INFO: CreateAllLog End
[2025-03-10 07:15:04] Production.INFO: Account Balance End.
[2025-03-10 07:15:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:15:05] Production.INFO: ==13676== Releasing lock...
[2025-03-10 07:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:15:05
[end_date_ymd] => 2025-03-10 07:15:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:15:05' and `end` < '2025-03-10 07: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-03-10 07:15:11] Production.ERROR: CronJobId end10
[2025-03-10 07:15:11] Production.INFO: ==13674== Releasing lock...
[2025-03-10 07:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:15:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:15:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:15:14] Production.INFO: call_cost start
[2025-03-10 07:15:14] Production.INFO: call_cost end
[2025-03-10 07:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:15:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:15:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:15:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:15:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:15:15] Production.INFO: ==13670== Releasing lock...
[2025-03-10 07:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:15:17] Production.INFO: count ==91
[2025-03-10 07:15:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:15:05 - End Time 2025-03-10 07:15:05
[2025-03-10 07:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647921', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647921', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647921', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647921', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:15:17] Production.INFO: ProcessCDR(1,14647921,1,1,2)
[2025-03-10 07:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647921', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647921', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:15:21] Production.INFO: ==13678== Releasing lock...
[2025-03-10 07:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:15:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:16:02] Production.INFO: ==13738== Lock acquired, processing the job...
[2025-03-10 11:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:16:02] Production.INFO: neon service started
[2025-03-10 11:16:02] Production.INFO: neon service started
[2025-03-10 11:16:02] Production.INFO: ==13738== Releasing lock...
[2025-03-10 11:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:16:02] Production.INFO: ==13740== Lock acquired, processing the job...
[2025-03-10 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:16:02] Production.INFO: ==13740== Releasing lock...
[2025-03-10 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:16:03] Production.INFO: ==13742== Lock acquired, processing the job...
[2025-03-10 11:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:16:03] Production.INFO: ==13742== Releasing lock...
[2025-03-10 11:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:16:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:16:03] Production.INFO: ==13745== Lock acquired, processing the job...
[2025-03-10 07:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:16:03] Production.INFO: ==13747== Lock acquired, processing the job...
[2025-03-10 07:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:16:04] Production.INFO: ==13749== Lock acquired, processing the job...
[2025-03-10 07:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:16:04] Production.INFO: ==13753== Lock acquired, processing the job...
[2025-03-10 07:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:16:04] Production.INFO: ==13751== Lock acquired, processing the job...
[2025-03-10 07:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:16:04] Production.INFO: ==13755== Lock acquired, processing the job...
[2025-03-10 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:16:04] Production.INFO: Account Balance Start.
[2025-03-10 07:16:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:16:04] Production.INFO: ==13747== Releasing lock...
[2025-03-10 07:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:16:04] Production.INFO: 117
[2025-03-10 07:16:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 07: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-03-10 07:16:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:16:04] Production.INFO: count ==13
[2025-03-10 07:16:04] Production.INFO: Date 2025-03-10
[2025-03-10 07: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-03-10 07:16:04] Production.INFO: count ==21
[2025-03-10 07:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647925') start
[2025-03-10 07:16:04] Production.ERROR: done
[2025-03-10 07:16:04] Production.INFO: Total Charge 0
[2025-03-10 07:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:16:04] Production.INFO: CreateAllLog End
[2025-03-10 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647925') end
[2025-03-10 07:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:16:04] Production.INFO: 1
[2025-03-10 07:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:16:05] Production.INFO: ==13755== Releasing lock...
[2025-03-10 07:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:16:05] Production.ERROR: done
[2025-03-10 07:16:05] Production.INFO: Account Balance End.
[2025-03-10 07:16:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:16:05] Production.INFO: ==13751== Releasing lock...
[2025-03-10 07:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:16:06
[end_date_ymd] => 2025-03-10 07:16:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:16:06' and `end` < '2025-03-10 07: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-03-10 07:16:11] Production.ERROR: CronJobId end10
[2025-03-10 07:16:11] Production.INFO: ==13749== Releasing lock...
[2025-03-10 07:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:16:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:16:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:16:14] Production.INFO: call_cost start
[2025-03-10 07:16:14] Production.INFO: call_cost end
[2025-03-10 07:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:16:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:16:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:16:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:16:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:16:15] Production.INFO: ==13745== Releasing lock...
[2025-03-10 07:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:16:19] Production.INFO: count ==91
[2025-03-10 07:16:19] Production.ERROR: pbx CDR StartTime 2025-03-10 04:16:06 - End Time 2025-03-10 07:16:06
[2025-03-10 07:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647926', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647926', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647926', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647926', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:16:19] Production.INFO: ProcessCDR(1,14647926,1,1,2)
[2025-03-10 07:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647926', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647926', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:16:22] Production.INFO: ==13753== Releasing lock...
[2025-03-10 07:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:16:22] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:17:01] Production.INFO: ==13809== Lock acquired, processing the job...
[2025-03-10 11:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:17:01] Production.INFO: neon service started
[2025-03-10 11:17:01] Production.INFO: neon service started
[2025-03-10 11:17:01] Production.INFO: ==13809== Releasing lock...
[2025-03-10 11:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:17:02] Production.INFO: ==13811== Lock acquired, processing the job...
[2025-03-10 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:17:02] Production.INFO: ==13813== Lock acquired, processing the job...
[2025-03-10 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:17:02] Production.INFO: ==13813== Releasing lock...
[2025-03-10 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:17:02] Production.INFO: ==13811== Releasing lock...
[2025-03-10 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:17:03] Production.INFO: ==13820== Lock acquired, processing the job...
[2025-03-10 07:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:17:03] Production.INFO: ==13826== Lock acquired, processing the job...
[2025-03-10 07:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07: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-03-10 07:17:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:17:04] Production.INFO: count ==21
[2025-03-10 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647927') start
[2025-03-10 07:17:04] Production.INFO: ==13816== Lock acquired, processing the job...
[2025-03-10 07:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:17:04] Production.INFO: ==13818== Lock acquired, processing the job...
[2025-03-10 07:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:17:04] Production.INFO: ==13822== Lock acquired, processing the job...
[2025-03-10 07:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647927') end
[2025-03-10 07:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:17:04] Production.INFO: 1
[2025-03-10 07:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:17:04] Production.INFO: ==13824== Lock acquired, processing the job...
[2025-03-10 07:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:17:04] Production.INFO: ==13826== Releasing lock...
[2025-03-10 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:17:04] Production.INFO: Account Balance Start.
[2025-03-10 07:17:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:17:04] Production.INFO: 117
[2025-03-10 07:17:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:17:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:17:04] Production.INFO: Total Charge 0
[2025-03-10 07:17:04] Production.INFO: ==13818== Releasing lock...
[2025-03-10 07:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:17:04] Production.INFO: CreateAllLog End
[2025-03-10 07:17:04] Production.ERROR: done
[2025-03-10 07:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:17:04] Production.ERROR: done
[2025-03-10 07:17:04] Production.INFO: Account Balance End.
[2025-03-10 07:17:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:17:04] Production.INFO: ==13822== Releasing lock...
[2025-03-10 07:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:17:06
[end_date_ymd] => 2025-03-10 07:17:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:17:06' and `end` < '2025-03-10 07: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-03-10 07:17:12] Production.ERROR: CronJobId end10
[2025-03-10 07:17:12] Production.INFO: ==13820== Releasing lock...
[2025-03-10 07:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:17:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:17:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:17:15] Production.INFO: call_cost start
[2025-03-10 07:17:15] Production.INFO: call_cost end
[2025-03-10 07:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:17:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:17:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:17:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:17:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:17:16] Production.INFO: ==13816== Releasing lock...
[2025-03-10 07:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:17:19] Production.INFO: count ==91
[2025-03-10 07:17:19] Production.ERROR: pbx CDR StartTime 2025-03-10 04:17:06 - End Time 2025-03-10 07:17:06
[2025-03-10 07:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647931', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647931', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647931', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647931', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:17:19] Production.INFO: ProcessCDR(1,14647931,1,1,2)
[2025-03-10 07:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647931', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647931', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:17:22] Production.INFO: ==13824== Releasing lock...
[2025-03-10 07:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:17:22] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:18:02] Production.INFO: ==13879== Lock acquired, processing the job...
[2025-03-10 11:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:18:02] Production.INFO: neon service started
[2025-03-10 11:18:02] Production.INFO: neon service started
[2025-03-10 11:18:02] Production.INFO: ==13879== Releasing lock...
[2025-03-10 11:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:18:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 11:18:02] Production.INFO: ==13884== Lock acquired, processing the job...
[2025-03-10 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:18:02] Production.INFO: ==13884== Releasing lock...
[2025-03-10 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:18:02] Production.INFO: ==13882== Lock acquired, processing the job...
[2025-03-10 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:18:03] Production.INFO: ==13882== Releasing lock...
[2025-03-10 07:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:18:04] Production.INFO: ==13888== Lock acquired, processing the job...
[2025-03-10 07:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:18:04] Production.INFO: ==13892== Lock acquired, processing the job...
[2025-03-10 07:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:18:04] Production.INFO: ==13890== Lock acquired, processing the job...
[2025-03-10 07:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:18:04] Production.INFO: ==13886== Lock acquired, processing the job...
[2025-03-10 07:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:18:04] Production.INFO: Account Balance Start.
[2025-03-10 07:18:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:18:04] Production.INFO: 117
[2025-03-10 07:18:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:18:04] Production.INFO: ==13894== Lock acquired, processing the job...
[2025-03-10 07:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:18:04] Production.INFO: ==13896== Lock acquired, processing the job...
[2025-03-10 07:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:18:04] Production.INFO: ==13888== Releasing lock...
[2025-03-10 07:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:18:04] Production.INFO: Total Charge 0
[2025-03-10 07: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-03-10 07:18:04] Production.INFO: CreateAllLog End
[2025-03-10 07:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:18:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:18:04] Production.INFO: count ==21
[2025-03-10 07:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647935') start
[2025-03-10 07:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647935') end
[2025-03-10 07:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:18:04] Production.INFO: 1
[2025-03-10 07:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:18:04] Production.INFO: ==13896== Releasing lock...
[2025-03-10 07:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:18:05] Production.ERROR: done
[2025-03-10 07:18:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:18:05] Production.INFO: Account Balance End.
[2025-03-10 07:18:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:18:05] Production.INFO: ==13892== Releasing lock...
[2025-03-10 07:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:18:05] Production.ERROR: done
[2025-03-10 07:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:18:06
[end_date_ymd] => 2025-03-10 07:18:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:18:06' and `end` < '2025-03-10 07: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-03-10 07:18:13] Production.ERROR: CronJobId end10
[2025-03-10 07:18:13] Production.INFO: ==13890== Releasing lock...
[2025-03-10 07:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:18:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:18:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:18:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:18:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:18:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:18:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:18:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:18:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:18:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:18:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:18:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:18:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:18:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:18:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:18:16] Production.INFO: call_cost start
[2025-03-10 07:18:16] Production.INFO: call_cost end
[2025-03-10 07:18:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:18:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:18:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:18:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:18:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:18:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:18:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:18:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:18:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:18:17] Production.INFO: ==13886== Releasing lock...
[2025-03-10 07:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:18:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:18:18] Production.INFO: count ==91
[2025-03-10 07:18:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:18:06 - End Time 2025-03-10 07:18:06
[2025-03-10 07:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647936', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647936', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647936', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647936', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:18:18] Production.INFO: ProcessCDR(1,14647936,1,1,2)
[2025-03-10 07:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647936', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647936', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:18:22] Production.INFO: ==13894== Releasing lock...
[2025-03-10 07:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:18:22] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:19:01] Production.INFO: ==13955== Lock acquired, processing the job...
[2025-03-10 11:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:19:01] Production.INFO: neon service started
[2025-03-10 11:19:01] Production.INFO: neon service started
[2025-03-10 11:19:01] Production.INFO: ==13955== Releasing lock...
[2025-03-10 11:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:19:02] Production.INFO: ==13957== Lock acquired, processing the job...
[2025-03-10 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:19:02] Production.INFO: ==13957== Releasing lock...
[2025-03-10 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:19:02] Production.INFO: ==13959== Lock acquired, processing the job...
[2025-03-10 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:19:02] Production.INFO: ==13959== Releasing lock...
[2025-03-10 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:19:03] Production.INFO: ==13962== Lock acquired, processing the job...
[2025-03-10 07:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:19:03] Production.INFO: ==13972== Lock acquired, processing the job...
[2025-03-10 07:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 07:19:03] Production.INFO: count ==13
[2025-03-10 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-03-10 07:19:03] Production.INFO: count ==21
[2025-03-10 07:19:03] Production.INFO: ==13964== Lock acquired, processing the job...
[2025-03-10 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647937') start
[2025-03-10 07:19:03] Production.INFO: ==13966== Lock acquired, processing the job...
[2025-03-10 07:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:19:03] Production.INFO: ==13970== Lock acquired, processing the job...
[2025-03-10 07:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:19:04] Production.INFO: ==13968== Lock acquired, processing the job...
[2025-03-10 07:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647937') end
[2025-03-10 07:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:19:04] Production.INFO: 1
[2025-03-10 07:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:19:04] Production.INFO: Account Balance Start.
[2025-03-10 07:19:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:19:04] Production.INFO: 117
[2025-03-10 07:19:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:19:04] Production.INFO: ==13972== Releasing lock...
[2025-03-10 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:19:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:19:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:19:04] Production.INFO: Total Charge 0
[2025-03-10 07:19:04] Production.INFO: CreateAllLog End
[2025-03-10 07:19:04] Production.INFO: ==13964== Releasing lock...
[2025-03-10 07:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:19:04] Production.ERROR: done
[2025-03-10 07:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:19:04] Production.ERROR: done
[2025-03-10 07:19:04] Production.INFO: Account Balance End.
[2025-03-10 07:19:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:19:05] Production.INFO: ==13968== Releasing lock...
[2025-03-10 07:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:19:06
[end_date_ymd] => 2025-03-10 07:19:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:19:06' and `end` < '2025-03-10 07: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-03-10 07:19:12] Production.ERROR: CronJobId end10
[2025-03-10 07:19:12] Production.INFO: ==13966== Releasing lock...
[2025-03-10 07:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:19:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:19:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:19:15] Production.INFO: call_cost start
[2025-03-10 07:19:15] Production.INFO: call_cost end
[2025-03-10 07:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:19:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:19:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:19:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:19:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:19:16] Production.INFO: ==13962== Releasing lock...
[2025-03-10 07:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:19:18] Production.INFO: count ==91
[2025-03-10 07:19:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:19:06 - End Time 2025-03-10 07:19:06
[2025-03-10 07:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647941', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647941', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647941', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647941', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:19:18] Production.INFO: ProcessCDR(1,14647941,1,1,2)
[2025-03-10 07:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647941', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647941', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:19:21] Production.INFO: ==13970== Releasing lock...
[2025-03-10 07:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:19:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:20:02] Production.INFO: ==14028== Lock acquired, processing the job...
[2025-03-10 11:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:20:02] Production.INFO: neon service started
[2025-03-10 11:20:02] Production.INFO: neon service started
[2025-03-10 11:20:02] Production.INFO: ==14028== Releasing lock...
[2025-03-10 11:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:20:03] Production.INFO: ==14031== Lock acquired, processing the job...
[2025-03-10 07:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:20:03] Production.INFO: ==14033== Lock acquired, processing the job...
[2025-03-10 11:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:20:03] Production.INFO: ==14033== Releasing lock...
[2025-03-10 11:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:20:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:20:03] Production.INFO: ==14031== Releasing lock...
[2025-03-10 07:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:20:04] Production.INFO: ==14039== Lock acquired, processing the job...
[2025-03-10 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:20:04] Production.INFO: ==14035== Lock acquired, processing the job...
[2025-03-10 07:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 07:20:04] Production.INFO: ==14043== Lock acquired, processing the job...
[2025-03-10 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 07:20:04] Production.INFO: ==14048== Lock acquired, processing the job...
[2025-03-10 07:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 07:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:20:04] Production.ERROR: CronJob PID - 14039
[2025-03-10 07:20:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 07:20:04] Production.ERROR: CronJob ID - 7
[2025-03-10 07:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 07:20:00
[2025-03-10 07:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:20:04] Production.ERROR: CronJob PID - 14043
[2025-03-10 07:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 07:20:04] Production.ERROR: CronJob ID - 12
[2025-03-10 07:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 07:20:00
[2025-03-10 07:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:20:05] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 07:20:05] Production.INFO: ==14035== Releasing lock...
[2025-03-10 07:20:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 07:20:05] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 07:20:05] Production.INFO: ==14037== Lock acquired, processing the job...
[2025-03-10 07:20:05] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:20:05] Production.INFO: Account Balance Start.
[2025-03-10 07:20:05] Production.INFO: CreateAllLog Start
[2025-03-10 07:20:05] Production.INFO: 117
[2025-03-10 07:20:05] Production.INFO: Date 2025-03-08
[2025-03-10 07:20:05] Production.INFO: Reseller ==> 0
[2025-03-10 07:20:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:20:05] Production.INFO: Date 2025-03-09
[2025-03-10 07:20:05] Production.INFO: Reseller ==> 0
[2025-03-10 07:20:05] Production.INFO: Date 2025-03-10
[2025-03-10 07:20:05] Production.INFO: ==14041== Lock acquired, processing the job...
[2025-03-10 07:20:05] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:20:05] Production.INFO: Reseller ==> 0
[2025-03-10 07:20:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:20:05] Production.INFO: Total Charge 0
[2025-03-10 07:20:05] Production.INFO: CreateAllLog End
[2025-03-10 07:20:05] Production.INFO: ==14039== Releasing lock...
[2025-03-10 07:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:20:05] Production.INFO: ==14045== Lock acquired, processing the job...
[2025-03-10 07:20:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:20:05] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:20:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:20:05] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:20:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:20:05] Production.INFO: ==14050== Lock acquired, processing the job...
[2025-03-10 07:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:20:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:20:05] Production.INFO: Account Balance End.
[2025-03-10 07:20:05] Production.ERROR: done
[2025-03-10 07:20:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:20:05] Production.INFO: ==14043== Releasing lock...
[2025-03-10 07:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:20: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-03-10 07:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 07:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647946', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 07:20:05] Production.INFO: count ==13
[2025-03-10 07:20:05] Production.ERROR: done
[2025-03-10 07:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07: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-03-10 07:20:05] Production.INFO: count ==21
[2025-03-10 07:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647945') start
[2025-03-10 07:20:06] Production.ERROR: done
[2025-03-10 07:20:06] Production.ERROR: PBX CALL prc_importPBXExtension('14647945') end
[2025-03-10 07:20:06] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:20:06] Production.INFO: 1
[2025-03-10 07:20:06] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:20:06] Production.INFO: ==14050== Releasing lock...
[2025-03-10 07:20:06] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:20:06] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:20:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:20:07
[end_date_ymd] => 2025-03-10 07:20:07
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:20:07' and `end` < '2025-03-10 07: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-03-10 07:20:11] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647946', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 07:20:11] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 07:20:11] Production.INFO: ProcessCDR(1,14647946,1,1,2)
[2025-03-10 07:20:11] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647946,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:20:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647946,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:20:11] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:20:11] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:20:11] Production.INFO: ==14048== Releasing lock...
[2025-03-10 07:20:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 07:20:11] Production.INFO: 26 MB #Memory Used#
[2025-03-10 07:20:15] Production.ERROR: CronJobId end10
[2025-03-10 07:20:15] Production.INFO: ==14041== Releasing lock...
[2025-03-10 07:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:20:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:20:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:20:18] Production.INFO: call_cost start
[2025-03-10 07:20:18] Production.INFO: call_cost end
[2025-03-10 07:20:19] Production.INFO: count ==91
[2025-03-10 07:20:19] Production.ERROR: pbx CDR StartTime 2025-03-10 04:20:07 - End Time 2025-03-10 07:20:07
[2025-03-10 07:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647947', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647947', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647947', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647947', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:20:19] Production.INFO: ProcessCDR(1,14647947,1,1,2)
[2025-03-10 07:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:20:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:20:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:20:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:20:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:20:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:20:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:20:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:20:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:20:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:20:19] Production.INFO: ==14037== Releasing lock...
[2025-03-10 07:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:20:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647947', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647947', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:20:22] Production.INFO: ==14045== Releasing lock...
[2025-03-10 07:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:20:22] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:21:01] Production.INFO: ==14143== Lock acquired, processing the job...
[2025-03-10 11:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:21:01] Production.INFO: neon service started
[2025-03-10 11:21:01] Production.INFO: neon service started
[2025-03-10 11:21:01] Production.INFO: ==14143== Releasing lock...
[2025-03-10 11:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:21:02] Production.INFO: ==14145== Lock acquired, processing the job...
[2025-03-10 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:21:02] Production.INFO: ==14147== Lock acquired, processing the job...
[2025-03-10 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:21:02] Production.INFO: ==14147== Releasing lock...
[2025-03-10 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:21:02] Production.INFO: ==14145== Releasing lock...
[2025-03-10 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:21:03] Production.INFO: ==14149== Lock acquired, processing the job...
[2025-03-10 07:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:21:03] Production.INFO: ==14158== Lock acquired, processing the job...
[2025-03-10 07:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:21:03] Production.INFO: ==14151== Lock acquired, processing the job...
[2025-03-10 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:21:03] Production.INFO: ==14154== Lock acquired, processing the job...
[2025-03-10 07:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:21:04] Production.INFO: ==14156== Lock acquired, processing the job...
[2025-03-10 07:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:21:04] Production.INFO: ==14160== Lock acquired, processing the job...
[2025-03-10 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:21:04] Production.ERROR: done
[2025-03-10 07:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:21:04] Production.INFO: Account Balance Start.
[2025-03-10 07:21:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:21:04] Production.INFO: 117
[2025-03-10 07:21:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 07: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-03-10 07:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:21:04] Production.INFO: Total Charge 0
[2025-03-10 07:21:04] Production.INFO: CreateAllLog End
[2025-03-10 07:21:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:21:04] Production.INFO: count ==21
[2025-03-10 07:21:04] Production.INFO: ==14151== Releasing lock...
[2025-03-10 07:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647951') start
[2025-03-10 07:21:04] Production.ERROR: done
[2025-03-10 07:21:04] Production.INFO: Account Balance End.
[2025-03-10 07:21:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:21:04] Production.INFO: ==14156== Releasing lock...
[2025-03-10 07:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647951') end
[2025-03-10 07:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:21:04] Production.INFO: 1
[2025-03-10 07:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:21:04] Production.INFO: ==14160== Releasing lock...
[2025-03-10 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:21:05
[end_date_ymd] => 2025-03-10 07:21:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:21:05' and `end` < '2025-03-10 07: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-03-10 07:21:13] Production.ERROR: CronJobId end10
[2025-03-10 07:21:13] Production.INFO: ==14154== Releasing lock...
[2025-03-10 07:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:21:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:21:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:21:16] Production.INFO: call_cost start
[2025-03-10 07:21:16] Production.INFO: call_cost end
[2025-03-10 07:21:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:21:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:21:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:21:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:21:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:21:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:21:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:21:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:21:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:21:17] Production.INFO: ==14149== Releasing lock...
[2025-03-10 07:21:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:21:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:21:18] Production.INFO: count ==91
[2025-03-10 07:21:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:21:05 - End Time 2025-03-10 07:21:05
[2025-03-10 07:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647952', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647952', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647952', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647952', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:21:18] Production.INFO: ProcessCDR(1,14647952,1,1,2)
[2025-03-10 07:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647952', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647952', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:21:21] Production.INFO: ==14158== Releasing lock...
[2025-03-10 07:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:21:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:22:02] Production.INFO: ==14216== Lock acquired, processing the job...
[2025-03-10 11:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:22:02] Production.INFO: neon service started
[2025-03-10 11:22:02] Production.INFO: neon service started
[2025-03-10 11:22:02] Production.INFO: ==14216== Releasing lock...
[2025-03-10 11:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:22:02] Production.INFO: ==14218== Lock acquired, processing the job...
[2025-03-10 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:22:03] Production.INFO: ==14218== Releasing lock...
[2025-03-10 07:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:22:03] Production.INFO: ==14220== Lock acquired, processing the job...
[2025-03-10 11:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:22:03] Production.INFO: ==14220== Releasing lock...
[2025-03-10 11:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:22:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:22:04] Production.INFO: ==14231== Lock acquired, processing the job...
[2025-03-10 07:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:22:04] Production.INFO: ==14223== Lock acquired, processing the job...
[2025-03-10 07:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:22:04] Production.INFO: ==14225== Lock acquired, processing the job...
[2025-03-10 07:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:22:04] Production.INFO: ==14233== Lock acquired, processing the job...
[2025-03-10 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:22:04] Production.INFO: ==14229== Lock acquired, processing the job...
[2025-03-10 07:22:04] Production.INFO: ==14227== Lock acquired, processing the job...
[2025-03-10 07:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:22:04] Production.INFO: Account Balance Start.
[2025-03-10 07:22:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:22:04] Production.INFO: 117
[2025-03-10 07:22:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 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-03-10 07:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:22:04] Production.INFO: count ==13
[2025-03-10 07:22:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 07:22:04] Production.INFO: count ==21
[2025-03-10 07:22:04] Production.ERROR: done
[2025-03-10 07:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647954') start
[2025-03-10 07:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:22:04] Production.INFO: Total Charge 0
[2025-03-10 07:22:04] Production.INFO: CreateAllLog End
[2025-03-10 07:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647954') end
[2025-03-10 07:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:22:04] Production.INFO: 1
[2025-03-10 07:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:22:04] Production.INFO: ==14233== Releasing lock...
[2025-03-10 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:22:04] Production.ERROR: done
[2025-03-10 07:22:04] Production.INFO: ==14225== Releasing lock...
[2025-03-10 07:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:22:05] Production.INFO: Account Balance End.
[2025-03-10 07:22:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:22:05] Production.INFO: ==14229== Releasing lock...
[2025-03-10 07:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:22:05
[end_date_ymd] => 2025-03-10 07:22:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:22:05' and `end` < '2025-03-10 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-03-10 07:22:13] Production.ERROR: CronJobId end10
[2025-03-10 07:22:13] Production.INFO: ==14227== Releasing lock...
[2025-03-10 07:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:22:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:22:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:22:15] Production.INFO: call_cost start
[2025-03-10 07:22:15] Production.INFO: call_cost end
[2025-03-10 07:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:22:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:22:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:22:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:22:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:22:16] Production.INFO: ==14223== Releasing lock...
[2025-03-10 07:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:22:17] Production.INFO: count ==94
[2025-03-10 07:22:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:22:05 - End Time 2025-03-10 07:22:05
[2025-03-10 07:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647957', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647957', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647957', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647957', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:22:17] Production.INFO: ProcessCDR(1,14647957,1,1,2)
[2025-03-10 07:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647957', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647957', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:22:21] Production.INFO: ==14231== Releasing lock...
[2025-03-10 07:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:22:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:23:01] Production.INFO: ==14294== Lock acquired, processing the job...
[2025-03-10 11:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:23:01] Production.INFO: neon service started
[2025-03-10 11:23:01] Production.INFO: neon service started
[2025-03-10 11:23:01] Production.INFO: ==14294== Releasing lock...
[2025-03-10 11:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:23:02] Production.INFO: ==14296== Lock acquired, processing the job...
[2025-03-10 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:23:02] Production.INFO: ==14298== Lock acquired, processing the job...
[2025-03-10 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:23:02] Production.INFO: ==14298== Releasing lock...
[2025-03-10 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:23:02] Production.INFO: ==14296== Releasing lock...
[2025-03-10 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:23:03] Production.INFO: ==14301== Lock acquired, processing the job...
[2025-03-10 07:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:23:03] Production.INFO: ==14305== Lock acquired, processing the job...
[2025-03-10 07:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:23:03] Production.INFO: ==14309== Lock acquired, processing the job...
[2025-03-10 07:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:23:03] Production.INFO: ==14303== Lock acquired, processing the job...
[2025-03-10 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:23:04] Production.INFO: ==14307== Lock acquired, processing the job...
[2025-03-10 07:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:23:04] Production.INFO: ==14311== Lock acquired, processing the job...
[2025-03-10 07:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:23:04] Production.ERROR: done
[2025-03-10 07:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:23:04] Production.INFO: Account Balance Start.
[2025-03-10 07:23:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:23:04] Production.INFO: 117
[2025-03-10 07:23:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 07: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-03-10 07:23:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:23:04] Production.INFO: count ==13
[2025-03-10 07:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 07: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-03-10 07:23:04] Production.INFO: count ==21
[2025-03-10 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647961') start
[2025-03-10 07:23:04] Production.ERROR: done
[2025-03-10 07:23:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:23:04] Production.INFO: ==14303== Releasing lock...
[2025-03-10 07:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:23:04] Production.INFO: Total Charge 0
[2025-03-10 07:23:04] Production.INFO: CreateAllLog End
[2025-03-10 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647961') end
[2025-03-10 07:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:23:04] Production.INFO: 1
[2025-03-10 07:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:23:04] Production.INFO: ==14311== Releasing lock...
[2025-03-10 07:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:23:04] Production.INFO: Account Balance End.
[2025-03-10 07:23:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:23:04] Production.INFO: ==14307== Releasing lock...
[2025-03-10 07:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:23:05
[end_date_ymd] => 2025-03-10 07:23:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:23:05' and `end` < '2025-03-10 07: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-03-10 07:23: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-03-10 07:23:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:23:11] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:23:11] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:23:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:23:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:23:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:23:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:23:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:23:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:23:11] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:23:11] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:23:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:23:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:23:11] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:23:11] Production.INFO: call_cost start
[2025-03-10 07:23:11] Production.INFO: call_cost end
[2025-03-10 07:23:12] Production.ERROR: CronJobId end10
[2025-03-10 07:23:12] Production.INFO: ==14305== Releasing lock...
[2025-03-10 07:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:23:12] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:23:12] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:23:12] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:23:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:23:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:23:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:23:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:23:12] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:23:12] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:23:12] Production.INFO: ==14301== Releasing lock...
[2025-03-10 07:23:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:23:12] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:23:17] Production.INFO: count ==94
[2025-03-10 07:23:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:23:05 - End Time 2025-03-10 07:23:05
[2025-03-10 07:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647962', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647962', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647962', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647962', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:23:17] Production.INFO: ProcessCDR(1,14647962,1,1,2)
[2025-03-10 07:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647962', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647962', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:23:21] Production.INFO: ==14309== Releasing lock...
[2025-03-10 07:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:23:21] Production.INFO: 28.75 MB #Memory Used#
[2025-03-10 11:24:02] Production.INFO: ==14364== Lock acquired, processing the job...
[2025-03-10 11:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:24:02] Production.INFO: neon service started
[2025-03-10 11:24:02] Production.INFO: neon service started
[2025-03-10 11:24:02] Production.INFO: ==14364== Releasing lock...
[2025-03-10 11:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:24:02] Production.INFO: ==14366== Lock acquired, processing the job...
[2025-03-10 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:24:03] Production.INFO: ==14366== Releasing lock...
[2025-03-10 07:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:24:03] Production.INFO: ==14368== Lock acquired, processing the job...
[2025-03-10 11:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:24:03] Production.INFO: ==14368== Releasing lock...
[2025-03-10 11:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:24:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:24:04] Production.INFO: ==14377== Lock acquired, processing the job...
[2025-03-10 07:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:24:04] Production.INFO: ==14379== Lock acquired, processing the job...
[2025-03-10 07:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:24:04] Production.INFO: ==14370== Lock acquired, processing the job...
[2025-03-10 07:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:24:04] Production.INFO: Account Balance Start.
[2025-03-10 07:24:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:24:04] Production.INFO: 117
[2025-03-10 07:24:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:24:04] Production.INFO: ==14372== Lock acquired, processing the job...
[2025-03-10 07:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:24:04] Production.INFO: ==14375== Lock acquired, processing the job...
[2025-03-10 07:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:24:04] Production.INFO: ==14381== Lock acquired, processing the job...
[2025-03-10 07:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:24:04] Production.INFO: Total Charge 0
[2025-03-10 07:24:04] Production.INFO: CreateAllLog End
[2025-03-10 07:24:04] Production.ERROR: done
[2025-03-10 07:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07: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-03-10 07:24:05] Production.INFO: count ==13
[2025-03-10 07:24:05] Production.ERROR: done
[2025-03-10 07:24: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-03-10 07:24:05] Production.INFO: count ==21
[2025-03-10 07:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647966') start
[2025-03-10 07:24:05] Production.INFO: ==14372== Releasing lock...
[2025-03-10 07:24:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:24:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:24:05] Production.INFO: Account Balance End.
[2025-03-10 07:24:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:24:05] Production.INFO: ==14377== Releasing lock...
[2025-03-10 07:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647966') end
[2025-03-10 07:24:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:24:05] Production.INFO: 1
[2025-03-10 07:24:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:24:05] Production.INFO: ==14381== Releasing lock...
[2025-03-10 07:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:24:06
[end_date_ymd] => 2025-03-10 07:24:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:24:06' and `end` < '2025-03-10 07: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-03-10 07:24:12] Production.ERROR: CronJobId end10
[2025-03-10 07:24:12] Production.INFO: ==14375== Releasing lock...
[2025-03-10 07:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:24:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:24:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:24:15] Production.INFO: call_cost start
[2025-03-10 07:24:15] Production.INFO: call_cost end
[2025-03-10 07:24:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:24:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:24:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:24:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:24:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:24:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:24:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:24:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:24:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:24:17] Production.INFO: ==14370== Releasing lock...
[2025-03-10 07:24:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:24:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:24:18] Production.INFO: count ==97
[2025-03-10 07:24:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:24:06 - End Time 2025-03-10 07:24:06
[2025-03-10 07:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647967', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647967', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647967', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647967', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:24:18] Production.INFO: ProcessCDR(1,14647967,1,1,2)
[2025-03-10 07:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647967', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647967', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:24:22] Production.INFO: ==14379== Releasing lock...
[2025-03-10 07:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:24:22] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 11:25:01] Production.INFO: ==14435== Lock acquired, processing the job...
[2025-03-10 11:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:25:01] Production.INFO: neon service started
[2025-03-10 11:25:01] Production.INFO: neon service started
[2025-03-10 11:25:01] Production.INFO: ==14435== Releasing lock...
[2025-03-10 11:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:25:02] Production.INFO: ==14437== Lock acquired, processing the job...
[2025-03-10 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:25:02] Production.INFO: ==14439== Lock acquired, processing the job...
[2025-03-10 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:25:02] Production.INFO: ==14439== Releasing lock...
[2025-03-10 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:25:03] Production.INFO: ==14437== Releasing lock...
[2025-03-10 07:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:25:04] Production.INFO: ==14442== Lock acquired, processing the job...
[2025-03-10 07:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:25:04] Production.INFO: ==14444== Lock acquired, processing the job...
[2025-03-10 07:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:25:04] Production.INFO: ==14446== Lock acquired, processing the job...
[2025-03-10 07:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:25:04] Production.INFO: ==14448== Lock acquired, processing the job...
[2025-03-10 07:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:25:04] Production.INFO: ==14450== Lock acquired, processing the job...
[2025-03-10 07:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:25:04] Production.INFO: Account Balance Start.
[2025-03-10 07:25:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:25:04] Production.INFO: 117
[2025-03-10 07:25:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:25:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:25:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:25:04] Production.INFO: ==14452== Lock acquired, processing the job...
[2025-03-10 07:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:25:04] Production.INFO: Total Charge 0
[2025-03-10 07:25:04] Production.INFO: CreateAllLog End
[2025-03-10 07:25:04] Production.INFO: ==14444== Releasing lock...
[2025-03-10 07:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07: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-03-10 07:25:04] Production.INFO: Account Balance End.
[2025-03-10 07:25:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:25:04] Production.INFO: count ==21
[2025-03-10 07:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:25:04] Production.INFO: ==14448== Releasing lock...
[2025-03-10 07:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647971') start
[2025-03-10 07:25:04] Production.ERROR: done
[2025-03-10 07:25:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:25:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647971') end
[2025-03-10 07:25:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:25:05] Production.INFO: 1
[2025-03-10 07:25:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:25:05] Production.INFO: ==14452== Releasing lock...
[2025-03-10 07:25:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:25:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:25:05] Production.ERROR: done
[2025-03-10 07:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:25:06
[end_date_ymd] => 2025-03-10 07:25:06
[RateCDR] => 1
)
[2025-03-10 07:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 04:25:06' and `end` < '2025-03-10 07:25:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 07:25:13] Production.ERROR: CronJobId end10
[2025-03-10 07:25:13] Production.INFO: ==14446== Releasing lock...
[2025-03-10 07:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:25:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:25:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:25:15] Production.INFO: call_cost start
[2025-03-10 07:25:15] Production.INFO: call_cost end
[2025-03-10 07:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:25:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:25:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:25:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:25:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:25:16] Production.INFO: ==14442== Releasing lock...
[2025-03-10 07:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:25:18] Production.INFO: count ==97
[2025-03-10 07:25:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:25:06 - End Time 2025-03-10 07:25:06
[2025-03-10 07:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647972', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647972', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647972', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647972', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:25:18] Production.INFO: ProcessCDR(1,14647972,1,1,2)
[2025-03-10 07:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647972', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647972', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:25:21] Production.INFO: ==14450== Releasing lock...
[2025-03-10 07:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:25:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 11:26:01] Production.INFO: ==14510== Lock acquired, processing the job...
[2025-03-10 11:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:26:01] Production.INFO: neon service started
[2025-03-10 11:26:01] Production.INFO: neon service started
[2025-03-10 11:26:01] Production.INFO: ==14510== Releasing lock...
[2025-03-10 11:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:26:02] Production.INFO: ==14512== Lock acquired, processing the job...
[2025-03-10 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:26:02] Production.INFO: ==14514== Lock acquired, processing the job...
[2025-03-10 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:26:02] Production.INFO: ==14514== Releasing lock...
[2025-03-10 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:26:02] Production.INFO: ==14512== Releasing lock...
[2025-03-10 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:26:03] Production.INFO: ==14521== Lock acquired, processing the job...
[2025-03-10 07:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:26:03] Production.INFO: ==14523== Lock acquired, processing the job...
[2025-03-10 07:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:26:03] Production.INFO: ==14517== Lock acquired, processing the job...
[2025-03-10 07:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:26:03] Production.INFO: ==14519== Lock acquired, processing the job...
[2025-03-10 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:26:03] Production.INFO: Account Balance Start.
[2025-03-10 07:26:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:26:03] Production.INFO: 117
[2025-03-10 07:26:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:26:03] Production.INFO: ==14525== Lock acquired, processing the job...
[2025-03-10 07:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:26:03] Production.INFO: ==14527== Lock acquired, processing the job...
[2025-03-10 07:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:26:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:26:04] Production.INFO: Total Charge 0
[2025-03-10 07:26:04] Production.INFO: CreateAllLog End
[2025-03-10 07: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-03-10 07:26:04] Production.INFO: ==14519== Releasing lock...
[2025-03-10 07:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:26:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:26:04] Production.INFO: count ==21
[2025-03-10 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647976') start
[2025-03-10 07:26:04] Production.ERROR: done
[2025-03-10 07:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:26:04] Production.INFO: Account Balance End.
[2025-03-10 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647976') end
[2025-03-10 07:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:26:04] Production.INFO: 1
[2025-03-10 07:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:26:04] Production.INFO: ==14523== Releasing lock...
[2025-03-10 07:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:26:04] Production.INFO: ==14527== Releasing lock...
[2025-03-10 07:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:26:04] Production.ERROR: done
[2025-03-10 07:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:26:05
[end_date_ymd] => 2025-03-10 07:26:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:26:05' and `end` < '2025-03-10 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-03-10 07:26:12] Production.ERROR: CronJobId end10
[2025-03-10 07:26:12] Production.INFO: ==14521== Releasing lock...
[2025-03-10 07:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:26:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:26:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:26:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:26:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:26:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:26:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:26:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:26:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:26:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:26:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:26:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:26:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:26:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:26:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:26:16] Production.INFO: call_cost start
[2025-03-10 07:26:16] Production.INFO: call_cost end
[2025-03-10 07:26:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:26:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:26:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:26:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:26:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:26:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:26:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:26:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:26:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:26:17] Production.INFO: ==14517== Releasing lock...
[2025-03-10 07:26:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:26:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:26:17] Production.INFO: count ==97
[2025-03-10 07:26:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:26:05 - End Time 2025-03-10 07:26:05
[2025-03-10 07:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647977', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647977', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647977', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647977', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:26:17] Production.INFO: ProcessCDR(1,14647977,1,1,2)
[2025-03-10 07:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647977', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647977', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:26:21] Production.INFO: ==14525== Releasing lock...
[2025-03-10 07:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:26:21] Production.INFO: 28.5 MB #Memory Used#
[2025-03-10 11:27:02] Production.INFO: ==14580== Lock acquired, processing the job...
[2025-03-10 11:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:27:02] Production.INFO: neon service started
[2025-03-10 11:27:02] Production.INFO: neon service started
[2025-03-10 11:27:02] Production.INFO: ==14580== Releasing lock...
[2025-03-10 11:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:27:02] Production.INFO: ==14582== Lock acquired, processing the job...
[2025-03-10 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:27:02] Production.INFO: ==14584== Lock acquired, processing the job...
[2025-03-10 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:27:02] Production.INFO: ==14584== Releasing lock...
[2025-03-10 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:27:03] Production.INFO: ==14582== Releasing lock...
[2025-03-10 07:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:27:04] Production.INFO: ==14587== Lock acquired, processing the job...
[2025-03-10 07:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:27:04] Production.INFO: ==14593== Lock acquired, processing the job...
[2025-03-10 07:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:27:04] Production.INFO: Account Balance Start.
[2025-03-10 07:27:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:27:04] Production.INFO: 117
[2025-03-10 07:27:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:27:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:27:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:27:04] Production.INFO: ==14589== Lock acquired, processing the job...
[2025-03-10 07:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:27:04] Production.INFO: ==14591== Lock acquired, processing the job...
[2025-03-10 07:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:27:04] Production.INFO: ==14595== Lock acquired, processing the job...
[2025-03-10 07:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:27:04] Production.INFO: Total Charge 0
[2025-03-10 07:27:04] Production.INFO: CreateAllLog End
[2025-03-10 07:27:04] Production.INFO: ==14597== Lock acquired, processing the job...
[2025-03-10 07:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07: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-03-10 07:27:04] Production.INFO: Account Balance End.
[2025-03-10 07:27:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:27:04] Production.INFO: count ==21
[2025-03-10 07:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:27:04] Production.INFO: ==14593== Releasing lock...
[2025-03-10 07:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647981') start
[2025-03-10 07:27:05] Production.INFO: ==14589== Releasing lock...
[2025-03-10 07:27:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:27:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:27:05] Production.ERROR: done
[2025-03-10 07:27:05] Production.ERROR: PBX CALL prc_importPBXExtension('14647981') end
[2025-03-10 07:27:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:27:05] Production.INFO: 1
[2025-03-10 07:27:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:27:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:27:05] Production.INFO: ==14597== Releasing lock...
[2025-03-10 07:27:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:27:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:27:05] Production.ERROR: done
[2025-03-10 07:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:27:06
[end_date_ymd] => 2025-03-10 07:27:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:27:06' and `end` < '2025-03-10 07: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-03-10 07:27:12] Production.ERROR: CronJobId end10
[2025-03-10 07:27:12] Production.INFO: ==14591== Releasing lock...
[2025-03-10 07:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:27:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:27:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:27:16] Production.INFO: call_cost start
[2025-03-10 07:27:16] Production.INFO: call_cost end
[2025-03-10 07:27:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:27:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:27:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:27:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:27:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:27:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:27:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:27:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:27:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:27:17] Production.INFO: ==14587== Releasing lock...
[2025-03-10 07:27:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:27:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:27:18] Production.INFO: count ==102
[2025-03-10 07:27:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:27:06 - End Time 2025-03-10 07:27:06
[2025-03-10 07:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647982', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647982', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647982', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647982', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:27:18] Production.INFO: ProcessCDR(1,14647982,1,1,2)
[2025-03-10 07:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647982', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647982', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:27:22] Production.INFO: ==14595== Releasing lock...
[2025-03-10 07:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:27:22] Production.INFO: 29 MB #Memory Used#
[2025-03-10 11:28:01] Production.INFO: ==14659== Lock acquired, processing the job...
[2025-03-10 11:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:28:01] Production.INFO: neon service started
[2025-03-10 11:28:01] Production.INFO: neon service started
[2025-03-10 11:28:01] Production.INFO: ==14659== Releasing lock...
[2025-03-10 11:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:28:02] Production.INFO: ==14662== Lock acquired, processing the job...
[2025-03-10 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:28:02] Production.INFO: ==14662== Releasing lock...
[2025-03-10 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:28:02] Production.INFO: ==14664== Lock acquired, processing the job...
[2025-03-10 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:28:02] Production.INFO: ==14664== Releasing lock...
[2025-03-10 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:28:03] Production.INFO: ==14666== Lock acquired, processing the job...
[2025-03-10 07:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:28:03] Production.INFO: ==14676== Lock acquired, processing the job...
[2025-03-10 07:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:28:03] Production.INFO: ==14674== Lock acquired, processing the job...
[2025-03-10 07:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:28:03] Production.INFO: ==14668== Lock acquired, processing the job...
[2025-03-10 07:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07: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-03-10 07:28:03] Production.INFO: ==14670== Lock acquired, processing the job...
[2025-03-10 07:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:28:03] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:28:03] Production.INFO: count ==21
[2025-03-10 07:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647984') start
[2025-03-10 07:28:03] Production.INFO: ==14672== Lock acquired, processing the job...
[2025-03-10 07:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14647984') end
[2025-03-10 07:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:28:03] Production.INFO: 1
[2025-03-10 07:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:28:03] Production.INFO: Account Balance Start.
[2025-03-10 07:28:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:28:03] Production.INFO: 117
[2025-03-10 07:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:28:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:28:04] Production.INFO: ==14676== Releasing lock...
[2025-03-10 07:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:28:04] Production.ERROR: done
[2025-03-10 07:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:28:04] Production.INFO: Total Charge 0
[2025-03-10 07:28:04] Production.INFO: CreateAllLog End
[2025-03-10 07:28:04] Production.ERROR: done
[2025-03-10 07:28:04] Production.INFO: ==14668== Releasing lock...
[2025-03-10 07:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:28:04] Production.INFO: Account Balance End.
[2025-03-10 07:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:28:04] Production.INFO: ==14672== Releasing lock...
[2025-03-10 07:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:28:05
[end_date_ymd] => 2025-03-10 07:28:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:28:05' and `end` < '2025-03-10 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-03-10 07:28:12] Production.ERROR: CronJobId end10
[2025-03-10 07:28:12] Production.INFO: ==14670== Releasing lock...
[2025-03-10 07:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:28:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:28:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:28:15] Production.INFO: call_cost start
[2025-03-10 07:28:15] Production.INFO: call_cost end
[2025-03-10 07:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:28:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:28:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:28:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:28:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:28:16] Production.INFO: ==14666== Releasing lock...
[2025-03-10 07:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:28:17] Production.INFO: count ==103
[2025-03-10 07:28:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:28:05 - End Time 2025-03-10 07:28:05
[2025-03-10 07:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647987', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647987', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647987', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647987', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:28:17] Production.INFO: ProcessCDR(1,14647987,1,1,2)
[2025-03-10 07:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647987', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647987', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:28:23] Production.INFO: ==14674== Releasing lock...
[2025-03-10 07:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:28:23] Production.INFO: 29 MB #Memory Used#
[2025-03-10 11:29:02] Production.INFO: ==14730== Lock acquired, processing the job...
[2025-03-10 11:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:29:02] Production.INFO: neon service started
[2025-03-10 11:29:02] Production.INFO: neon service started
[2025-03-10 11:29:02] Production.INFO: ==14730== Releasing lock...
[2025-03-10 11:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:29:02] Production.INFO: ==14734== Lock acquired, processing the job...
[2025-03-10 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:29:02] Production.INFO: ==14734== Releasing lock...
[2025-03-10 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:29:02] Production.INFO: ==14732== Lock acquired, processing the job...
[2025-03-10 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:29:03] Production.INFO: ==14732== Releasing lock...
[2025-03-10 07:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:29:04] Production.INFO: ==14745== Lock acquired, processing the job...
[2025-03-10 07:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:29:04] Production.INFO: ==14747== Lock acquired, processing the job...
[2025-03-10 07:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:29:04] Production.INFO: ==14739== Lock acquired, processing the job...
[2025-03-10 07:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:29:04] Production.INFO: ==14737== Lock acquired, processing the job...
[2025-03-10 07:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07: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-03-10 07:29:04] Production.INFO: ==14741== Lock acquired, processing the job...
[2025-03-10 07:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:29:04] Production.INFO: ==14743== Lock acquired, processing the job...
[2025-03-10 07:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:29:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:29:04] Production.INFO: count ==21
[2025-03-10 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647988') start
[2025-03-10 07:29:04] Production.INFO: Account Balance Start.
[2025-03-10 07:29:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:29:04] Production.ERROR: done
[2025-03-10 07:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:29:04] Production.INFO: 117
[2025-03-10 07:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:29:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647988') end
[2025-03-10 07:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:29:04] Production.INFO: 1
[2025-03-10 07:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:29:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:29:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:29:04] Production.INFO: Total Charge 0
[2025-03-10 07:29:04] Production.INFO: CreateAllLog End
[2025-03-10 07:29:04] Production.INFO: ==14747== Releasing lock...
[2025-03-10 07:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:29:04] Production.ERROR: done
[2025-03-10 07:29:04] Production.INFO: ==14739== Releasing lock...
[2025-03-10 07:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:29:05] Production.INFO: Account Balance End.
[2025-03-10 07:29:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:29:05] Production.INFO: ==14743== Releasing lock...
[2025-03-10 07:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:29:06
[end_date_ymd] => 2025-03-10 07:29:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:29:06' and `end` < '2025-03-10 07: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-03-10 07:29:13] Production.ERROR: CronJobId end10
[2025-03-10 07:29:13] Production.INFO: ==14741== Releasing lock...
[2025-03-10 07:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:29:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:29:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:29:16] Production.INFO: call_cost start
[2025-03-10 07:29:16] Production.INFO: call_cost end
[2025-03-10 07:29:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:29:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:29:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:29:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:29:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:29:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:29:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:29:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:29:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:29:17] Production.INFO: ==14737== Releasing lock...
[2025-03-10 07:29:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:29:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:29:18] Production.INFO: count ==108
[2025-03-10 07:29:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:29:06 - End Time 2025-03-10 07:29:06
[2025-03-10 07:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647992', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647992', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647992', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647992', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:29:18] Production.INFO: ProcessCDR(1,14647992,1,1,2)
[2025-03-10 07:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647992', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647992', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:29:21] Production.INFO: ==14745== Releasing lock...
[2025-03-10 07:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:29:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 11:30:01] Production.INFO: ==14804== Lock acquired, processing the job...
[2025-03-10 11:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:30:01] Production.INFO: neon service started
[2025-03-10 11:30:01] Production.INFO: neon service started
[2025-03-10 11:30:01] Production.INFO: ==14804== Releasing lock...
[2025-03-10 11:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:30:02] Production.INFO: ==14806== Lock acquired, processing the job...
[2025-03-10 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:30:02] Production.INFO: ==14806== Releasing lock...
[2025-03-10 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:30:02] Production.INFO: ==14808== Lock acquired, processing the job...
[2025-03-10 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:30:02] Production.INFO: ==14808== Releasing lock...
[2025-03-10 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:30:03] Production.INFO: ==14813== Lock acquired, processing the job...
[2025-03-10 07:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:30:03] Production.INFO: ==14811== Lock acquired, processing the job...
[2025-03-10 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 07:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:30:03] Production.INFO: ==14819== Lock acquired, processing the job...
[2025-03-10 07:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:30:03] Production.INFO: ==14823== Lock acquired, processing the job...
[2025-03-10 07:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 07:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 07:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:30:03] Production.ERROR: CronJob PID - 14813
[2025-03-10 07:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 07:30:03] Production.ERROR: CronJob ID - 5
[2025-03-10 07:30:03] Production.ERROR: CronJob Last Run Time 2025-03-10 07:30:00
[2025-03-10 07:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:30:03] Production.ERROR: CronJob PID - 14819
[2025-03-10 07:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 07:30:03] Production.ERROR: CronJob ID - 12
[2025-03-10 07:30:03] Production.ERROR: CronJob Last Run Time 2025-03-10 07:30:00
[2025-03-10 07:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:30:04] Production.INFO: ==14815== Lock acquired, processing the job...
[2025-03-10 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 07:30:04] Production.INFO: ==14811== Releasing lock...
[2025-03-10 07:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 07:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:30:04] Production.INFO: Account Balance Start.
[2025-03-10 07:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:30:04] Production.INFO: 117
[2025-03-10 07:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:30:04] Production.INFO: ==14817== Lock acquired, processing the job...
[2025-03-10 07:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:30:04] Production.INFO: ==14821== Lock acquired, processing the job...
[2025-03-10 07:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:30:04] Production.INFO: ==14825== Lock acquired, processing the job...
[2025-03-10 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:30:04] Production.INFO: Total Charge 0
[2025-03-10 07:30:04] Production.INFO: CreateAllLog End
[2025-03-10 07:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:30:04] Production.ERROR: done
[2025-03-10 07:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 07:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647997', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 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-03-10 07:30:04] Production.INFO: count ==13
[2025-03-10 07:30:04] Production.INFO: ==14815== Releasing lock...
[2025-03-10 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 07:30:04] Production.INFO: count ==21
[2025-03-10 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647996') start
[2025-03-10 07:30:04] Production.INFO: Account Balance End.
[2025-03-10 07:30:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:30:04] Production.INFO: ==14819== Releasing lock...
[2025-03-10 07:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:30:04] Production.ERROR: done
[2025-03-10 07:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14647996') end
[2025-03-10 07:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:30:04] Production.INFO: 1
[2025-03-10 07:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:30:05] Production.INFO: ==14825== Releasing lock...
[2025-03-10 07:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:30:05] Production.ERROR: done
[2025-03-10 07:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:30:06
[end_date_ymd] => 2025-03-10 07:30:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:30:06' and `end` < '2025-03-10 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-03-10 07:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14647997', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 07:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 07:30:09] Production.INFO: ProcessCDR(1,14647997,1,1,2)
[2025-03-10 07:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14647997,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14647997,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:30:09] Production.INFO: ==14823== Releasing lock...
[2025-03-10 07:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 07:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 07:30:14] Production.ERROR: CronJobId end10
[2025-03-10 07:30:14] Production.INFO: ==14817== Releasing lock...
[2025-03-10 07:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:30:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:30:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:30:18] Production.INFO: call_cost start
[2025-03-10 07:30:18] Production.INFO: call_cost end
[2025-03-10 07:30:18] Production.INFO: count ==119
[2025-03-10 07:30:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:30:06 - End Time 2025-03-10 07:30:06
[2025-03-10 07:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647998', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14647998', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647998', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14647998', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:30:18] Production.INFO: ProcessCDR(1,14647998,1,1,2)
[2025-03-10 07:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14647998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:30:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:30:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:30:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:30:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:30:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:30:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:30:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:30:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:30:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:30:19] Production.INFO: ==14813== Releasing lock...
[2025-03-10 07:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:30:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14647998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14647998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14647998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647998', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14647998', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:30:22] Production.INFO: ==14821== Releasing lock...
[2025-03-10 07:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:30:22] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 11:31:02] Production.INFO: ==14902== Lock acquired, processing the job...
[2025-03-10 11:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:31:02] Production.INFO: neon service started
[2025-03-10 11:31:02] Production.INFO: neon service started
[2025-03-10 11:31:02] Production.INFO: ==14902== Releasing lock...
[2025-03-10 11:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:31:02] Production.INFO: ==14904== Lock acquired, processing the job...
[2025-03-10 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:31:02] Production.INFO: ==14906== Lock acquired, processing the job...
[2025-03-10 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:31:02] Production.INFO: ==14906== Releasing lock...
[2025-03-10 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:31:03] Production.INFO: ==14904== Releasing lock...
[2025-03-10 07:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:31:04] Production.INFO: ==14909== Lock acquired, processing the job...
[2025-03-10 07:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:31:04] Production.INFO: ==14911== Lock acquired, processing the job...
[2025-03-10 07:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:31:04] Production.INFO: ==14919== Lock acquired, processing the job...
[2025-03-10 07:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 07:31:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:31:04] Production.INFO: count ==21
[2025-03-10 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648001') start
[2025-03-10 07:31:04] Production.INFO: ==14913== Lock acquired, processing the job...
[2025-03-10 07:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:31:04] Production.INFO: ==14911== Releasing lock...
[2025-03-10 07:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:31:04] Production.INFO: ==14917== Lock acquired, processing the job...
[2025-03-10 07:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648001') end
[2025-03-10 07:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:31:04] Production.INFO: 1
[2025-03-10 07:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:31:04] Production.INFO: ==14915== Lock acquired, processing the job...
[2025-03-10 07:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:31:04] Production.INFO: ==14919== Releasing lock...
[2025-03-10 07:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:31:04] Production.INFO: Account Balance Start.
[2025-03-10 07:31:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:31:04] Production.INFO: 117
[2025-03-10 07:31:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:31:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:31:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:31:04] Production.INFO: Total Charge 0
[2025-03-10 07:31:04] Production.INFO: CreateAllLog End
[2025-03-10 07:31:05] Production.ERROR: done
[2025-03-10 07:31:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:31:05] Production.INFO: Account Balance End.
[2025-03-10 07:31:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:31:05] Production.INFO: ==14915== Releasing lock...
[2025-03-10 07:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:31:05] Production.ERROR: done
[2025-03-10 07:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:31:06
[end_date_ymd] => 2025-03-10 07:31:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:31:06' and `end` < '2025-03-10 07: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-03-10 07:31:13] Production.ERROR: CronJobId end10
[2025-03-10 07:31:13] Production.INFO: ==14913== Releasing lock...
[2025-03-10 07:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:31:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:31:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:31:15] Production.INFO: call_cost start
[2025-03-10 07:31:15] Production.INFO: call_cost end
[2025-03-10 07:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:31:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:31:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:31:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:31:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:31:16] Production.INFO: ==14909== Releasing lock...
[2025-03-10 07:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:31:18] Production.INFO: count ==119
[2025-03-10 07:31:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:31:06 - End Time 2025-03-10 07:31:06
[2025-03-10 07:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648003', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648003', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648003', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648003', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:31:18] Production.INFO: ProcessCDR(1,14648003,1,1,2)
[2025-03-10 07:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648003', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648003', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:31:22] Production.INFO: ==14917== Releasing lock...
[2025-03-10 07:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:31:22] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 11:32:01] Production.INFO: ==14977== Lock acquired, processing the job...
[2025-03-10 11:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:32:01] Production.INFO: neon service started
[2025-03-10 11:32:01] Production.INFO: neon service started
[2025-03-10 11:32:01] Production.INFO: ==14977== Releasing lock...
[2025-03-10 11:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:32:02] Production.INFO: ==14981== Lock acquired, processing the job...
[2025-03-10 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:32:02] Production.INFO: ==14981== Releasing lock...
[2025-03-10 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:32:02] Production.INFO: ==14979== Lock acquired, processing the job...
[2025-03-10 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:32:02] Production.INFO: ==14979== Releasing lock...
[2025-03-10 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:32:03] Production.INFO: ==14983== Lock acquired, processing the job...
[2025-03-10 07:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:32:03] Production.INFO: ==14987== Lock acquired, processing the job...
[2025-03-10 07:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:32:03] Production.INFO: ==14992== Lock acquired, processing the job...
[2025-03-10 07:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:32:03] Production.INFO: ==14985== Lock acquired, processing the job...
[2025-03-10 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:32:03] Production.INFO: ==14989== Lock acquired, processing the job...
[2025-03-10 07:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:32:03] Production.INFO: Account Balance Start.
[2025-03-10 07:32:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:32:03] Production.INFO: 117
[2025-03-10 07:32:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:32:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:32:03] Production.INFO: ==14994== Lock acquired, processing the job...
[2025-03-10 07:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:32:04] Production.ERROR: done
[2025-03-10 07:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07: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-03-10 07:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:32:04] Production.INFO: Total Charge 0
[2025-03-10 07:32:04] Production.INFO: count ==13
[2025-03-10 07:32:04] Production.INFO: CreateAllLog End
[2025-03-10 07: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-03-10 07:32:04] Production.INFO: count ==21
[2025-03-10 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648007') start
[2025-03-10 07:32:04] Production.INFO: ==14985== Releasing lock...
[2025-03-10 07:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:32:04] Production.ERROR: done
[2025-03-10 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648007') end
[2025-03-10 07:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:32:04] Production.INFO: 1
[2025-03-10 07:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:32:04] Production.INFO: ==14994== Releasing lock...
[2025-03-10 07:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:32:04] Production.INFO: Account Balance End.
[2025-03-10 07:32:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:32:04] Production.INFO: ==14989== Releasing lock...
[2025-03-10 07:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:32:05
[end_date_ymd] => 2025-03-10 07:32:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:32:05' and `end` < '2025-03-10 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-03-10 07:32:12] Production.ERROR: CronJobId end10
[2025-03-10 07:32:12] Production.INFO: ==14987== Releasing lock...
[2025-03-10 07:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:32:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:32:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:32:15] Production.INFO: call_cost start
[2025-03-10 07:32:15] Production.INFO: call_cost end
[2025-03-10 07:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:32:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:32:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:32:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:32:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:32:16] Production.INFO: ==14983== Releasing lock...
[2025-03-10 07:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:32:17] Production.INFO: count ==120
[2025-03-10 07:32:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:32:05 - End Time 2025-03-10 07:32:05
[2025-03-10 07:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648008', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648008', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648008', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648008', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:32:17] Production.INFO: ProcessCDR(1,14648008,1,1,2)
[2025-03-10 07:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648008', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648008', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:32:22] Production.INFO: ==14992== Releasing lock...
[2025-03-10 07:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:32:22] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 11:33:02] Production.INFO: ==15047== Lock acquired, processing the job...
[2025-03-10 11:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:33:02] Production.INFO: neon service started
[2025-03-10 11:33:02] Production.INFO: neon service started
[2025-03-10 11:33:02] Production.INFO: ==15047== Releasing lock...
[2025-03-10 11:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:33:02] Production.INFO: ==15049== Lock acquired, processing the job...
[2025-03-10 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:33:02] Production.INFO: ==15051== Lock acquired, processing the job...
[2025-03-10 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:33:02] Production.INFO: ==15051== Releasing lock...
[2025-03-10 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:33:03] Production.INFO: ==15049== Releasing lock...
[2025-03-10 07:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:33:03] Production.INFO: ==15054== Lock acquired, processing the job...
[2025-03-10 07:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:33:04] Production.INFO: ==15056== Lock acquired, processing the job...
[2025-03-10 07:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:33:04] Production.INFO: ==15064== Lock acquired, processing the job...
[2025-03-10 07:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:33:04] Production.INFO: ==15056== Releasing lock...
[2025-03-10 07:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:33:04] Production.INFO: ==15058== Lock acquired, processing the job...
[2025-03-10 07:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 07:33:04] Production.INFO: ==15060== Lock acquired, processing the job...
[2025-03-10 07:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:33:04] Production.INFO: count ==13
[2025-03-10 07:33:04] Production.INFO: ==15062== Lock acquired, processing the job...
[2025-03-10 07:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:33:04] Production.INFO: Account Balance Start.
[2025-03-10 07:33:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:33:04] Production.INFO: 117
[2025-03-10 07:33:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 07:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:33:04] Production.INFO: count ==21
[2025-03-10 07:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648011') start
[2025-03-10 07:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648011') end
[2025-03-10 07:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:33:04] Production.INFO: 1
[2025-03-10 07:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:33:04] Production.INFO: Total Charge 0
[2025-03-10 07:33:04] Production.INFO: CreateAllLog End
[2025-03-10 07:33:04] Production.INFO: ==15064== Releasing lock...
[2025-03-10 07:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:33:05] Production.ERROR: done
[2025-03-10 07:33:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:33:05] Production.ERROR: done
[2025-03-10 07:33:05] Production.INFO: Account Balance End.
[2025-03-10 07:33:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:33:05] Production.INFO: ==15060== Releasing lock...
[2025-03-10 07:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:33:06
[end_date_ymd] => 2025-03-10 07:33:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:33:06' and `end` < '2025-03-10 07: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-03-10 07:33:13] Production.ERROR: CronJobId end10
[2025-03-10 07:33:13] Production.INFO: ==15058== Releasing lock...
[2025-03-10 07:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:33:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:33:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:33:16] Production.INFO: call_cost start
[2025-03-10 07:33:16] Production.INFO: call_cost end
[2025-03-10 07:33:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:33:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:33:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:33:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:33:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:33:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:33:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:33:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:33:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:33:17] Production.INFO: ==15054== Releasing lock...
[2025-03-10 07:33:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:33:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:33:18] Production.INFO: count ==125
[2025-03-10 07:33:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:33:06 - End Time 2025-03-10 07:33:06
[2025-03-10 07:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648013', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648013', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648013', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648013', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:33:18] Production.INFO: ProcessCDR(1,14648013,1,1,2)
[2025-03-10 07:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648013', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648013', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:33:22] Production.INFO: ==15062== Releasing lock...
[2025-03-10 07:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:33:22] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:34:01] Production.INFO: ==15119== Lock acquired, processing the job...
[2025-03-10 11:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:34:01] Production.INFO: neon service started
[2025-03-10 11:34:01] Production.INFO: neon service started
[2025-03-10 11:34:01] Production.INFO: ==15119== Releasing lock...
[2025-03-10 11:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:34:02] Production.INFO: ==15122== Lock acquired, processing the job...
[2025-03-10 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:34:02] Production.INFO: ==15122== Releasing lock...
[2025-03-10 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:34:02] Production.INFO: ==15124== Lock acquired, processing the job...
[2025-03-10 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:34:02] Production.INFO: ==15124== Releasing lock...
[2025-03-10 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:34:03] Production.INFO: ==15128== Lock acquired, processing the job...
[2025-03-10 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:34:03] Production.INFO: ==15136== Lock acquired, processing the job...
[2025-03-10 07:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:34:03] Production.INFO: ==15130== Lock acquired, processing the job...
[2025-03-10 07:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:34:03] Production.INFO: ==15126== Lock acquired, processing the job...
[2025-03-10 07:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:34:03] Production.INFO: ==15132== Lock acquired, processing the job...
[2025-03-10 07:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07: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-03-10 07:34:03] Production.INFO: ==15134== Lock acquired, processing the job...
[2025-03-10 07:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:34:03] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:34:03] Production.INFO: count ==21
[2025-03-10 07:34:03] Production.INFO: Account Balance Start.
[2025-03-10 07:34:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648015') start
[2025-03-10 07:34:03] Production.INFO: 117
[2025-03-10 07:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:34:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:34:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:34:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:34:03] Production.INFO: Total Charge 0
[2025-03-10 07:34:03] Production.INFO: CreateAllLog End
[2025-03-10 07:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648015') end
[2025-03-10 07:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:34:03] Production.INFO: 1
[2025-03-10 07:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:34:03] Production.INFO: ==15136== Releasing lock...
[2025-03-10 07:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:34:04] Production.INFO: ==15128== Releasing lock...
[2025-03-10 07:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:34:04] Production.ERROR: done
[2025-03-10 07:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:34:04] Production.ERROR: done
[2025-03-10 07:34:04] Production.INFO: Account Balance End.
[2025-03-10 07:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:34:04] Production.INFO: ==15132== Releasing lock...
[2025-03-10 07:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:34:05
[end_date_ymd] => 2025-03-10 07:34:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:34:05' and `end` < '2025-03-10 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-03-10 07:34:12] Production.ERROR: CronJobId end10
[2025-03-10 07:34:12] Production.INFO: ==15130== Releasing lock...
[2025-03-10 07:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:34:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:34:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:34:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:34:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:34:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:34:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:34:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:34:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:34:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:34:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:34:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:34:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:34:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:34:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:34:16] Production.INFO: call_cost start
[2025-03-10 07:34:16] Production.INFO: call_cost end
[2025-03-10 07:34:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:34:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:34:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:34:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:34:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:34:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:34:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:34:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:34:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:34:17] Production.INFO: ==15126== Releasing lock...
[2025-03-10 07:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:34:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:34:17] Production.INFO: count ==125
[2025-03-10 07:34:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:34:05 - End Time 2025-03-10 07:34:05
[2025-03-10 07:34:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648018', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648018', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648018', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648018', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:34:17] Production.INFO: ProcessCDR(1,14648018,1,1,2)
[2025-03-10 07:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648018', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648018', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:34:21] Production.INFO: ==15134== Releasing lock...
[2025-03-10 07:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:34:21] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:35:02] Production.INFO: ==15192== Lock acquired, processing the job...
[2025-03-10 11:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:35:02] Production.INFO: neon service started
[2025-03-10 11:35:02] Production.INFO: neon service started
[2025-03-10 11:35:02] Production.INFO: ==15192== Releasing lock...
[2025-03-10 11:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:35:02] Production.INFO: ==15194== Lock acquired, processing the job...
[2025-03-10 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:35:02] Production.INFO: ==15196== Lock acquired, processing the job...
[2025-03-10 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:35:03] Production.INFO: ==15196== Releasing lock...
[2025-03-10 11:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:35:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:35:03] Production.INFO: ==15194== Releasing lock...
[2025-03-10 07:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:35:04] Production.INFO: ==15199== Lock acquired, processing the job...
[2025-03-10 07:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:35:04] Production.INFO: ==15203== Lock acquired, processing the job...
[2025-03-10 07:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:35:04] Production.INFO: ==15205== Lock acquired, processing the job...
[2025-03-10 07:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:35:04] Production.INFO: Account Balance Start.
[2025-03-10 07:35:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:35:04] Production.INFO: 117
[2025-03-10 07:35:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:35:04] Production.INFO: ==15201== Lock acquired, processing the job...
[2025-03-10 07:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:35:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:35:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:35:04] Production.INFO: Total Charge 0
[2025-03-10 07:35:04] Production.INFO: CreateAllLog End
[2025-03-10 07:35:04] Production.INFO: ==15209== Lock acquired, processing the job...
[2025-03-10 07:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:35:04] Production.INFO: ==15207== Lock acquired, processing the job...
[2025-03-10 07:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 07:35:04] Production.INFO: count ==13
[2025-03-10 07:35:04] Production.INFO: ==15201== Releasing lock...
[2025-03-10 07:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 07:35:04] Production.INFO: count ==21
[2025-03-10 07:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648022') start
[2025-03-10 07:35:05] Production.INFO: Account Balance End.
[2025-03-10 07:35:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:35:05] Production.INFO: ==15205== Releasing lock...
[2025-03-10 07:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:35:05] Production.ERROR: done
[2025-03-10 07:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648022') end
[2025-03-10 07:35:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:35:05] Production.INFO: 1
[2025-03-10 07:35:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:35:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:35:05] Production.INFO: ==15209== Releasing lock...
[2025-03-10 07:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:35:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:35:05] Production.ERROR: done
[2025-03-10 07:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:35:06
[end_date_ymd] => 2025-03-10 07:35:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:35:06' and `end` < '2025-03-10 07: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-03-10 07:35:13] Production.ERROR: CronJobId end10
[2025-03-10 07:35:13] Production.INFO: ==15203== Releasing lock...
[2025-03-10 07:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:35:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:35:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:35:16] Production.INFO: call_cost start
[2025-03-10 07:35:16] Production.INFO: call_cost end
[2025-03-10 07:35:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:35:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:35:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:35:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:35:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:35:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:35:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:35:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:35:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:35:17] Production.INFO: ==15199== Releasing lock...
[2025-03-10 07:35:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:35:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:35:18] Production.INFO: count ==125
[2025-03-10 07:35:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:35:06 - End Time 2025-03-10 07:35:06
[2025-03-10 07:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648023', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648023', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648023', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648023', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:35:18] Production.INFO: ProcessCDR(1,14648023,1,1,2)
[2025-03-10 07:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648023', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648023', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:35:22] Production.INFO: ==15207== Releasing lock...
[2025-03-10 07:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:35:22] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:36:01] Production.INFO: ==15262== Lock acquired, processing the job...
[2025-03-10 11:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:36:01] Production.INFO: neon service started
[2025-03-10 11:36:01] Production.INFO: neon service started
[2025-03-10 11:36:01] Production.INFO: ==15262== Releasing lock...
[2025-03-10 11:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:36:02] Production.INFO: ==15266== Lock acquired, processing the job...
[2025-03-10 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:36:02] Production.INFO: ==15266== Releasing lock...
[2025-03-10 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:36:02] Production.INFO: ==15264== Lock acquired, processing the job...
[2025-03-10 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:36:02] Production.INFO: ==15264== Releasing lock...
[2025-03-10 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:36:03] Production.INFO: ==15268== Lock acquired, processing the job...
[2025-03-10 07:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:36:03] Production.INFO: ==15274== Lock acquired, processing the job...
[2025-03-10 07:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:36:03] Production.INFO: ==15279== Lock acquired, processing the job...
[2025-03-10 07:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:36:03] Production.INFO: Account Balance Start.
[2025-03-10 07:36:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:36:03] Production.INFO: 117
[2025-03-10 07:36:03] Production.INFO: Date 2025-03-08
[2025-03-10 07: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-03-10 07:36:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:36:03] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:36:03] Production.INFO: count ==21
[2025-03-10 07:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648026') start
[2025-03-10 07:36:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:36:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:36:03] Production.INFO: ==15270== Lock acquired, processing the job...
[2025-03-10 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:36:03] Production.INFO: ==15272== Lock acquired, processing the job...
[2025-03-10 07:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:36:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:36:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:36:03] Production.INFO: ==15277== Lock acquired, processing the job...
[2025-03-10 07:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:36:03] Production.INFO: Total Charge 0
[2025-03-10 07:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648026') end
[2025-03-10 07:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:36:03] Production.INFO: 1
[2025-03-10 07:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:36:03] Production.INFO: CreateAllLog End
[2025-03-10 07:36:03] Production.INFO: ==15279== Releasing lock...
[2025-03-10 07:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:36:04] Production.INFO: Account Balance End.
[2025-03-10 07:36:04] Production.ERROR: done
[2025-03-10 07:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:36:04] Production.INFO: ==15270== Releasing lock...
[2025-03-10 07:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:36:04] Production.INFO: ==15274== Releasing lock...
[2025-03-10 07:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:36:04] Production.ERROR: done
[2025-03-10 07:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:36:05
[end_date_ymd] => 2025-03-10 07:36:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:36:05' and `end` < '2025-03-10 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-03-10 07:36:11] Production.ERROR: CronJobId end10
[2025-03-10 07:36:11] Production.INFO: ==15272== Releasing lock...
[2025-03-10 07:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:36:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:36:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:36:14] Production.INFO: call_cost start
[2025-03-10 07:36:14] Production.INFO: call_cost end
[2025-03-10 07:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:36:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:36:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:36:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:36:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:36:15] Production.INFO: ==15268== Releasing lock...
[2025-03-10 07:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:36:17] Production.INFO: count ==126
[2025-03-10 07:36:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:36:05 - End Time 2025-03-10 07:36:05
[2025-03-10 07:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648028', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648028', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648028', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648028', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:36:17] Production.INFO: ProcessCDR(1,14648028,1,1,2)
[2025-03-10 07:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648028', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648028', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:36:20] Production.INFO: ==15277== Releasing lock...
[2025-03-10 07:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:36:20] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:37:02] Production.INFO: ==15373== Lock acquired, processing the job...
[2025-03-10 11:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:37:02] Production.INFO: neon service started
[2025-03-10 11:37:02] Production.INFO: neon service started
[2025-03-10 11:37:02] Production.INFO: ==15373== Releasing lock...
[2025-03-10 11:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:37:02] Production.INFO: ==15375== Lock acquired, processing the job...
[2025-03-10 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:37:02] Production.INFO: ==15375== Releasing lock...
[2025-03-10 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:37:03] Production.INFO: ==15377== Lock acquired, processing the job...
[2025-03-10 11:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:37:03] Production.INFO: ==15377== Releasing lock...
[2025-03-10 11:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:37:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:37:03] Production.INFO: ==15379== Lock acquired, processing the job...
[2025-03-10 07:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:37:03] Production.INFO: ==15384== Lock acquired, processing the job...
[2025-03-10 07:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:37:03] Production.INFO: ==15388== Lock acquired, processing the job...
[2025-03-10 07:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:37:04] Production.INFO: ==15382== Lock acquired, processing the job...
[2025-03-10 07:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:37:04] Production.INFO: ==15386== Lock acquired, processing the job...
[2025-03-10 07:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:37:04] Production.INFO: ==15390== Lock acquired, processing the job...
[2025-03-10 07:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:37:04] Production.INFO: Account Balance Start.
[2025-03-10 07:37:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:37:04] Production.INFO: 117
[2025-03-10 07:37:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 07:37:04] Production.ERROR: done
[2025-03-10 07:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:37:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:37:04] Production.INFO: count ==21
[2025-03-10 07:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648032') start
[2025-03-10 07:37:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:37:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:37:04] Production.INFO: Total Charge 0
[2025-03-10 07:37:04] Production.INFO: CreateAllLog End
[2025-03-10 07:37:04] Production.INFO: ==15382== Releasing lock...
[2025-03-10 07:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:37:04] Production.ERROR: done
[2025-03-10 07:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648032') end
[2025-03-10 07:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:37:04] Production.INFO: 1
[2025-03-10 07:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:37:04] Production.INFO: ==15390== Releasing lock...
[2025-03-10 07:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:37:04] Production.INFO: Account Balance End.
[2025-03-10 07:37:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:37:04] Production.INFO: ==15386== Releasing lock...
[2025-03-10 07:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:37:05
[end_date_ymd] => 2025-03-10 07:37:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:37:05' and `end` < '2025-03-10 07: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-03-10 07:37:12] Production.ERROR: CronJobId end10
[2025-03-10 07:37:12] Production.INFO: ==15384== Releasing lock...
[2025-03-10 07:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:37:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:37:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:37:15] Production.INFO: call_cost start
[2025-03-10 07:37:15] Production.INFO: call_cost end
[2025-03-10 07:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:37:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:37:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:37:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:37:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:37:15] Production.INFO: ==15379== Releasing lock...
[2025-03-10 07:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:37:17] Production.INFO: count ==129
[2025-03-10 07:37:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:37:05 - End Time 2025-03-10 07:37:05
[2025-03-10 07:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648033', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648033', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648033', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648033', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:37:17] Production.INFO: ProcessCDR(1,14648033,1,1,2)
[2025-03-10 07:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648033', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648033', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:37:21] Production.INFO: ==15388== Releasing lock...
[2025-03-10 07:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:37:21] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:38:01] Production.INFO: ==15447== Lock acquired, processing the job...
[2025-03-10 11:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:38:01] Production.INFO: neon service started
[2025-03-10 11:38:01] Production.INFO: neon service started
[2025-03-10 11:38:01] Production.INFO: ==15447== Releasing lock...
[2025-03-10 11:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:38:02] Production.INFO: ==15451== Lock acquired, processing the job...
[2025-03-10 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:38:02] Production.INFO: ==15451== Releasing lock...
[2025-03-10 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:38:02] Production.INFO: ==15449== Lock acquired, processing the job...
[2025-03-10 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:38:02] Production.INFO: ==15449== Releasing lock...
[2025-03-10 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:38:03] Production.INFO: ==15457== Lock acquired, processing the job...
[2025-03-10 07:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:38:03] Production.INFO: ==15463== Lock acquired, processing the job...
[2025-03-10 07:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07: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-03-10 07:38:03] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:38:03] Production.INFO: ==15453== Lock acquired, processing the job...
[2025-03-10 07:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:38:03] Production.INFO: count ==21
[2025-03-10 07:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648034') start
[2025-03-10 07:38:03] Production.INFO: ==15455== Lock acquired, processing the job...
[2025-03-10 07:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648034') end
[2025-03-10 07:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:38:03] Production.INFO: 1
[2025-03-10 07:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:38:03] Production.INFO: ==15459== Lock acquired, processing the job...
[2025-03-10 07:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:38:03] Production.INFO: ==15461== Lock acquired, processing the job...
[2025-03-10 07:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:38:03] Production.INFO: ==15463== Releasing lock...
[2025-03-10 07:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:38:03] Production.INFO: Account Balance Start.
[2025-03-10 07:38:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:38:03] Production.INFO: 117
[2025-03-10 07:38:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:38:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:38:04] Production.INFO: Total Charge 0
[2025-03-10 07:38:04] Production.INFO: CreateAllLog End
[2025-03-10 07:38:04] Production.ERROR: done
[2025-03-10 07:38:04] Production.INFO: ==15455== Releasing lock...
[2025-03-10 07:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:38:04] Production.INFO: Account Balance End.
[2025-03-10 07:38:04] Production.ERROR: done
[2025-03-10 07:38:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:38:04] Production.INFO: ==15459== Releasing lock...
[2025-03-10 07:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:38:05
[end_date_ymd] => 2025-03-10 07:38:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:38:05' and `end` < '2025-03-10 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-03-10 07:38:11] Production.ERROR: CronJobId end10
[2025-03-10 07:38:11] Production.INFO: ==15457== Releasing lock...
[2025-03-10 07:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:38:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:38:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:38:15] Production.INFO: call_cost start
[2025-03-10 07:38:15] Production.INFO: call_cost end
[2025-03-10 07:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:38:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:38:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:38:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:38:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:38:16] Production.INFO: ==15453== Releasing lock...
[2025-03-10 07:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:38:17] Production.INFO: count ==129
[2025-03-10 07:38:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:38:05 - End Time 2025-03-10 07:38:05
[2025-03-10 07:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648038', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648038', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648038', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648038', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:38:17] Production.INFO: ProcessCDR(1,14648038,1,1,2)
[2025-03-10 07:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648038', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648038', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:38:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:38:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:38:20] Production.INFO: ==15461== Releasing lock...
[2025-03-10 07:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:38:20] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:39:02] Production.INFO: ==15519== Lock acquired, processing the job...
[2025-03-10 11:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:39:02] Production.INFO: neon service started
[2025-03-10 11:39:02] Production.INFO: neon service started
[2025-03-10 11:39:02] Production.INFO: ==15519== Releasing lock...
[2025-03-10 11:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:39:02] Production.INFO: ==15523== Lock acquired, processing the job...
[2025-03-10 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:39:02] Production.INFO: ==15523== Releasing lock...
[2025-03-10 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:39:02] Production.INFO: ==15521== Lock acquired, processing the job...
[2025-03-10 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:39:02] Production.INFO: ==15521== Releasing lock...
[2025-03-10 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:39:03] Production.INFO: ==15532== Lock acquired, processing the job...
[2025-03-10 07:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:39:03] Production.INFO: Account Balance Start.
[2025-03-10 07:39:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:39:03] Production.INFO: 117
[2025-03-10 07:39:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:39:03] Production.INFO: ==15526== Lock acquired, processing the job...
[2025-03-10 07:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:39:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:39:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:39:03] Production.INFO: ==15528== Lock acquired, processing the job...
[2025-03-10 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:39:03] Production.INFO: Total Charge 0
[2025-03-10 07:39:03] Production.INFO: ==15536== Lock acquired, processing the job...
[2025-03-10 07:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:39:03] Production.INFO: CreateAllLog End
[2025-03-10 07:39:04] Production.INFO: ==15534== Lock acquired, processing the job...
[2025-03-10 07:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:39:04] Production.INFO: ==15530== Lock acquired, processing the job...
[2025-03-10 07:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 07:39:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:39:04] Production.INFO: count ==21
[2025-03-10 07:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648041') start
[2025-03-10 07:39:04] Production.INFO: Account Balance End.
[2025-03-10 07:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:39:04] Production.INFO: ==15532== Releasing lock...
[2025-03-10 07:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648041') end
[2025-03-10 07:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:39:04] Production.INFO: 1
[2025-03-10 07:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:39:04] Production.INFO: ==15528== Releasing lock...
[2025-03-10 07:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:39:04] Production.ERROR: done
[2025-03-10 07:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:39:04] Production.INFO: ==15536== Releasing lock...
[2025-03-10 07:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:39:04] Production.ERROR: done
[2025-03-10 07:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:39:05
[end_date_ymd] => 2025-03-10 07:39:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:39:05' and `end` < '2025-03-10 07: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-03-10 07:39:12] Production.ERROR: CronJobId end10
[2025-03-10 07:39:12] Production.INFO: ==15530== Releasing lock...
[2025-03-10 07:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:39:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:39:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:39:14] Production.INFO: call_cost start
[2025-03-10 07:39:14] Production.INFO: call_cost end
[2025-03-10 07:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:39:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:39:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:39:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:39:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:39:15] Production.INFO: ==15526== Releasing lock...
[2025-03-10 07:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:39:17] Production.INFO: count ==129
[2025-03-10 07:39:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:39:05 - End Time 2025-03-10 07:39:05
[2025-03-10 07:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648043', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648043', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648043', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648043', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:39:17] Production.INFO: ProcessCDR(1,14648043,1,1,2)
[2025-03-10 07:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648043', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648043', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:39:21] Production.INFO: ==15534== Releasing lock...
[2025-03-10 07:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:39:21] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:40:01] Production.INFO: ==15590== Lock acquired, processing the job...
[2025-03-10 11:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:40:01] Production.INFO: neon service started
[2025-03-10 11:40:01] Production.INFO: neon service started
[2025-03-10 11:40:01] Production.INFO: ==15590== Releasing lock...
[2025-03-10 11:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:40:01] Production.INFO: ==15592== Lock acquired, processing the job...
[2025-03-10 07:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:40:02] Production.INFO: ==15592== Releasing lock...
[2025-03-10 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:40:02] Production.INFO: ==15594== Lock acquired, processing the job...
[2025-03-10 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:40:02] Production.INFO: ==15594== Releasing lock...
[2025-03-10 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:40:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:40:03] Production.INFO: ==15607== Lock acquired, processing the job...
[2025-03-10 07:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:40:03] Production.INFO: ==15611== Lock acquired, processing the job...
[2025-03-10 07:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:40:03] Production.INFO: ==15597== Lock acquired, processing the job...
[2025-03-10 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 07:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:40:03] Production.INFO: ==15609== Lock acquired, processing the job...
[2025-03-10 07:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 07:40:03] Production.INFO: ==15599== Lock acquired, processing the job...
[2025-03-10 07:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:40:03] Production.INFO: ==15601== Lock acquired, processing the job...
[2025-03-10 07:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 07:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:40:03] Production.ERROR: CronJob PID - 15599
[2025-03-10 07:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 07:40:03] Production.ERROR: CronJob ID - 5
[2025-03-10 07:40:03] Production.ERROR: CronJob Last Run Time 2025-03-10 07:40:00
[2025-03-10 07:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:40:03] Production.INFO: ==15605== Lock acquired, processing the job...
[2025-03-10 07:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:40:03] Production.ERROR: CronJob PID - 15607
[2025-03-10 07:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 07:40:03] Production.ERROR: CronJob ID - 16
[2025-03-10 07:40:03] Production.ERROR: CronJob Last Run Time 2025-03-10 07:40:00
[2025-03-10 07:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:40:03] Production.ERROR: CronJob PID - 15609
[2025-03-10 07:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 07:40:03] Production.ERROR: CronJob ID - 17
[2025-03-10 07:40:03] Production.ERROR: CronJob Last Run Time 2025-03-10 07:40:00
[2025-03-10 07:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 07:40:03] Production.ERROR: CronJob PID - 15611
[2025-03-10 07:40:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 07:40:03] Production.ERROR: CronJob ID - 19
[2025-03-10 07:40:03] Production.ERROR: CronJob Last Run Time 2025-03-10 07:40:00
[2025-03-10 07:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 07:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 07:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-03-10 07:40:03] Production.INFO: ==15603== Lock acquired, processing the job...
[2025-03-10 07:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 07:40:03] Production.INFO: ==15597== Releasing lock...
[2025-03-10 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 07:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 07:40:03] Production.INFO: count ==13
[2025-03-10 07:40:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-03-10 07:40:03] Production.INFO: count ==21
[2025-03-10 07:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648044') start
[2025-03-10 07:40:04] Production.INFO: Account Balance Start.
[2025-03-10 07:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:40:04] Production.INFO: 117
[2025-03-10 07:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:40:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:40:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:40:04] Production.ERROR: done
[2025-03-10 07:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:40:04] Production.ERROR: done
[2025-03-10 07:40:04] Production.INFO: Total Charge 0
[2025-03-10 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648044') end
[2025-03-10 07:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:40:04] Production.INFO: 1
[2025-03-10 07:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:40:04] Production.INFO: CreateAllLog End
[2025-03-10 07:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 07:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648048', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 07:40:04] Production.INFO: ==15611== Releasing lock...
[2025-03-10 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:40:04] Production.ERROR: done
[2025-03-10 07:40:04] Production.INFO: ==15601== Releasing lock...
[2025-03-10 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:40:04] Production.INFO: Account Balance End.
[2025-03-10 07:40:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:40:04] Production.INFO: ==15605== Releasing lock...
[2025-03-10 07:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:40:05
[end_date_ymd] => 2025-03-10 07:40:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:40:05' and `end` < '2025-03-10 07: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-03-10 07:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648048', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 07:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 07:40:09] Production.INFO: ProcessCDR(1,14648048,1,1,2)
[2025-03-10 07:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648048,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648048,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:40:09] Production.INFO: ==15609== Releasing lock...
[2025-03-10 07:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 07:40:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 07:40:13] Production.ERROR: CronJobId end10
[2025-03-10 07:40:13] Production.INFO: ==15603== Releasing lock...
[2025-03-10 07:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:40:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:40:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:40:16] Production.INFO: call_cost start
[2025-03-10 07:40:16] Production.INFO: call_cost end
[2025-03-10 07:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:40:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:40:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:40:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:40:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:40:17] Production.INFO: ==15599== Releasing lock...
[2025-03-10 07:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:40:17] Production.INFO: count ==136
[2025-03-10 07:40:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:40:05 - End Time 2025-03-10 07:40:05
[2025-03-10 07:40:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:40:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648049', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:40:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648049', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:40:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648049', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:40:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648049', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:40:17] Production.INFO: ProcessCDR(1,14648049,1,1,2)
[2025-03-10 07:40:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648049', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648049', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:40:22] Production.INFO: ==15607== Releasing lock...
[2025-03-10 07:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:40:22] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:41:01] Production.INFO: ==15668== Lock acquired, processing the job...
[2025-03-10 11:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:41:01] Production.INFO: neon service started
[2025-03-10 11:41:01] Production.INFO: neon service started
[2025-03-10 11:41:01] Production.INFO: ==15668== Releasing lock...
[2025-03-10 11:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:41:02] Production.INFO: ==15672== Lock acquired, processing the job...
[2025-03-10 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:41:02] Production.INFO: ==15670== Lock acquired, processing the job...
[2025-03-10 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:41:02] Production.INFO: ==15672== Releasing lock...
[2025-03-10 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:41:02] Production.INFO: ==15670== Releasing lock...
[2025-03-10 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:41:03] Production.INFO: ==15675== Lock acquired, processing the job...
[2025-03-10 07:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:41:03] Production.INFO: ==15677== Lock acquired, processing the job...
[2025-03-10 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:41:03] Production.INFO: ==15679== Lock acquired, processing the job...
[2025-03-10 07:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:41:04] Production.INFO: ==15681== Lock acquired, processing the job...
[2025-03-10 07:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:41:04] Production.INFO: ==15683== Lock acquired, processing the job...
[2025-03-10 07:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:41:04] Production.INFO: Account Balance Start.
[2025-03-10 07:41:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:41:04] Production.INFO: 117
[2025-03-10 07:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:41:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:41:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:41:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:41:04] Production.INFO: ==15685== Lock acquired, processing the job...
[2025-03-10 07:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:41:04] Production.INFO: Total Charge 0
[2025-03-10 07:41:04] Production.INFO: CreateAllLog End
[2025-03-10 07:41:04] Production.INFO: ==15677== Releasing lock...
[2025-03-10 07:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:41:04] Production.ERROR: done
[2025-03-10 07:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 07:41:04] Production.INFO: Account Balance End.
[2025-03-10 07:41:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:41:04] Production.INFO: ==15681== Releasing lock...
[2025-03-10 07:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:41:04] Production.INFO: count ==21
[2025-03-10 07:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648053') start
[2025-03-10 07:41:04] Production.ERROR: done
[2025-03-10 07:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648053') end
[2025-03-10 07:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:41:04] Production.INFO: 1
[2025-03-10 07:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:41:04] Production.INFO: ==15685== Releasing lock...
[2025-03-10 07:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:41:05
[end_date_ymd] => 2025-03-10 07:41:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:41:05' and `end` < '2025-03-10 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-03-10 07:41:12] Production.ERROR: CronJobId end10
[2025-03-10 07:41:12] Production.INFO: ==15679== Releasing lock...
[2025-03-10 07:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:41:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:41:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:41:14] Production.INFO: call_cost start
[2025-03-10 07:41:14] Production.INFO: call_cost end
[2025-03-10 07:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:41:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:41:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:41:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:41:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:41:15] Production.INFO: ==15675== Releasing lock...
[2025-03-10 07:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:41:17] Production.INFO: count ==138
[2025-03-10 07:41:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:41:05 - End Time 2025-03-10 07:41:05
[2025-03-10 07:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648054', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648054', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648054', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648054', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:41:17] Production.INFO: ProcessCDR(1,14648054,1,1,2)
[2025-03-10 07:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648054', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648054', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:41:20] Production.INFO: ==15683== Releasing lock...
[2025-03-10 07:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:41:20] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:42:01] Production.INFO: ==15743== Lock acquired, processing the job...
[2025-03-10 11:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:42:01] Production.INFO: neon service started
[2025-03-10 11:42:01] Production.INFO: neon service started
[2025-03-10 11:42:01] Production.INFO: ==15743== Releasing lock...
[2025-03-10 11:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:42:01] Production.INFO: ==15745== Lock acquired, processing the job...
[2025-03-10 07:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:42:02] Production.INFO: ==15745== Releasing lock...
[2025-03-10 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:42:02] Production.INFO: ==15747== Lock acquired, processing the job...
[2025-03-10 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:42:02] Production.INFO: ==15747== Releasing lock...
[2025-03-10 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:42:03] Production.INFO: ==15752== Lock acquired, processing the job...
[2025-03-10 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:42:03] Production.INFO: ==15749== Lock acquired, processing the job...
[2025-03-10 07:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:42:03] Production.INFO: ==15754== Lock acquired, processing the job...
[2025-03-10 07:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:42:03] Production.INFO: ==15756== Lock acquired, processing the job...
[2025-03-10 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:42:03] Production.INFO: ==15760== Lock acquired, processing the job...
[2025-03-10 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:42:03] Production.INFO: ==15758== Lock acquired, processing the job...
[2025-03-10 07:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:42:03] Production.INFO: Account Balance Start.
[2025-03-10 07:42:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:42:03] Production.INFO: 117
[2025-03-10 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-03-10 07:42:03] Production.INFO: ==15752== Releasing lock...
[2025-03-10 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:42:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:42:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:42:03] Production.INFO: count ==13
[2025-03-10 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-03-10 07:42:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:42:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:42:03] Production.INFO: count ==21
[2025-03-10 07:42:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:42:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648058') start
[2025-03-10 07:42:03] Production.INFO: Total Charge 0
[2025-03-10 07:42:03] Production.INFO: CreateAllLog End
[2025-03-10 07:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648058') end
[2025-03-10 07:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:42:04] Production.INFO: 1
[2025-03-10 07:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:42:04] Production.INFO: ==15760== Releasing lock...
[2025-03-10 07:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:42:04] Production.ERROR: done
[2025-03-10 07:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:42:04] Production.INFO: Account Balance End.
[2025-03-10 07:42:04] Production.ERROR: done
[2025-03-10 07:42:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:42:04] Production.INFO: ==15756== Releasing lock...
[2025-03-10 07:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:42:05
[end_date_ymd] => 2025-03-10 07:42:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:42:05' and `end` < '2025-03-10 07: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-03-10 07:42:12] Production.ERROR: CronJobId end10
[2025-03-10 07:42:12] Production.INFO: ==15754== Releasing lock...
[2025-03-10 07:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:42:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:42:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:42:14] Production.INFO: call_cost start
[2025-03-10 07:42:14] Production.INFO: call_cost end
[2025-03-10 07:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:42:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:42:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:42:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:42:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:42:15] Production.INFO: ==15749== Releasing lock...
[2025-03-10 07:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:42:17] Production.INFO: count ==139
[2025-03-10 07:42:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:42:05 - End Time 2025-03-10 07:42:05
[2025-03-10 07:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648059', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648059', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648059', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648059', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:42:17] Production.INFO: ProcessCDR(1,14648059,1,1,2)
[2025-03-10 07:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648059', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648059', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:42:21] Production.INFO: ==15758== Releasing lock...
[2025-03-10 07:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:42:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 11:43:01] Production.INFO: ==15823== Lock acquired, processing the job...
[2025-03-10 11:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:43:01] Production.INFO: neon service started
[2025-03-10 11:43:01] Production.INFO: neon service started
[2025-03-10 11:43:01] Production.INFO: ==15823== Releasing lock...
[2025-03-10 11:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:43:02] Production.INFO: ==15825== Lock acquired, processing the job...
[2025-03-10 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:43:02] Production.INFO: ==15825== Releasing lock...
[2025-03-10 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:43:02] Production.INFO: ==15827== Lock acquired, processing the job...
[2025-03-10 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:43:02] Production.INFO: ==15827== Releasing lock...
[2025-03-10 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:43:03] Production.INFO: ==15833== Lock acquired, processing the job...
[2025-03-10 07:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:43:03] Production.INFO: ==15829== Lock acquired, processing the job...
[2025-03-10 07:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:43:03] Production.INFO: ==15835== Lock acquired, processing the job...
[2025-03-10 07:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:43:03] Production.INFO: Account Balance Start.
[2025-03-10 07:43:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:43:03] Production.INFO: 117
[2025-03-10 07:43:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:43:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:43:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:43:03] Production.INFO: Total Charge 0
[2025-03-10 07:43:03] Production.INFO: CreateAllLog End
[2025-03-10 07:43:03] Production.INFO: ==15831== Lock acquired, processing the job...
[2025-03-10 07:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:43:03] Production.INFO: ==15838== Lock acquired, processing the job...
[2025-03-10 07:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:43:03] Production.INFO: ==15840== Lock acquired, processing the job...
[2025-03-10 07:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:43:04] Production.INFO: Account Balance End.
[2025-03-10 07:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:43:04] Production.INFO: ==15835== Releasing lock...
[2025-03-10 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07: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-03-10 07:43:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:43:04] Production.INFO: count ==21
[2025-03-10 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648063') start
[2025-03-10 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648063') end
[2025-03-10 07:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:43:04] Production.INFO: 1
[2025-03-10 07:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:43:04] Production.INFO: ==15831== Releasing lock...
[2025-03-10 07:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:43:04] Production.ERROR: done
[2025-03-10 07:43:04] Production.INFO: ==15840== Releasing lock...
[2025-03-10 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:43:04] Production.ERROR: done
[2025-03-10 07:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:43:05
[end_date_ymd] => 2025-03-10 07:43:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:43:05' and `end` < '2025-03-10 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-03-10 07:43:12] Production.ERROR: CronJobId end10
[2025-03-10 07:43:12] Production.INFO: ==15833== Releasing lock...
[2025-03-10 07:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:43:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:43:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:43:15] Production.INFO: call_cost start
[2025-03-10 07:43:15] Production.INFO: call_cost end
[2025-03-10 07:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:43:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:43:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:43:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:43:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:43:16] Production.INFO: ==15829== Releasing lock...
[2025-03-10 07:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:43:17] Production.INFO: count ==139
[2025-03-10 07:43:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:43:05 - End Time 2025-03-10 07:43:05
[2025-03-10 07:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648064', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648064', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648064', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648064', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:43:17] Production.INFO: ProcessCDR(1,14648064,1,1,2)
[2025-03-10 07:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648064', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648064', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:43:21] Production.INFO: ==15838== Releasing lock...
[2025-03-10 07:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:43:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 11:44:01] Production.INFO: ==15893== Lock acquired, processing the job...
[2025-03-10 11:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:44:01] Production.INFO: neon service started
[2025-03-10 11:44:01] Production.INFO: neon service started
[2025-03-10 11:44:01] Production.INFO: ==15893== Releasing lock...
[2025-03-10 11:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:44:01] Production.INFO: ==15895== Lock acquired, processing the job...
[2025-03-10 07:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:44:02] Production.INFO: ==15895== Releasing lock...
[2025-03-10 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:44:02] Production.INFO: ==15897== Lock acquired, processing the job...
[2025-03-10 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:44:02] Production.INFO: ==15897== Releasing lock...
[2025-03-10 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:44:03] Production.INFO: ==15907== Lock acquired, processing the job...
[2025-03-10 07:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:44:03] Production.INFO: ==15909== Lock acquired, processing the job...
[2025-03-10 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:44:03] Production.INFO: ==15899== Lock acquired, processing the job...
[2025-03-10 07:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:44:03] Production.INFO: ==15901== Lock acquired, processing the job...
[2025-03-10 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:44:03] Production.INFO: ==15903== Lock acquired, processing the job...
[2025-03-10 07:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:44:03] Production.INFO: ==15905== Lock acquired, processing the job...
[2025-03-10 07:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 07:44:03] Production.INFO: count ==13
[2025-03-10 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-03-10 07:44:03] Production.INFO: count ==21
[2025-03-10 07:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648065') start
[2025-03-10 07:44:03] Production.INFO: Account Balance Start.
[2025-03-10 07:44:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:44:03] Production.INFO: 117
[2025-03-10 07:44:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:44:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:44:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:44:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:44:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:44:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:44:03] Production.INFO: Total Charge 0
[2025-03-10 07:44:03] Production.INFO: CreateAllLog End
[2025-03-10 07:44:03] Production.INFO: ==15901== Releasing lock...
[2025-03-10 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:44:03] Production.ERROR: done
[2025-03-10 07:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648065') end
[2025-03-10 07:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:44:03] Production.INFO: 1
[2025-03-10 07:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:44:03] Production.INFO: ==15909== Releasing lock...
[2025-03-10 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:44:03] Production.ERROR: done
[2025-03-10 07:44:04] Production.INFO: Account Balance End.
[2025-03-10 07:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:44:04] Production.INFO: ==15905== Releasing lock...
[2025-03-10 07:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:44:04
[end_date_ymd] => 2025-03-10 07:44:04
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:44:04' and `end` < '2025-03-10 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-03-10 07:44:11] Production.ERROR: CronJobId end10
[2025-03-10 07:44:11] Production.INFO: ==15903== Releasing lock...
[2025-03-10 07:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:44:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:44:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:44:14] Production.INFO: call_cost start
[2025-03-10 07:44:14] Production.INFO: call_cost end
[2025-03-10 07:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:44:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:44:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:44:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:44:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:44:15] Production.INFO: ==15899== Releasing lock...
[2025-03-10 07:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:44:16] Production.INFO: count ==140
[2025-03-10 07:44:16] Production.ERROR: pbx CDR StartTime 2025-03-10 04:44:04 - End Time 2025-03-10 07:44:04
[2025-03-10 07:44:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:44:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648069', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:44:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648069', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:44:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648069', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:44:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648069', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:44:16] Production.INFO: ProcessCDR(1,14648069,1,1,2)
[2025-03-10 07:44:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648069', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648069', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:44:21] Production.INFO: ==15907== Releasing lock...
[2025-03-10 07:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:44:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 11:45:01] Production.INFO: ==15969== Lock acquired, processing the job...
[2025-03-10 11:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:45:01] Production.INFO: neon service started
[2025-03-10 11:45:01] Production.INFO: neon service started
[2025-03-10 11:45:01] Production.INFO: ==15969== Releasing lock...
[2025-03-10 11:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:45:02] Production.INFO: ==15971== Lock acquired, processing the job...
[2025-03-10 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:45:02] Production.INFO: ==15973== Lock acquired, processing the job...
[2025-03-10 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:45:02] Production.INFO: ==15973== Releasing lock...
[2025-03-10 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:45:02] Production.INFO: ==15971== Releasing lock...
[2025-03-10 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:45:03] Production.INFO: ==15980== Lock acquired, processing the job...
[2025-03-10 07:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:45:03] Production.INFO: ==15986== Lock acquired, processing the job...
[2025-03-10 07:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:45:03] Production.INFO: ==15976== Lock acquired, processing the job...
[2025-03-10 07:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 07:45:03] Production.INFO: ==15978== Lock acquired, processing the job...
[2025-03-10 07:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:45:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:45:04] Production.INFO: ==15982== Lock acquired, processing the job...
[2025-03-10 07:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:45:04] Production.INFO: count ==21
[2025-03-10 07:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648070') start
[2025-03-10 07:45:04] Production.INFO: ==15984== Lock acquired, processing the job...
[2025-03-10 07:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:45:04] Production.INFO: Account Balance Start.
[2025-03-10 07:45:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:45:04] Production.INFO: 117
[2025-03-10 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648070') end
[2025-03-10 07:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:45:04] Production.INFO: 1
[2025-03-10 07:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:45:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:45:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:45:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:45:04] Production.INFO: ==15986== Releasing lock...
[2025-03-10 07:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:45:04] Production.INFO: Total Charge 0
[2025-03-10 07:45:04] Production.INFO: CreateAllLog End
[2025-03-10 07:45:04] Production.INFO: ==15978== Releasing lock...
[2025-03-10 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:45:04] Production.ERROR: done
[2025-03-10 07:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:45:04] Production.ERROR: done
[2025-03-10 07:45:04] Production.INFO: Account Balance End.
[2025-03-10 07:45:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:45:04] Production.INFO: ==15982== Releasing lock...
[2025-03-10 07:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:45:05
[end_date_ymd] => 2025-03-10 07:45:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:45:05' and `end` < '2025-03-10 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-03-10 07:45:12] Production.ERROR: CronJobId end10
[2025-03-10 07:45:12] Production.INFO: ==15980== Releasing lock...
[2025-03-10 07:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:45:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:45:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:45:14] Production.INFO: call_cost start
[2025-03-10 07:45:14] Production.INFO: call_cost end
[2025-03-10 07:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:45:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:45:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:45:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:45:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:45:15] Production.INFO: ==15976== Releasing lock...
[2025-03-10 07:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:45:17] Production.INFO: count ==140
[2025-03-10 07:45:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:45:05 - End Time 2025-03-10 07:45:05
[2025-03-10 07:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648074', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648074', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648074', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648074', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:45:17] Production.INFO: ProcessCDR(1,14648074,1,1,2)
[2025-03-10 07:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648074', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648074', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:45:21] Production.INFO: ==15984== Releasing lock...
[2025-03-10 07:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:45:21] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 11:46:01] Production.INFO: ==16039== Lock acquired, processing the job...
[2025-03-10 11:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:46:01] Production.INFO: neon service started
[2025-03-10 11:46:01] Production.INFO: neon service started
[2025-03-10 11:46:01] Production.INFO: ==16039== Releasing lock...
[2025-03-10 11:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:46:01] Production.INFO: ==16041== Lock acquired, processing the job...
[2025-03-10 07:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:46:02] Production.INFO: ==16041== Releasing lock...
[2025-03-10 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:46:02] Production.INFO: ==16043== Lock acquired, processing the job...
[2025-03-10 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:46:02] Production.INFO: ==16043== Releasing lock...
[2025-03-10 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:46:03] Production.INFO: ==16048== Lock acquired, processing the job...
[2025-03-10 07:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:46:03] Production.INFO: ==16054== Lock acquired, processing the job...
[2025-03-10 07:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:46:03] Production.INFO: ==16058== Lock acquired, processing the job...
[2025-03-10 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:46:03] Production.INFO: ==16050== Lock acquired, processing the job...
[2025-03-10 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:46:03] Production.INFO: Account Balance Start.
[2025-03-10 07:46:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:46:03] Production.INFO: 117
[2025-03-10 07:46:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:46:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:46:03] Production.INFO: ==16052== Lock acquired, processing the job...
[2025-03-10 07:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:46:03] Production.INFO: ==16056== Lock acquired, processing the job...
[2025-03-10 07:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07: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-03-10 07:46:03] Production.INFO: count ==13
[2025-03-10 07:46:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:46:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07: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-03-10 07:46:03] Production.INFO: count ==21
[2025-03-10 07:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:46:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:46:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648077') start
[2025-03-10 07:46:03] Production.INFO: Total Charge 0
[2025-03-10 07:46:03] Production.INFO: CreateAllLog End
[2025-03-10 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648077') end
[2025-03-10 07:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:46:03] Production.INFO: 1
[2025-03-10 07:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:46:03] Production.INFO: ==16050== Releasing lock...
[2025-03-10 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:46:03] Production.INFO: ==16058== Releasing lock...
[2025-03-10 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:46:03] Production.ERROR: done
[2025-03-10 07:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:46:04] Production.INFO: Account Balance End.
[2025-03-10 07:46:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:46:04] Production.INFO: ==16054== Releasing lock...
[2025-03-10 07:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:46:04] Production.ERROR: done
[2025-03-10 07:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:46:05
[end_date_ymd] => 2025-03-10 07:46:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:46:05' and `end` < '2025-03-10 07: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-03-10 07:46: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,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-03-10 07:46:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:46:11] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:46:11] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:46:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:46:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:46:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:46:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:46:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:46:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:46:11] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:46:11] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:46:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:46:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:46:11] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:46:11] Production.ERROR: CronJobId end10
[2025-03-10 07:46:11] Production.INFO: ==16052== Releasing lock...
[2025-03-10 07:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:46:11] Production.INFO: call_cost start
[2025-03-10 07:46:11] Production.INFO: call_cost end
[2025-03-10 07:46:12] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:46:12] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:46:12] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:46:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:46:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:46:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:46:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:46:12] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:46:12] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:46:12] Production.INFO: ==16048== Releasing lock...
[2025-03-10 07:46:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:46:12] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:46:17] Production.INFO: count ==140
[2025-03-10 07:46:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:46:05 - End Time 2025-03-10 07:46:05
[2025-03-10 07:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648079', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648079', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648079', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648079', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:46:17] Production.INFO: ProcessCDR(1,14648079,1,1,2)
[2025-03-10 07:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648079', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648079', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:46:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:46:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:46:20] Production.INFO: ==16056== Releasing lock...
[2025-03-10 07:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:46:20] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 11:47:01] Production.INFO: ==16113== Lock acquired, processing the job...
[2025-03-10 11:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:47:01] Production.INFO: neon service started
[2025-03-10 11:47:01] Production.INFO: neon service started
[2025-03-10 11:47:01] Production.INFO: ==16113== Releasing lock...
[2025-03-10 11:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:47:02] Production.INFO: ==16115== Lock acquired, processing the job...
[2025-03-10 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:47:02] Production.INFO: ==16117== Lock acquired, processing the job...
[2025-03-10 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:47:02] Production.INFO: ==16117== Releasing lock...
[2025-03-10 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:47:03] Production.INFO: ==16115== Releasing lock...
[2025-03-10 07:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:47:04] Production.INFO: ==16126== Lock acquired, processing the job...
[2025-03-10 07:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:47:04] Production.INFO: ==16130== Lock acquired, processing the job...
[2025-03-10 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:47:04] Production.INFO: Account Balance Start.
[2025-03-10 07:47:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:47:04] Production.INFO: 117
[2025-03-10 07:47:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:47:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:47:04] Production.INFO: ==16120== Lock acquired, processing the job...
[2025-03-10 07:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:47:04] Production.INFO: ==16122== Lock acquired, processing the job...
[2025-03-10 07:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 07:47:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:47:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:47:04] Production.INFO: ==16124== Lock acquired, processing the job...
[2025-03-10 07:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:47:04] Production.INFO: count ==21
[2025-03-10 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648081') start
[2025-03-10 07:47:04] Production.INFO: Total Charge 0
[2025-03-10 07:47:04] Production.INFO: ==16128== Lock acquired, processing the job...
[2025-03-10 07:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:47:04] Production.INFO: CreateAllLog End
[2025-03-10 07:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648081') end
[2025-03-10 07:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:47:04] Production.INFO: 1
[2025-03-10 07:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:47:04] Production.INFO: ==16130== Releasing lock...
[2025-03-10 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:47:04] Production.INFO: Account Balance End.
[2025-03-10 07:47:04] Production.INFO: ==16122== Releasing lock...
[2025-03-10 07:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:47:04] Production.ERROR: done
[2025-03-10 07:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:47:04] Production.INFO: ==16126== Releasing lock...
[2025-03-10 07:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:47:05] Production.ERROR: done
[2025-03-10 07:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:47:06
[end_date_ymd] => 2025-03-10 07:47:06
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:47:06' and `end` < '2025-03-10 07: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-03-10 07:47:12] Production.ERROR: CronJobId end10
[2025-03-10 07:47:12] Production.INFO: ==16124== Releasing lock...
[2025-03-10 07:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:47:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:47:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:47:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:47:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:47:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:47:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:47:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:47:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:47:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:47:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:47:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:47:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:47:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:47:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:47:16] Production.INFO: call_cost start
[2025-03-10 07:47:16] Production.INFO: call_cost end
[2025-03-10 07:47:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:47:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:47:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:47:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:47:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:47:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:47:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:47:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:47:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:47:17] Production.INFO: ==16120== Releasing lock...
[2025-03-10 07:47:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:47:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:47:18] Production.INFO: count ==146
[2025-03-10 07:47:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:47:06 - End Time 2025-03-10 07:47:06
[2025-03-10 07:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648084', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648084', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648084', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648084', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:47:18] Production.INFO: ProcessCDR(1,14648084,1,1,2)
[2025-03-10 07:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648084', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648084', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:47:23] Production.INFO: ==16128== Releasing lock...
[2025-03-10 07:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:47:23] Production.INFO: 29.25 MB #Memory Used#
[2025-03-10 11:48:01] Production.INFO: ==16196== Lock acquired, processing the job...
[2025-03-10 11:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:48:01] Production.INFO: neon service started
[2025-03-10 11:48:01] Production.INFO: neon service started
[2025-03-10 11:48:01] Production.INFO: ==16196== Releasing lock...
[2025-03-10 11:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:48:01] Production.INFO: ==16198== Lock acquired, processing the job...
[2025-03-10 07:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:48:02] Production.INFO: ==16198== Releasing lock...
[2025-03-10 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:48:02] Production.INFO: ==16200== Lock acquired, processing the job...
[2025-03-10 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:48:02] Production.INFO: ==16200== Releasing lock...
[2025-03-10 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:48:03] Production.INFO: ==16209== Lock acquired, processing the job...
[2025-03-10 07:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:48:03] Production.INFO: ==16202== Lock acquired, processing the job...
[2025-03-10 07:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:48:03] Production.INFO: ==16213== Lock acquired, processing the job...
[2025-03-10 07:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 07:48:03] Production.INFO: Account Balance Start.
[2025-03-10 07:48:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:48:03] Production.INFO: 117
[2025-03-10 07:48:03] Production.INFO: count ==13
[2025-03-10 07:48:03] Production.INFO: ==16207== Lock acquired, processing the job...
[2025-03-10 07:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07: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-03-10 07:48:03] Production.INFO: ==16205== Lock acquired, processing the job...
[2025-03-10 07:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:48:03] Production.INFO: count ==21
[2025-03-10 07:48:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648087') start
[2025-03-10 07:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:48:03] Production.INFO: ==16211== Lock acquired, processing the job...
[2025-03-10 07:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:48:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:48:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648087') end
[2025-03-10 07:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:48:03] Production.INFO: 1
[2025-03-10 07:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:48:03] Production.INFO: ==16213== Releasing lock...
[2025-03-10 07:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:48:03] Production.INFO: Total Charge 0
[2025-03-10 07:48:03] Production.INFO: CreateAllLog End
[2025-03-10 07:48:04] Production.INFO: ==16205== Releasing lock...
[2025-03-10 07:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:48:04] Production.ERROR: done
[2025-03-10 07:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:48:04] Production.INFO: Account Balance End.
[2025-03-10 07:48:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:48:04] Production.INFO: ==16209== Releasing lock...
[2025-03-10 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:48:04] Production.ERROR: done
[2025-03-10 07:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:48:05
[end_date_ymd] => 2025-03-10 07:48:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:48:05' and `end` < '2025-03-10 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-03-10 07:48:11] Production.ERROR: CronJobId end10
[2025-03-10 07:48:11] Production.INFO: ==16207== Releasing lock...
[2025-03-10 07:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:48:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:48:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:48:15] Production.INFO: call_cost start
[2025-03-10 07:48:15] Production.INFO: call_cost end
[2025-03-10 07:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:48:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:48:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:48:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:48:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:48:16] Production.INFO: ==16202== Releasing lock...
[2025-03-10 07:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:48:17] Production.INFO: count ==147
[2025-03-10 07:48:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:48:05 - End Time 2025-03-10 07:48:05
[2025-03-10 07:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648089', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648089', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648089', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648089', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:48:17] Production.INFO: ProcessCDR(1,14648089,1,1,2)
[2025-03-10 07:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648089', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648089', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:48:22] Production.INFO: ==16211== Releasing lock...
[2025-03-10 07:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:48:22] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:49:01] Production.INFO: ==16281== Lock acquired, processing the job...
[2025-03-10 11:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:49:01] Production.INFO: neon service started
[2025-03-10 11:49:02] Production.INFO: neon service started
[2025-03-10 11:49:02] Production.INFO: ==16281== Releasing lock...
[2025-03-10 11:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:49:02] Production.INFO: ==16283== Lock acquired, processing the job...
[2025-03-10 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:49:02] Production.INFO: ==16285== Lock acquired, processing the job...
[2025-03-10 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:49:02] Production.INFO: ==16285== Releasing lock...
[2025-03-10 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:49:02] Production.INFO: ==16283== Releasing lock...
[2025-03-10 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:49:03] Production.INFO: ==16287== Lock acquired, processing the job...
[2025-03-10 07:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:49:03] Production.INFO: ==16289== Lock acquired, processing the job...
[2025-03-10 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:49:03] Production.INFO: ==16293== Lock acquired, processing the job...
[2025-03-10 07:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:49:03] Production.INFO: ==16291== Lock acquired, processing the job...
[2025-03-10 07:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:49:03] Production.INFO: ==16295== Lock acquired, processing the job...
[2025-03-10 07:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:49:04] Production.INFO: Account Balance Start.
[2025-03-10 07:49:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:49:04] Production.INFO: 117
[2025-03-10 07:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:49:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:49:04] Production.INFO: ==16298== Lock acquired, processing the job...
[2025-03-10 07:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:49:04] Production.INFO: Total Charge 0
[2025-03-10 07:49:04] Production.ERROR: done
[2025-03-10 07:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:49:04] Production.INFO: CreateAllLog End
[2025-03-10 07:49:04] Production.INFO: ==16289== Releasing lock...
[2025-03-10 07:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07: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-03-10 07:49:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:49:04] Production.INFO: count ==21
[2025-03-10 07:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648093') start
[2025-03-10 07:49:04] Production.ERROR: done
[2025-03-10 07:49:04] Production.INFO: Account Balance End.
[2025-03-10 07:49:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:49:04] Production.INFO: ==16293== Releasing lock...
[2025-03-10 07:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648093') end
[2025-03-10 07:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:49:04] Production.INFO: 1
[2025-03-10 07:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:49:04] Production.INFO: ==16298== Releasing lock...
[2025-03-10 07:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:49:05
[end_date_ymd] => 2025-03-10 07:49:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:49:05' and `end` < '2025-03-10 07: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-03-10 07:49:12] Production.ERROR: CronJobId end10
[2025-03-10 07:49:12] Production.INFO: ==16291== Releasing lock...
[2025-03-10 07:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:49:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:49:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:49:15] Production.INFO: call_cost start
[2025-03-10 07:49:15] Production.INFO: call_cost end
[2025-03-10 07:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:49:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:49:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:49:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:49:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:49:16] Production.INFO: ==16287== Releasing lock...
[2025-03-10 07:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:49:17] Production.INFO: count ==147
[2025-03-10 07:49:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:49:05 - End Time 2025-03-10 07:49:05
[2025-03-10 07:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648094', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648094', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648094', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648094', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:49:17] Production.INFO: ProcessCDR(1,14648094,1,1,2)
[2025-03-10 07:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648094', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648094', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:49:21] Production.INFO: ==16295== Releasing lock...
[2025-03-10 07:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:49:21] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:50:01] Production.INFO: ==16353== Lock acquired, processing the job...
[2025-03-10 11:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:50:01] Production.INFO: neon service started
[2025-03-10 11:50:01] Production.INFO: neon service started
[2025-03-10 11:50:01] Production.INFO: ==16353== Releasing lock...
[2025-03-10 11:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:50:01] Production.INFO: ==16357== Lock acquired, processing the job...
[2025-03-10 11:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:50:01] Production.INFO: ==16357== Releasing lock...
[2025-03-10 11:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:50:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:50:02] Production.INFO: ==16355== Lock acquired, processing the job...
[2025-03-10 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:50:02] Production.INFO: ==16355== Releasing lock...
[2025-03-10 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:50:03] Production.INFO: ==16359== Lock acquired, processing the job...
[2025-03-10 07:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 07:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 07:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 07:50:03] Production.INFO: ==16359== Releasing lock...
[2025-03-10 07:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 07:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 07:50:03] Production.INFO: ==16363== Lock acquired, processing the job...
[2025-03-10 07:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:50:03] Production.INFO: ==16365== Lock acquired, processing the job...
[2025-03-10 07:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:50:03] Production.INFO: ==16374== Lock acquired, processing the job...
[2025-03-10 07:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07: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-03-10 07:50:03] Production.INFO: ==16361== Lock acquired, processing the job...
[2025-03-10 07:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:50:03] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:50:03] Production.INFO: ==16372== Lock acquired, processing the job...
[2025-03-10 07:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 07:50:03] Production.INFO: count ==21
[2025-03-10 07:50:03] Production.INFO: ==16363== Releasing lock...
[2025-03-10 07:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648096') start
[2025-03-10 07:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:50:03] Production.INFO: ==16367== Lock acquired, processing the job...
[2025-03-10 07:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648096') end
[2025-03-10 07:50:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:50:03] Production.INFO: 1
[2025-03-10 07:50:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:50:03] Production.INFO: ==16370== Lock acquired, processing the job...
[2025-03-10 07:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:50:03] Production.INFO: ==16374== Releasing lock...
[2025-03-10 07:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:50:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:50:04] Production.INFO: Account Balance Start.
[2025-03-10 07:50:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:50:04] Production.INFO: 117
[2025-03-10 07:50:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:50:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:50:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:50:04] Production.INFO: Total Charge 0
[2025-03-10 07:50:04] Production.INFO: CreateAllLog End
[2025-03-10 07:50:04] Production.ERROR: done
[2025-03-10 07:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 07:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648099', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 07:50:04] Production.INFO: Account Balance End.
[2025-03-10 07:50:04] Production.ERROR: done
[2025-03-10 07:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:50:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:50:04] Production.INFO: ==16367== Releasing lock...
[2025-03-10 07:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:50:04] Production.ERROR: done
[2025-03-10 07:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:50:06
[end_date_ymd] => 2025-03-10 07:50:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:50:06' and `end` < '2025-03-10 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-03-10 07:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648099', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 07:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 07:50:09] Production.INFO: ProcessCDR(1,14648099,1,1,2)
[2025-03-10 07:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648099,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648099,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:50:09] Production.INFO: ==16372== Releasing lock...
[2025-03-10 07:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 07:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 07:50:12] Production.ERROR: CronJobId end10
[2025-03-10 07:50:12] Production.INFO: ==16365== Releasing lock...
[2025-03-10 07:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:50:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:50:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:50:15] Production.INFO: call_cost start
[2025-03-10 07:50:15] Production.INFO: call_cost end
[2025-03-10 07:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:50:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:50:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:50:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:50:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:50:16] Production.INFO: ==16361== Releasing lock...
[2025-03-10 07:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:50:18] Production.INFO: count ==160
[2025-03-10 07:50:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:50:06 - End Time 2025-03-10 07:50:06
[2025-03-10 07:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648100', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648100', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648100', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648100', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:50:18] Production.INFO: ProcessCDR(1,14648100,1,1,2)
[2025-03-10 07:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648100', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648100', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:50:21] Production.INFO: ==16370== Releasing lock...
[2025-03-10 07:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:50:21] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:51:01] Production.INFO: ==16430== Lock acquired, processing the job...
[2025-03-10 11:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:51:01] Production.INFO: neon service started
[2025-03-10 11:51:01] Production.INFO: neon service started
[2025-03-10 11:51:01] Production.INFO: ==16430== Releasing lock...
[2025-03-10 11:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:51:02] Production.INFO: ==16434== Lock acquired, processing the job...
[2025-03-10 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:51:02] Production.INFO: ==16434== Releasing lock...
[2025-03-10 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:51:02] Production.INFO: ==16432== Lock acquired, processing the job...
[2025-03-10 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:51:02] Production.INFO: ==16432== Releasing lock...
[2025-03-10 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:51:03] Production.INFO: ==16437== Lock acquired, processing the job...
[2025-03-10 07:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:51:03] Production.INFO: ==16439== Lock acquired, processing the job...
[2025-03-10 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:51:03] Production.INFO: ==16445== Lock acquired, processing the job...
[2025-03-10 07:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:51:03] Production.INFO: ==16441== Lock acquired, processing the job...
[2025-03-10 07:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:51:04] Production.INFO: ==16443== Lock acquired, processing the job...
[2025-03-10 07:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:51:04] Production.INFO: ==16439== Releasing lock...
[2025-03-10 07:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:51:04] Production.INFO: ==16447== Lock acquired, processing the job...
[2025-03-10 07:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:51:04] Production.ERROR: done
[2025-03-10 07:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:51:04] Production.INFO: Account Balance Start.
[2025-03-10 07:51:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:51:04] Production.INFO: 117
[2025-03-10 07:51:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 07: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-03-10 07:51:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:51:04] Production.INFO: count ==13
[2025-03-10 07:51:04] Production.ERROR: done
[2025-03-10 07: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-03-10 07:51:04] Production.INFO: count ==21
[2025-03-10 07:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648104') start
[2025-03-10 07:51:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:51:04] Production.INFO: Total Charge 0
[2025-03-10 07:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648104') end
[2025-03-10 07:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:51:04] Production.INFO: 1
[2025-03-10 07:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:51:04] Production.INFO: CreateAllLog End
[2025-03-10 07:51:04] Production.INFO: ==16447== Releasing lock...
[2025-03-10 07:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:51:04] Production.INFO: Account Balance End.
[2025-03-10 07:51:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:51:04] Production.INFO: ==16443== Releasing lock...
[2025-03-10 07:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:51:05
[end_date_ymd] => 2025-03-10 07:51:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:51:05' and `end` < '2025-03-10 07: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-03-10 07:51:11] Production.ERROR: CronJobId end10
[2025-03-10 07:51:11] Production.INFO: ==16441== Releasing lock...
[2025-03-10 07:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:51:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:51:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:51:14] Production.INFO: call_cost start
[2025-03-10 07:51:14] Production.INFO: call_cost end
[2025-03-10 07:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:51:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:51:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:51:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:51:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:51:15] Production.INFO: ==16437== Releasing lock...
[2025-03-10 07:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:51:17] Production.INFO: count ==182
[2025-03-10 07:51:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:51:05 - End Time 2025-03-10 07:51:05
[2025-03-10 07:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648105', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648105', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648105', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648105', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:51:17] Production.INFO: ProcessCDR(1,14648105,1,1,2)
[2025-03-10 07:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648105', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648105', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:51:22] Production.INFO: ==16445== Releasing lock...
[2025-03-10 07:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:51:22] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:52:02] Production.INFO: ==16542== Lock acquired, processing the job...
[2025-03-10 11:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:52:02] Production.INFO: neon service started
[2025-03-10 11:52:02] Production.INFO: neon service started
[2025-03-10 11:52:02] Production.INFO: ==16542== Releasing lock...
[2025-03-10 11:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:52:02] Production.INFO: ==16544== Lock acquired, processing the job...
[2025-03-10 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:52:03] Production.INFO: ==16544== Releasing lock...
[2025-03-10 07:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:52:03] Production.INFO: ==16546== Lock acquired, processing the job...
[2025-03-10 11:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:52:03] Production.INFO: ==16546== Releasing lock...
[2025-03-10 11:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:52:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:52:04] Production.INFO: ==16549== Lock acquired, processing the job...
[2025-03-10 07:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:52:04] Production.INFO: ==16557== Lock acquired, processing the job...
[2025-03-10 07:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:52:04] Production.INFO: ==16559== Lock acquired, processing the job...
[2025-03-10 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:52:04] Production.INFO: ==16551== Lock acquired, processing the job...
[2025-03-10 07:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:52:04] Production.INFO: ==16553== Lock acquired, processing the job...
[2025-03-10 07:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:52:04] Production.INFO: ==16555== Lock acquired, processing the job...
[2025-03-10 07:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 07:52:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:52:04] Production.INFO: count ==21
[2025-03-10 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648107') start
[2025-03-10 07:52:04] Production.INFO: Account Balance Start.
[2025-03-10 07:52:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:52:04] Production.INFO: 117
[2025-03-10 07:52:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:52:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648107') end
[2025-03-10 07:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:52:04] Production.INFO: 1
[2025-03-10 07:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:52:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:52:04] Production.ERROR: done
[2025-03-10 07:52:04] Production.INFO: ==16559== Releasing lock...
[2025-03-10 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:52:04] Production.INFO: Total Charge 0
[2025-03-10 07:52:04] Production.INFO: CreateAllLog End
[2025-03-10 07:52:04] Production.INFO: ==16551== Releasing lock...
[2025-03-10 07:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:52:04] Production.ERROR: done
[2025-03-10 07:52:05] Production.INFO: Account Balance End.
[2025-03-10 07:52:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:52:05] Production.INFO: ==16555== Releasing lock...
[2025-03-10 07:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:52:06
[end_date_ymd] => 2025-03-10 07:52:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:52:06' and `end` < '2025-03-10 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-03-10 07:52:12] Production.ERROR: CronJobId end10
[2025-03-10 07:52:12] Production.INFO: ==16553== Releasing lock...
[2025-03-10 07:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:52:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:52:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:52:14] Production.INFO: call_cost start
[2025-03-10 07:52:14] Production.INFO: call_cost end
[2025-03-10 07:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:52:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:52:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:52:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:52:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:52:15] Production.INFO: ==16549== Releasing lock...
[2025-03-10 07:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:52:18] Production.INFO: count ==182
[2025-03-10 07:52:18] Production.ERROR: pbx CDR StartTime 2025-03-10 04:52:06 - End Time 2025-03-10 07:52:06
[2025-03-10 07:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648110', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648110', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648110', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648110', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:52:18] Production.INFO: ProcessCDR(1,14648110,1,1,2)
[2025-03-10 07:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648110', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648110', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:52:21] Production.INFO: ==16557== Releasing lock...
[2025-03-10 07:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:52:21] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:53:01] Production.INFO: ==16613== Lock acquired, processing the job...
[2025-03-10 11:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:53:02] Production.INFO: neon service started
[2025-03-10 11:53:02] Production.INFO: neon service started
[2025-03-10 11:53:02] Production.INFO: ==16613== Releasing lock...
[2025-03-10 11:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:53:02] Production.INFO: ==16615== Lock acquired, processing the job...
[2025-03-10 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:53:02] Production.INFO: ==16617== Lock acquired, processing the job...
[2025-03-10 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 07:53:02] Production.INFO: ==16615== Releasing lock...
[2025-03-10 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:53:02] Production.INFO: ==16617== Releasing lock...
[2025-03-10 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:53:03] Production.INFO: ==16620== Lock acquired, processing the job...
[2025-03-10 07:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:53:03] Production.INFO: ==16622== Lock acquired, processing the job...
[2025-03-10 07:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:53:03] Production.INFO: ==16624== Lock acquired, processing the job...
[2025-03-10 07:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:53:03] Production.INFO: ==16626== Lock acquired, processing the job...
[2025-03-10 07:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:53:03] Production.INFO: Account Balance Start.
[2025-03-10 07:53:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:53:03] Production.INFO: 117
[2025-03-10 07:53:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:53:04] Production.INFO: ==16628== Lock acquired, processing the job...
[2025-03-10 07:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:53:04] Production.INFO: ==16622== Releasing lock...
[2025-03-10 07:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:53:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:53:04] Production.INFO: ==16630== Lock acquired, processing the job...
[2025-03-10 07:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:53:04] Production.INFO: Total Charge 0
[2025-03-10 07:53:04] Production.INFO: CreateAllLog End
[2025-03-10 07: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-03-10 07:53:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:53:04] Production.INFO: count ==21
[2025-03-10 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648114') start
[2025-03-10 07:53:04] Production.ERROR: done
[2025-03-10 07:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:53:04] Production.INFO: Account Balance End.
[2025-03-10 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648114') end
[2025-03-10 07:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:53:04] Production.INFO: 1
[2025-03-10 07:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:53:04] Production.INFO: ==16626== Releasing lock...
[2025-03-10 07:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:53:04] Production.INFO: ==16630== Releasing lock...
[2025-03-10 07:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:53:04] Production.ERROR: done
[2025-03-10 07:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:53:05
[end_date_ymd] => 2025-03-10 07:53:05
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:53:05' and `end` < '2025-03-10 07: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-03-10 07:53:11] Production.ERROR: CronJobId end10
[2025-03-10 07:53:11] Production.INFO: ==16624== Releasing lock...
[2025-03-10 07:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:53:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:53:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:53:13] Production.INFO: call_cost start
[2025-03-10 07:53:13] Production.INFO: call_cost end
[2025-03-10 07:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:53:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:53:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:53:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:53:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:53:14] Production.INFO: ==16620== Releasing lock...
[2025-03-10 07:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:53:17] Production.INFO: count ==183
[2025-03-10 07:53:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:53:05 - End Time 2025-03-10 07:53:05
[2025-03-10 07:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648115', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648115', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648115', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648115', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:53:17] Production.INFO: ProcessCDR(1,14648115,1,1,2)
[2025-03-10 07:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648115', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648115', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:53:22] Production.INFO: ==16628== Releasing lock...
[2025-03-10 07:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:53:22] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 11:54:01] Production.INFO: ==16684== Lock acquired, processing the job...
[2025-03-10 11:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:54:01] Production.INFO: neon service started
[2025-03-10 11:54:01] Production.INFO: neon service started
[2025-03-10 11:54:01] Production.INFO: ==16684== Releasing lock...
[2025-03-10 11:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:54:01] Production.INFO: ==16686== Lock acquired, processing the job...
[2025-03-10 07:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:54:02] Production.INFO: ==16686== Releasing lock...
[2025-03-10 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:54:02] Production.INFO: ==16688== Lock acquired, processing the job...
[2025-03-10 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:54:02] Production.INFO: ==16688== Releasing lock...
[2025-03-10 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:54:03] Production.INFO: ==16699== Lock acquired, processing the job...
[2025-03-10 07:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:54:03] Production.INFO: ==16693== Lock acquired, processing the job...
[2025-03-10 07:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:54:03] Production.INFO: ==16701== Lock acquired, processing the job...
[2025-03-10 07:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:54:03] Production.INFO: ==16691== Lock acquired, processing the job...
[2025-03-10 07:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:54:03] Production.INFO: ==16695== Lock acquired, processing the job...
[2025-03-10 07:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:54:03] Production.INFO: ==16697== Lock acquired, processing the job...
[2025-03-10 07:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07: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-03-10 07:54:03] Production.INFO: count ==13
[2025-03-10 07:54:03] Production.INFO: Account Balance Start.
[2025-03-10 07:54:03] Production.INFO: CreateAllLog Start
[2025-03-10 07: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-03-10 07:54:03] Production.INFO: count ==21
[2025-03-10 07:54:03] Production.INFO: 117
[2025-03-10 07:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648116') start
[2025-03-10 07:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:54:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648116') end
[2025-03-10 07:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:54:03] Production.INFO: 1
[2025-03-10 07:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:54:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:54:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:54:03] Production.INFO: ==16701== Releasing lock...
[2025-03-10 07:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:54:03] Production.ERROR: done
[2025-03-10 07:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:54:03] Production.INFO: Total Charge 0
[2025-03-10 07:54:03] Production.INFO: CreateAllLog End
[2025-03-10 07:54:03] Production.ERROR: done
[2025-03-10 07:54:03] Production.INFO: ==16693== Releasing lock...
[2025-03-10 07:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:54:03] Production.INFO: Account Balance End.
[2025-03-10 07:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:54:04] Production.INFO: ==16697== Releasing lock...
[2025-03-10 07:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:54:04
[end_date_ymd] => 2025-03-10 07:54:04
[RateCDR] => 1
)
[2025-03-10 07: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-03-10 04:54:04' and `end` < '2025-03-10 07: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-03-10 07:54:11] Production.ERROR: CronJobId end10
[2025-03-10 07:54:11] Production.INFO: ==16695== Releasing lock...
[2025-03-10 07:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:54:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:54:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:54:14] Production.INFO: call_cost start
[2025-03-10 07:54:14] Production.INFO: call_cost end
[2025-03-10 07:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:54:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:54:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:54:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:54:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:54:14] Production.INFO: ==16691== Releasing lock...
[2025-03-10 07:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:54:16] Production.INFO: count ==187
[2025-03-10 07:54:16] Production.ERROR: pbx CDR StartTime 2025-03-10 04:54:04 - End Time 2025-03-10 07:54:04
[2025-03-10 07:54:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:54:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648120', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:54:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648120', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:54:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648120', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:54:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648120', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:54:16] Production.INFO: ProcessCDR(1,14648120,1,1,2)
[2025-03-10 07:54:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648120', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648120', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:54:21] Production.INFO: ==16699== Releasing lock...
[2025-03-10 07:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:54:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 11:55:01] Production.INFO: ==16758== Lock acquired, processing the job...
[2025-03-10 11:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:55:01] Production.INFO: neon service started
[2025-03-10 11:55:01] Production.INFO: neon service started
[2025-03-10 11:55:01] Production.INFO: ==16758== Releasing lock...
[2025-03-10 11:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:55:02] Production.INFO: ==16760== Lock acquired, processing the job...
[2025-03-10 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:55:02] Production.INFO: ==16760== Releasing lock...
[2025-03-10 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:55:02] Production.INFO: ==16762== Lock acquired, processing the job...
[2025-03-10 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:55:02] Production.INFO: ==16762== Releasing lock...
[2025-03-10 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:55:03] Production.INFO: ==16768== Lock acquired, processing the job...
[2025-03-10 07:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:55:03] Production.INFO: ==16771== Lock acquired, processing the job...
[2025-03-10 07:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:55:03] Production.INFO: ==16764== Lock acquired, processing the job...
[2025-03-10 07:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:55:03] Production.INFO: ==16766== Lock acquired, processing the job...
[2025-03-10 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:55:03] Production.INFO: Account Balance Start.
[2025-03-10 07:55:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:55:03] Production.INFO: 117
[2025-03-10 07:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:55:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:55:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:55:04] Production.INFO: ==16773== Lock acquired, processing the job...
[2025-03-10 07:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:55:04] Production.INFO: ==16775== Lock acquired, processing the job...
[2025-03-10 07:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:55:04] Production.INFO: ==16766== Releasing lock...
[2025-03-10 07:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 07:55:04] Production.INFO: Total Charge 0
[2025-03-10 07:55:04] Production.INFO: count ==13
[2025-03-10 07:55:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 07:55:04] Production.INFO: count ==21
[2025-03-10 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648124') start
[2025-03-10 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648124') end
[2025-03-10 07:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:55:04] Production.INFO: 1
[2025-03-10 07:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:55:04] Production.ERROR: done
[2025-03-10 07:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:55:04] Production.INFO: ==16775== Releasing lock...
[2025-03-10 07:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:55:04] Production.INFO: Account Balance End.
[2025-03-10 07:55:04] Production.ERROR: done
[2025-03-10 07:55:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:55:04] Production.INFO: ==16771== Releasing lock...
[2025-03-10 07:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:55:05
[end_date_ymd] => 2025-03-10 07:55:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:55:05' and `end` < '2025-03-10 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-03-10 07:55:13] Production.ERROR: CronJobId end10
[2025-03-10 07:55:13] Production.INFO: ==16768== Releasing lock...
[2025-03-10 07:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:55:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:55:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:55:15] Production.INFO: call_cost start
[2025-03-10 07:55:15] Production.INFO: call_cost end
[2025-03-10 07:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:55:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:55:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:55:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:55:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:55:16] Production.INFO: ==16764== Releasing lock...
[2025-03-10 07:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:55:17] Production.INFO: count ==189
[2025-03-10 07:55:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:55:05 - End Time 2025-03-10 07:55:05
[2025-03-10 07:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648125', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648125', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648125', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648125', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:55:17] Production.INFO: ProcessCDR(1,14648125,1,1,2)
[2025-03-10 07:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648125', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648125', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:55:22] Production.INFO: ==16773== Releasing lock...
[2025-03-10 07:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:55:22] Production.INFO: 30 MB #Memory Used#
[2025-03-10 11:56:02] Production.INFO: ==16834== Lock acquired, processing the job...
[2025-03-10 11:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:56:02] Production.INFO: neon service started
[2025-03-10 11:56:02] Production.INFO: neon service started
[2025-03-10 11:56:02] Production.INFO: ==16834== Releasing lock...
[2025-03-10 11:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:56:02] Production.INFO: ==16838== Lock acquired, processing the job...
[2025-03-10 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:56:02] Production.INFO: ==16838== Releasing lock...
[2025-03-10 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:56:02] Production.INFO: ==16836== Lock acquired, processing the job...
[2025-03-10 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:56:03] Production.INFO: ==16836== Releasing lock...
[2025-03-10 07:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:56:03] Production.INFO: ==16843== Lock acquired, processing the job...
[2025-03-10 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:56:04] Production.INFO: ==16849== Lock acquired, processing the job...
[2025-03-10 07:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:56:04] Production.INFO: ==16841== Lock acquired, processing the job...
[2025-03-10 07:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:56:04] Production.INFO: ==16843== Releasing lock...
[2025-03-10 07:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:56:04] Production.INFO: ==16845== Lock acquired, processing the job...
[2025-03-10 07:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:56:04] Production.INFO: ==16847== Lock acquired, processing the job...
[2025-03-10 07:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:56:04] Production.INFO: ==16851== Lock acquired, processing the job...
[2025-03-10 07:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:56:04] Production.ERROR: done
[2025-03-10 07:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 07:56:04] Production.INFO: Account Balance Start.
[2025-03-10 07:56:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:56:04] Production.INFO: 117
[2025-03-10 07:56:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:56:04] Production.INFO: count ==21
[2025-03-10 07:56:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:56:04] Production.ERROR: done
[2025-03-10 07:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648128') start
[2025-03-10 07:56:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:56:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:56:04] Production.INFO: Total Charge 0
[2025-03-10 07:56:04] Production.INFO: CreateAllLog End
[2025-03-10 07:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648128') end
[2025-03-10 07:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:56:04] Production.INFO: 1
[2025-03-10 07:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:56:04] Production.INFO: ==16851== Releasing lock...
[2025-03-10 07:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:56:04] Production.INFO: Account Balance End.
[2025-03-10 07:56:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:56:05] Production.INFO: ==16847== Releasing lock...
[2025-03-10 07:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:56:05
[end_date_ymd] => 2025-03-10 07:56:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:56:05' and `end` < '2025-03-10 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-03-10 07:56:12] Production.ERROR: CronJobId end10
[2025-03-10 07:56:12] Production.INFO: ==16845== Releasing lock...
[2025-03-10 07:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:56:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:56:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:56:15] Production.INFO: call_cost start
[2025-03-10 07:56:15] Production.INFO: call_cost end
[2025-03-10 07:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:56:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:56:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:56:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:56:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:56:16] Production.INFO: ==16841== Releasing lock...
[2025-03-10 07:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:56:17] Production.INFO: count ==194
[2025-03-10 07:56:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:56:05 - End Time 2025-03-10 07:56:05
[2025-03-10 07:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648130', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648130', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648130', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648130', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:56:17] Production.INFO: ProcessCDR(1,14648130,1,1,2)
[2025-03-10 07:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648130', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648130', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:56:21] Production.INFO: ==16849== Releasing lock...
[2025-03-10 07:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:56:21] Production.INFO: 29.5 MB #Memory Used#
[2025-03-10 11:57:01] Production.INFO: ==16908== Lock acquired, processing the job...
[2025-03-10 11:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:57:01] Production.INFO: neon service started
[2025-03-10 11:57:01] Production.INFO: neon service started
[2025-03-10 11:57:01] Production.INFO: ==16908== Releasing lock...
[2025-03-10 11:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:57:02] Production.INFO: ==16910== Lock acquired, processing the job...
[2025-03-10 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:57:02] Production.INFO: ==16912== Lock acquired, processing the job...
[2025-03-10 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:57:02] Production.INFO: ==16912== Releasing lock...
[2025-03-10 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:57:02] Production.INFO: ==16910== Releasing lock...
[2025-03-10 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:57:03] Production.INFO: ==16915== Lock acquired, processing the job...
[2025-03-10 07:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:57:03] Production.INFO: ==16923== Lock acquired, processing the job...
[2025-03-10 07:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:57:03] Production.INFO: ==16917== Lock acquired, processing the job...
[2025-03-10 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:57:04] Production.INFO: ==16919== Lock acquired, processing the job...
[2025-03-10 07:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:57:04] Production.INFO: ==16921== Lock acquired, processing the job...
[2025-03-10 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:57:04] Production.INFO: ==16925== Lock acquired, processing the job...
[2025-03-10 07:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:57:04] Production.INFO: Account Balance Start.
[2025-03-10 07:57:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:57:04] Production.INFO: 117
[2025-03-10 07:57:04] Production.INFO: Date 2025-03-08
[2025-03-10 07: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-03-10 07:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:57:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:57:04] Production.INFO: count ==21
[2025-03-10 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648134') start
[2025-03-10 07:57:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:57:04] Production.INFO: ==16917== Releasing lock...
[2025-03-10 07:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:57:04] Production.ERROR: done
[2025-03-10 07:57:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:57:04] Production.INFO: Total Charge 0
[2025-03-10 07:57:04] Production.INFO: CreateAllLog End
[2025-03-10 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648134') end
[2025-03-10 07:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:57:04] Production.INFO: 1
[2025-03-10 07:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:57:04] Production.INFO: ==16925== Releasing lock...
[2025-03-10 07:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:57:04] Production.ERROR: done
[2025-03-10 07:57:04] Production.INFO: Account Balance End.
[2025-03-10 07:57:05] Production.ERROR: CronJobId end 12
[2025-03-10 07:57:05] Production.INFO: ==16921== Releasing lock...
[2025-03-10 07:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:57:05
[end_date_ymd] => 2025-03-10 07:57:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:57:05' and `end` < '2025-03-10 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-03-10 07:57:11] Production.ERROR: CronJobId end10
[2025-03-10 07:57:11] Production.INFO: ==16919== Releasing lock...
[2025-03-10 07:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:57:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:57:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:57:13] Production.INFO: call_cost start
[2025-03-10 07:57:13] Production.INFO: call_cost end
[2025-03-10 07:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:57:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:57:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:57:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:57:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:57:14] Production.INFO: ==16915== Releasing lock...
[2025-03-10 07:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:57:17] Production.INFO: count ==202
[2025-03-10 07:57:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:57:05 - End Time 2025-03-10 07:57:05
[2025-03-10 07:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648135', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648135', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648135', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648135', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:57:17] Production.INFO: ProcessCDR(1,14648135,1,1,2)
[2025-03-10 07:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648135', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648135', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:57:22] Production.INFO: ==16923== Releasing lock...
[2025-03-10 07:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:57:22] Production.INFO: 30 MB #Memory Used#
[2025-03-10 11:58:02] Production.INFO: ==16980== Lock acquired, processing the job...
[2025-03-10 11:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:58:02] Production.INFO: neon service started
[2025-03-10 11:58:02] Production.INFO: neon service started
[2025-03-10 11:58:02] Production.INFO: ==16980== Releasing lock...
[2025-03-10 11:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 07:58:02] Production.INFO: ==16983== Lock acquired, processing the job...
[2025-03-10 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:58:03] Production.INFO: ==16983== Releasing lock...
[2025-03-10 07:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:58:03] Production.INFO: ==16985== Lock acquired, processing the job...
[2025-03-10 11:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:58:03] Production.INFO: ==16985== Releasing lock...
[2025-03-10 11:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:58:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:58:03] Production.INFO: ==16995== Lock acquired, processing the job...
[2025-03-10 07:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:58:04] Production.INFO: ==16987== Lock acquired, processing the job...
[2025-03-10 07:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:58:04] Production.INFO: ==16997== Lock acquired, processing the job...
[2025-03-10 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:58:04] Production.INFO: ==16989== Lock acquired, processing the job...
[2025-03-10 07:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:58:04] Production.INFO: ==16991== Lock acquired, processing the job...
[2025-03-10 07:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 07:58:04] Production.INFO: ==16993== Lock acquired, processing the job...
[2025-03-10 07:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:58:04] Production.INFO: count ==13
[2025-03-10 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-03-10 07:58:04] Production.INFO: count ==21
[2025-03-10 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648136') start
[2025-03-10 07:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:58:04] Production.ERROR: done
[2025-03-10 07:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:58:04] Production.INFO: Account Balance Start.
[2025-03-10 07:58:04] Production.INFO: CreateAllLog Start
[2025-03-10 07:58:04] Production.INFO: 117
[2025-03-10 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648136') end
[2025-03-10 07:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:58:04] Production.INFO: 1
[2025-03-10 07:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:58:04] Production.INFO: Date 2025-03-08
[2025-03-10 07:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:58:04] Production.INFO: ==16997== Releasing lock...
[2025-03-10 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:58:04] Production.INFO: ==16989== Releasing lock...
[2025-03-10 07:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:58:04] Production.INFO: Date 2025-03-09
[2025-03-10 07:58:04] Production.ERROR: done
[2025-03-10 07:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:58:04] Production.INFO: Date 2025-03-10
[2025-03-10 07:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 07:58:04] Production.INFO: Total Charge 0
[2025-03-10 07:58:04] Production.INFO: CreateAllLog End
[2025-03-10 07:58:04] Production.INFO: Account Balance End.
[2025-03-10 07:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 07:58:04] Production.INFO: ==16993== Releasing lock...
[2025-03-10 07:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:58:05
[end_date_ymd] => 2025-03-10 07:58:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:58:05' and `end` < '2025-03-10 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-03-10 07:58:12] Production.ERROR: CronJobId end10
[2025-03-10 07:58:12] Production.INFO: ==16991== Releasing lock...
[2025-03-10 07:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:58:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:58:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:58:14] Production.INFO: call_cost start
[2025-03-10 07:58:14] Production.INFO: call_cost end
[2025-03-10 07:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:58:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:58:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:58:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:58:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:58:15] Production.INFO: ==16987== Releasing lock...
[2025-03-10 07:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:58:17] Production.INFO: count ==202
[2025-03-10 07:58:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:58:05 - End Time 2025-03-10 07:58:05
[2025-03-10 07:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648140', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648140', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648140', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648140', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:58:17] Production.INFO: ProcessCDR(1,14648140,1,1,2)
[2025-03-10 07:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648140', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648140', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:58:21] Production.INFO: ==16995== Releasing lock...
[2025-03-10 07:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:58:21] Production.INFO: 30 MB #Memory Used#
[2025-03-10 11:59:01] Production.INFO: ==17050== Lock acquired, processing the job...
[2025-03-10 11:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 11:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 11:59:01] Production.INFO: neon service started
[2025-03-10 11:59:01] Production.INFO: neon service started
[2025-03-10 11:59:01] Production.INFO: ==17050== Releasing lock...
[2025-03-10 11:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 11:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:59:02] Production.INFO: ==17054== Lock acquired, processing the job...
[2025-03-10 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:59:02] Production.INFO: ==17054== Releasing lock...
[2025-03-10 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 11:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 07:59:02] Production.INFO: ==17052== Lock acquired, processing the job...
[2025-03-10 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 07:59:02] Production.INFO: ==17052== Releasing lock...
[2025-03-10 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 07:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 07:59:03] Production.INFO: ==17059== Lock acquired, processing the job...
[2025-03-10 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 07:59:03] Production.INFO: ==17063== Lock acquired, processing the job...
[2025-03-10 07:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 07:59:03] Production.INFO: Account Balance Start.
[2025-03-10 07:59:03] Production.INFO: CreateAllLog Start
[2025-03-10 07:59:03] Production.INFO: 117
[2025-03-10 07:59:03] Production.INFO: Date 2025-03-08
[2025-03-10 07:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:59:03] Production.INFO: Date 2025-03-09
[2025-03-10 07:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:59:03] Production.INFO: Date 2025-03-10
[2025-03-10 07:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 07:59:03] Production.INFO: ==17057== Lock acquired, processing the job...
[2025-03-10 07:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 07:59:03] Production.INFO: Total Charge 0
[2025-03-10 07:59:03] Production.INFO: CreateAllLog End
[2025-03-10 07:59:03] Production.INFO: ==17061== Lock acquired, processing the job...
[2025-03-10 07:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 07:59:03] Production.INFO: ==17065== Lock acquired, processing the job...
[2025-03-10 07:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 07:59:03] Production.INFO: ==17059== Releasing lock...
[2025-03-10 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 07:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 07:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 07:59:03] Production.INFO: ==17067== Lock acquired, processing the job...
[2025-03-10 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 07:59:03] Production.INFO: Account Balance End.
[2025-03-10 07:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 07:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 07:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 07:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 07:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 07:59:03] Production.ERROR: CronJobId end 12
[2025-03-10 07:59:03] Production.INFO: ==17063== Releasing lock...
[2025-03-10 07:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 07:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 07: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-03-10 07:59:04] Production.INFO: count ==13
[2025-03-10 07: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-03-10 07:59:04] Production.INFO: count ==21
[2025-03-10 07:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648144') start
[2025-03-10 07:59:04] Production.ERROR: done
[2025-03-10 07:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 07:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648144') end
[2025-03-10 07:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 07:59:04] Production.INFO: 1
[2025-03-10 07:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 07:59:04] Production.ERROR: done
[2025-03-10 07:59:04] Production.INFO: ==17067== Releasing lock...
[2025-03-10 07:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 07:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 07:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 04:59:05
[end_date_ymd] => 2025-03-10 07:59:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 04:59:05' and `end` < '2025-03-10 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-03-10 07:59: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-03-10 07:59:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 07:59:10] Production.INFO: ============== Balance Warning START===========
[2025-03-10 07:59:10] Production.INFO: ============== Balance Warning END===========
[2025-03-10 07:59:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 07:59:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 07:59:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 07:59:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 07:59:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 07:59:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 07:59:10] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 07:59:10] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 07:59:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 07:59:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 07:59:10] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 07:59:10] Production.INFO: call_cost start
[2025-03-10 07:59:10] Production.INFO: call_cost end
[2025-03-10 07:59:11] Production.ERROR: CronJobId end10
[2025-03-10 07:59:11] Production.INFO: ==17061== Releasing lock...
[2025-03-10 07:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 07:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 07:59:11] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 07:59:11] Production.INFO: ============== Report Schedule START===========
[2025-03-10 07:59:11] Production.INFO: ============== Report Schedule END===========
[2025-03-10 07:59:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 07:59:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 07:59:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 07:59:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 07:59:11] Production.INFO: ============== Deal alert START===========
[2025-03-10 07:59:11] Production.INFO: ============== Deal alert END===========
[2025-03-10 07:59:11] Production.INFO: ==17057== Releasing lock...
[2025-03-10 07:59:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 07:59:11] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 07:59:17] Production.INFO: count ==204
[2025-03-10 07:59:17] Production.ERROR: pbx CDR StartTime 2025-03-10 04:59:05 - End Time 2025-03-10 07:59:05
[2025-03-10 07:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648145', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648145', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648145', 'tblTempVendorCDR_20' ) start
[2025-03-10 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648145', 'tblTempVendorCDR_20' ) end
[2025-03-10 07:59:17] Production.INFO: ProcessCDR(1,14648145,1,1,2)
[2025-03-10 07:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 07:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 07:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648145', 'tblTempUsageDetail_20' ) start
[2025-03-10 07:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648145', 'tblTempUsageDetail_20' ) end
[2025-03-10 07:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 07:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 07:59:22] Production.INFO: ==17065== Releasing lock...
[2025-03-10 07:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 07:59:22] Production.INFO: 30 MB #Memory Used#
[2025-03-10 12:00:02] Production.INFO: ==17121== Lock acquired, processing the job...
[2025-03-10 12:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:00:02] Production.INFO: neon service started
[2025-03-10 12:00:02] Production.INFO: neon service started
[2025-03-10 12:00:02] Production.INFO: ==17121== Releasing lock...
[2025-03-10 12:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:00:02] Production.INFO: ==17123== Lock acquired, processing the job...
[2025-03-10 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:00:02] Production.INFO: ==17125== Lock acquired, processing the job...
[2025-03-10 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:00:02] Production.INFO: ==17123== Releasing lock...
[2025-03-10 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:00:03] Production.INFO: ==17125== Releasing lock...
[2025-03-10 12:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:00:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:00:04] Production.INFO: ==17132== Lock acquired, processing the job...
[2025-03-10 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:00:04] Production.INFO: ==17128== Lock acquired, processing the job...
[2025-03-10 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 08:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 08:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 08:00:04] Production.ERROR: CronJob PID - 17132
[2025-03-10 08:00:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 08:00:04] Production.ERROR: CronJob ID - 7
[2025-03-10 08:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 08:00:00
[2025-03-10 08:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 08:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 08:00:04] Production.INFO: ==17136== Lock acquired, processing the job...
[2025-03-10 08:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 08:00:04] Production.INFO: ==17128== Releasing lock...
[2025-03-10 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 08:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 08:00:04] Production.INFO: ==17130== Lock acquired, processing the job...
[2025-03-10 08:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:00:04] Production.INFO: ==17134== Lock acquired, processing the job...
[2025-03-10 08:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:00:04] Production.INFO: ==17142== Lock acquired, processing the job...
[2025-03-10 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:00:04] Production.INFO: ==17138== Lock acquired, processing the job...
[2025-03-10 08:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:00:04] Production.INFO: ==17132== Releasing lock...
[2025-03-10 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:00:04] Production.INFO: ==17140== Lock acquired, processing the job...
[2025-03-10 08:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 08:00:04] Production.INFO: Account Balance Start.
[2025-03-10 08:00:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:00:04] Production.INFO: 117
[2025-03-10 08:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 08:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:00:04] Production.INFO: count ==13
[2025-03-10 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 08:00:04] Production.INFO: count ==21
[2025-03-10 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648149') start
[2025-03-10 08:00:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:00:04] Production.INFO: Total Charge 0
[2025-03-10 08:00:04] Production.INFO: CreateAllLog End
[2025-03-10 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648149') end
[2025-03-10 08:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:00:04] Production.INFO: 1
[2025-03-10 08:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:00:05] Production.INFO: ==17142== Releasing lock...
[2025-03-10 08:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:00:05] Production.ERROR: done
[2025-03-10 08:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:00:05] Production.ERROR: done
[2025-03-10 08:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 08:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648150', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 08:00:05] Production.INFO: Account Balance End.
[2025-03-10 08:00:05] Production.ERROR: done
[2025-03-10 08:00:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:00:05] Production.INFO: ==17136== Releasing lock...
[2025-03-10 08:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:00:06
[end_date_ymd] => 2025-03-10 08:00:06
[RateCDR] => 1
)
[2025-03-10 08:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 05:00:06' and `end` < '2025-03-10 08:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 08:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648150', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 08:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 08:00:09] Production.INFO: ProcessCDR(1,14648150,1,1,2)
[2025-03-10 08:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648150,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648150,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:00:10] Production.INFO: ==17140== Releasing lock...
[2025-03-10 08:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 08:00:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 08:00:14] Production.ERROR: CronJobId end10
[2025-03-10 08:00:14] Production.INFO: ==17134== Releasing lock...
[2025-03-10 08:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:00:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:00:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:00:17] Production.INFO: call_cost start
[2025-03-10 08:00:17] Production.INFO: call_cost end
[2025-03-10 08:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:00:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:00:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:00:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:00:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:00:18] Production.INFO: ==17130== Releasing lock...
[2025-03-10 08:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:00:18] Production.INFO: count ==199
[2025-03-10 08:00:19] Production.ERROR: pbx CDR StartTime 2025-03-10 05:00:06 - End Time 2025-03-10 08:00:06
[2025-03-10 08:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648151', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648151', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648151', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648151', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:00:19] Production.INFO: ProcessCDR(1,14648151,1,1,2)
[2025-03-10 08:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648151', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648151', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:00:22] Production.INFO: ==17138== Releasing lock...
[2025-03-10 08:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:00:22] Production.INFO: 30.25 MB #Memory Used#
[2025-03-10 12:01:01] Production.INFO: ==17204== Lock acquired, processing the job...
[2025-03-10 12:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:01:01] Production.INFO: neon service started
[2025-03-10 12:01:01] Production.INFO: neon service started
[2025-03-10 12:01:01] Production.INFO: ==17204== Releasing lock...
[2025-03-10 12:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:01:02] Production.INFO: ==17218== Lock acquired, processing the job...
[2025-03-10 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:01:02] Production.INFO: ==17218== Releasing lock...
[2025-03-10 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:01:02] Production.INFO: ==17216== Lock acquired, processing the job...
[2025-03-10 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:01:02] Production.INFO: ==17216== Releasing lock...
[2025-03-10 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:01:03] Production.INFO: ==17221== Lock acquired, processing the job...
[2025-03-10 08:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:01:03] Production.INFO: ==17223== Lock acquired, processing the job...
[2025-03-10 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:01:03] Production.INFO: ==17229== Lock acquired, processing the job...
[2025-03-10 08:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:01:03] Production.INFO: ==17225== Lock acquired, processing the job...
[2025-03-10 08:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:01:03] Production.INFO: ==17227== Lock acquired, processing the job...
[2025-03-10 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:01:03] Production.INFO: ==17231== Lock acquired, processing the job...
[2025-03-10 08:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:01:03] Production.INFO: ==17223== Releasing lock...
[2025-03-10 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:01:03] Production.INFO: Account Balance Start.
[2025-03-10 08:01:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:01:03] Production.INFO: 117
[2025-03-10 08:01:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:01:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:01:04] Production.ERROR: done
[2025-03-10 08:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08: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-03-10 08:01:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:01:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:01:04] Production.INFO: count ==21
[2025-03-10 08:01:04] Production.INFO: Total Charge 0
[2025-03-10 08:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648155') start
[2025-03-10 08:01:04] Production.INFO: CreateAllLog End
[2025-03-10 08:01:04] Production.ERROR: done
[2025-03-10 08:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648155') end
[2025-03-10 08:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:01:04] Production.INFO: 1
[2025-03-10 08:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:01:04] Production.INFO: Account Balance End.
[2025-03-10 08:01:04] Production.INFO: ==17231== Releasing lock...
[2025-03-10 08:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:01:04] Production.INFO: ==17227== Releasing lock...
[2025-03-10 08:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:01:05
[end_date_ymd] => 2025-03-10 08:01:05
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:01:05' and `end` < '2025-03-10 08: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-03-10 08:01:12] Production.ERROR: CronJobId end10
[2025-03-10 08:01:12] Production.INFO: ==17225== Releasing lock...
[2025-03-10 08:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:01:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:01:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:01:14] Production.INFO: call_cost start
[2025-03-10 08:01:14] Production.INFO: call_cost end
[2025-03-10 08:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:01:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:01:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:01:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:01:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:01:15] Production.INFO: ==17221== Releasing lock...
[2025-03-10 08:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:01:17] Production.INFO: count ==199
[2025-03-10 08:01:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:01:05 - End Time 2025-03-10 08:01:05
[2025-03-10 08:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648156', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648156', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648156', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648156', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:01:17] Production.INFO: ProcessCDR(1,14648156,1,1,2)
[2025-03-10 08:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648156', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648156', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:01:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:01:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:01:20] Production.INFO: ==17229== Releasing lock...
[2025-03-10 08:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:01:20] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 12:02:02] Production.INFO: ==17285== Lock acquired, processing the job...
[2025-03-10 12:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:02:02] Production.INFO: neon service started
[2025-03-10 12:02:02] Production.INFO: neon service started
[2025-03-10 12:02:02] Production.INFO: ==17285== Releasing lock...
[2025-03-10 12:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:02:02] Production.INFO: ==17287== Lock acquired, processing the job...
[2025-03-10 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:02:02] Production.INFO: ==17289== Lock acquired, processing the job...
[2025-03-10 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:02:02] Production.INFO: ==17289== Releasing lock...
[2025-03-10 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:02:02] Production.INFO: ==17287== Releasing lock...
[2025-03-10 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:02:03] Production.INFO: ==17292== Lock acquired, processing the job...
[2025-03-10 08:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:02:03] Production.INFO: ==17294== Lock acquired, processing the job...
[2025-03-10 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:02:03] Production.INFO: ==17300== Lock acquired, processing the job...
[2025-03-10 08:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:02:03] Production.INFO: ==17296== Lock acquired, processing the job...
[2025-03-10 08:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:02:04] Production.INFO: ==17298== Lock acquired, processing the job...
[2025-03-10 08:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:02:04] Production.INFO: ==17302== Lock acquired, processing the job...
[2025-03-10 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:02:04] Production.INFO: ==17294== Releasing lock...
[2025-03-10 08:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:02:04] Production.ERROR: done
[2025-03-10 08:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08: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-03-10 08:02:04] Production.INFO: Account Balance Start.
[2025-03-10 08:02:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:02:04] Production.INFO: 117
[2025-03-10 08:02:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:02:04] Production.INFO: count ==13
[2025-03-10 08:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 08: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-03-10 08:02:04] Production.INFO: count ==21
[2025-03-10 08:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648160') start
[2025-03-10 08:02:04] Production.ERROR: done
[2025-03-10 08:02:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648160') end
[2025-03-10 08:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:02:04] Production.INFO: 1
[2025-03-10 08:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:02:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:02:04] Production.INFO: ==17302== Releasing lock...
[2025-03-10 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:02:04] Production.INFO: Total Charge 0
[2025-03-10 08:02:04] Production.INFO: CreateAllLog End
[2025-03-10 08:02:04] Production.INFO: Account Balance End.
[2025-03-10 08:02:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:02:04] Production.INFO: ==17298== Releasing lock...
[2025-03-10 08:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:02:05
[end_date_ymd] => 2025-03-10 08:02:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:02:05' and `end` < '2025-03-10 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-03-10 08:02:13] Production.ERROR: CronJobId end10
[2025-03-10 08:02:13] Production.INFO: ==17296== Releasing lock...
[2025-03-10 08:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:02:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:02:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:02:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:02:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:02:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:02:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:02:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:02:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:02:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:02:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:02:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:02:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:02:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:02:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:02:17] Production.INFO: call_cost start
[2025-03-10 08:02:17] Production.INFO: call_cost end
[2025-03-10 08:02:17] Production.INFO: count ==210
[2025-03-10 08:02:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:02:05 - End Time 2025-03-10 08:02:05
[2025-03-10 08:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648161', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648161', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648161', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648161', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:02:17] Production.INFO: ProcessCDR(1,14648161,1,1,2)
[2025-03-10 08:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:02:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:02:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:02:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:02:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:02:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:02:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:02:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:02:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:02:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:02:18] Production.INFO: ==17292== Releasing lock...
[2025-03-10 08:02:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:02:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648161', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648161', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:02:21] Production.INFO: ==17300== Releasing lock...
[2025-03-10 08:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:02:21] Production.INFO: 30 MB #Memory Used#
[2025-03-10 12:03:01] Production.INFO: ==17360== Lock acquired, processing the job...
[2025-03-10 12:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:03:01] Production.INFO: neon service started
[2025-03-10 12:03:01] Production.INFO: neon service started
[2025-03-10 12:03:01] Production.INFO: ==17360== Releasing lock...
[2025-03-10 12:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:03:02] Production.INFO: ==17363== Lock acquired, processing the job...
[2025-03-10 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:03:02] Production.INFO: ==17365== Lock acquired, processing the job...
[2025-03-10 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:03:02] Production.INFO: ==17363== Releasing lock...
[2025-03-10 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:03:02] Production.INFO: ==17365== Releasing lock...
[2025-03-10 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:03:03] Production.INFO: ==17367== Lock acquired, processing the job...
[2025-03-10 08:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:03:03] Production.INFO: ==17369== Lock acquired, processing the job...
[2025-03-10 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:03:03] Production.INFO: ==17371== Lock acquired, processing the job...
[2025-03-10 08:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:03:03] Production.INFO: ==17373== Lock acquired, processing the job...
[2025-03-10 08:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:03:03] Production.INFO: ==17369== Releasing lock...
[2025-03-10 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:03:03] Production.INFO: Account Balance Start.
[2025-03-10 08:03:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:03:03] Production.INFO: 117
[2025-03-10 08:03:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:03:03] Production.INFO: ==17377== Lock acquired, processing the job...
[2025-03-10 08:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:03:03] Production.INFO: ==17375== Lock acquired, processing the job...
[2025-03-10 08:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:03:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:03:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:03:04] Production.INFO: Total Charge 0
[2025-03-10 08:03:04] Production.INFO: CreateAllLog End
[2025-03-10 08: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-03-10 08:03:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:03:04] Production.INFO: count ==21
[2025-03-10 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648165') start
[2025-03-10 08:03:04] Production.ERROR: done
[2025-03-10 08:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648165') end
[2025-03-10 08:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:03:04] Production.INFO: 1
[2025-03-10 08:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:03:04] Production.INFO: Account Balance End.
[2025-03-10 08:03:04] Production.INFO: ==17377== Releasing lock...
[2025-03-10 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:03:04] Production.INFO: ==17373== Releasing lock...
[2025-03-10 08:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:03:04] Production.ERROR: done
[2025-03-10 08:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:03:05
[end_date_ymd] => 2025-03-10 08:03:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:03:05' and `end` < '2025-03-10 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-03-10 08:03:13] Production.ERROR: CronJobId end10
[2025-03-10 08:03:13] Production.INFO: ==17371== Releasing lock...
[2025-03-10 08:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:03:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:03:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:03:15] Production.INFO: call_cost start
[2025-03-10 08:03:15] Production.INFO: call_cost end
[2025-03-10 08:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:03:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:03:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:03:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:03:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:03:16] Production.INFO: ==17367== Releasing lock...
[2025-03-10 08:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:03:17] Production.INFO: count ==211
[2025-03-10 08:03:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:03:05 - End Time 2025-03-10 08:03:05
[2025-03-10 08:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648166', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648166', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648166', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648166', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:03:17] Production.INFO: ProcessCDR(1,14648166,1,1,2)
[2025-03-10 08:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648166', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648166', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:03:21] Production.INFO: ==17375== Releasing lock...
[2025-03-10 08:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:03:21] Production.INFO: 29.75 MB #Memory Used#
[2025-03-10 12:04:02] Production.INFO: ==17433== Lock acquired, processing the job...
[2025-03-10 12:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:04:02] Production.INFO: neon service started
[2025-03-10 12:04:02] Production.INFO: neon service started
[2025-03-10 12:04:02] Production.INFO: ==17433== Releasing lock...
[2025-03-10 12:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:04:02] Production.INFO: ==17435== Lock acquired, processing the job...
[2025-03-10 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:04:03] Production.INFO: ==17435== Releasing lock...
[2025-03-10 08:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:04:03] Production.INFO: ==17437== Lock acquired, processing the job...
[2025-03-10 12:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:04:03] Production.INFO: ==17437== Releasing lock...
[2025-03-10 12:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:04:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:04:03] Production.INFO: ==17440== Lock acquired, processing the job...
[2025-03-10 08:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:04:03] Production.INFO: ==17442== Lock acquired, processing the job...
[2025-03-10 08:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:04:03] Production.INFO: ==17446== Lock acquired, processing the job...
[2025-03-10 08:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:04:03] Production.INFO: Account Balance Start.
[2025-03-10 08:04:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:04:03] Production.INFO: 117
[2025-03-10 08:04:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:04:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:04:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:04:04] Production.INFO: Total Charge 0
[2025-03-10 08:04:04] Production.INFO: CreateAllLog End
[2025-03-10 08:04:04] Production.INFO: ==17442== Releasing lock...
[2025-03-10 08:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:04:04] Production.INFO: Account Balance End.
[2025-03-10 08:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:04:04] Production.INFO: ==17446== Releasing lock...
[2025-03-10 08:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:04:04] Production.INFO: ==17444== Lock acquired, processing the job...
[2025-03-10 08:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:04:04] Production.INFO: ==17448== Lock acquired, processing the job...
[2025-03-10 08:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:04:04] Production.INFO: ==17450== Lock acquired, processing the job...
[2025-03-10 08:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 08:04:04] Production.INFO: count ==13
[2025-03-10 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-03-10 08:04:04] Production.INFO: count ==21
[2025-03-10 08:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648170') start
[2025-03-10 08:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648170') end
[2025-03-10 08:04:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:04:05] Production.INFO: 1
[2025-03-10 08:04:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:04:05] Production.ERROR: done
[2025-03-10 08:04:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:04:05] Production.INFO: ==17450== Releasing lock...
[2025-03-10 08:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:04:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:04:05] Production.ERROR: done
[2025-03-10 08:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:04:06
[end_date_ymd] => 2025-03-10 08:04:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:04:06' and `end` < '2025-03-10 08: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-03-10 08:04:12] Production.ERROR: CronJobId end10
[2025-03-10 08:04:12] Production.INFO: ==17444== Releasing lock...
[2025-03-10 08:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:04:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:04:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:04:16] Production.INFO: call_cost start
[2025-03-10 08:04:16] Production.INFO: call_cost end
[2025-03-10 08:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:04:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:04:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:04:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:04:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:04:17] Production.INFO: ==17440== Releasing lock...
[2025-03-10 08:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:04:18] Production.INFO: count ==219
[2025-03-10 08:04:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:04:06 - End Time 2025-03-10 08:04:06
[2025-03-10 08:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648171', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648171', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648171', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648171', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:04:18] Production.INFO: ProcessCDR(1,14648171,1,1,2)
[2025-03-10 08:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648171', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648171', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:04:24] Production.INFO: ==17448== Releasing lock...
[2025-03-10 08:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:04:24] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 12:05:01] Production.INFO: ==17504== Lock acquired, processing the job...
[2025-03-10 12:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:05:01] Production.INFO: neon service started
[2025-03-10 12:05:01] Production.INFO: neon service started
[2025-03-10 12:05:01] Production.INFO: ==17504== Releasing lock...
[2025-03-10 12:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:05:02] Production.INFO: ==17508== Lock acquired, processing the job...
[2025-03-10 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:05:02] Production.INFO: ==17508== Releasing lock...
[2025-03-10 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:05:02] Production.INFO: 26 MB #Memory Used#
[2025-03-10 08:05:02] Production.INFO: ==17506== Lock acquired, processing the job...
[2025-03-10 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:05:02] Production.INFO: ==17506== Releasing lock...
[2025-03-10 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:05:03] Production.INFO: ==17516== Lock acquired, processing the job...
[2025-03-10 08:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:05:03] Production.INFO: Account Balance Start.
[2025-03-10 08:05:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:05:03] Production.INFO: 117
[2025-03-10 08:05:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:05:03] Production.INFO: ==17521== Lock acquired, processing the job...
[2025-03-10 08:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:05:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:05:03] Production.INFO: Date 2025-03-10
[2025-03-10 08:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:05:03] Production.INFO: ==17510== Lock acquired, processing the job...
[2025-03-10 08:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08: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-03-10 08:05:03] Production.INFO: Total Charge 0
[2025-03-10 08:05:03] Production.INFO: count ==13
[2025-03-10 08:05:03] Production.INFO: CreateAllLog End
[2025-03-10 08: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-03-10 08:05:03] Production.INFO: count ==21
[2025-03-10 08:05:03] Production.INFO: ==17512== Lock acquired, processing the job...
[2025-03-10 08:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:05:03] Production.INFO: ==17514== Lock acquired, processing the job...
[2025-03-10 08:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648173') start
[2025-03-10 08:05:03] Production.INFO: ==17518== Lock acquired, processing the job...
[2025-03-10 08:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648173') end
[2025-03-10 08:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:05:04] Production.INFO: 1
[2025-03-10 08:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:05:04] Production.INFO: Account Balance End.
[2025-03-10 08:05:04] Production.INFO: ==17521== Releasing lock...
[2025-03-10 08:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:05:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:05:04] Production.INFO: ==17516== Releasing lock...
[2025-03-10 08:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:05:04] Production.INFO: ==17512== Releasing lock...
[2025-03-10 08:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:05:04] Production.ERROR: done
[2025-03-10 08:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:05:04] Production.ERROR: done
[2025-03-10 08:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:05:05
[end_date_ymd] => 2025-03-10 08:05:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:05:05' and `end` < '2025-03-10 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-03-10 08:05:12] Production.ERROR: CronJobId end10
[2025-03-10 08:05:12] Production.INFO: ==17514== Releasing lock...
[2025-03-10 08:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:05:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:05:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:05:15] Production.INFO: call_cost start
[2025-03-10 08:05:15] Production.INFO: call_cost end
[2025-03-10 08:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:05:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:05:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:05:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:05:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:05:16] Production.INFO: ==17510== Releasing lock...
[2025-03-10 08:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:05:17] Production.INFO: count ==222
[2025-03-10 08:05:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:05:05 - End Time 2025-03-10 08:05:05
[2025-03-10 08:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648176', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648176', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648176', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648176', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:05:17] Production.INFO: ProcessCDR(1,14648176,1,1,2)
[2025-03-10 08:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648176', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648176', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:05:21] Production.INFO: ==17518== Releasing lock...
[2025-03-10 08:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:05:21] Production.INFO: 30.25 MB #Memory Used#
[2025-03-10 12:06:02] Production.INFO: ==17575== Lock acquired, processing the job...
[2025-03-10 12:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:06:02] Production.INFO: neon service started
[2025-03-10 12:06:02] Production.INFO: neon service started
[2025-03-10 12:06:02] Production.INFO: ==17575== Releasing lock...
[2025-03-10 12:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:06:02] Production.INFO: ==17579== Lock acquired, processing the job...
[2025-03-10 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:06:02] Production.INFO: ==17579== Releasing lock...
[2025-03-10 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:06:02] Production.INFO: ==17577== Lock acquired, processing the job...
[2025-03-10 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:06:03] Production.INFO: ==17577== Releasing lock...
[2025-03-10 08:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:06:04] Production.INFO: ==17586== Lock acquired, processing the job...
[2025-03-10 08:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:06:04] Production.INFO: ==17592== Lock acquired, processing the job...
[2025-03-10 08:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:06:04] Production.INFO: ==17582== Lock acquired, processing the job...
[2025-03-10 08:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08: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-03-10 08:06:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:06:04] Production.INFO: count ==21
[2025-03-10 08:06:04] Production.INFO: ==17584== Lock acquired, processing the job...
[2025-03-10 08:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648177') start
[2025-03-10 08:06:04] Production.INFO: ==17588== Lock acquired, processing the job...
[2025-03-10 08:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:06:04] Production.INFO: ==17590== Lock acquired, processing the job...
[2025-03-10 08:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:06:04] Production.INFO: Account Balance Start.
[2025-03-10 08:06:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:06:04] Production.INFO: 117
[2025-03-10 08:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648177') end
[2025-03-10 08:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:06:04] Production.INFO: 1
[2025-03-10 08:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:06:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:06:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:06:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:06:04] Production.INFO: Total Charge 0
[2025-03-10 08:06:04] Production.INFO: CreateAllLog End
[2025-03-10 08:06:04] Production.INFO: ==17592== Releasing lock...
[2025-03-10 08:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:06:04] Production.INFO: ==17584== Releasing lock...
[2025-03-10 08:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:06:04] Production.ERROR: done
[2025-03-10 08:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:06:04] Production.INFO: Account Balance End.
[2025-03-10 08:06:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:06:05] Production.INFO: ==17588== Releasing lock...
[2025-03-10 08:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:06:05] Production.ERROR: done
[2025-03-10 08:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:06:06
[end_date_ymd] => 2025-03-10 08:06:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:06:06' and `end` < '2025-03-10 08: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-03-10 08:06: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-03-10 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-03-10 08:06:12] Production.ERROR: CronJobId end10
[2025-03-10 08:06:12] Production.INFO: ==17586== Releasing lock...
[2025-03-10 08:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:06:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:06:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:06:15] Production.INFO: call_cost start
[2025-03-10 08:06:15] Production.INFO: call_cost end
[2025-03-10 08:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:06:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:06:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:06:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:06:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:06:16] Production.INFO: ==17582== Releasing lock...
[2025-03-10 08:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:06:18] Production.INFO: count ==242
[2025-03-10 08:06:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:06:06 - End Time 2025-03-10 08:06:06
[2025-03-10 08:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648181', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648181', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648181', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648181', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:06:18] Production.INFO: ProcessCDR(1,14648181,1,1,2)
[2025-03-10 08:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648181', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648181', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:06:24] Production.INFO: ==17590== Releasing lock...
[2025-03-10 08:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:06:24] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 12:07:01] Production.INFO: ==17647== Lock acquired, processing the job...
[2025-03-10 12:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:07:01] Production.INFO: neon service started
[2025-03-10 12:07:01] Production.INFO: neon service started
[2025-03-10 12:07:01] Production.INFO: ==17647== Releasing lock...
[2025-03-10 12:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:07:02] Production.INFO: ==17649== Lock acquired, processing the job...
[2025-03-10 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:07:02] Production.INFO: ==17651== Lock acquired, processing the job...
[2025-03-10 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:07:02] Production.INFO: ==17649== Releasing lock...
[2025-03-10 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:07:02] Production.INFO: ==17651== Releasing lock...
[2025-03-10 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:07:03] Production.INFO: ==17654== Lock acquired, processing the job...
[2025-03-10 08:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:07:03] Production.INFO: ==17656== Lock acquired, processing the job...
[2025-03-10 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:07:03] Production.INFO: ==17658== Lock acquired, processing the job...
[2025-03-10 08:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:07:03] Production.INFO: ==17656== Releasing lock...
[2025-03-10 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:07:03] Production.INFO: ==17660== Lock acquired, processing the job...
[2025-03-10 08:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:07:03] Production.INFO: ==17662== Lock acquired, processing the job...
[2025-03-10 08:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:07:03] Production.INFO: Account Balance Start.
[2025-03-10 08:07:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:07:03] Production.INFO: 117
[2025-03-10 08:07:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:07:03] Production.INFO: ==17664== Lock acquired, processing the job...
[2025-03-10 08:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:07:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:07:03] Production.INFO: Date 2025-03-10
[2025-03-10 08:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 08:07:04] Production.INFO: Total Charge 0
[2025-03-10 08:07:04] Production.INFO: count ==13
[2025-03-10 08:07:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 08:07:04] Production.INFO: count ==21
[2025-03-10 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648185') start
[2025-03-10 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648185') end
[2025-03-10 08:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:07:04] Production.INFO: 1
[2025-03-10 08:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:07:04] Production.INFO: Account Balance End.
[2025-03-10 08:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:07:04] Production.INFO: ==17660== Releasing lock...
[2025-03-10 08:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:07:04] Production.INFO: ==17664== Releasing lock...
[2025-03-10 08:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:07:04] Production.ERROR: done
[2025-03-10 08:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:07:04] Production.ERROR: done
[2025-03-10 08:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:07:05
[end_date_ymd] => 2025-03-10 08:07:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:07:05' and `end` < '2025-03-10 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-03-10 08:07:12] Production.ERROR: CronJobId end10
[2025-03-10 08:07:12] Production.INFO: ==17658== Releasing lock...
[2025-03-10 08:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:07:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:07:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:07:14] Production.INFO: call_cost start
[2025-03-10 08:07:14] Production.INFO: call_cost end
[2025-03-10 08:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:07:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:07:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:07:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:07:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:07:15] Production.INFO: ==17654== Releasing lock...
[2025-03-10 08:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:07:17] Production.INFO: count ==259
[2025-03-10 08:07:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:07:05 - End Time 2025-03-10 08:07:05
[2025-03-10 08:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648186', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648186', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648186', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648186', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:07:17] Production.INFO: ProcessCDR(1,14648186,1,1,2)
[2025-03-10 08:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648186', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648186', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:07:21] Production.INFO: ==17662== Releasing lock...
[2025-03-10 08:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:07:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 12:08:02] Production.INFO: ==17759== Lock acquired, processing the job...
[2025-03-10 12:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:08:02] Production.INFO: neon service started
[2025-03-10 12:08:02] Production.INFO: neon service started
[2025-03-10 12:08:02] Production.INFO: ==17759== Releasing lock...
[2025-03-10 12:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:08:02] Production.INFO: ==17763== Lock acquired, processing the job...
[2025-03-10 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:08:02] Production.INFO: ==17763== Releasing lock...
[2025-03-10 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:08:02] Production.INFO: ==17761== Lock acquired, processing the job...
[2025-03-10 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:08:03] Production.INFO: ==17761== Releasing lock...
[2025-03-10 08:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:08:04] Production.INFO: ==17770== Lock acquired, processing the job...
[2025-03-10 08:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:08:04] Production.INFO: ==17774== Lock acquired, processing the job...
[2025-03-10 08:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:08:04] Production.INFO: ==17766== Lock acquired, processing the job...
[2025-03-10 08:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:08:04] Production.INFO: ==17768== Lock acquired, processing the job...
[2025-03-10 08:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:08:04] Production.INFO: ==17772== Lock acquired, processing the job...
[2025-03-10 08:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:08:04] Production.INFO: ==17776== Lock acquired, processing the job...
[2025-03-10 08:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:08:04] Production.INFO: Account Balance Start.
[2025-03-10 08:08:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:08:04] Production.INFO: 117
[2025-03-10 08:08:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:08:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:08:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:08:04] Production.ERROR: done
[2025-03-10 08:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:08:04] Production.INFO: Total Charge 0
[2025-03-10 08: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-03-10 08:08:04] Production.INFO: count ==13
[2025-03-10 08:08:04] Production.INFO: ==17768== Releasing lock...
[2025-03-10 08:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:08:04] Production.INFO: CreateAllLog End
[2025-03-10 08: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-03-10 08:08:04] Production.ERROR: done
[2025-03-10 08:08:04] Production.INFO: count ==21
[2025-03-10 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648190') start
[2025-03-10 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648190') end
[2025-03-10 08:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:08:04] Production.INFO: 1
[2025-03-10 08:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:08:05] Production.INFO: Account Balance End.
[2025-03-10 08:08:05] Production.INFO: ==17776== Releasing lock...
[2025-03-10 08:08:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:08:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:08:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:08:05] Production.INFO: ==17772== Releasing lock...
[2025-03-10 08:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:08:06
[end_date_ymd] => 2025-03-10 08:08:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:08:06' and `end` < '2025-03-10 08: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-03-10 08:08:11] Production.ERROR: CronJobId end10
[2025-03-10 08:08:11] Production.INFO: ==17770== Releasing lock...
[2025-03-10 08:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:08:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:08:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:08:15] Production.INFO: call_cost start
[2025-03-10 08:08:15] Production.INFO: call_cost end
[2025-03-10 08:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:08:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:08:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:08:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:08:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:08:16] Production.INFO: ==17766== Releasing lock...
[2025-03-10 08:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:08:18] Production.INFO: count ==267
[2025-03-10 08:08:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:08:06 - End Time 2025-03-10 08:08:06
[2025-03-10 08:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648191', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648191', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648191', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648191', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:08:18] Production.INFO: ProcessCDR(1,14648191,1,1,2)
[2025-03-10 08:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648191', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648191', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:08:24] Production.INFO: ==17774== Releasing lock...
[2025-03-10 08:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:08:24] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 12:09:01] Production.INFO: ==17833== Lock acquired, processing the job...
[2025-03-10 12:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:09:01] Production.INFO: neon service started
[2025-03-10 12:09:01] Production.INFO: neon service started
[2025-03-10 12:09:01] Production.INFO: ==17833== Releasing lock...
[2025-03-10 12:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:09:02] Production.INFO: ==17835== Lock acquired, processing the job...
[2025-03-10 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:09:02] Production.INFO: ==17835== Releasing lock...
[2025-03-10 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:09:02] Production.INFO: ==17837== Lock acquired, processing the job...
[2025-03-10 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:09:02] Production.INFO: ==17837== Releasing lock...
[2025-03-10 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:09:03] Production.INFO: ==17844== Lock acquired, processing the job...
[2025-03-10 08:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:09:03] Production.INFO: ==17848== Lock acquired, processing the job...
[2025-03-10 08:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:09:03] Production.INFO: ==17850== Lock acquired, processing the job...
[2025-03-10 08:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 08:09:03] Production.INFO: ==17840== Lock acquired, processing the job...
[2025-03-10 08:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:09:03] Production.INFO: ==17842== Lock acquired, processing the job...
[2025-03-10 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:09:03] Production.INFO: count ==13
[2025-03-10 08:09:03] Production.INFO: ==17846== Lock acquired, processing the job...
[2025-03-10 08:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 08:09:03] Production.INFO: count ==21
[2025-03-10 08:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648192') start
[2025-03-10 08:09:03] Production.ERROR: done
[2025-03-10 08:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:09:03] Production.INFO: Account Balance Start.
[2025-03-10 08:09:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:09:03] Production.INFO: 117
[2025-03-10 08:09:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648192') end
[2025-03-10 08:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:09:03] Production.INFO: 1
[2025-03-10 08:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:09:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:09:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:09:04] Production.INFO: ==17850== Releasing lock...
[2025-03-10 08:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:09:04] Production.ERROR: done
[2025-03-10 08:09:04] Production.INFO: Total Charge 0
[2025-03-10 08:09:04] Production.INFO: CreateAllLog End
[2025-03-10 08:09:04] Production.INFO: Account Balance End.
[2025-03-10 08:09:04] Production.INFO: ==17842== Releasing lock...
[2025-03-10 08:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:09:04] Production.INFO: ==17846== Releasing lock...
[2025-03-10 08:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:09:05
[end_date_ymd] => 2025-03-10 08:09:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:09:05' and `end` < '2025-03-10 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-03-10 08:09:12] Production.ERROR: CronJobId end10
[2025-03-10 08:09:12] Production.INFO: ==17844== Releasing lock...
[2025-03-10 08:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:09:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:09:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:09:15] Production.INFO: call_cost start
[2025-03-10 08:09:15] Production.INFO: call_cost end
[2025-03-10 08:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:09:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:09:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:09:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:09:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:09:16] Production.INFO: ==17840== Releasing lock...
[2025-03-10 08:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:09:17] Production.INFO: count ==287
[2025-03-10 08:09:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:09:05 - End Time 2025-03-10 08:09:05
[2025-03-10 08:09:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648196', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648196', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648196', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648196', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:09:17] Production.INFO: ProcessCDR(1,14648196,1,1,2)
[2025-03-10 08:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648196', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648196', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:09:21] Production.INFO: ==17848== Releasing lock...
[2025-03-10 08:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:09:21] Production.INFO: 30.5 MB #Memory Used#
[2025-03-10 12:10:02] Production.INFO: ==17903== Lock acquired, processing the job...
[2025-03-10 12:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:10:02] Production.INFO: neon service started
[2025-03-10 12:10:02] Production.INFO: neon service started
[2025-03-10 12:10:02] Production.INFO: ==17903== Releasing lock...
[2025-03-10 12:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:10:02] Production.INFO: ==17908== Lock acquired, processing the job...
[2025-03-10 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:10:02] Production.INFO: ==17908== Releasing lock...
[2025-03-10 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:10:02] Production.INFO: ==17906== Lock acquired, processing the job...
[2025-03-10 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:10:03] Production.INFO: ==17906== Releasing lock...
[2025-03-10 08:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:10:04] Production.INFO: ==17910== Lock acquired, processing the job...
[2025-03-10 08:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 08:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 08:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 08:10:04] Production.INFO: ==17910== Releasing lock...
[2025-03-10 08:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 08:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 08:10:04] Production.INFO: ==17912== Lock acquired, processing the job...
[2025-03-10 08:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:10:04] Production.INFO: ==17914== Lock acquired, processing the job...
[2025-03-10 08:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:10:04] Production.INFO: ==17916== Lock acquired, processing the job...
[2025-03-10 08:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:10:04] Production.INFO: ==17922== Lock acquired, processing the job...
[2025-03-10 08:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 08:10:04] Production.INFO: ==17918== Lock acquired, processing the job...
[2025-03-10 08:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:10:04] Production.INFO: ==17920== Lock acquired, processing the job...
[2025-03-10 08:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:10:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:10:05] Production.INFO: ==17924== Lock acquired, processing the job...
[2025-03-10 08:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:10:05] Production.INFO: ==17914== Releasing lock...
[2025-03-10 08:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:10:05] Production.INFO: Account Balance Start.
[2025-03-10 08:10:05] Production.INFO: CreateAllLog Start
[2025-03-10 08:10:05] Production.INFO: 117
[2025-03-10 08:10:05] Production.INFO: Date 2025-03-08
[2025-03-10 08:10:05] Production.INFO: Reseller ==> 0
[2025-03-10 08:10:05] Production.INFO: Date 2025-03-09
[2025-03-10 08:10:05] Production.INFO: Reseller ==> 0
[2025-03-10 08:10:05] Production.ERROR: done
[2025-03-10 08: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-03-10 08:10:05] Production.INFO: Date 2025-03-10
[2025-03-10 08:10:05] Production.INFO: Reseller ==> 0
[2025-03-10 08:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 08:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648201', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 08:10:05] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:10:05] Production.INFO: count ==21
[2025-03-10 08:10:05] Production.INFO: Total Charge 0
[2025-03-10 08:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648200') start
[2025-03-10 08:10:05] Production.INFO: CreateAllLog End
[2025-03-10 08:10:05] Production.ERROR: done
[2025-03-10 08:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648200') end
[2025-03-10 08:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:10:05] Production.INFO: 1
[2025-03-10 08:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:10:05] Production.INFO: ==17924== Releasing lock...
[2025-03-10 08:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:10:05] Production.ERROR: done
[2025-03-10 08:10:06] Production.INFO: Account Balance End.
[2025-03-10 08:10:06] Production.ERROR: CronJobId end 12
[2025-03-10 08:10:06] Production.INFO: ==17918== Releasing lock...
[2025-03-10 08:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:10:06] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:10:07
[end_date_ymd] => 2025-03-10 08:10:07
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:10:07' and `end` < '2025-03-10 08: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-03-10 08:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648201', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 08:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 08:10:10] Production.INFO: ProcessCDR(1,14648201,1,1,2)
[2025-03-10 08:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648201,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648201,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:10:10] Production.INFO: ==17922== Releasing lock...
[2025-03-10 08:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 08:10:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 08:10:14] Production.ERROR: CronJobId end10
[2025-03-10 08:10:14] Production.INFO: ==17916== Releasing lock...
[2025-03-10 08:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:10:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:10:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:10:18] Production.INFO: call_cost start
[2025-03-10 08:10:18] Production.INFO: call_cost end
[2025-03-10 08:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:10:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:10:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:10:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:10:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:10:19] Production.INFO: ==17912== Releasing lock...
[2025-03-10 08:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:10:19] Production.INFO: count ==312
[2025-03-10 08:10:19] Production.ERROR: pbx CDR StartTime 2025-03-10 05:10:07 - End Time 2025-03-10 08:10:07
[2025-03-10 08:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648202', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648202', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648202', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648202', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:10:19] Production.INFO: ProcessCDR(1,14648202,1,1,2)
[2025-03-10 08:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648202', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648202', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:10:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:10:25] Production.INFO: ==17920== Releasing lock...
[2025-03-10 08:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:10:25] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 12:11:01] Production.INFO: ==17983== Lock acquired, processing the job...
[2025-03-10 12:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:11:01] Production.INFO: neon service started
[2025-03-10 12:11:01] Production.INFO: neon service started
[2025-03-10 12:11:01] Production.INFO: ==17983== Releasing lock...
[2025-03-10 12:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:11:02] Production.INFO: ==17988== Lock acquired, processing the job...
[2025-03-10 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:11:02] Production.INFO: ==17988== Releasing lock...
[2025-03-10 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:11:02] Production.INFO: ==17986== Lock acquired, processing the job...
[2025-03-10 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:11:02] Production.INFO: ==17986== Releasing lock...
[2025-03-10 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:11:03] Production.INFO: ==17996== Lock acquired, processing the job...
[2025-03-10 08:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:11:03] Production.INFO: ==17998== Lock acquired, processing the job...
[2025-03-10 08:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:11:04] Production.INFO: ==17990== Lock acquired, processing the job...
[2025-03-10 08:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:11:04] Production.INFO: Account Balance Start.
[2025-03-10 08:11:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:11:04] Production.INFO: 117
[2025-03-10 08:11:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:11:04] Production.INFO: ==17992== Lock acquired, processing the job...
[2025-03-10 08:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:11:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:11:04] Production.INFO: ==17994== Lock acquired, processing the job...
[2025-03-10 08:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:11:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:11:04] Production.INFO: ==18000== Lock acquired, processing the job...
[2025-03-10 08:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:11:04] Production.INFO: Total Charge 0
[2025-03-10 08:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:11:04] Production.INFO: CreateAllLog End
[2025-03-10 08:11:04] Production.ERROR: done
[2025-03-10 08:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08: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-03-10 08:11:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:11:04] Production.INFO: count ==21
[2025-03-10 08:11:04] Production.ERROR: done
[2025-03-10 08:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648206') start
[2025-03-10 08:11:04] Production.INFO: ==17992== Releasing lock...
[2025-03-10 08:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:11:04] Production.INFO: Account Balance End.
[2025-03-10 08:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648206') end
[2025-03-10 08:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:11:04] Production.INFO: 1
[2025-03-10 08:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:11:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:11:04] Production.INFO: ==17996== Releasing lock...
[2025-03-10 08:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:11:04] Production.INFO: ==18000== Releasing lock...
[2025-03-10 08:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:11:05
[end_date_ymd] => 2025-03-10 08:11:05
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:11:05' and `end` < '2025-03-10 08: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-03-10 08:11:12] Production.ERROR: CronJobId end10
[2025-03-10 08:11:12] Production.INFO: ==17994== Releasing lock...
[2025-03-10 08:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:11:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:11:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:11:15] Production.INFO: call_cost start
[2025-03-10 08:11:15] Production.INFO: call_cost end
[2025-03-10 08:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:11:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:11:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:11:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:11:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:11:16] Production.INFO: ==17990== Releasing lock...
[2025-03-10 08:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:11:17] Production.INFO: count ==340
[2025-03-10 08:11:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:11:05 - End Time 2025-03-10 08:11:05
[2025-03-10 08:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648207', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648207', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648207', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648207', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:11:18] Production.INFO: ProcessCDR(1,14648207,1,1,2)
[2025-03-10 08:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648207', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648207', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:11:21] Production.INFO: ==17998== Releasing lock...
[2025-03-10 08:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:11:21] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 12:12:02] Production.INFO: ==18061== Lock acquired, processing the job...
[2025-03-10 12:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:12:02] Production.INFO: neon service started
[2025-03-10 12:12:02] Production.INFO: neon service started
[2025-03-10 12:12:02] Production.INFO: ==18061== Releasing lock...
[2025-03-10 12:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:12:02] Production.INFO: ==18063== Lock acquired, processing the job...
[2025-03-10 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:12:03] Production.INFO: ==18065== Lock acquired, processing the job...
[2025-03-10 12:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:12:03] Production.INFO: ==18065== Releasing lock...
[2025-03-10 12:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:12:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:12:03] Production.INFO: ==18063== Releasing lock...
[2025-03-10 08:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:12:04] Production.INFO: ==18068== Lock acquired, processing the job...
[2025-03-10 08:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:12:04] Production.INFO: ==18070== Lock acquired, processing the job...
[2025-03-10 08:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:12:04] Production.INFO: ==18072== Lock acquired, processing the job...
[2025-03-10 08:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:12:04] Production.INFO: ==18074== Lock acquired, processing the job...
[2025-03-10 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:12:04] Production.INFO: ==18076== Lock acquired, processing the job...
[2025-03-10 08:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:12:04] Production.INFO: ==18078== Lock acquired, processing the job...
[2025-03-10 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:12:04] Production.INFO: Account Balance Start.
[2025-03-10 08:12:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:12:04] Production.INFO: 117
[2025-03-10 08:12:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 08:12:04] Production.INFO: count ==13
[2025-03-10 08:12:04] Production.INFO: ==18070== Releasing lock...
[2025-03-10 08:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 08:12:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:12:04] Production.INFO: count ==21
[2025-03-10 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648211') start
[2025-03-10 08:12:04] Production.ERROR: done
[2025-03-10 08:12:05] Production.INFO: Date 2025-03-10
[2025-03-10 08:12:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:12:05] Production.INFO: Reseller ==> 0
[2025-03-10 08:12:05] Production.INFO: Total Charge 0
[2025-03-10 08:12:05] Production.INFO: CreateAllLog End
[2025-03-10 08:12:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648211') end
[2025-03-10 08:12:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:12:05] Production.INFO: 1
[2025-03-10 08:12:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:12:05] Production.ERROR: done
[2025-03-10 08:12:05] Production.INFO: ==18078== Releasing lock...
[2025-03-10 08:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:12:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:12:05] Production.INFO: Account Balance End.
[2025-03-10 08:12:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:12:05] Production.INFO: ==18074== Releasing lock...
[2025-03-10 08:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:12:06
[end_date_ymd] => 2025-03-10 08:12:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:12:06' and `end` < '2025-03-10 08: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-03-10 08:12:13] Production.ERROR: CronJobId end10
[2025-03-10 08:12:13] Production.INFO: ==18072== Releasing lock...
[2025-03-10 08:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:12:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:12:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:12:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:12:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:12:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:12:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:12:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:12:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:12:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:12:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:12:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:12:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:12:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:12:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:12:16] Production.INFO: call_cost start
[2025-03-10 08:12:16] Production.INFO: call_cost end
[2025-03-10 08:12:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:12:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:12:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:12:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:12:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:12:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:12:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:12:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:12:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:12:17] Production.INFO: ==18068== Releasing lock...
[2025-03-10 08:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:12:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:12:18] Production.INFO: count ==341
[2025-03-10 08:12:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:12:06 - End Time 2025-03-10 08:12:06
[2025-03-10 08:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648212', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648212', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648212', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648212', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:12:18] Production.INFO: ProcessCDR(1,14648212,1,1,2)
[2025-03-10 08:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648212', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648212', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:12:24] Production.INFO: ==18076== Releasing lock...
[2025-03-10 08:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:12:24] Production.INFO: 31 MB #Memory Used#
[2025-03-10 12:13:01] Production.INFO: ==18136== Lock acquired, processing the job...
[2025-03-10 12:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:13:01] Production.INFO: neon service started
[2025-03-10 12:13:01] Production.INFO: neon service started
[2025-03-10 12:13:01] Production.INFO: ==18136== Releasing lock...
[2025-03-10 12:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:13:02] Production.INFO: ==18138== Lock acquired, processing the job...
[2025-03-10 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:13:02] Production.INFO: ==18140== Lock acquired, processing the job...
[2025-03-10 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:13:02] Production.INFO: ==18140== Releasing lock...
[2025-03-10 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:13:02] Production.INFO: ==18138== Releasing lock...
[2025-03-10 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:13:03] Production.INFO: ==18143== Lock acquired, processing the job...
[2025-03-10 08:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:13:03] Production.INFO: ==18145== Lock acquired, processing the job...
[2025-03-10 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:13:03] Production.INFO: ==18149== Lock acquired, processing the job...
[2025-03-10 08:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:13:03] Production.INFO: Account Balance Start.
[2025-03-10 08:13:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:13:03] Production.INFO: 117
[2025-03-10 08:13:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:13:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:13:04] Production.INFO: ==18147== Lock acquired, processing the job...
[2025-03-10 08:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:13:04] Production.INFO: Total Charge 0
[2025-03-10 08:13:04] Production.INFO: CreateAllLog End
[2025-03-10 08:13:04] Production.INFO: ==18151== Lock acquired, processing the job...
[2025-03-10 08:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:13:04] Production.INFO: ==18153== Lock acquired, processing the job...
[2025-03-10 08:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:13:04] Production.INFO: ==18145== Releasing lock...
[2025-03-10 08:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08: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-03-10 08:13:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:13:04] Production.INFO: count ==21
[2025-03-10 08:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648216') start
[2025-03-10 08:13:04] Production.INFO: Account Balance End.
[2025-03-10 08:13:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:13:04] Production.INFO: ==18149== Releasing lock...
[2025-03-10 08:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648216') end
[2025-03-10 08:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:13:04] Production.INFO: 1
[2025-03-10 08:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:13:04] Production.INFO: ==18153== Releasing lock...
[2025-03-10 08:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:13:04] Production.ERROR: done
[2025-03-10 08:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:13:05] Production.ERROR: done
[2025-03-10 08:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:13:05
[end_date_ymd] => 2025-03-10 08:13:05
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:13:05' and `end` < '2025-03-10 08: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-03-10 08:13:13] Production.ERROR: CronJobId end10
[2025-03-10 08:13:13] Production.INFO: ==18147== Releasing lock...
[2025-03-10 08:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:13:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:13:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:13:14] Production.INFO: call_cost start
[2025-03-10 08:13:14] Production.INFO: call_cost end
[2025-03-10 08:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:13:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:13:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:13:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:13:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:13:15] Production.INFO: ==18143== Releasing lock...
[2025-03-10 08:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:13:18] Production.INFO: count ==342
[2025-03-10 08:13:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:13:05 - End Time 2025-03-10 08:13:05
[2025-03-10 08:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648217', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648217', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648217', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648217', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:13:18] Production.INFO: ProcessCDR(1,14648217,1,1,2)
[2025-03-10 08:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648217', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648217', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:13:23] Production.INFO: ==18151== Releasing lock...
[2025-03-10 08:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:13:23] Production.INFO: 30.75 MB #Memory Used#
[2025-03-10 12:14:02] Production.INFO: ==18210== Lock acquired, processing the job...
[2025-03-10 12:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:14:02] Production.INFO: neon service started
[2025-03-10 12:14:02] Production.INFO: neon service started
[2025-03-10 12:14:02] Production.INFO: ==18210== Releasing lock...
[2025-03-10 12:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:14:02] Production.INFO: ==18214== Lock acquired, processing the job...
[2025-03-10 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:14:02] Production.INFO: ==18214== Releasing lock...
[2025-03-10 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:14:02] Production.INFO: ==18212== Lock acquired, processing the job...
[2025-03-10 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:14:03] Production.INFO: ==18212== Releasing lock...
[2025-03-10 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:14:04] Production.INFO: ==18221== Lock acquired, processing the job...
[2025-03-10 08:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:14:04] Production.INFO: ==18225== Lock acquired, processing the job...
[2025-03-10 08:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:14:04] Production.INFO: ==18216== Lock acquired, processing the job...
[2025-03-10 08:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:14:04] Production.INFO: ==18219== Lock acquired, processing the job...
[2025-03-10 08:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:14:04] Production.INFO: ==18223== Lock acquired, processing the job...
[2025-03-10 08:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:14:04] Production.INFO: ==18227== Lock acquired, processing the job...
[2025-03-10 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:14:04] Production.ERROR: done
[2025-03-10 08:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:14:04] Production.INFO: Account Balance Start.
[2025-03-10 08:14:04] Production.INFO: CreateAllLog Start
[2025-03-10 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-03-10 08:14:04] Production.INFO: 117
[2025-03-10 08:14:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:14:04] Production.INFO: count ==13
[2025-03-10 08:14:04] Production.INFO: Date 2025-03-09
[2025-03-10 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-03-10 08:14:04] Production.INFO: count ==21
[2025-03-10 08:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:14:04] Production.INFO: ==18219== Releasing lock...
[2025-03-10 08:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648220') start
[2025-03-10 08:14:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:14:05] Production.ERROR: done
[2025-03-10 08:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648220') end
[2025-03-10 08:14:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:14:05] Production.INFO: 1
[2025-03-10 08:14:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:14:05] Production.INFO: Total Charge 0
[2025-03-10 08:14:05] Production.INFO: CreateAllLog End
[2025-03-10 08:14:05] Production.INFO: ==18227== Releasing lock...
[2025-03-10 08:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:14:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:14:05] Production.INFO: Account Balance End.
[2025-03-10 08:14:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:14:05] Production.INFO: ==18223== Releasing lock...
[2025-03-10 08:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:14:06
[end_date_ymd] => 2025-03-10 08:14:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:14:06' and `end` < '2025-03-10 08: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-03-10 08:14:12] Production.ERROR: CronJobId end10
[2025-03-10 08:14:12] Production.INFO: ==18221== Releasing lock...
[2025-03-10 08:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:14:15] Production.INFO: call_cost start
[2025-03-10 08:14:15] Production.INFO: call_cost end
[2025-03-10 08:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:14:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:14:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:14:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:14:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:14:16] Production.INFO: ==18216== Releasing lock...
[2025-03-10 08:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:14:18] Production.INFO: count ==345
[2025-03-10 08:14:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:14:06 - End Time 2025-03-10 08:14:06
[2025-03-10 08:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648222', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648222', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648222', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648222', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:14:18] Production.INFO: ProcessCDR(1,14648222,1,1,2)
[2025-03-10 08:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648222', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648222', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:14:23] Production.INFO: ==18225== Releasing lock...
[2025-03-10 08:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:14:23] Production.INFO: 31 MB #Memory Used#
[2025-03-10 12:15:01] Production.INFO: ==18283== Lock acquired, processing the job...
[2025-03-10 12:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:15:01] Production.INFO: neon service started
[2025-03-10 12:15:01] Production.INFO: neon service started
[2025-03-10 12:15:01] Production.INFO: ==18283== Releasing lock...
[2025-03-10 12:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:15:02] Production.INFO: ==18285== Lock acquired, processing the job...
[2025-03-10 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:15:02] Production.INFO: ==18285== Releasing lock...
[2025-03-10 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:15:02] Production.INFO: ==18287== Lock acquired, processing the job...
[2025-03-10 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:15:02] Production.INFO: ==18287== Releasing lock...
[2025-03-10 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:15:03] Production.INFO: ==18290== Lock acquired, processing the job...
[2025-03-10 08:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:15:03] Production.INFO: ==18292== Lock acquired, processing the job...
[2025-03-10 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:15:03] Production.INFO: ==18294== Lock acquired, processing the job...
[2025-03-10 08:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:15:03] Production.INFO: ==18296== Lock acquired, processing the job...
[2025-03-10 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:15:03] Production.INFO: ==18300== Lock acquired, processing the job...
[2025-03-10 08:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:15:03] Production.INFO: ==18298== Lock acquired, processing the job...
[2025-03-10 08:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:15:03] Production.INFO: Account Balance Start.
[2025-03-10 08:15:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:15:03] Production.INFO: 117
[2025-03-10 08:15:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08: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-03-10 08:15:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:15:03] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:15:03] Production.INFO: count ==21
[2025-03-10 08:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648226') start
[2025-03-10 08:15:04] Production.INFO: ==18292== Releasing lock...
[2025-03-10 08:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:15:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:15:04] Production.ERROR: done
[2025-03-10 08:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648226') end
[2025-03-10 08:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:15:04] Production.INFO: 1
[2025-03-10 08:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:15:04] Production.INFO: ==18300== Releasing lock...
[2025-03-10 08:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:15:04] Production.INFO: Total Charge 0
[2025-03-10 08:15:04] Production.INFO: CreateAllLog End
[2025-03-10 08:15:04] Production.ERROR: done
[2025-03-10 08:15:04] Production.INFO: Account Balance End.
[2025-03-10 08:15:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:15:04] Production.INFO: ==18296== Releasing lock...
[2025-03-10 08:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:15:05
[end_date_ymd] => 2025-03-10 08:15:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:15:05' and `end` < '2025-03-10 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-03-10 08:15:14] Production.ERROR: CronJobId end10
[2025-03-10 08:15:14] Production.INFO: ==18294== Releasing lock...
[2025-03-10 08:15:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:15:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:15:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:15:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:15:16] Production.INFO: call_cost start
[2025-03-10 08:15:16] Production.INFO: call_cost end
[2025-03-10 08:15:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:15:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:15:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:15:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:15:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:15:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:15:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:15:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:15:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:15:17] Production.INFO: ==18290== Releasing lock...
[2025-03-10 08:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:15:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:15:17] Production.INFO: count ==345
[2025-03-10 08:15:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:15:05 - End Time 2025-03-10 08:15:05
[2025-03-10 08:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648227', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648227', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648227', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648227', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:15:17] Production.INFO: ProcessCDR(1,14648227,1,1,2)
[2025-03-10 08:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648227', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648227', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:15:21] Production.INFO: ==18298== Releasing lock...
[2025-03-10 08:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:15:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 12:16:02] Production.INFO: ==18358== Lock acquired, processing the job...
[2025-03-10 12:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:16:02] Production.INFO: neon service started
[2025-03-10 12:16:02] Production.INFO: neon service started
[2025-03-10 12:16:02] Production.INFO: ==18358== Releasing lock...
[2025-03-10 12:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:16:02] Production.INFO: ==18363== Lock acquired, processing the job...
[2025-03-10 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:16:02] Production.INFO: ==18363== Releasing lock...
[2025-03-10 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:16:02] Production.INFO: ==18361== Lock acquired, processing the job...
[2025-03-10 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:16:03] Production.INFO: ==18361== Releasing lock...
[2025-03-10 08:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:16:04] Production.INFO: ==18365== Lock acquired, processing the job...
[2025-03-10 08:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:16:04] Production.INFO: ==18367== Lock acquired, processing the job...
[2025-03-10 08:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:16:04] Production.INFO: ==18373== Lock acquired, processing the job...
[2025-03-10 08:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:16:04] Production.INFO: ==18369== Lock acquired, processing the job...
[2025-03-10 08:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:16:04] Production.INFO: ==18371== Lock acquired, processing the job...
[2025-03-10 08:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:16:04] Production.INFO: ==18375== Lock acquired, processing the job...
[2025-03-10 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:16:04] Production.INFO: ==18367== Releasing lock...
[2025-03-10 08:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:16:04] Production.INFO: Account Balance Start.
[2025-03-10 08:16:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:16:04] Production.INFO: 117
[2025-03-10 08:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:16:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 08: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-03-10 08:16:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:16:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:16:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:16:04] Production.INFO: count ==21
[2025-03-10 08:16:04] Production.INFO: Total Charge 0
[2025-03-10 08:16:04] Production.INFO: CreateAllLog End
[2025-03-10 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648231') start
[2025-03-10 08:16:04] Production.ERROR: done
[2025-03-10 08:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648231') end
[2025-03-10 08:16:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:16:05] Production.INFO: 1
[2025-03-10 08:16:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:16:05] Production.INFO: ==18375== Releasing lock...
[2025-03-10 08:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:16:05] Production.ERROR: done
[2025-03-10 08:16:05] Production.INFO: Account Balance End.
[2025-03-10 08:16:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:16:05] Production.INFO: ==18371== Releasing lock...
[2025-03-10 08:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:16:06
[end_date_ymd] => 2025-03-10 08:16:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:16:06' and `end` < '2025-03-10 08: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-03-10 08:16:13] Production.ERROR: CronJobId end10
[2025-03-10 08:16:13] Production.INFO: ==18369== Releasing lock...
[2025-03-10 08:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:16:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:16:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:16:15] Production.INFO: call_cost start
[2025-03-10 08:16:15] Production.INFO: call_cost end
[2025-03-10 08:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:16:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:16:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:16:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:16:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:16:16] Production.INFO: ==18365== Releasing lock...
[2025-03-10 08:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:16:18] Production.INFO: count ==347
[2025-03-10 08:16:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:16:06 - End Time 2025-03-10 08:16:06
[2025-03-10 08:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648232', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648232', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648232', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648232', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:16:18] Production.INFO: ProcessCDR(1,14648232,1,1,2)
[2025-03-10 08:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648232', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648232', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:16:23] Production.INFO: ==18373== Releasing lock...
[2025-03-10 08:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:16:23] Production.INFO: 31.25 MB #Memory Used#
[2025-03-10 12:17:01] Production.INFO: ==18429== Lock acquired, processing the job...
[2025-03-10 12:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:17:01] Production.INFO: neon service started
[2025-03-10 12:17:01] Production.INFO: neon service started
[2025-03-10 12:17:01] Production.INFO: ==18429== Releasing lock...
[2025-03-10 12:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:17:02] Production.INFO: ==18431== Lock acquired, processing the job...
[2025-03-10 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:17:02] Production.INFO: ==18433== Lock acquired, processing the job...
[2025-03-10 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:17:02] Production.INFO: ==18433== Releasing lock...
[2025-03-10 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:17:02] Production.INFO: ==18431== Releasing lock...
[2025-03-10 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:17:03] Production.INFO: ==18438== Lock acquired, processing the job...
[2025-03-10 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:17:03] Production.INFO: ==18442== Lock acquired, processing the job...
[2025-03-10 08:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:17:03] Production.INFO: ==18446== Lock acquired, processing the job...
[2025-03-10 08:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:17:03] Production.INFO: Account Balance Start.
[2025-03-10 08:17:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:17:03] Production.INFO: 117
[2025-03-10 08:17:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:17:03] Production.INFO: ==18438== Releasing lock...
[2025-03-10 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:17:03] Production.INFO: ==18440== Lock acquired, processing the job...
[2025-03-10 08:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:17:03] Production.INFO: ==18436== Lock acquired, processing the job...
[2025-03-10 08:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:17:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 08: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-03-10 08:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:17:04] Production.INFO: Total Charge 0
[2025-03-10 08:17:04] Production.INFO: ==18444== Lock acquired, processing the job...
[2025-03-10 08:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:17:04] Production.INFO: count ==13
[2025-03-10 08:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08: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-03-10 08:17:04] Production.INFO: CreateAllLog End
[2025-03-10 08:17:04] Production.INFO: count ==21
[2025-03-10 08:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648235') start
[2025-03-10 08:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648235') end
[2025-03-10 08:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:17:04] Production.INFO: 1
[2025-03-10 08:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:17:04] Production.INFO: Account Balance End.
[2025-03-10 08:17:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:17:04] Production.INFO: ==18442== Releasing lock...
[2025-03-10 08:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:17:04] Production.INFO: ==18446== Releasing lock...
[2025-03-10 08:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:17:04] Production.ERROR: done
[2025-03-10 08:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:17:04] Production.ERROR: done
[2025-03-10 08:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:17:05
[end_date_ymd] => 2025-03-10 08:17:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:17:05' and `end` < '2025-03-10 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-03-10 08:17:12] Production.ERROR: CronJobId end10
[2025-03-10 08:17:12] Production.INFO: ==18440== Releasing lock...
[2025-03-10 08:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:17:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:17:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:17:15] Production.INFO: call_cost start
[2025-03-10 08:17:15] Production.INFO: call_cost end
[2025-03-10 08:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:17:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:17:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:17:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:17:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:17:16] Production.INFO: ==18436== Releasing lock...
[2025-03-10 08:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:17:17] Production.INFO: count ==358
[2025-03-10 08:17:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:17:05 - End Time 2025-03-10 08:17:05
[2025-03-10 08:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648237', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648237', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648237', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648237', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:17:17] Production.INFO: ProcessCDR(1,14648237,1,1,2)
[2025-03-10 08:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648237', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648237', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:17:21] Production.INFO: ==18444== Releasing lock...
[2025-03-10 08:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:17:21] Production.INFO: 31 MB #Memory Used#
[2025-03-10 12:18:02] Production.INFO: ==18503== Lock acquired, processing the job...
[2025-03-10 12:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:18:02] Production.INFO: neon service started
[2025-03-10 12:18:02] Production.INFO: neon service started
[2025-03-10 12:18:02] Production.INFO: ==18503== Releasing lock...
[2025-03-10 12:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:18:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 12:18:02] Production.INFO: ==18507== Lock acquired, processing the job...
[2025-03-10 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:18:02] Production.INFO: ==18507== Releasing lock...
[2025-03-10 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:18:02] Production.INFO: ==18505== Lock acquired, processing the job...
[2025-03-10 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:18:03] Production.INFO: ==18505== Releasing lock...
[2025-03-10 08:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:18:04] Production.INFO: ==18518== Lock acquired, processing the job...
[2025-03-10 08:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:18:04] Production.INFO: ==18509== Lock acquired, processing the job...
[2025-03-10 08:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:18:04] Production.INFO: ==18520== Lock acquired, processing the job...
[2025-03-10 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:18:04] Production.INFO: ==18511== Lock acquired, processing the job...
[2025-03-10 08:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:18:04] Production.INFO: ==18513== Lock acquired, processing the job...
[2025-03-10 08:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:18:04] Production.INFO: ==18516== Lock acquired, processing the job...
[2025-03-10 08:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 08:18:04] Production.INFO: count ==13
[2025-03-10 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-03-10 08:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:18:04] Production.INFO: count ==21
[2025-03-10 08:18:04] Production.ERROR: done
[2025-03-10 08:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648238') start
[2025-03-10 08:18:04] Production.INFO: Account Balance Start.
[2025-03-10 08:18:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:18:04] Production.INFO: 117
[2025-03-10 08:18:04] Production.INFO: ==18511== Releasing lock...
[2025-03-10 08:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:18:04] Production.ERROR: done
[2025-03-10 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648238') end
[2025-03-10 08:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:18:04] Production.INFO: 1
[2025-03-10 08:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:18:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:18:04] Production.INFO: ==18520== Releasing lock...
[2025-03-10 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:18:04] Production.INFO: Total Charge 0
[2025-03-10 08:18:04] Production.INFO: CreateAllLog End
[2025-03-10 08:18:04] Production.INFO: Account Balance End.
[2025-03-10 08:18:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:18:05] Production.INFO: ==18516== Releasing lock...
[2025-03-10 08:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:18:05
[end_date_ymd] => 2025-03-10 08:18:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:18:05' and `end` < '2025-03-10 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-03-10 08:18:12] Production.ERROR: CronJobId end10
[2025-03-10 08:18:12] Production.INFO: ==18513== Releasing lock...
[2025-03-10 08:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:18:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:18:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:18:15] Production.INFO: call_cost start
[2025-03-10 08:18:15] Production.INFO: call_cost end
[2025-03-10 08:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:18:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:18:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:18:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:18:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:18:16] Production.INFO: ==18509== Releasing lock...
[2025-03-10 08:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:18:17] Production.INFO: count ==366
[2025-03-10 08:18:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:18:05 - End Time 2025-03-10 08:18:05
[2025-03-10 08:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648242', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648242', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648242', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648242', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:18:18] Production.INFO: ProcessCDR(1,14648242,1,1,2)
[2025-03-10 08:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648242', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648242', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:18:23] Production.INFO: ==18518== Releasing lock...
[2025-03-10 08:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:18:23] Production.INFO: 31 MB #Memory Used#
[2025-03-10 12:19:01] Production.INFO: ==18576== Lock acquired, processing the job...
[2025-03-10 12:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:19:01] Production.INFO: neon service started
[2025-03-10 12:19:01] Production.INFO: neon service started
[2025-03-10 12:19:01] Production.INFO: ==18576== Releasing lock...
[2025-03-10 12:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:19:01] Production.INFO: ==18578== Lock acquired, processing the job...
[2025-03-10 08:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:19:02] Production.INFO: ==18578== Releasing lock...
[2025-03-10 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:19:02] Production.INFO: ==18580== Lock acquired, processing the job...
[2025-03-10 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:19:02] Production.INFO: ==18580== Releasing lock...
[2025-03-10 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:19:03] Production.INFO: ==18589== Lock acquired, processing the job...
[2025-03-10 08:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:19:03] Production.INFO: ==18593== Lock acquired, processing the job...
[2025-03-10 08:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:19:03] Production.INFO: Account Balance Start.
[2025-03-10 08:19:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:19:03] Production.INFO: 117
[2025-03-10 08:19:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:19:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:19:03] Production.INFO: Date 2025-03-10
[2025-03-10 08:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:19:03] Production.INFO: Total Charge 0
[2025-03-10 08:19:03] Production.INFO: CreateAllLog End
[2025-03-10 08:19:03] Production.INFO: ==18583== Lock acquired, processing the job...
[2025-03-10 08:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08: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-03-10 08:19:03] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:19:03] Production.INFO: count ==21
[2025-03-10 08:19:03] Production.INFO: ==18585== Lock acquired, processing the job...
[2025-03-10 08:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:19:03] Production.INFO: ==18587== Lock acquired, processing the job...
[2025-03-10 08:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648244') start
[2025-03-10 08:19:03] Production.INFO: ==18591== Lock acquired, processing the job...
[2025-03-10 08:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:19:03] Production.INFO: Account Balance End.
[2025-03-10 08:19:03] Production.ERROR: CronJobId end 12
[2025-03-10 08:19:03] Production.INFO: ==18589== Releasing lock...
[2025-03-10 08:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648244') end
[2025-03-10 08:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:19:03] Production.INFO: 1
[2025-03-10 08:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:19:03] Production.INFO: ==18593== Releasing lock...
[2025-03-10 08:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:19:03] Production.INFO: ==18585== Releasing lock...
[2025-03-10 08:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:19:04] Production.ERROR: done
[2025-03-10 08:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:19:04] Production.ERROR: done
[2025-03-10 08:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:19:05
[end_date_ymd] => 2025-03-10 08:19:05
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:19:05' and `end` < '2025-03-10 08: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-03-10 08:19:12] Production.ERROR: CronJobId end10
[2025-03-10 08:19:12] Production.INFO: ==18587== Releasing lock...
[2025-03-10 08:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:19:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:19:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:19:15] Production.INFO: call_cost start
[2025-03-10 08:19:15] Production.INFO: call_cost end
[2025-03-10 08:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:19:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:19:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:19:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:19:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:19:16] Production.INFO: ==18583== Releasing lock...
[2025-03-10 08:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:19:17] Production.INFO: count ==368
[2025-03-10 08:19:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:19:05 - End Time 2025-03-10 08:19:05
[2025-03-10 08:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648247', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648247', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648247', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648247', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:19:17] Production.INFO: ProcessCDR(1,14648247,1,1,2)
[2025-03-10 08:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648247', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648247', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:19:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:19:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:19:20] Production.INFO: ==18591== Releasing lock...
[2025-03-10 08:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:19:20] Production.INFO: 31 MB #Memory Used#
[2025-03-10 12:20:02] Production.INFO: ==18650== Lock acquired, processing the job...
[2025-03-10 12:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:20:02] Production.INFO: neon service started
[2025-03-10 12:20:02] Production.INFO: neon service started
[2025-03-10 12:20:02] Production.INFO: ==18650== Releasing lock...
[2025-03-10 12:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:20:02] Production.INFO: ==18652== Lock acquired, processing the job...
[2025-03-10 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:20:02] Production.INFO: ==18652== Releasing lock...
[2025-03-10 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:20:02] Production.INFO: ==18654== Lock acquired, processing the job...
[2025-03-10 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:20:03] Production.INFO: ==18654== Releasing lock...
[2025-03-10 12:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:20:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:20:03] Production.INFO: ==18656== Lock acquired, processing the job...
[2025-03-10 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 08:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 08:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 08:20:03] Production.INFO: ==18656== Releasing lock...
[2025-03-10 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 08:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 08:20:04] Production.INFO: ==18658== Lock acquired, processing the job...
[2025-03-10 08:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:20:04] Production.INFO: ==18660== Lock acquired, processing the job...
[2025-03-10 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:20:04] Production.INFO: ==18662== Lock acquired, processing the job...
[2025-03-10 08:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:20:04] Production.INFO: ==18664== Lock acquired, processing the job...
[2025-03-10 08:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:20:04] Production.INFO: ==18660== Releasing lock...
[2025-03-10 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:20:04] Production.INFO: ==18667== Lock acquired, processing the job...
[2025-03-10 08:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:20:04] Production.INFO: Account Balance Start.
[2025-03-10 08:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:20:04] Production.INFO: 117
[2025-03-10 08:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:20:04] Production.INFO: ==18669== Lock acquired, processing the job...
[2025-03-10 08:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 08:20:04] Production.INFO: ==18671== Lock acquired, processing the job...
[2025-03-10 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:20:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 08:20:04] Production.INFO: CreateAllLog End
[2025-03-10 08:20:04] Production.INFO: count ==13
[2025-03-10 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-03-10 08:20:04] Production.INFO: count ==21
[2025-03-10 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648251') start
[2025-03-10 08:20:05] Production.ERROR: done
[2025-03-10 08:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648251') end
[2025-03-10 08:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:20:05] Production.INFO: 1
[2025-03-10 08:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:20:05] Production.INFO: ==18671== Releasing lock...
[2025-03-10 08:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:20:05] Production.ERROR: done
[2025-03-10 08:20:05] Production.ERROR: done
[2025-03-10 08:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 08:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648253', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 08:20:05] Production.INFO: Account Balance End.
[2025-03-10 08:20:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:20:05] Production.INFO: ==18664== Releasing lock...
[2025-03-10 08:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:20:06
[end_date_ymd] => 2025-03-10 08:20:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:20:06' and `end` < '2025-03-10 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-03-10 08:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648253', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 08:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 08:20:09] Production.INFO: ProcessCDR(1,14648253,1,1,2)
[2025-03-10 08:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648253,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648253,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:20:09] Production.INFO: ==18669== Releasing lock...
[2025-03-10 08:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 08:20:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 08:20:13] Production.ERROR: CronJobId end10
[2025-03-10 08:20:13] Production.INFO: ==18662== Releasing lock...
[2025-03-10 08:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:20:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:20:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:20:15] Production.INFO: call_cost start
[2025-03-10 08:20:15] Production.INFO: call_cost end
[2025-03-10 08:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:20:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:20:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:20:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:20:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:20:16] Production.INFO: ==18658== Releasing lock...
[2025-03-10 08:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:20:18] Production.INFO: count ==402
[2025-03-10 08:20:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:20:06 - End Time 2025-03-10 08:20:06
[2025-03-10 08:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648252', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648252', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648252', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648252', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:20:18] Production.INFO: ProcessCDR(1,14648252,1,1,2)
[2025-03-10 08:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648252', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648252', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:20:23] Production.INFO: ==18667== Releasing lock...
[2025-03-10 08:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:20:23] Production.INFO: 31.5 MB #Memory Used#
[2025-03-10 12:21:01] Production.INFO: ==18728== Lock acquired, processing the job...
[2025-03-10 12:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:21:01] Production.INFO: neon service started
[2025-03-10 12:21:01] Production.INFO: neon service started
[2025-03-10 12:21:01] Production.INFO: ==18728== Releasing lock...
[2025-03-10 12:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:21:02] Production.INFO: ==18730== Lock acquired, processing the job...
[2025-03-10 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:21:02] Production.INFO: ==18732== Lock acquired, processing the job...
[2025-03-10 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:21:02] Production.INFO: ==18732== Releasing lock...
[2025-03-10 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:21:02] Production.INFO: ==18730== Releasing lock...
[2025-03-10 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:21:03] Production.INFO: ==18739== Lock acquired, processing the job...
[2025-03-10 08:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:21:03] Production.INFO: ==18745== Lock acquired, processing the job...
[2025-03-10 08:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:21:03] Production.INFO: ==18735== Lock acquired, processing the job...
[2025-03-10 08:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:21:03] Production.INFO: ==18737== Lock acquired, processing the job...
[2025-03-10 08:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08: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-03-10 08:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:21:03] Production.INFO: ==18741== Lock acquired, processing the job...
[2025-03-10 08:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:21:03] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:21:03] Production.INFO: count ==21
[2025-03-10 08:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648254') start
[2025-03-10 08:21:03] Production.INFO: ==18743== Lock acquired, processing the job...
[2025-03-10 08:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648254') end
[2025-03-10 08:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:21:03] Production.INFO: 1
[2025-03-10 08:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:21:03] Production.INFO: Account Balance Start.
[2025-03-10 08:21:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:21:03] Production.INFO: 117
[2025-03-10 08:21:03] Production.INFO: ==18745== Releasing lock...
[2025-03-10 08:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:21:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:21:04] Production.INFO: ==18737== Releasing lock...
[2025-03-10 08:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:21:04] Production.INFO: Total Charge 0
[2025-03-10 08:21:04] Production.INFO: CreateAllLog End
[2025-03-10 08:21:04] Production.ERROR: done
[2025-03-10 08:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:21:04] Production.ERROR: done
[2025-03-10 08:21:04] Production.INFO: Account Balance End.
[2025-03-10 08:21:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:21:04] Production.INFO: ==18741== Releasing lock...
[2025-03-10 08:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:21:05
[end_date_ymd] => 2025-03-10 08:21:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:21:05' and `end` < '2025-03-10 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-03-10 08:21:13] Production.ERROR: CronJobId end10
[2025-03-10 08:21:13] Production.INFO: ==18739== Releasing lock...
[2025-03-10 08:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:21:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:21:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:21:15] Production.INFO: call_cost start
[2025-03-10 08:21:15] Production.INFO: call_cost end
[2025-03-10 08:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:21:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:21:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:21:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:21:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:21:16] Production.INFO: ==18735== Releasing lock...
[2025-03-10 08:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:21:17] Production.INFO: count ==454
[2025-03-10 08:21:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:21:05 - End Time 2025-03-10 08:21:05
[2025-03-10 08:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648258', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648258', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648258', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648258', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:21:17] Production.INFO: ProcessCDR(1,14648258,1,1,2)
[2025-03-10 08:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648258', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648258', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:21:22] Production.INFO: ==18743== Releasing lock...
[2025-03-10 08:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:21:22] Production.INFO: 32 MB #Memory Used#
[2025-03-10 12:22:02] Production.INFO: ==18805== Lock acquired, processing the job...
[2025-03-10 12:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:22:02] Production.INFO: neon service started
[2025-03-10 12:22:02] Production.INFO: neon service started
[2025-03-10 12:22:02] Production.INFO: ==18805== Releasing lock...
[2025-03-10 12:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:22:02] Production.INFO: ==18809== Lock acquired, processing the job...
[2025-03-10 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:22:02] Production.INFO: ==18809== Releasing lock...
[2025-03-10 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:22:02] Production.INFO: ==18807== Lock acquired, processing the job...
[2025-03-10 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:22:02] Production.INFO: ==18807== Releasing lock...
[2025-03-10 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:22:03] Production.INFO: ==18812== Lock acquired, processing the job...
[2025-03-10 08:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:22:03] Production.INFO: ==18818== Lock acquired, processing the job...
[2025-03-10 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:22:03] Production.INFO: ==18822== Lock acquired, processing the job...
[2025-03-10 08:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:22:03] Production.INFO: Account Balance Start.
[2025-03-10 08:22:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:22:03] Production.INFO: 117
[2025-03-10 08:22:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:22:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 08: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-03-10 08:22:04] Production.INFO: ==18814== Lock acquired, processing the job...
[2025-03-10 08:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:22:04] Production.INFO: count ==13
[2025-03-10 08:22:04] Production.INFO: ==18816== Lock acquired, processing the job...
[2025-03-10 08:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08: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-03-10 08:22:04] Production.INFO: count ==21
[2025-03-10 08:22:04] Production.INFO: Total Charge 0
[2025-03-10 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648261') start
[2025-03-10 08:22:04] Production.INFO: ==18820== Lock acquired, processing the job...
[2025-03-10 08:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:22:04] Production.INFO: CreateAllLog End
[2025-03-10 08:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648261') end
[2025-03-10 08:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:22:04] Production.INFO: 1
[2025-03-10 08:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:22:04] Production.INFO: ==18822== Releasing lock...
[2025-03-10 08:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:22:04] Production.INFO: ==18814== Releasing lock...
[2025-03-10 08:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:22:04] Production.INFO: Account Balance End.
[2025-03-10 08:22:04] Production.ERROR: done
[2025-03-10 08:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:22:04] Production.INFO: ==18818== Releasing lock...
[2025-03-10 08:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:22:04] Production.ERROR: done
[2025-03-10 08:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:22:05
[end_date_ymd] => 2025-03-10 08:22:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:22:05' and `end` < '2025-03-10 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-03-10 08:22:13] Production.ERROR: CronJobId end10
[2025-03-10 08:22:13] Production.INFO: ==18816== Releasing lock...
[2025-03-10 08:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:22:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:22:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:22:15] Production.INFO: call_cost start
[2025-03-10 08:22:15] Production.INFO: call_cost end
[2025-03-10 08:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:22:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:22:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:22:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:22:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:22:15] Production.INFO: ==18812== Releasing lock...
[2025-03-10 08:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:22:18] Production.INFO: count ==477
[2025-03-10 08:22:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:22:05 - End Time 2025-03-10 08:22:05
[2025-03-10 08:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648263', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648263', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648263', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648263', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:22:18] Production.INFO: ProcessCDR(1,14648263,1,1,2)
[2025-03-10 08:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648263', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648263', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:22:21] Production.INFO: ==18820== Releasing lock...
[2025-03-10 08:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:22:21] Production.INFO: 32 MB #Memory Used#
[2025-03-10 12:23:01] Production.INFO: ==18916== Lock acquired, processing the job...
[2025-03-10 12:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:23:01] Production.INFO: neon service started
[2025-03-10 12:23:01] Production.INFO: neon service started
[2025-03-10 12:23:01] Production.INFO: ==18916== Releasing lock...
[2025-03-10 12:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:23:01] Production.INFO: ==18918== Lock acquired, processing the job...
[2025-03-10 08:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:23:02] Production.INFO: ==18920== Lock acquired, processing the job...
[2025-03-10 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:23:02] Production.INFO: ==18918== Releasing lock...
[2025-03-10 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:23:02] Production.INFO: ==18920== Releasing lock...
[2025-03-10 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:23:03] Production.INFO: ==18922== Lock acquired, processing the job...
[2025-03-10 08:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:23:03] Production.INFO: ==18924== Lock acquired, processing the job...
[2025-03-10 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:23:03] Production.INFO: ==18926== Lock acquired, processing the job...
[2025-03-10 08:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:23:03] Production.INFO: ==18928== Lock acquired, processing the job...
[2025-03-10 08:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:23:03] Production.INFO: ==18924== Releasing lock...
[2025-03-10 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:23:03] Production.INFO: ==18932== Lock acquired, processing the job...
[2025-03-10 08:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:23:03] Production.INFO: ==18930== Lock acquired, processing the job...
[2025-03-10 08:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:23:03] Production.INFO: Account Balance Start.
[2025-03-10 08:23:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:23:03] Production.INFO: 117
[2025-03-10 08:23:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08: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-03-10 08:23:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:23:03] Production.INFO: Date 2025-03-10
[2025-03-10 08:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:23:03] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:23:03] Production.INFO: count ==21
[2025-03-10 08:23:03] Production.INFO: Total Charge 0
[2025-03-10 08:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648267') start
[2025-03-10 08:23:03] Production.INFO: CreateAllLog End
[2025-03-10 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648267') end
[2025-03-10 08:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:23:04] Production.INFO: 1
[2025-03-10 08:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:23:04] Production.INFO: Account Balance End.
[2025-03-10 08:23:04] Production.ERROR: done
[2025-03-10 08:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:23:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:23:04] Production.INFO: ==18928== Releasing lock...
[2025-03-10 08:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:23:04] Production.INFO: ==18932== Releasing lock...
[2025-03-10 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:23:04] Production.ERROR: done
[2025-03-10 08:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:23:05
[end_date_ymd] => 2025-03-10 08:23:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:23:05' and `end` < '2025-03-10 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-03-10 08:23:12] Production.ERROR: CronJobId end10
[2025-03-10 08:23:12] Production.INFO: ==18926== Releasing lock...
[2025-03-10 08:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:23:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:23:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:23:15] Production.INFO: call_cost start
[2025-03-10 08:23:15] Production.INFO: call_cost end
[2025-03-10 08:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:23:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:23:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:23:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:23:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:23:15] Production.INFO: ==18922== Releasing lock...
[2025-03-10 08:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:23:17] Production.INFO: count ==502
[2025-03-10 08:23:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:23:05 - End Time 2025-03-10 08:23:05
[2025-03-10 08:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648268', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648268', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648268', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648268', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:23:17] Production.INFO: ProcessCDR(1,14648268,1,1,2)
[2025-03-10 08:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648268', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648268', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:23:22] Production.INFO: ==18930== Releasing lock...
[2025-03-10 08:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:23:22] Production.INFO: 32.25 MB #Memory Used#
[2025-03-10 12:24:01] Production.INFO: ==18986== Lock acquired, processing the job...
[2025-03-10 12:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:24:02] Production.INFO: neon service started
[2025-03-10 12:24:02] Production.INFO: neon service started
[2025-03-10 12:24:02] Production.INFO: ==18986== Releasing lock...
[2025-03-10 12:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:24:02] Production.INFO: ==18988== Lock acquired, processing the job...
[2025-03-10 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:24:02] Production.INFO: ==18990== Lock acquired, processing the job...
[2025-03-10 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:24:02] Production.INFO: ==18990== Releasing lock...
[2025-03-10 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:24:02] Production.INFO: ==18988== Releasing lock...
[2025-03-10 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:24:03] Production.INFO: ==18993== Lock acquired, processing the job...
[2025-03-10 08:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:24:03] Production.INFO: ==18997== Lock acquired, processing the job...
[2025-03-10 08:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:24:04] Production.INFO: ==18999== Lock acquired, processing the job...
[2025-03-10 08:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:24:04] Production.INFO: ==19001== Lock acquired, processing the job...
[2025-03-10 08:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:24:04] Production.INFO: Account Balance Start.
[2025-03-10 08:24:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:24:04] Production.INFO: 117
[2025-03-10 08:24:04] Production.INFO: ==18995== Lock acquired, processing the job...
[2025-03-10 08:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:24:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:24:04] Production.INFO: ==19003== Lock acquired, processing the job...
[2025-03-10 08:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:24:04] Production.INFO: Total Charge 0
[2025-03-10 08:24:04] Production.INFO: CreateAllLog End
[2025-03-10 08: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-03-10 08:24:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:24:04] Production.INFO: count ==21
[2025-03-10 08:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648271') start
[2025-03-10 08:24:04] Production.ERROR: done
[2025-03-10 08:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648271') end
[2025-03-10 08:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:24:04] Production.INFO: 1
[2025-03-10 08:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:24:04] Production.INFO: ==19003== Releasing lock...
[2025-03-10 08:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:24:04] Production.INFO: ==18995== Releasing lock...
[2025-03-10 08:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:24:05] Production.ERROR: done
[2025-03-10 08:24:05] Production.INFO: Account Balance End.
[2025-03-10 08:24:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:24:05] Production.INFO: ==18999== Releasing lock...
[2025-03-10 08:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:24:06
[end_date_ymd] => 2025-03-10 08:24:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:24:06' and `end` < '2025-03-10 08: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-03-10 08:24:12] Production.ERROR: CronJobId end10
[2025-03-10 08:24:12] Production.INFO: ==18997== Releasing lock...
[2025-03-10 08:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:24:14] Production.INFO: call_cost start
[2025-03-10 08:24:14] Production.INFO: call_cost end
[2025-03-10 08:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:24:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:24:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:24:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:24:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:24:15] Production.INFO: ==18993== Releasing lock...
[2025-03-10 08:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:24:18] Production.INFO: count ==509
[2025-03-10 08:24:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:24:06 - End Time 2025-03-10 08:24:06
[2025-03-10 08:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648273', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648273', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648273', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648273', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:24:18] Production.INFO: ProcessCDR(1,14648273,1,1,2)
[2025-03-10 08:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648273', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648273', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:24:23] Production.INFO: ==19001== Releasing lock...
[2025-03-10 08:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:24:23] Production.INFO: 32.75 MB #Memory Used#
[2025-03-10 12:25:01] Production.INFO: ==19059== Lock acquired, processing the job...
[2025-03-10 12:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:25:01] Production.INFO: neon service started
[2025-03-10 12:25:01] Production.INFO: neon service started
[2025-03-10 12:25:01] Production.INFO: ==19059== Releasing lock...
[2025-03-10 12:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:25:01] Production.INFO: ==19063== Lock acquired, processing the job...
[2025-03-10 12:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:25:01] Production.INFO: ==19063== Releasing lock...
[2025-03-10 12:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:25:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:25:02] Production.INFO: ==19061== Lock acquired, processing the job...
[2025-03-10 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:25:02] Production.INFO: ==19061== Releasing lock...
[2025-03-10 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:25:03] Production.INFO: ==19070== Lock acquired, processing the job...
[2025-03-10 08:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:25:03] Production.INFO: ==19076== Lock acquired, processing the job...
[2025-03-10 08:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 08:25:03] Production.INFO: ==19066== Lock acquired, processing the job...
[2025-03-10 08:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:25:03] Production.INFO: ==19068== Lock acquired, processing the job...
[2025-03-10 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:25:03] Production.INFO: count ==13
[2025-03-10 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-03-10 08:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:25:03] Production.INFO: count ==21
[2025-03-10 08:25:03] Production.INFO: ==19074== Lock acquired, processing the job...
[2025-03-10 08:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:25:03] Production.INFO: ==19072== Lock acquired, processing the job...
[2025-03-10 08:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648274') start
[2025-03-10 08:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:25:03] Production.INFO: Account Balance Start.
[2025-03-10 08:25:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:25:03] Production.INFO: 117
[2025-03-10 08:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648274') end
[2025-03-10 08:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:25:03] Production.INFO: 1
[2025-03-10 08:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:25:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:25:03] Production.INFO: ==19076== Releasing lock...
[2025-03-10 08:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:25:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:25:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:25:04] Production.INFO: Total Charge 0
[2025-03-10 08:25:04] Production.INFO: CreateAllLog End
[2025-03-10 08:25:04] Production.INFO: ==19068== Releasing lock...
[2025-03-10 08:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:25:04] Production.ERROR: done
[2025-03-10 08:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:25:04] Production.ERROR: done
[2025-03-10 08:25:04] Production.INFO: Account Balance End.
[2025-03-10 08:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:25:04] Production.INFO: ==19072== Releasing lock...
[2025-03-10 08:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:25:05
[end_date_ymd] => 2025-03-10 08:25:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:25:05' and `end` < '2025-03-10 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-03-10 08:25:12] Production.ERROR: CronJobId end10
[2025-03-10 08:25:12] Production.INFO: ==19070== Releasing lock...
[2025-03-10 08:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:25:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:25:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:25:14] Production.INFO: call_cost start
[2025-03-10 08:25:14] Production.INFO: call_cost end
[2025-03-10 08:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:25:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:25:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:25:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:25:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:25:15] Production.INFO: ==19066== Releasing lock...
[2025-03-10 08:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:25:17] Production.INFO: count ==519
[2025-03-10 08:25:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:25:05 - End Time 2025-03-10 08:25:05
[2025-03-10 08:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648278', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648278', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648278', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648278', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:25:17] Production.INFO: ProcessCDR(1,14648278,1,1,2)
[2025-03-10 08:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648278', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648278', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:25:21] Production.INFO: ==19074== Releasing lock...
[2025-03-10 08:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:25:21] Production.INFO: 32.25 MB #Memory Used#
[2025-03-10 12:26:01] Production.INFO: ==19139== Lock acquired, processing the job...
[2025-03-10 12:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:26:01] Production.INFO: neon service started
[2025-03-10 12:26:01] Production.INFO: neon service started
[2025-03-10 12:26:01] Production.INFO: ==19139== Releasing lock...
[2025-03-10 12:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:26:02] Production.INFO: ==19141== Lock acquired, processing the job...
[2025-03-10 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:26:02] Production.INFO: ==19141== Releasing lock...
[2025-03-10 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:26:02] Production.INFO: ==19143== Lock acquired, processing the job...
[2025-03-10 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:26:02] Production.INFO: ==19143== Releasing lock...
[2025-03-10 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:26:03] Production.INFO: ==19146== Lock acquired, processing the job...
[2025-03-10 08:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:26:03] Production.INFO: ==19148== Lock acquired, processing the job...
[2025-03-10 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:26:03] Production.INFO: ==19150== Lock acquired, processing the job...
[2025-03-10 08:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:26:03] Production.INFO: ==19152== Lock acquired, processing the job...
[2025-03-10 08:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:26:03] Production.INFO: ==19154== Lock acquired, processing the job...
[2025-03-10 08:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:26:03] Production.INFO: ==19156== Lock acquired, processing the job...
[2025-03-10 08:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:26:03] Production.INFO: Account Balance Start.
[2025-03-10 08:26:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:26:03] Production.INFO: 117
[2025-03-10 08:26:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:26:03] Production.INFO: ==19148== Releasing lock...
[2025-03-10 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:26:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:26:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 08:26:04] Production.INFO: CreateAllLog End
[2025-03-10 08:26:04] Production.INFO: count ==13
[2025-03-10 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-03-10 08:26:04] Production.INFO: count ==21
[2025-03-10 08:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648282') start
[2025-03-10 08:26:04] Production.ERROR: done
[2025-03-10 08:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648282') end
[2025-03-10 08:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:26:04] Production.INFO: 1
[2025-03-10 08:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:26:04] Production.INFO: Account Balance End.
[2025-03-10 08:26:04] Production.ERROR: done
[2025-03-10 08:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:26:04] Production.INFO: ==19152== Releasing lock...
[2025-03-10 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:26:04] Production.INFO: ==19156== Releasing lock...
[2025-03-10 08:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:26:05
[end_date_ymd] => 2025-03-10 08:26:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:26:05' and `end` < '2025-03-10 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-03-10 08:26:12] Production.ERROR: CronJobId end10
[2025-03-10 08:26:12] Production.INFO: ==19150== Releasing lock...
[2025-03-10 08:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:26:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:26:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:26:14] Production.INFO: call_cost start
[2025-03-10 08:26:14] Production.INFO: call_cost end
[2025-03-10 08:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:26:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:26:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:26:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:26:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:26:15] Production.INFO: ==19146== Releasing lock...
[2025-03-10 08:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:26:17] Production.INFO: count ==529
[2025-03-10 08:26:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:26:05 - End Time 2025-03-10 08:26:05
[2025-03-10 08:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648283', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648283', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648283', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648283', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:26:17] Production.INFO: ProcessCDR(1,14648283,1,1,2)
[2025-03-10 08:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648283', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648283', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:26:20] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:26:20] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:26:20] Production.INFO: ==19154== Releasing lock...
[2025-03-10 08:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:26:20] Production.INFO: 32.25 MB #Memory Used#
[2025-03-10 12:27:01] Production.INFO: ==19211== Lock acquired, processing the job...
[2025-03-10 12:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:27:01] Production.INFO: neon service started
[2025-03-10 12:27:01] Production.INFO: neon service started
[2025-03-10 12:27:01] Production.INFO: ==19211== Releasing lock...
[2025-03-10 12:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:27:02] Production.INFO: ==19213== Lock acquired, processing the job...
[2025-03-10 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:27:02] Production.INFO: ==19215== Lock acquired, processing the job...
[2025-03-10 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:27:02] Production.INFO: ==19215== Releasing lock...
[2025-03-10 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:27:02] Production.INFO: ==19213== Releasing lock...
[2025-03-10 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:27:03] Production.INFO: ==19218== Lock acquired, processing the job...
[2025-03-10 08:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:27:03] Production.INFO: ==19220== Lock acquired, processing the job...
[2025-03-10 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:27:03] Production.INFO: ==19222== Lock acquired, processing the job...
[2025-03-10 08:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:27:03] Production.INFO: ==19224== Lock acquired, processing the job...
[2025-03-10 08:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:27:03] Production.INFO: ==19220== Releasing lock...
[2025-03-10 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:27:03] Production.INFO: ==19226== Lock acquired, processing the job...
[2025-03-10 08:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:27:03] Production.INFO: ==19228== Lock acquired, processing the job...
[2025-03-10 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:27:03] Production.INFO: Account Balance Start.
[2025-03-10 08:27:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:27:03] Production.INFO: 117
[2025-03-10 08:27:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:27:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:27:03] Production.INFO: Date 2025-03-10
[2025-03-10 08:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 08:27:03] Production.INFO: Total Charge 0
[2025-03-10 08:27:03] Production.INFO: CreateAllLog End
[2025-03-10 08:27:03] Production.INFO: count ==13
[2025-03-10 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-03-10 08:27:03] Production.INFO: count ==21
[2025-03-10 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648287') start
[2025-03-10 08:27:03] Production.INFO: Account Balance End.
[2025-03-10 08:27:04] Production.ERROR: done
[2025-03-10 08:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:27:04] Production.INFO: ==19224== Releasing lock...
[2025-03-10 08:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648287') end
[2025-03-10 08:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:27:04] Production.INFO: 1
[2025-03-10 08:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:27:04] Production.INFO: ==19228== Releasing lock...
[2025-03-10 08:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:27:04] Production.ERROR: done
[2025-03-10 08:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:27:05
[end_date_ymd] => 2025-03-10 08:27:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:27:05' and `end` < '2025-03-10 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-03-10 08:27:11] Production.ERROR: CronJobId end10
[2025-03-10 08:27:11] Production.INFO: ==19222== Releasing lock...
[2025-03-10 08:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:27:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:27:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:27:14] Production.INFO: call_cost start
[2025-03-10 08:27:14] Production.INFO: call_cost end
[2025-03-10 08:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:27:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:27:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:27:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:27:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:27:15] Production.INFO: ==19218== Releasing lock...
[2025-03-10 08:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:27:17] Production.INFO: count ==530
[2025-03-10 08:27:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:27:05 - End Time 2025-03-10 08:27:05
[2025-03-10 08:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648288', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648288', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648288', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648288', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:27:17] Production.INFO: ProcessCDR(1,14648288,1,1,2)
[2025-03-10 08:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648288', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648288', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:27:22] Production.INFO: ==19226== Releasing lock...
[2025-03-10 08:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:27:22] Production.INFO: 32.25 MB #Memory Used#
[2025-03-10 12:28:01] Production.INFO: ==19287== Lock acquired, processing the job...
[2025-03-10 12:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:28:01] Production.INFO: neon service started
[2025-03-10 12:28:01] Production.INFO: neon service started
[2025-03-10 12:28:01] Production.INFO: ==19287== Releasing lock...
[2025-03-10 12:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:28:02] Production.INFO: ==19289== Lock acquired, processing the job...
[2025-03-10 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:28:02] Production.INFO: ==19289== Releasing lock...
[2025-03-10 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:28:02] Production.INFO: ==19291== Lock acquired, processing the job...
[2025-03-10 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:28:02] Production.INFO: ==19291== Releasing lock...
[2025-03-10 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:28:03] Production.INFO: ==19304== Lock acquired, processing the job...
[2025-03-10 08:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:28:03] Production.INFO: ==19302== Lock acquired, processing the job...
[2025-03-10 08:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:28:03] Production.INFO: ==19294== Lock acquired, processing the job...
[2025-03-10 08:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08: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-03-10 08:28:03] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:28:03] Production.INFO: count ==21
[2025-03-10 08:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648289') start
[2025-03-10 08:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:28:03] Production.INFO: ==19296== Lock acquired, processing the job...
[2025-03-10 08:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:28:03] Production.INFO: ==19298== Lock acquired, processing the job...
[2025-03-10 08:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:28:03] Production.INFO: ==19300== Lock acquired, processing the job...
[2025-03-10 08:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648289') end
[2025-03-10 08:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:28:03] Production.INFO: 1
[2025-03-10 08:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:28:03] Production.INFO: Account Balance Start.
[2025-03-10 08:28:03] Production.INFO: ==19304== Releasing lock...
[2025-03-10 08:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:28:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:28:03] Production.INFO: 117
[2025-03-10 08:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:28:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:28:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:28:04] Production.ERROR: done
[2025-03-10 08:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:28:04] Production.ERROR: done
[2025-03-10 08:28:04] Production.INFO: Total Charge 0
[2025-03-10 08:28:04] Production.INFO: CreateAllLog End
[2025-03-10 08:28:04] Production.INFO: ==19296== Releasing lock...
[2025-03-10 08:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:28:04] Production.INFO: Account Balance End.
[2025-03-10 08:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:28:04] Production.INFO: ==19300== Releasing lock...
[2025-03-10 08:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:28:05
[end_date_ymd] => 2025-03-10 08:28:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:28:05' and `end` < '2025-03-10 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-03-10 08:28:11] Production.ERROR: CronJobId end10
[2025-03-10 08:28:11] Production.INFO: ==19298== Releasing lock...
[2025-03-10 08:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:28:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:28:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:28:14] Production.INFO: call_cost start
[2025-03-10 08:28:14] Production.INFO: call_cost end
[2025-03-10 08:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:28:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:28:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:28:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:28:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:28:15] Production.INFO: ==19294== Releasing lock...
[2025-03-10 08:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:28:17] Production.INFO: count ==534
[2025-03-10 08:28:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:28:05 - End Time 2025-03-10 08:28:05
[2025-03-10 08:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648293', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648293', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648293', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648293', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:28:17] Production.INFO: ProcessCDR(1,14648293,1,1,2)
[2025-03-10 08:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648293', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648293', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:28:22] Production.INFO: ==19302== Releasing lock...
[2025-03-10 08:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:28:22] Production.INFO: 32.25 MB #Memory Used#
[2025-03-10 12:29:02] Production.INFO: ==19360== Lock acquired, processing the job...
[2025-03-10 12:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:29:02] Production.INFO: neon service started
[2025-03-10 12:29:02] Production.INFO: neon service started
[2025-03-10 12:29:02] Production.INFO: ==19360== Releasing lock...
[2025-03-10 12:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:29:02] Production.INFO: ==19362== Lock acquired, processing the job...
[2025-03-10 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:29:03] Production.INFO: ==19362== Releasing lock...
[2025-03-10 08:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:29:03] Production.INFO: ==19364== Lock acquired, processing the job...
[2025-03-10 12:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:29:03] Production.INFO: ==19364== Releasing lock...
[2025-03-10 12:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:29:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:29:03] Production.INFO: ==19372== Lock acquired, processing the job...
[2025-03-10 08:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:29:04] Production.INFO: ==19376== Lock acquired, processing the job...
[2025-03-10 08:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:29:04] Production.INFO: Account Balance Start.
[2025-03-10 08:29:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:29:04] Production.INFO: 117
[2025-03-10 08:29:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:29:04] Production.INFO: ==19366== Lock acquired, processing the job...
[2025-03-10 08:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 08: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-03-10 08:29:04] Production.INFO: ==19368== Lock acquired, processing the job...
[2025-03-10 08:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:29:04] Production.INFO: count ==13
[2025-03-10 08:29:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 08: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-03-10 08:29:04] Production.INFO: count ==21
[2025-03-10 08:29:04] Production.INFO: ==19370== Lock acquired, processing the job...
[2025-03-10 08:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:29:04] Production.INFO: ==19374== Lock acquired, processing the job...
[2025-03-10 08:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:29:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648295') start
[2025-03-10 08:29:04] Production.INFO: Total Charge 0
[2025-03-10 08:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:29:04] Production.INFO: CreateAllLog End
[2025-03-10 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648295') end
[2025-03-10 08:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:29:04] Production.INFO: 1
[2025-03-10 08:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:29:04] Production.INFO: ==19376== Releasing lock...
[2025-03-10 08:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:29:04] Production.INFO: ==19368== Releasing lock...
[2025-03-10 08:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:29:04] Production.ERROR: done
[2025-03-10 08:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:29:04] Production.INFO: Account Balance End.
[2025-03-10 08:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:29:04] Production.INFO: ==19372== Releasing lock...
[2025-03-10 08:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:29:04] Production.ERROR: done
[2025-03-10 08:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:29:06
[end_date_ymd] => 2025-03-10 08:29:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:29:06' and `end` < '2025-03-10 08: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-03-10 08:29:13] Production.ERROR: CronJobId end10
[2025-03-10 08:29:13] Production.INFO: ==19370== Releasing lock...
[2025-03-10 08:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:29:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:29:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:29:14] Production.INFO: call_cost start
[2025-03-10 08:29:14] Production.INFO: call_cost end
[2025-03-10 08:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:29:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:29:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:29:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:29:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:29:15] Production.INFO: ==19366== Releasing lock...
[2025-03-10 08:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:29:18] Production.INFO: count ==535
[2025-03-10 08:29:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:29:06 - End Time 2025-03-10 08:29:06
[2025-03-10 08:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648298', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648298', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648298', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648298', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:29:18] Production.INFO: ProcessCDR(1,14648298,1,1,2)
[2025-03-10 08:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648298', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648298', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:29:21] Production.INFO: ==19374== Releasing lock...
[2025-03-10 08:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:29:21] Production.INFO: 32.5 MB #Memory Used#
[2025-03-10 12:30:01] Production.INFO: ==19432== Lock acquired, processing the job...
[2025-03-10 12:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:30:01] Production.INFO: neon service started
[2025-03-10 12:30:01] Production.INFO: neon service started
[2025-03-10 12:30:01] Production.INFO: ==19432== Releasing lock...
[2025-03-10 12:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:30:02] Production.INFO: ==19436== Lock acquired, processing the job...
[2025-03-10 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:30:02] Production.INFO: ==19436== Releasing lock...
[2025-03-10 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:30:02] Production.INFO: ==19434== Lock acquired, processing the job...
[2025-03-10 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:30:02] Production.INFO: ==19434== Releasing lock...
[2025-03-10 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:30:03] Production.INFO: ==19439== Lock acquired, processing the job...
[2025-03-10 08:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 08:30:03] Production.INFO: ==19441== Lock acquired, processing the job...
[2025-03-10 08:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 08:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 08:30:03] Production.ERROR: CronJob PID - 19441
[2025-03-10 08:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 08:30:03] Production.ERROR: CronJob ID - 5
[2025-03-10 08:30:03] Production.ERROR: CronJob Last Run Time 2025-03-10 08:30:00
[2025-03-10 08:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 08:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 08:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 08:30:03] Production.INFO: ==19439== Releasing lock...
[2025-03-10 08:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 08:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 08:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:30:04] Production.INFO: ==19447== Lock acquired, processing the job...
[2025-03-10 08:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:30:04] Production.INFO: ==19449== Lock acquired, processing the job...
[2025-03-10 08:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:30:04] Production.INFO: Account Balance Start.
[2025-03-10 08:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:30:04] Production.INFO: 117
[2025-03-10 08:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:30:04] Production.INFO: ==19443== Lock acquired, processing the job...
[2025-03-10 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:30:04] Production.INFO: ==19445== Lock acquired, processing the job...
[2025-03-10 08:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:30:04] Production.INFO: Total Charge 0
[2025-03-10 08:30:04] Production.INFO: CreateAllLog End
[2025-03-10 08:30:04] Production.INFO: ==19451== Lock acquired, processing the job...
[2025-03-10 08:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 08:30:04] Production.INFO: ==19453== Lock acquired, processing the job...
[2025-03-10 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 08:30:04] Production.INFO: count ==13
[2025-03-10 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-03-10 08:30:04] Production.INFO: count ==21
[2025-03-10 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648302') start
[2025-03-10 08:30:04] Production.ERROR: done
[2025-03-10 08:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:30:04] Production.INFO: ==19443== Releasing lock...
[2025-03-10 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648302') end
[2025-03-10 08:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:30:04] Production.INFO: 1
[2025-03-10 08:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:30:04] Production.ERROR: done
[2025-03-10 08:30:04] Production.INFO: ==19453== Releasing lock...
[2025-03-10 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:30:04] Production.INFO: Account Balance End.
[2025-03-10 08:30:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:30:04] Production.INFO: ==19447== Releasing lock...
[2025-03-10 08:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:30:04] Production.ERROR: done
[2025-03-10 08:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 08:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648304', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 08:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:30:05
[end_date_ymd] => 2025-03-10 08:30:05
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:30:05' and `end` < '2025-03-10 08: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-03-10 08:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648304', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 08:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 08:30:09] Production.INFO: ProcessCDR(1,14648304,1,1,2)
[2025-03-10 08:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648304,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648304,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:30:09] Production.INFO: ==19451== Releasing lock...
[2025-03-10 08:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 08:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 08:30:14] Production.ERROR: CronJobId end10
[2025-03-10 08:30:14] Production.INFO: ==19445== Releasing lock...
[2025-03-10 08:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:30:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:30:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:30:16] Production.INFO: call_cost start
[2025-03-10 08:30:16] Production.INFO: call_cost end
[2025-03-10 08:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:30:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:30:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:30:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:30:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:30:17] Production.INFO: ==19441== Releasing lock...
[2025-03-10 08:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:30:18] Production.INFO: count ==554
[2025-03-10 08:30:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:30:05 - End Time 2025-03-10 08:30:05
[2025-03-10 08:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648303', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648303', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648303', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648303', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:30:18] Production.INFO: ProcessCDR(1,14648303,1,1,2)
[2025-03-10 08:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648303', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648303', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:30:23] Production.INFO: ==19449== Releasing lock...
[2025-03-10 08:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:30:23] Production.INFO: 33 MB #Memory Used#
[2025-03-10 12:31:02] Production.INFO: ==19509== Lock acquired, processing the job...
[2025-03-10 12:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:31:02] Production.INFO: neon service started
[2025-03-10 12:31:02] Production.INFO: neon service started
[2025-03-10 12:31:02] Production.INFO: ==19509== Releasing lock...
[2025-03-10 12:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:31:02] Production.INFO: ==19513== Lock acquired, processing the job...
[2025-03-10 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:31:02] Production.INFO: ==19511== Lock acquired, processing the job...
[2025-03-10 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:31:03] Production.INFO: ==19513== Releasing lock...
[2025-03-10 12:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:31:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:31:03] Production.INFO: ==19511== Releasing lock...
[2025-03-10 08:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:31:04] Production.INFO: ==19524== Lock acquired, processing the job...
[2025-03-10 08:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:31:04] Production.INFO: ==19520== Lock acquired, processing the job...
[2025-03-10 08:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:31:04] Production.INFO: ==19516== Lock acquired, processing the job...
[2025-03-10 08:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:31:04] Production.INFO: ==19518== Lock acquired, processing the job...
[2025-03-10 08:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:31:04] Production.INFO: ==19522== Lock acquired, processing the job...
[2025-03-10 08:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:31:04] Production.INFO: ==19526== Lock acquired, processing the job...
[2025-03-10 08:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:31:04] Production.INFO: Account Balance Start.
[2025-03-10 08:31:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:31:04] Production.INFO: 117
[2025-03-10 08:31:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08: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-03-10 08:31:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:31:04] Production.INFO: count ==13
[2025-03-10 08:31:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:31: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-03-10 08:31:05] Production.INFO: count ==21
[2025-03-10 08:31:05] Production.ERROR: done
[2025-03-10 08:31:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:31:05] Production.INFO: Total Charge 0
[2025-03-10 08:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648306') start
[2025-03-10 08:31:05] Production.INFO: CreateAllLog End
[2025-03-10 08:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648306') end
[2025-03-10 08:31:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:31:05] Production.INFO: 1
[2025-03-10 08:31:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:31:05] Production.INFO: ==19518== Releasing lock...
[2025-03-10 08:31:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:31:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:31:05] Production.ERROR: done
[2025-03-10 08:31:05] Production.INFO: ==19526== Releasing lock...
[2025-03-10 08:31:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:31:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:31:05] Production.INFO: Account Balance End.
[2025-03-10 08:31:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:31:05] Production.INFO: ==19522== Releasing lock...
[2025-03-10 08:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:31:06
[end_date_ymd] => 2025-03-10 08:31:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:31:06' and `end` < '2025-03-10 08: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-03-10 08:31:13] Production.ERROR: CronJobId end10
[2025-03-10 08:31:13] Production.INFO: ==19520== Releasing lock...
[2025-03-10 08:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:31:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:31:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:31:16] Production.INFO: call_cost start
[2025-03-10 08:31:16] Production.INFO: call_cost end
[2025-03-10 08:31:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:31:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:31:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:31:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:31:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:31:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:31:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:31:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:31:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:31:17] Production.INFO: ==19516== Releasing lock...
[2025-03-10 08:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:31:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:31:18] Production.INFO: count ==596
[2025-03-10 08:31:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:31:06 - End Time 2025-03-10 08:31:06
[2025-03-10 08:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648309', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648309', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648309', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648309', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:31:18] Production.INFO: ProcessCDR(1,14648309,1,1,2)
[2025-03-10 08:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648309', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648309', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:31:23] Production.INFO: ==19524== Releasing lock...
[2025-03-10 08:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:31:23] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 12:32:01] Production.INFO: ==19579== Lock acquired, processing the job...
[2025-03-10 12:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:32:01] Production.INFO: neon service started
[2025-03-10 12:32:01] Production.INFO: neon service started
[2025-03-10 12:32:01] Production.INFO: ==19579== Releasing lock...
[2025-03-10 12:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:32:02] Production.INFO: ==19581== Lock acquired, processing the job...
[2025-03-10 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:32:02] Production.INFO: ==19581== Releasing lock...
[2025-03-10 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:32:02] Production.INFO: ==19583== Lock acquired, processing the job...
[2025-03-10 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:32:02] Production.INFO: ==19583== Releasing lock...
[2025-03-10 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:32:03] Production.INFO: ==19591== Lock acquired, processing the job...
[2025-03-10 08:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:32:03] Production.INFO: ==19585== Lock acquired, processing the job...
[2025-03-10 08:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:32:03] Production.INFO: ==19595== Lock acquired, processing the job...
[2025-03-10 08:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:32:03] Production.INFO: ==19587== Lock acquired, processing the job...
[2025-03-10 08:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:32:03] Production.INFO: ==19589== Lock acquired, processing the job...
[2025-03-10 08:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:32:03] Production.INFO: Account Balance Start.
[2025-03-10 08:32:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:32:03] Production.INFO: 117
[2025-03-10 08:32:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:32:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 08:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:32:03] Production.INFO: ==19593== Lock acquired, processing the job...
[2025-03-10 08:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:32:03] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:32:03] Production.INFO: count ==21
[2025-03-10 08:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648311') start
[2025-03-10 08:32:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:32:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:32:04] Production.INFO: Total Charge 0
[2025-03-10 08:32:04] Production.INFO: CreateAllLog End
[2025-03-10 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648311') end
[2025-03-10 08:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:32:04] Production.INFO: 1
[2025-03-10 08:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:32:04] Production.INFO: ==19595== Releasing lock...
[2025-03-10 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:32:04] Production.INFO: ==19587== Releasing lock...
[2025-03-10 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:32:04] Production.ERROR: done
[2025-03-10 08:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:32:04] Production.INFO: Account Balance End.
[2025-03-10 08:32:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:32:04] Production.INFO: ==19591== Releasing lock...
[2025-03-10 08:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:32:04] Production.ERROR: done
[2025-03-10 08:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:32:05
[end_date_ymd] => 2025-03-10 08:32:05
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:32:05' and `end` < '2025-03-10 08: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-03-10 08:32:11] Production.ERROR: CronJobId end10
[2025-03-10 08:32:11] Production.INFO: ==19589== Releasing lock...
[2025-03-10 08:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:32:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:32:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:32:15] Production.INFO: call_cost start
[2025-03-10 08:32:15] Production.INFO: call_cost end
[2025-03-10 08:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:32:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:32:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:32:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:32:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:32:16] Production.INFO: ==19585== Releasing lock...
[2025-03-10 08:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:32:17] Production.INFO: count ==609
[2025-03-10 08:32:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:32:05 - End Time 2025-03-10 08:32:05
[2025-03-10 08:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648314', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648314', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648314', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648314', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:32:18] Production.INFO: ProcessCDR(1,14648314,1,1,2)
[2025-03-10 08:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648314', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648314', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:32:21] Production.INFO: ==19593== Releasing lock...
[2025-03-10 08:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:32:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 12:33:02] Production.INFO: ==19649== Lock acquired, processing the job...
[2025-03-10 12:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:33:02] Production.INFO: neon service started
[2025-03-10 12:33:02] Production.INFO: neon service started
[2025-03-10 12:33:02] Production.INFO: ==19649== Releasing lock...
[2025-03-10 12:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:33:02] Production.INFO: ==19651== Lock acquired, processing the job...
[2025-03-10 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:33:02] Production.INFO: ==19653== Lock acquired, processing the job...
[2025-03-10 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:33:02] Production.INFO: ==19651== Releasing lock...
[2025-03-10 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:33:02] Production.INFO: ==19653== Releasing lock...
[2025-03-10 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:33:03] Production.INFO: ==19664== Lock acquired, processing the job...
[2025-03-10 08:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:33:03] Production.INFO: ==19666== Lock acquired, processing the job...
[2025-03-10 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:33:03] Production.INFO: ==19656== Lock acquired, processing the job...
[2025-03-10 08:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 08:33:03] Production.INFO: count ==13
[2025-03-10 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-03-10 08:33:03] Production.INFO: count ==21
[2025-03-10 08:33:04] Production.INFO: ==19658== Lock acquired, processing the job...
[2025-03-10 08:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648315') start
[2025-03-10 08:33:04] Production.INFO: ==19660== Lock acquired, processing the job...
[2025-03-10 08:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:33:04] Production.INFO: ==19662== Lock acquired, processing the job...
[2025-03-10 08:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648315') end
[2025-03-10 08:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:33:04] Production.INFO: 1
[2025-03-10 08:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:33:04] Production.INFO: ==19666== Releasing lock...
[2025-03-10 08:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:33:04] Production.ERROR: done
[2025-03-10 08:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:33:04] Production.INFO: Account Balance Start.
[2025-03-10 08:33:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:33:04] Production.INFO: 117
[2025-03-10 08:33:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:33:04] Production.INFO: ==19658== Releasing lock...
[2025-03-10 08:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:33:04] Production.INFO: Total Charge 0
[2025-03-10 08:33:04] Production.INFO: CreateAllLog End
[2025-03-10 08:33:04] Production.ERROR: done
[2025-03-10 08:33:04] Production.INFO: Account Balance End.
[2025-03-10 08:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:33:04] Production.INFO: ==19662== Releasing lock...
[2025-03-10 08:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:33:05
[end_date_ymd] => 2025-03-10 08:33:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:33:05' and `end` < '2025-03-10 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-03-10 08:33:13] Production.ERROR: CronJobId end10
[2025-03-10 08:33:13] Production.INFO: ==19660== Releasing lock...
[2025-03-10 08:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:33:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:33:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:33:15] Production.INFO: call_cost start
[2025-03-10 08:33:15] Production.INFO: call_cost end
[2025-03-10 08:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:33:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:33:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:33:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:33:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:33:16] Production.INFO: ==19656== Releasing lock...
[2025-03-10 08:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:33:17] Production.INFO: count ==627
[2025-03-10 08:33:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:33:05 - End Time 2025-03-10 08:33:05
[2025-03-10 08:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648319', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648319', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648319', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648319', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:33:17] Production.INFO: ProcessCDR(1,14648319,1,1,2)
[2025-03-10 08:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648319', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648319', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:33:22] Production.INFO: ==19664== Releasing lock...
[2025-03-10 08:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:33:22] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 12:34:01] Production.INFO: ==19724== Lock acquired, processing the job...
[2025-03-10 12:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:34:01] Production.INFO: neon service started
[2025-03-10 12:34:01] Production.INFO: neon service started
[2025-03-10 12:34:01] Production.INFO: ==19724== Releasing lock...
[2025-03-10 12:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:34:02] Production.INFO: ==19726== Lock acquired, processing the job...
[2025-03-10 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:34:02] Production.INFO: ==19728== Lock acquired, processing the job...
[2025-03-10 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:34:02] Production.INFO: ==19728== Releasing lock...
[2025-03-10 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:34:02] Production.INFO: ==19726== Releasing lock...
[2025-03-10 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:34:03] Production.INFO: ==19733== Lock acquired, processing the job...
[2025-03-10 08:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:34:03] Production.INFO: ==19735== Lock acquired, processing the job...
[2025-03-10 08:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:34:03] Production.INFO: ==19731== Lock acquired, processing the job...
[2025-03-10 08:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:34:03] Production.INFO: ==19741== Lock acquired, processing the job...
[2025-03-10 08:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:34:04] Production.INFO: ==19737== Lock acquired, processing the job...
[2025-03-10 08:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:34:04] Production.INFO: ==19739== Lock acquired, processing the job...
[2025-03-10 08:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 08:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:34:04] Production.INFO: count ==13
[2025-03-10 08:34:04] Production.INFO: Account Balance Start.
[2025-03-10 08:34:04] Production.INFO: CreateAllLog Start
[2025-03-10 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-03-10 08:34:04] Production.INFO: 117
[2025-03-10 08:34:04] Production.INFO: count ==21
[2025-03-10 08:34:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648322') start
[2025-03-10 08:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648322') end
[2025-03-10 08:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:34:04] Production.INFO: 1
[2025-03-10 08:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:34:04] Production.ERROR: done
[2025-03-10 08:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:34:04] Production.INFO: ==19733== Releasing lock...
[2025-03-10 08:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:34:04] Production.INFO: ==19741== Releasing lock...
[2025-03-10 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:34:04] Production.ERROR: done
[2025-03-10 08:34:04] Production.INFO: Total Charge 0
[2025-03-10 08:34:04] Production.INFO: CreateAllLog End
[2025-03-10 08:34:04] Production.INFO: Account Balance End.
[2025-03-10 08:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:34:04] Production.INFO: ==19737== Releasing lock...
[2025-03-10 08:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:34:05
[end_date_ymd] => 2025-03-10 08:34:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:34:05' and `end` < '2025-03-10 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-03-10 08:34:12] Production.ERROR: CronJobId end10
[2025-03-10 08:34:12] Production.INFO: ==19735== Releasing lock...
[2025-03-10 08:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:34:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:34:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:34:15] Production.INFO: call_cost start
[2025-03-10 08:34:15] Production.INFO: call_cost end
[2025-03-10 08:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:34:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:34:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:34:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:34:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:34:16] Production.INFO: ==19731== Releasing lock...
[2025-03-10 08:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:34:17] Production.INFO: count ==639
[2025-03-10 08:34:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:34:05 - End Time 2025-03-10 08:34:05
[2025-03-10 08:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648324', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648324', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648324', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648324', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:34:18] Production.INFO: ProcessCDR(1,14648324,1,1,2)
[2025-03-10 08:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648324', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648324', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:34:23] Production.INFO: ==19739== Releasing lock...
[2025-03-10 08:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:34:23] Production.INFO: 33.75 MB #Memory Used#
[2025-03-10 12:35:02] Production.INFO: ==19793== Lock acquired, processing the job...
[2025-03-10 12:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:35:02] Production.INFO: neon service started
[2025-03-10 12:35:02] Production.INFO: neon service started
[2025-03-10 12:35:02] Production.INFO: ==19793== Releasing lock...
[2025-03-10 12:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:35:02] Production.INFO: ==19798== Lock acquired, processing the job...
[2025-03-10 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:35:02] Production.INFO: ==19796== Lock acquired, processing the job...
[2025-03-10 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:35:03] Production.INFO: ==19798== Releasing lock...
[2025-03-10 12:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:35:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:35:03] Production.INFO: ==19796== Releasing lock...
[2025-03-10 08:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:35:04] Production.INFO: ==19802== Lock acquired, processing the job...
[2025-03-10 08:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:35:04] Production.INFO: ==19804== Lock acquired, processing the job...
[2025-03-10 08:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:35:04] Production.INFO: ==19810== Lock acquired, processing the job...
[2025-03-10 08:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:35:04] Production.INFO: ==19802== Releasing lock...
[2025-03-10 08:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08: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-03-10 08:35:04] Production.INFO: ==19800== Lock acquired, processing the job...
[2025-03-10 08:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:35:04] Production.INFO: ==19808== Lock acquired, processing the job...
[2025-03-10 08:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:35:04] Production.INFO: ==19806== Lock acquired, processing the job...
[2025-03-10 08:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:35:04] Production.INFO: count ==13
[2025-03-10 08:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08: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-03-10 08:35:04] Production.INFO: count ==21
[2025-03-10 08:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648326') start
[2025-03-10 08:35:04] Production.INFO: Account Balance Start.
[2025-03-10 08:35:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:35:04] Production.INFO: 117
[2025-03-10 08:35:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:35:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648326') end
[2025-03-10 08:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:35:04] Production.INFO: 1
[2025-03-10 08:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:35:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:35:04] Production.INFO: Total Charge 0
[2025-03-10 08:35:04] Production.INFO: ==19810== Releasing lock...
[2025-03-10 08:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:35:04] Production.INFO: CreateAllLog End
[2025-03-10 08:35:05] Production.ERROR: done
[2025-03-10 08:35:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:35:05] Production.INFO: Account Balance End.
[2025-03-10 08:35:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:35:05] Production.INFO: ==19806== Releasing lock...
[2025-03-10 08:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:35:05] Production.ERROR: done
[2025-03-10 08:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:35:06
[end_date_ymd] => 2025-03-10 08:35:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:35:06' and `end` < '2025-03-10 08: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-03-10 08:35:11] Production.ERROR: CronJobId end10
[2025-03-10 08:35:11] Production.INFO: ==19804== Releasing lock...
[2025-03-10 08:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:35:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:35:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:35:14] Production.INFO: call_cost start
[2025-03-10 08:35:14] Production.INFO: call_cost end
[2025-03-10 08:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:35:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:35:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:35:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:35:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:35:15] Production.INFO: ==19800== Releasing lock...
[2025-03-10 08:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:35:18] Production.INFO: count ==647
[2025-03-10 08:35:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:35:06 - End Time 2025-03-10 08:35:06
[2025-03-10 08:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648329', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648329', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648329', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648329', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:35:18] Production.INFO: ProcessCDR(1,14648329,1,1,2)
[2025-03-10 08:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648329', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648329', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:35:22] Production.INFO: ==19808== Releasing lock...
[2025-03-10 08:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:35:22] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 12:36:01] Production.INFO: ==19868== Lock acquired, processing the job...
[2025-03-10 12:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:36:01] Production.INFO: neon service started
[2025-03-10 12:36:01] Production.INFO: neon service started
[2025-03-10 12:36:01] Production.INFO: ==19868== Releasing lock...
[2025-03-10 12:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:36:02] Production.INFO: ==19872== Lock acquired, processing the job...
[2025-03-10 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:36:02] Production.INFO: ==19872== Releasing lock...
[2025-03-10 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:36:02] Production.INFO: ==19870== Lock acquired, processing the job...
[2025-03-10 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:36:02] Production.INFO: ==19870== Releasing lock...
[2025-03-10 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:36:03] Production.INFO: ==19876== Lock acquired, processing the job...
[2025-03-10 08:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:36:03] Production.INFO: ==19881== Lock acquired, processing the job...
[2025-03-10 08:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:36:03] Production.INFO: ==19874== Lock acquired, processing the job...
[2025-03-10 08:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:36:03] Production.INFO: Account Balance Start.
[2025-03-10 08:36:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:36:03] Production.INFO: 117
[2025-03-10 08:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:36:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:36:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:36:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:36:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:36:03] Production.INFO: ==19879== Lock acquired, processing the job...
[2025-03-10 08:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:36:03] Production.INFO: Date 2025-03-10
[2025-03-10 08:36:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:36:03] Production.INFO: Total Charge 0
[2025-03-10 08:36:03] Production.INFO: CreateAllLog End
[2025-03-10 08:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:36:03] Production.INFO: ==19883== Lock acquired, processing the job...
[2025-03-10 08:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:36:03] Production.INFO: ==19876== Releasing lock...
[2025-03-10 08:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:36:04] Production.INFO: ==19885== Lock acquired, processing the job...
[2025-03-10 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:36:04] Production.INFO: Account Balance End.
[2025-03-10 08:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:36:04] Production.INFO: ==19881== Releasing lock...
[2025-03-10 08:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 08:36:04] Production.INFO: count ==13
[2025-03-10 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-03-10 08:36:04] Production.INFO: count ==21
[2025-03-10 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648333') start
[2025-03-10 08:36:04] Production.ERROR: done
[2025-03-10 08:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648333') end
[2025-03-10 08:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:36:04] Production.INFO: 1
[2025-03-10 08:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:36:04] Production.INFO: ==19885== Releasing lock...
[2025-03-10 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:36:04] Production.ERROR: done
[2025-03-10 08:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:36:05
[end_date_ymd] => 2025-03-10 08:36:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:36:05' and `end` < '2025-03-10 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-03-10 08:36:12] Production.ERROR: CronJobId end10
[2025-03-10 08:36:12] Production.INFO: ==19879== Releasing lock...
[2025-03-10 08:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:36:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:36:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:36:15] Production.INFO: call_cost start
[2025-03-10 08:36:15] Production.INFO: call_cost end
[2025-03-10 08:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:36:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:36:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:36:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:36:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:36:16] Production.INFO: ==19874== Releasing lock...
[2025-03-10 08:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:36:18] Production.INFO: count ==656
[2025-03-10 08:36:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:36:05 - End Time 2025-03-10 08:36:05
[2025-03-10 08:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648334', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648334', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648334', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648334', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:36:18] Production.INFO: ProcessCDR(1,14648334,1,1,2)
[2025-03-10 08:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648334', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648334', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:36:21] Production.INFO: ==19883== Releasing lock...
[2025-03-10 08:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:36:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 12:37:02] Production.INFO: ==19938== Lock acquired, processing the job...
[2025-03-10 12:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:37:02] Production.INFO: neon service started
[2025-03-10 12:37:02] Production.INFO: neon service started
[2025-03-10 12:37:02] Production.INFO: ==19938== Releasing lock...
[2025-03-10 12:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:37:02] Production.INFO: ==19940== Lock acquired, processing the job...
[2025-03-10 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:37:02] Production.INFO: ==19940== Releasing lock...
[2025-03-10 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:37:03] Production.INFO: ==19942== Lock acquired, processing the job...
[2025-03-10 12:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:37:03] Production.INFO: ==19942== Releasing lock...
[2025-03-10 12:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:37:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:37:03] Production.INFO: ==19951== Lock acquired, processing the job...
[2025-03-10 08:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:37:04] Production.INFO: ==19945== Lock acquired, processing the job...
[2025-03-10 08:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:37:04] Production.INFO: ==19955== Lock acquired, processing the job...
[2025-03-10 08:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:37:04] Production.INFO: Account Balance Start.
[2025-03-10 08:37:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:37:04] Production.INFO: 117
[2025-03-10 08:37:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:37:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:37:04] Production.INFO: ==19949== Lock acquired, processing the job...
[2025-03-10 08:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08: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-03-10 08:37:04] Production.INFO: ==19947== Lock acquired, processing the job...
[2025-03-10 08:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:37:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:37:04] Production.INFO: count ==21
[2025-03-10 08:37:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:37:04] Production.INFO: ==19953== Lock acquired, processing the job...
[2025-03-10 08:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648337') start
[2025-03-10 08:37:04] Production.INFO: Total Charge 0
[2025-03-10 08:37:04] Production.INFO: CreateAllLog End
[2025-03-10 08:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648337') end
[2025-03-10 08:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:37:04] Production.INFO: 1
[2025-03-10 08:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:37:04] Production.INFO: ==19955== Releasing lock...
[2025-03-10 08:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:37:04] Production.ERROR: done
[2025-03-10 08:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:37:04] Production.INFO: ==19947== Releasing lock...
[2025-03-10 08:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:37:04] Production.ERROR: done
[2025-03-10 08:37:04] Production.INFO: Account Balance End.
[2025-03-10 08:37:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:37:04] Production.INFO: ==19951== Releasing lock...
[2025-03-10 08:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:37:05
[end_date_ymd] => 2025-03-10 08:37:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:37:05' and `end` < '2025-03-10 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-03-10 08:37:13] Production.ERROR: CronJobId end10
[2025-03-10 08:37:13] Production.INFO: ==19949== Releasing lock...
[2025-03-10 08:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:37:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:37:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:37:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:37:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:37:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:37:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:37:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:37:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:37:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:37:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:37:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:37:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:37:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:37:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:37:15] Production.INFO: call_cost start
[2025-03-10 08:37:15] Production.INFO: call_cost end
[2025-03-10 08:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:37:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:37:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:37:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:37:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:37:16] Production.INFO: ==19945== Releasing lock...
[2025-03-10 08:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:37:18] Production.INFO: count ==665
[2025-03-10 08:37:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:37:05 - End Time 2025-03-10 08:37:05
[2025-03-10 08:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648339', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648339', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648339', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648339', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:37:18] Production.INFO: ProcessCDR(1,14648339,1,1,2)
[2025-03-10 08:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648339', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648339', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:37:21] Production.INFO: ==19953== Releasing lock...
[2025-03-10 08:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:37:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 12:38:01] Production.INFO: ==20013== Lock acquired, processing the job...
[2025-03-10 12:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:38:01] Production.INFO: neon service started
[2025-03-10 12:38:01] Production.INFO: neon service started
[2025-03-10 12:38:01] Production.INFO: ==20013== Releasing lock...
[2025-03-10 12:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:38:02] Production.INFO: ==20015== Lock acquired, processing the job...
[2025-03-10 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:38:02] Production.INFO: ==20015== Releasing lock...
[2025-03-10 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:38:02] Production.INFO: ==20017== Lock acquired, processing the job...
[2025-03-10 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:38:02] Production.INFO: ==20017== Releasing lock...
[2025-03-10 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:38:03] Production.INFO: ==20019== Lock acquired, processing the job...
[2025-03-10 08:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:38:03] Production.INFO: ==20021== Lock acquired, processing the job...
[2025-03-10 08:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:38:03] Production.INFO: ==20029== Lock acquired, processing the job...
[2025-03-10 08:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:38:03] Production.INFO: ==20021== Releasing lock...
[2025-03-10 08:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08: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-03-10 08:38:03] Production.INFO: count ==13
[2025-03-10 08:38:03] Production.INFO: ==20025== Lock acquired, processing the job...
[2025-03-10 08:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08: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-03-10 08:38:03] Production.INFO: count ==21
[2025-03-10 08:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648342') start
[2025-03-10 08:38:03] Production.INFO: ==20023== Lock acquired, processing the job...
[2025-03-10 08:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:38:03] Production.INFO: ==20027== Lock acquired, processing the job...
[2025-03-10 08:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648342') end
[2025-03-10 08:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:38:03] Production.INFO: 1
[2025-03-10 08:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:38:03] Production.INFO: Account Balance Start.
[2025-03-10 08:38:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:38:03] Production.INFO: 117
[2025-03-10 08:38:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:38:04] Production.INFO: ==20029== Releasing lock...
[2025-03-10 08:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:38:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:38:04] Production.INFO: Total Charge 0
[2025-03-10 08:38:04] Production.INFO: CreateAllLog End
[2025-03-10 08:38:04] Production.ERROR: done
[2025-03-10 08:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:38:04] Production.INFO: Account Balance End.
[2025-03-10 08:38:04] Production.ERROR: done
[2025-03-10 08:38:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:38:04] Production.INFO: ==20025== Releasing lock...
[2025-03-10 08:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:38:05
[end_date_ymd] => 2025-03-10 08:38:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:38:05' and `end` < '2025-03-10 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-03-10 08:38:11] Production.ERROR: CronJobId end10
[2025-03-10 08:38:11] Production.INFO: ==20023== Releasing lock...
[2025-03-10 08:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:38:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:38:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:38:13] Production.INFO: call_cost start
[2025-03-10 08:38:13] Production.INFO: call_cost end
[2025-03-10 08:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:38:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:38:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:38:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:38:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:38:14] Production.INFO: ==20019== Releasing lock...
[2025-03-10 08:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:38:17] Production.INFO: count ==670
[2025-03-10 08:38:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:38:05 - End Time 2025-03-10 08:38:05
[2025-03-10 08:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648344', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648344', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648344', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648344', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:38:17] Production.INFO: ProcessCDR(1,14648344,1,1,2)
[2025-03-10 08:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648344', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648344', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:38:21] Production.INFO: ==20027== Releasing lock...
[2025-03-10 08:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:38:21] Production.INFO: 33.25 MB #Memory Used#
[2025-03-10 12:39:02] Production.INFO: ==20123== Lock acquired, processing the job...
[2025-03-10 12:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:39:02] Production.INFO: neon service started
[2025-03-10 12:39:02] Production.INFO: neon service started
[2025-03-10 12:39:02] Production.INFO: ==20123== Releasing lock...
[2025-03-10 12:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:39:02] Production.INFO: ==20125== Lock acquired, processing the job...
[2025-03-10 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:39:03] Production.INFO: ==20125== Releasing lock...
[2025-03-10 08:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:39:03] Production.INFO: ==20127== Lock acquired, processing the job...
[2025-03-10 12:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:39:03] Production.INFO: ==20127== Releasing lock...
[2025-03-10 12:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:39:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:39:03] Production.INFO: ==20134== Lock acquired, processing the job...
[2025-03-10 08:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:39:03] Production.INFO: ==20130== Lock acquired, processing the job...
[2025-03-10 08:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:39:04] Production.INFO: ==20132== Lock acquired, processing the job...
[2025-03-10 08:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:39:04] Production.INFO: ==20138== Lock acquired, processing the job...
[2025-03-10 08:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:39:04] Production.INFO: ==20136== Lock acquired, processing the job...
[2025-03-10 08:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:39:04] Production.INFO: ==20140== Lock acquired, processing the job...
[2025-03-10 08:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:39:04] Production.INFO: Account Balance Start.
[2025-03-10 08:39:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:39:04] Production.INFO: 117
[2025-03-10 08:39:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:39:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 08: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-03-10 08:39:04] Production.INFO: ==20132== Releasing lock...
[2025-03-10 08:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:39:04] Production.INFO: Total Charge 0
[2025-03-10 08:39:04] Production.INFO: CreateAllLog End
[2025-03-10 08:39:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:39:04] Production.INFO: count ==21
[2025-03-10 08:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648348') start
[2025-03-10 08:39:04] Production.ERROR: done
[2025-03-10 08:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648348') end
[2025-03-10 08:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:39:04] Production.INFO: 1
[2025-03-10 08:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:39:04] Production.INFO: ==20140== Releasing lock...
[2025-03-10 08:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:39:05] Production.INFO: Account Balance End.
[2025-03-10 08:39:05] Production.ERROR: done
[2025-03-10 08:39:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:39:05] Production.INFO: ==20136== Releasing lock...
[2025-03-10 08:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:39:05
[end_date_ymd] => 2025-03-10 08:39:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:39:05' and `end` < '2025-03-10 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-03-10 08:39:13] Production.ERROR: CronJobId end10
[2025-03-10 08:39:13] Production.INFO: ==20134== Releasing lock...
[2025-03-10 08:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:39:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:39:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:39:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:39:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:39:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:39:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:39:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:39:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:39:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:39:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:39:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:39:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:39:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:39:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:39:16] Production.INFO: call_cost start
[2025-03-10 08:39:16] Production.INFO: call_cost end
[2025-03-10 08:39:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:39:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:39:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:39:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:39:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:39:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:39:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:39:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:39:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:39:17] Production.INFO: ==20130== Releasing lock...
[2025-03-10 08:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:39:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:39:18] Production.INFO: count ==683
[2025-03-10 08:39:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:39:05 - End Time 2025-03-10 08:39:05
[2025-03-10 08:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648349', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648349', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648349', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648349', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:39:18] Production.INFO: ProcessCDR(1,14648349,1,1,2)
[2025-03-10 08:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648349', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648349', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:39:21] Production.INFO: ==20138== Releasing lock...
[2025-03-10 08:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:39:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 12:40:01] Production.INFO: ==20208== Lock acquired, processing the job...
[2025-03-10 12:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:40:01] Production.INFO: neon service started
[2025-03-10 12:40:01] Production.INFO: neon service started
[2025-03-10 12:40:01] Production.INFO: ==20208== Releasing lock...
[2025-03-10 12:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:40:02] Production.INFO: ==20210== Lock acquired, processing the job...
[2025-03-10 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:40:02] Production.INFO: ==20210== Releasing lock...
[2025-03-10 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:40:02] Production.INFO: ==20212== Lock acquired, processing the job...
[2025-03-10 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:40:02] Production.INFO: ==20212== Releasing lock...
[2025-03-10 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:40:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:40:03] Production.INFO: ==20217== Lock acquired, processing the job...
[2025-03-10 08:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:40:03] Production.INFO: ==20219== Lock acquired, processing the job...
[2025-03-10 08:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:40:03] Production.INFO: ==20221== Lock acquired, processing the job...
[2025-03-10 08:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:40:03] Production.INFO: ==20215== Lock acquired, processing the job...
[2025-03-10 08:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 08:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:40:03] Production.INFO: ==20223== Lock acquired, processing the job...
[2025-03-10 08:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 08:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 08:40:03] Production.ERROR: CronJob PID - 20217
[2025-03-10 08:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 08:40:03] Production.ERROR: CronJob ID - 5
[2025-03-10 08:40:03] Production.ERROR: CronJob Last Run Time 2025-03-10 08:40:00
[2025-03-10 08:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 08:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 08:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 08:40:03] Production.ERROR: CronJob PID - 20219
[2025-03-10 08:40:03] Production.ERROR: CronJob Title - Account Block
[2025-03-10 08:40:03] Production.ERROR: CronJob ID - 7
[2025-03-10 08:40:03] Production.ERROR: CronJob Last Run Time 2025-03-10 08:40:00
[2025-03-10 08:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 08:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 08:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 08:40:03] Production.ERROR: CronJob PID - 20221
[2025-03-10 08:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 08:40:03] Production.ERROR: CronJob ID - 10
[2025-03-10 08:40:03] Production.ERROR: CronJob Last Run Time 2025-03-10 08:40:00
[2025-03-10 08:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 08:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 08:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 08:40:03] Production.INFO: ==20215== Releasing lock...
[2025-03-10 08:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 08:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 08:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:40:04] Production.INFO: Account Balance Start.
[2025-03-10 08:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:40:04] Production.INFO: 117
[2025-03-10 08:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:40:04] Production.INFO: ==20225== Lock acquired, processing the job...
[2025-03-10 08:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:40:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:40:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:40:04] Production.INFO: ==20227== Lock acquired, processing the job...
[2025-03-10 08:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 08:40:04] Production.INFO: ==20219== Releasing lock...
[2025-03-10 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:40:04] Production.INFO: Total Charge 0
[2025-03-10 08:40:04] Production.INFO: ==20229== Lock acquired, processing the job...
[2025-03-10 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:40:04] Production.INFO: CreateAllLog End
[2025-03-10 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 08:40:04] Production.ERROR: done
[2025-03-10 08:40:04] Production.INFO: count ==13
[2025-03-10 08:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 08:40:04] Production.INFO: count ==21
[2025-03-10 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648353') start
[2025-03-10 08:40:04] Production.INFO: Account Balance End.
[2025-03-10 08:40:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:40:04] Production.INFO: ==20223== Releasing lock...
[2025-03-10 08:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:40:04] Production.ERROR: done
[2025-03-10 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648353') end
[2025-03-10 08:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:40:04] Production.INFO: 1
[2025-03-10 08:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:40:04] Production.ERROR: done
[2025-03-10 08:40:04] Production.INFO: ==20229== Releasing lock...
[2025-03-10 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 08:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648354', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 08:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:40:06
[end_date_ymd] => 2025-03-10 08:40:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:40:06' and `end` < '2025-03-10 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-03-10 08:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648354', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 08:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 08:40:09] Production.INFO: ProcessCDR(1,14648354,1,1,2)
[2025-03-10 08:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648354,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648354,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:40:09] Production.INFO: ==20227== Releasing lock...
[2025-03-10 08:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 08:40:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 08:40:13] Production.ERROR: CronJobId end10
[2025-03-10 08:40:13] Production.INFO: ==20221== Releasing lock...
[2025-03-10 08:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:40:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:40:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:40:16] Production.INFO: call_cost start
[2025-03-10 08:40:16] Production.INFO: call_cost end
[2025-03-10 08:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:40:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:40:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:40:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:40:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:40:17] Production.INFO: ==20217== Releasing lock...
[2025-03-10 08:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:40:18] Production.INFO: count ==688
[2025-03-10 08:40:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:40:06 - End Time 2025-03-10 08:40:06
[2025-03-10 08:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648355', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648355', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648355', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648355', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:40:18] Production.INFO: ProcessCDR(1,14648355,1,1,2)
[2025-03-10 08:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648355', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648355', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:40:21] Production.INFO: ==20225== Releasing lock...
[2025-03-10 08:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:40:21] Production.INFO: 33.5 MB #Memory Used#
[2025-03-10 12:41:02] Production.INFO: ==20283== Lock acquired, processing the job...
[2025-03-10 12:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:41:02] Production.INFO: neon service started
[2025-03-10 12:41:02] Production.INFO: neon service started
[2025-03-10 12:41:02] Production.INFO: ==20283== Releasing lock...
[2025-03-10 12:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:41:02] Production.INFO: ==20285== Lock acquired, processing the job...
[2025-03-10 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:41:02] Production.INFO: ==20285== Releasing lock...
[2025-03-10 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:41:03] Production.INFO: ==20287== Lock acquired, processing the job...
[2025-03-10 12:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:41:03] Production.INFO: ==20287== Releasing lock...
[2025-03-10 12:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:41:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:41:03] Production.INFO: ==20290== Lock acquired, processing the job...
[2025-03-10 08:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:41:03] Production.INFO: ==20298== Lock acquired, processing the job...
[2025-03-10 08:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:41:04] Production.INFO: ==20292== Lock acquired, processing the job...
[2025-03-10 08:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:41:04] Production.INFO: ==20294== Lock acquired, processing the job...
[2025-03-10 08:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:41:04] Production.INFO: ==20296== Lock acquired, processing the job...
[2025-03-10 08:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:41:04] Production.INFO: ==20300== Lock acquired, processing the job...
[2025-03-10 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:41:04] Production.INFO: Account Balance Start.
[2025-03-10 08:41:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:41:04] Production.INFO: 117
[2025-03-10 08:41:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08: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-03-10 08:41:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:41:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:41:04] Production.INFO: count ==21
[2025-03-10 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648359') start
[2025-03-10 08:41:04] Production.INFO: ==20292== Releasing lock...
[2025-03-10 08:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:41:04] Production.ERROR: done
[2025-03-10 08:41:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:41:04] Production.INFO: Total Charge 0
[2025-03-10 08:41:04] Production.INFO: CreateAllLog End
[2025-03-10 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648359') end
[2025-03-10 08:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:41:04] Production.INFO: 1
[2025-03-10 08:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:41:04] Production.INFO: ==20300== Releasing lock...
[2025-03-10 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:41:04] Production.ERROR: done
[2025-03-10 08:41:04] Production.INFO: Account Balance End.
[2025-03-10 08:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:41:04] Production.INFO: ==20296== Releasing lock...
[2025-03-10 08:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:41:06
[end_date_ymd] => 2025-03-10 08:41:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:41:06' and `end` < '2025-03-10 08: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-03-10 08:41:12] Production.ERROR: CronJobId end10
[2025-03-10 08:41:12] Production.INFO: ==20294== Releasing lock...
[2025-03-10 08:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:41:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:41:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:41:15] Production.INFO: call_cost start
[2025-03-10 08:41:15] Production.INFO: call_cost end
[2025-03-10 08:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:41:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:41:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:41:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:41:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:41:16] Production.INFO: ==20290== Releasing lock...
[2025-03-10 08:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:41:18] Production.INFO: count ==731
[2025-03-10 08:41:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:41:06 - End Time 2025-03-10 08:41:06
[2025-03-10 08:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648360', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648360', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648360', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648360', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:41:18] Production.INFO: ProcessCDR(1,14648360,1,1,2)
[2025-03-10 08:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648360', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648360', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:41:24] Production.INFO: ==20298== Releasing lock...
[2025-03-10 08:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:41:24] Production.INFO: 34 MB #Memory Used#
[2025-03-10 12:42:01] Production.INFO: ==20355== Lock acquired, processing the job...
[2025-03-10 12:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:42:01] Production.INFO: neon service started
[2025-03-10 12:42:01] Production.INFO: neon service started
[2025-03-10 12:42:01] Production.INFO: ==20355== Releasing lock...
[2025-03-10 12:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:42:02] Production.INFO: ==20357== Lock acquired, processing the job...
[2025-03-10 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:42:02] Production.INFO: ==20359== Lock acquired, processing the job...
[2025-03-10 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:42:02] Production.INFO: ==20359== Releasing lock...
[2025-03-10 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:42:02] Production.INFO: ==20357== Releasing lock...
[2025-03-10 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:42:03] Production.INFO: ==20362== Lock acquired, processing the job...
[2025-03-10 08:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:42:03] Production.INFO: ==20364== Lock acquired, processing the job...
[2025-03-10 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:42:03] Production.INFO: ==20372== Lock acquired, processing the job...
[2025-03-10 08:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08: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-03-10 08:42:03] Production.INFO: count ==13
[2025-03-10 08:42:03] Production.INFO: ==20364== Releasing lock...
[2025-03-10 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08: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-03-10 08:42:03] Production.INFO: count ==21
[2025-03-10 08:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648363') start
[2025-03-10 08:42:03] Production.INFO: ==20370== Lock acquired, processing the job...
[2025-03-10 08:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:42:03] Production.INFO: ==20368== Lock acquired, processing the job...
[2025-03-10 08:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:42:03] Production.INFO: ==20366== Lock acquired, processing the job...
[2025-03-10 08:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648363') end
[2025-03-10 08:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:42:03] Production.INFO: 1
[2025-03-10 08:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:42:04] Production.INFO: ==20372== Releasing lock...
[2025-03-10 08:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:42:04] Production.INFO: Account Balance Start.
[2025-03-10 08:42:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:42:04] Production.INFO: 117
[2025-03-10 08:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:42:04] Production.INFO: Total Charge 0
[2025-03-10 08:42:04] Production.INFO: CreateAllLog End
[2025-03-10 08:42:04] Production.ERROR: done
[2025-03-10 08:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:42:04] Production.INFO: Account Balance End.
[2025-03-10 08:42:04] Production.ERROR: done
[2025-03-10 08:42:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:42:04] Production.INFO: ==20368== Releasing lock...
[2025-03-10 08:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:42:05
[end_date_ymd] => 2025-03-10 08:42:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:42:05' and `end` < '2025-03-10 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-03-10 08:42:12] Production.ERROR: CronJobId end10
[2025-03-10 08:42:12] Production.INFO: ==20366== Releasing lock...
[2025-03-10 08:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:42:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:42:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:42:14] Production.INFO: call_cost start
[2025-03-10 08:42:14] Production.INFO: call_cost end
[2025-03-10 08:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:42:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:42:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:42:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:42:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:42:15] Production.INFO: ==20362== Releasing lock...
[2025-03-10 08:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:42:17] Production.INFO: count ==738
[2025-03-10 08:42:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:42:05 - End Time 2025-03-10 08:42:05
[2025-03-10 08:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648365', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648365', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648365', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648365', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:42:17] Production.INFO: ProcessCDR(1,14648365,1,1,2)
[2025-03-10 08:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648365', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648365', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:42:22] Production.INFO: ==20370== Releasing lock...
[2025-03-10 08:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:42:22] Production.INFO: 33.75 MB #Memory Used#
[2025-03-10 12:43:02] Production.INFO: ==20426== Lock acquired, processing the job...
[2025-03-10 12:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:43:02] Production.INFO: neon service started
[2025-03-10 12:43:02] Production.INFO: neon service started
[2025-03-10 12:43:02] Production.INFO: ==20426== Releasing lock...
[2025-03-10 12:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:43:02] Production.INFO: ==20428== Lock acquired, processing the job...
[2025-03-10 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:43:02] Production.INFO: ==20428== Releasing lock...
[2025-03-10 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:43:03] Production.INFO: ==20430== Lock acquired, processing the job...
[2025-03-10 12:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:43:03] Production.INFO: ==20430== Releasing lock...
[2025-03-10 12:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:43:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:43:03] Production.INFO: ==20435== Lock acquired, processing the job...
[2025-03-10 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:43:04] Production.INFO: ==20443== Lock acquired, processing the job...
[2025-03-10 08:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:43:04] Production.INFO: ==20433== Lock acquired, processing the job...
[2025-03-10 08:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:43:04] Production.INFO: ==20437== Lock acquired, processing the job...
[2025-03-10 08:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 08:43:04] Production.INFO: count ==13
[2025-03-10 08:43:04] Production.INFO: ==20439== Lock acquired, processing the job...
[2025-03-10 08:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 08:43:04] Production.INFO: count ==21
[2025-03-10 08:43:04] Production.INFO: ==20441== Lock acquired, processing the job...
[2025-03-10 08:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648367') start
[2025-03-10 08:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:43:04] Production.INFO: Account Balance Start.
[2025-03-10 08:43:04] Production.INFO: ==20435== Releasing lock...
[2025-03-10 08:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:43:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:43:04] Production.INFO: 117
[2025-03-10 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648367') end
[2025-03-10 08:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:43:04] Production.INFO: 1
[2025-03-10 08:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:43:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:43:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:43:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:43:04] Production.INFO: Total Charge 0
[2025-03-10 08:43:04] Production.INFO: CreateAllLog End
[2025-03-10 08:43:04] Production.INFO: ==20443== Releasing lock...
[2025-03-10 08:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:43:04] Production.ERROR: done
[2025-03-10 08:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:43:04] Production.INFO: Account Balance End.
[2025-03-10 08:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:43:04] Production.INFO: ==20439== Releasing lock...
[2025-03-10 08:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:43:04] Production.ERROR: done
[2025-03-10 08:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:43:05
[end_date_ymd] => 2025-03-10 08:43:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:43:05' and `end` < '2025-03-10 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-03-10 08:43:12] Production.ERROR: CronJobId end10
[2025-03-10 08:43:12] Production.INFO: ==20437== Releasing lock...
[2025-03-10 08:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:43:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:43:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:43:15] Production.INFO: call_cost start
[2025-03-10 08:43:15] Production.INFO: call_cost end
[2025-03-10 08:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:43:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:43:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:43:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:43:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:43:15] Production.INFO: ==20433== Releasing lock...
[2025-03-10 08:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:43:18] Production.INFO: count ==747
[2025-03-10 08:43:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:43:05 - End Time 2025-03-10 08:43:05
[2025-03-10 08:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648370', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648370', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648370', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648370', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:43:18] Production.INFO: ProcessCDR(1,14648370,1,1,2)
[2025-03-10 08:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648370', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648370', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:43:23] Production.INFO: ==20441== Releasing lock...
[2025-03-10 08:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:43:23] Production.INFO: 34 MB #Memory Used#
[2025-03-10 12:44:01] Production.INFO: ==20499== Lock acquired, processing the job...
[2025-03-10 12:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:44:01] Production.INFO: neon service started
[2025-03-10 12:44:01] Production.INFO: neon service started
[2025-03-10 12:44:01] Production.INFO: ==20499== Releasing lock...
[2025-03-10 12:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:44:02] Production.INFO: ==20503== Lock acquired, processing the job...
[2025-03-10 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:44:02] Production.INFO: ==20503== Releasing lock...
[2025-03-10 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:44:02] Production.INFO: ==20501== Lock acquired, processing the job...
[2025-03-10 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:44:02] Production.INFO: ==20501== Releasing lock...
[2025-03-10 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:44:03] Production.INFO: ==20506== Lock acquired, processing the job...
[2025-03-10 08:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:44:03] Production.INFO: ==20508== Lock acquired, processing the job...
[2025-03-10 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:44:03] Production.INFO: ==20514== Lock acquired, processing the job...
[2025-03-10 08:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:44:03] Production.INFO: ==20512== Lock acquired, processing the job...
[2025-03-10 08:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:44:03] Production.INFO: ==20510== Lock acquired, processing the job...
[2025-03-10 08:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:44:03] Production.INFO: ==20516== Lock acquired, processing the job...
[2025-03-10 08:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:44:03] Production.INFO: ==20508== Releasing lock...
[2025-03-10 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:44:03] Production.INFO: Account Balance Start.
[2025-03-10 08:44:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:44:03] Production.INFO: 117
[2025-03-10 08:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:44:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 08:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:44:04] Production.INFO: count ==13
[2025-03-10 08:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 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-03-10 08:44:04] Production.INFO: count ==21
[2025-03-10 08:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648374') start
[2025-03-10 08:44:04] Production.ERROR: done
[2025-03-10 08:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648374') end
[2025-03-10 08:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:44:04] Production.INFO: 1
[2025-03-10 08:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:44:04] Production.INFO: ==20516== Releasing lock...
[2025-03-10 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:44:04] Production.INFO: Total Charge 0
[2025-03-10 08:44:04] Production.INFO: CreateAllLog End
[2025-03-10 08:44:04] Production.ERROR: done
[2025-03-10 08:44:04] Production.INFO: Account Balance End.
[2025-03-10 08:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:44:04] Production.INFO: ==20512== Releasing lock...
[2025-03-10 08:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:44:05
[end_date_ymd] => 2025-03-10 08:44:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:44:05' and `end` < '2025-03-10 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-03-10 08:44:11] Production.ERROR: CronJobId end10
[2025-03-10 08:44:11] Production.INFO: ==20510== Releasing lock...
[2025-03-10 08:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:44:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:44:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:44:14] Production.INFO: call_cost start
[2025-03-10 08:44:14] Production.INFO: call_cost end
[2025-03-10 08:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:44:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:44:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:44:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:44:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:44:15] Production.INFO: ==20506== Releasing lock...
[2025-03-10 08:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:44:17] Production.INFO: count ==747
[2025-03-10 08:44:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:44:05 - End Time 2025-03-10 08:44:05
[2025-03-10 08:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648375', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648375', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648375', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648375', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:44:17] Production.INFO: ProcessCDR(1,14648375,1,1,2)
[2025-03-10 08:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648375', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648375', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:44:21] Production.INFO: ==20514== Releasing lock...
[2025-03-10 08:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:44:21] Production.INFO: 34 MB #Memory Used#
[2025-03-10 12:45:02] Production.INFO: ==20574== Lock acquired, processing the job...
[2025-03-10 12:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:45:02] Production.INFO: neon service started
[2025-03-10 12:45:02] Production.INFO: neon service started
[2025-03-10 12:45:02] Production.INFO: ==20574== Releasing lock...
[2025-03-10 12:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:45:02] Production.INFO: ==20576== Lock acquired, processing the job...
[2025-03-10 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:45:02] Production.INFO: ==20578== Lock acquired, processing the job...
[2025-03-10 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:45:02] Production.INFO: ==20578== Releasing lock...
[2025-03-10 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:45:03] Production.INFO: ==20576== Releasing lock...
[2025-03-10 08:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:45:03] Production.INFO: ==20585== Lock acquired, processing the job...
[2025-03-10 08:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:45:03] Production.INFO: ==20581== Lock acquired, processing the job...
[2025-03-10 08:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:45:04] Production.INFO: ==20583== Lock acquired, processing the job...
[2025-03-10 08:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:45:04] Production.INFO: ==20591== Lock acquired, processing the job...
[2025-03-10 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:45:04] Production.INFO: ==20587== Lock acquired, processing the job...
[2025-03-10 08:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 08:45:04] Production.INFO: ==20589== Lock acquired, processing the job...
[2025-03-10 08:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:45:04] Production.INFO: Account Balance Start.
[2025-03-10 08:45:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:45:04] Production.INFO: 117
[2025-03-10 08:45:04] Production.INFO: count ==13
[2025-03-10 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-03-10 08:45:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:45:04] Production.INFO: count ==21
[2025-03-10 08:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648378') start
[2025-03-10 08:45:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648378') end
[2025-03-10 08:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:45:04] Production.INFO: 1
[2025-03-10 08:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:45:04] Production.INFO: ==20591== Releasing lock...
[2025-03-10 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:45:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:45:04] Production.INFO: Total Charge 0
[2025-03-10 08:45:04] Production.INFO: CreateAllLog End
[2025-03-10 08:45:04] Production.INFO: ==20583== Releasing lock...
[2025-03-10 08:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:45:04] Production.ERROR: done
[2025-03-10 08:45:04] Production.INFO: Account Balance End.
[2025-03-10 08:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:45:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:45:04] Production.INFO: ==20587== Releasing lock...
[2025-03-10 08:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:45:05] Production.ERROR: done
[2025-03-10 08:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:45:06
[end_date_ymd] => 2025-03-10 08:45:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:45:06' and `end` < '2025-03-10 08: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-03-10 08:45:12] Production.ERROR: CronJobId end10
[2025-03-10 08:45:12] Production.INFO: ==20585== Releasing lock...
[2025-03-10 08:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:45:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:45:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:45:13] Production.INFO: call_cost start
[2025-03-10 08:45:13] Production.INFO: call_cost end
[2025-03-10 08:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:45:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:45:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:45:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:45:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:45:14] Production.INFO: ==20581== Releasing lock...
[2025-03-10 08:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:45:18] Production.INFO: count ==754
[2025-03-10 08:45:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:45:06 - End Time 2025-03-10 08:45:06
[2025-03-10 08:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648380', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648380', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648380', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648380', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:45:18] Production.INFO: ProcessCDR(1,14648380,1,1,2)
[2025-03-10 08:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648380', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648380', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:45:21] Production.INFO: ==20589== Releasing lock...
[2025-03-10 08:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:45:21] Production.INFO: 33.75 MB #Memory Used#
[2025-03-10 12:46:01] Production.INFO: ==20643== Lock acquired, processing the job...
[2025-03-10 12:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:46:01] Production.INFO: neon service started
[2025-03-10 12:46:01] Production.INFO: neon service started
[2025-03-10 12:46:01] Production.INFO: ==20643== Releasing lock...
[2025-03-10 12:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:46:01] Production.INFO: ==20647== Lock acquired, processing the job...
[2025-03-10 12:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:46:01] Production.INFO: ==20647== Releasing lock...
[2025-03-10 12:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:46:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:46:02] Production.INFO: ==20645== Lock acquired, processing the job...
[2025-03-10 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:46:02] Production.INFO: ==20645== Releasing lock...
[2025-03-10 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:46:03] Production.INFO: ==20652== Lock acquired, processing the job...
[2025-03-10 08:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:46:03] Production.INFO: ==20658== Lock acquired, processing the job...
[2025-03-10 08:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:46:03] Production.INFO: ==20654== Lock acquired, processing the job...
[2025-03-10 08:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:46:03] Production.INFO: ==20650== Lock acquired, processing the job...
[2025-03-10 08:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:46:03] Production.INFO: ==20652== Releasing lock...
[2025-03-10 08:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:46:03] Production.INFO: ==20656== Lock acquired, processing the job...
[2025-03-10 08:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:46:03] Production.INFO: ==20660== Lock acquired, processing the job...
[2025-03-10 08:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:46:03] Production.INFO: Account Balance Start.
[2025-03-10 08:46:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:46:03] Production.INFO: 117
[2025-03-10 08:46:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:46:03] Production.ERROR: done
[2025-03-10 08:46:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:46:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:46:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 08:46:03] Production.INFO: Date 2025-03-10
[2025-03-10 08:46:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:46:03] Production.INFO: count ==13
[2025-03-10 08:46:03] Production.INFO: Total Charge 0
[2025-03-10 08:46:03] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 08:46:03] Production.INFO: count ==21
[2025-03-10 08:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648384') start
[2025-03-10 08:46:04] Production.ERROR: done
[2025-03-10 08:46:04] Production.INFO: Account Balance End.
[2025-03-10 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648384') end
[2025-03-10 08:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:46:04] Production.INFO: 1
[2025-03-10 08:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:46:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:46:04] Production.INFO: ==20656== Releasing lock...
[2025-03-10 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:46:04] Production.INFO: ==20660== Releasing lock...
[2025-03-10 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:46:05
[end_date_ymd] => 2025-03-10 08:46:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:46:05' and `end` < '2025-03-10 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-03-10 08:46:12] Production.ERROR: CronJobId end10
[2025-03-10 08:46:12] Production.INFO: ==20654== Releasing lock...
[2025-03-10 08:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:46:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:46:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:46:14] Production.INFO: call_cost start
[2025-03-10 08:46:14] Production.INFO: call_cost end
[2025-03-10 08:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:46:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:46:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:46:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:46:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:46:15] Production.INFO: ==20650== Releasing lock...
[2025-03-10 08:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:46:17] Production.INFO: count ==764
[2025-03-10 08:46:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:46:05 - End Time 2025-03-10 08:46:05
[2025-03-10 08:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648385', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648385', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648385', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648385', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:46:17] Production.INFO: ProcessCDR(1,14648385,1,1,2)
[2025-03-10 08:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648385', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648385', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:46:22] Production.INFO: ==20658== Releasing lock...
[2025-03-10 08:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:46:22] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 12:47:01] Production.INFO: ==20715== Lock acquired, processing the job...
[2025-03-10 12:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:47:01] Production.INFO: neon service started
[2025-03-10 12:47:02] Production.INFO: neon service started
[2025-03-10 12:47:02] Production.INFO: ==20715== Releasing lock...
[2025-03-10 12:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:47:02] Production.INFO: ==20717== Lock acquired, processing the job...
[2025-03-10 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:47:02] Production.INFO: ==20717== Releasing lock...
[2025-03-10 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:47:02] Production.INFO: ==20719== Lock acquired, processing the job...
[2025-03-10 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:47:03] Production.INFO: ==20719== Releasing lock...
[2025-03-10 12:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:47:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:47:03] Production.INFO: ==20724== Lock acquired, processing the job...
[2025-03-10 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:47:03] Production.INFO: ==20722== Lock acquired, processing the job...
[2025-03-10 08:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:47:03] Production.INFO: ==20726== Lock acquired, processing the job...
[2025-03-10 08:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:47:03] Production.INFO: ==20728== Lock acquired, processing the job...
[2025-03-10 08:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:47:03] Production.INFO: ==20732== Lock acquired, processing the job...
[2025-03-10 08:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:47:03] Production.INFO: ==20730== Lock acquired, processing the job...
[2025-03-10 08:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:47:03] Production.INFO: Account Balance Start.
[2025-03-10 08:47:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:47:03] Production.INFO: 117
[2025-03-10 08:47:03] Production.INFO: Date 2025-03-08
[2025-03-10 08: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-03-10 08:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:47:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:47:03] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:47:03] Production.INFO: count ==21
[2025-03-10 08:47:03] Production.INFO: Date 2025-03-10
[2025-03-10 08:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648389') start
[2025-03-10 08:47:03] Production.INFO: Total Charge 0
[2025-03-10 08:47:03] Production.INFO: CreateAllLog End
[2025-03-10 08:47:03] Production.INFO: ==20724== Releasing lock...
[2025-03-10 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:47:04] Production.ERROR: done
[2025-03-10 08:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648389') end
[2025-03-10 08:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:47:04] Production.INFO: 1
[2025-03-10 08:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:47:04] Production.INFO: ==20732== Releasing lock...
[2025-03-10 08:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:47:04] Production.ERROR: done
[2025-03-10 08:47:04] Production.INFO: Account Balance End.
[2025-03-10 08:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:47:04] Production.INFO: ==20728== Releasing lock...
[2025-03-10 08:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:47:05
[end_date_ymd] => 2025-03-10 08:47:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:47:05' and `end` < '2025-03-10 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-03-10 08:47:10] Production.ERROR: CronJobId end10
[2025-03-10 08:47:10] Production.INFO: ==20726== Releasing lock...
[2025-03-10 08:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:47:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:47:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:47:14] Production.INFO: call_cost start
[2025-03-10 08:47:14] Production.INFO: call_cost end
[2025-03-10 08:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:47:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:47:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:47:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:47:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:47:15] Production.INFO: ==20722== Releasing lock...
[2025-03-10 08:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:47:17] Production.INFO: count ==773
[2025-03-10 08:47:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:47:05 - End Time 2025-03-10 08:47:05
[2025-03-10 08:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648390', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648390', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648390', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648390', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:47:17] Production.INFO: ProcessCDR(1,14648390,1,1,2)
[2025-03-10 08:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648390', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648390', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:47:22] Production.INFO: ==20730== Releasing lock...
[2025-03-10 08:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:47:22] Production.INFO: 34.5 MB #Memory Used#
[2025-03-10 12:48:01] Production.INFO: ==20786== Lock acquired, processing the job...
[2025-03-10 12:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:48:01] Production.INFO: neon service started
[2025-03-10 12:48:01] Production.INFO: neon service started
[2025-03-10 12:48:01] Production.INFO: ==20786== Releasing lock...
[2025-03-10 12:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:48:01] Production.INFO: ==20788== Lock acquired, processing the job...
[2025-03-10 08:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:48:02] Production.INFO: ==20788== Releasing lock...
[2025-03-10 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:48:02] Production.INFO: ==20790== Lock acquired, processing the job...
[2025-03-10 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:48:02] Production.INFO: ==20790== Releasing lock...
[2025-03-10 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:48:03] Production.INFO: ==20792== Lock acquired, processing the job...
[2025-03-10 08:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:48:03] Production.INFO: ==20794== Lock acquired, processing the job...
[2025-03-10 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:48:03] Production.INFO: ==20796== Lock acquired, processing the job...
[2025-03-10 08:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:48:03] Production.INFO: ==20798== Lock acquired, processing the job...
[2025-03-10 08:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:48:03] Production.INFO: ==20800== Lock acquired, processing the job...
[2025-03-10 08:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:48:03] Production.INFO: ==20802== Lock acquired, processing the job...
[2025-03-10 08:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:48:03] Production.INFO: Account Balance Start.
[2025-03-10 08:48:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:48:03] Production.INFO: 117
[2025-03-10 08:48:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:48:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 08: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-03-10 08:48:03] Production.INFO: count ==13
[2025-03-10 08:48:03] Production.INFO: Date 2025-03-10
[2025-03-10 08: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-03-10 08:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:48:03] Production.INFO: ==20794== Releasing lock...
[2025-03-10 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:48:03] Production.INFO: count ==21
[2025-03-10 08:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648394') start
[2025-03-10 08:48:03] Production.INFO: Total Charge 0
[2025-03-10 08:48:03] Production.INFO: CreateAllLog End
[2025-03-10 08:48:03] Production.ERROR: done
[2025-03-10 08:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648394') end
[2025-03-10 08:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:48:03] Production.INFO: 1
[2025-03-10 08:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:48:04] Production.INFO: ==20802== Releasing lock...
[2025-03-10 08:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:48:04] Production.INFO: Account Balance End.
[2025-03-10 08:48:04] Production.ERROR: done
[2025-03-10 08:48:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:48:04] Production.INFO: ==20798== Releasing lock...
[2025-03-10 08:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:48:05
[end_date_ymd] => 2025-03-10 08:48:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:48:05' and `end` < '2025-03-10 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-03-10 08:48:12] Production.ERROR: CronJobId end10
[2025-03-10 08:48:12] Production.INFO: ==20796== Releasing lock...
[2025-03-10 08:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:48:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:48:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:48:14] Production.INFO: call_cost start
[2025-03-10 08:48:14] Production.INFO: call_cost end
[2025-03-10 08:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:48:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:48:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:48:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:48:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:48:15] Production.INFO: ==20792== Releasing lock...
[2025-03-10 08:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:48:17] Production.INFO: count ==793
[2025-03-10 08:48:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:48:05 - End Time 2025-03-10 08:48:05
[2025-03-10 08:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648395', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648395', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648395', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648395', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:48:17] Production.INFO: ProcessCDR(1,14648395,1,1,2)
[2025-03-10 08:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648395', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648395', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:48:21] Production.INFO: ==20800== Releasing lock...
[2025-03-10 08:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:48:21] Production.INFO: 34 MB #Memory Used#
[2025-03-10 12:49:01] Production.INFO: ==20857== Lock acquired, processing the job...
[2025-03-10 12:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:49:01] Production.INFO: neon service started
[2025-03-10 12:49:01] Production.INFO: neon service started
[2025-03-10 12:49:01] Production.INFO: ==20857== Releasing lock...
[2025-03-10 12:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:49:02] Production.INFO: ==20860== Lock acquired, processing the job...
[2025-03-10 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:49:02] Production.INFO: ==20860== Releasing lock...
[2025-03-10 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:49:02] Production.INFO: ==20862== Lock acquired, processing the job...
[2025-03-10 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:49:02] Production.INFO: ==20862== Releasing lock...
[2025-03-10 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:49:03] Production.INFO: ==20868== Lock acquired, processing the job...
[2025-03-10 08:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:49:03] Production.INFO: ==20874== Lock acquired, processing the job...
[2025-03-10 08:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08: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-03-10 08:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:49:03] Production.INFO: count ==13
[2025-03-10 08:49:03] Production.INFO: ==20864== Lock acquired, processing the job...
[2025-03-10 08:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08: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-03-10 08:49:03] Production.INFO: ==20866== Lock acquired, processing the job...
[2025-03-10 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:49:03] Production.INFO: count ==21
[2025-03-10 08:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648396') start
[2025-03-10 08:49:03] Production.INFO: ==20870== Lock acquired, processing the job...
[2025-03-10 08:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:49:03] Production.INFO: ==20872== Lock acquired, processing the job...
[2025-03-10 08:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648396') end
[2025-03-10 08:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:49:03] Production.INFO: 1
[2025-03-10 08:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:49:04] Production.INFO: ==20874== Releasing lock...
[2025-03-10 08:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:49:04] Production.INFO: Account Balance Start.
[2025-03-10 08:49:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:49:04] Production.INFO: 117
[2025-03-10 08:49:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:49:04] Production.INFO: ==20866== Releasing lock...
[2025-03-10 08:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:49:04] Production.INFO: Total Charge 0
[2025-03-10 08:49:04] Production.INFO: CreateAllLog End
[2025-03-10 08:49:04] Production.ERROR: done
[2025-03-10 08:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:49:04] Production.ERROR: done
[2025-03-10 08:49:04] Production.INFO: Account Balance End.
[2025-03-10 08:49:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:49:04] Production.INFO: ==20870== Releasing lock...
[2025-03-10 08:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:49:05
[end_date_ymd] => 2025-03-10 08:49:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:49:05' and `end` < '2025-03-10 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-03-10 08:49:12] Production.ERROR: CronJobId end10
[2025-03-10 08:49:12] Production.INFO: ==20868== Releasing lock...
[2025-03-10 08:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:49:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:49:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:49:14] Production.INFO: call_cost start
[2025-03-10 08:49:14] Production.INFO: call_cost end
[2025-03-10 08:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:49:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:49:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:49:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:49:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:49:15] Production.INFO: ==20864== Releasing lock...
[2025-03-10 08:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:49:17] Production.INFO: count ==794
[2025-03-10 08:49:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:49:05 - End Time 2025-03-10 08:49:05
[2025-03-10 08:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648400', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648400', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648400', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648400', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:49:18] Production.INFO: ProcessCDR(1,14648400,1,1,2)
[2025-03-10 08:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648400', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648400', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:49:23] Production.INFO: ==20872== Releasing lock...
[2025-03-10 08:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:49:23] Production.INFO: 34 MB #Memory Used#
[2025-03-10 12:50:02] Production.INFO: ==20928== Lock acquired, processing the job...
[2025-03-10 12:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:50:02] Production.INFO: neon service started
[2025-03-10 12:50:02] Production.INFO: neon service started
[2025-03-10 12:50:02] Production.INFO: ==20928== Releasing lock...
[2025-03-10 12:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:50:02] Production.INFO: ==20930== Lock acquired, processing the job...
[2025-03-10 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:50:03] Production.INFO: ==20932== Lock acquired, processing the job...
[2025-03-10 12:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:50:03] Production.INFO: ==20930== Releasing lock...
[2025-03-10 08:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:50:03] Production.INFO: ==20932== Releasing lock...
[2025-03-10 12:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:50:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:50:04] Production.INFO: ==20935== Lock acquired, processing the job...
[2025-03-10 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 08:50:04] Production.INFO: ==20937== Lock acquired, processing the job...
[2025-03-10 08:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 08:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 08:50:04] Production.INFO: ==20935== Releasing lock...
[2025-03-10 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 08:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 08:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:50:04] Production.INFO: ==20941== Lock acquired, processing the job...
[2025-03-10 08:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:50:04] Production.INFO: ==20945== Lock acquired, processing the job...
[2025-03-10 08:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:50:04] Production.INFO: ==20939== Lock acquired, processing the job...
[2025-03-10 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:50:04] Production.INFO: ==20949== Lock acquired, processing the job...
[2025-03-10 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:50:04] Production.INFO: ==20943== Lock acquired, processing the job...
[2025-03-10 08:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:50:04] Production.INFO: ==20947== Lock acquired, processing the job...
[2025-03-10 08:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 08:50:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08: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-03-10 08:50:05] Production.ERROR: done
[2025-03-10 08:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:50:05] Production.INFO: Account Balance Start.
[2025-03-10 08:50:05] Production.INFO: CreateAllLog Start
[2025-03-10 08:50:05] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:50:05] Production.INFO: 117
[2025-03-10 08:50:05] Production.INFO: count ==21
[2025-03-10 08:50:05] Production.INFO: Date 2025-03-08
[2025-03-10 08:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648402') start
[2025-03-10 08:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 08:50:05] Production.INFO: Date 2025-03-09
[2025-03-10 08:50:05] Production.ERROR: done
[2025-03-10 08:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 08:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648402') end
[2025-03-10 08:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:50:05] Production.INFO: 1
[2025-03-10 08:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:50:05] Production.INFO: ==20949== Releasing lock...
[2025-03-10 08:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:50:05] Production.INFO: Date 2025-03-10
[2025-03-10 08:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 08:50:05] Production.ERROR: done
[2025-03-10 08:50:05] Production.INFO: ==20939== Releasing lock...
[2025-03-10 08:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 08:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648406', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 08:50:05] Production.INFO: Total Charge 0
[2025-03-10 08:50:05] Production.INFO: CreateAllLog End
[2025-03-10 08:50:05] Production.INFO: Account Balance End.
[2025-03-10 08:50:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:50:05] Production.INFO: ==20943== Releasing lock...
[2025-03-10 08:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:50:06
[end_date_ymd] => 2025-03-10 08:50:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:50:06' and `end` < '2025-03-10 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-03-10 08:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648406', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 08:50:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 08:50:10] Production.INFO: ProcessCDR(1,14648406,1,1,2)
[2025-03-10 08:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648406,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648406,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:50:10] Production.INFO: ==20947== Releasing lock...
[2025-03-10 08:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 08:50:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 08:50:16] Production.ERROR: CronJobId end10
[2025-03-10 08:50:16] Production.INFO: ==20941== Releasing lock...
[2025-03-10 08:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:50:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:50:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:50:18] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:50:18] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:50:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:50:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:50:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:50:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:50:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:50:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:50:18] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:50:18] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:50:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:50:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:50:18] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:50:18] Production.INFO: call_cost start
[2025-03-10 08:50:18] Production.INFO: call_cost end
[2025-03-10 08:50:19] Production.INFO: count ==808
[2025-03-10 08:50:19] Production.ERROR: pbx CDR StartTime 2025-03-10 05:50:06 - End Time 2025-03-10 08:50:06
[2025-03-10 08:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648405', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648405', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648405', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648405', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:50:19] Production.INFO: ProcessCDR(1,14648405,1,1,2)
[2025-03-10 08:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:50:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:50:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:50:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:50:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:50:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:50:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:50:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:50:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:50:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:50:19] Production.INFO: ==20937== Releasing lock...
[2025-03-10 08:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:50:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648405', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648405', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:50:24] Production.INFO: ==20945== Releasing lock...
[2025-03-10 08:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:50:24] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 12:51:01] Production.INFO: ==21004== Lock acquired, processing the job...
[2025-03-10 12:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:51:01] Production.INFO: neon service started
[2025-03-10 12:51:01] Production.INFO: neon service started
[2025-03-10 12:51:01] Production.INFO: ==21004== Releasing lock...
[2025-03-10 12:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:51:02] Production.INFO: ==21006== Lock acquired, processing the job...
[2025-03-10 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:51:02] Production.INFO: ==21006== Releasing lock...
[2025-03-10 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:51:02] Production.INFO: ==21008== Lock acquired, processing the job...
[2025-03-10 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:51:02] Production.INFO: ==21008== Releasing lock...
[2025-03-10 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:51:03] Production.INFO: ==21015== Lock acquired, processing the job...
[2025-03-10 08:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:51:03] Production.INFO: ==21019== Lock acquired, processing the job...
[2025-03-10 08:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:51:03] Production.INFO: ==21011== Lock acquired, processing the job...
[2025-03-10 08:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:51:03] Production.INFO: ==21013== Lock acquired, processing the job...
[2025-03-10 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:51:03] Production.INFO: ==21017== Lock acquired, processing the job...
[2025-03-10 08:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:51:03] Production.INFO: ==21021== Lock acquired, processing the job...
[2025-03-10 08:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:51:04] Production.INFO: Account Balance Start.
[2025-03-10 08:51:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:51:04] Production.INFO: 117
[2025-03-10 08:51:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 08:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:51:04] Production.INFO: count ==13
[2025-03-10 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-03-10 08:51:04] Production.INFO: count ==21
[2025-03-10 08:51:04] Production.INFO: ==21013== Releasing lock...
[2025-03-10 08:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:51:04] Production.ERROR: done
[2025-03-10 08:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:51:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648410') start
[2025-03-10 08:51:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648410') end
[2025-03-10 08:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:51:04] Production.INFO: 1
[2025-03-10 08:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:51:04] Production.ERROR: done
[2025-03-10 08:51:04] Production.INFO: ==21021== Releasing lock...
[2025-03-10 08:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:51:04] Production.INFO: Total Charge 0
[2025-03-10 08:51:04] Production.INFO: CreateAllLog End
[2025-03-10 08:51:04] Production.INFO: Account Balance End.
[2025-03-10 08:51:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:51:04] Production.INFO: ==21017== Releasing lock...
[2025-03-10 08:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:51:05
[end_date_ymd] => 2025-03-10 08:51:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:51:05' and `end` < '2025-03-10 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-03-10 08:51:12] Production.ERROR: CronJobId end10
[2025-03-10 08:51:12] Production.INFO: ==21015== Releasing lock...
[2025-03-10 08:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:51:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:51:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:51:14] Production.INFO: call_cost start
[2025-03-10 08:51:14] Production.INFO: call_cost end
[2025-03-10 08:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:51:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:51:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:51:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:51:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:51:15] Production.INFO: ==21011== Releasing lock...
[2025-03-10 08:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:51:17] Production.INFO: count ==841
[2025-03-10 08:51:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:51:05 - End Time 2025-03-10 08:51:05
[2025-03-10 08:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648411', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648411', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648411', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648411', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:51:18] Production.INFO: ProcessCDR(1,14648411,1,1,2)
[2025-03-10 08:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648411', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648411', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:51:23] Production.INFO: ==21019== Releasing lock...
[2025-03-10 08:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:51:23] Production.INFO: 34.75 MB #Memory Used#
[2025-03-10 12:52:02] Production.INFO: ==21075== Lock acquired, processing the job...
[2025-03-10 12:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:52:02] Production.INFO: neon service started
[2025-03-10 12:52:02] Production.INFO: neon service started
[2025-03-10 12:52:02] Production.INFO: ==21075== Releasing lock...
[2025-03-10 12:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:52:02] Production.INFO: ==21077== Lock acquired, processing the job...
[2025-03-10 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:52:03] Production.INFO: ==21077== Releasing lock...
[2025-03-10 08:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:52:03] Production.INFO: ==21079== Lock acquired, processing the job...
[2025-03-10 12:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:52:03] Production.INFO: ==21079== Releasing lock...
[2025-03-10 12:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:52:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:52:04] Production.INFO: ==21090== Lock acquired, processing the job...
[2025-03-10 08:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:52:04] Production.INFO: ==21092== Lock acquired, processing the job...
[2025-03-10 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:52:04] Production.INFO: ==21082== Lock acquired, processing the job...
[2025-03-10 08:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:52:04] Production.INFO: ==21084== Lock acquired, processing the job...
[2025-03-10 08:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:52:04] Production.INFO: ==21086== Lock acquired, processing the job...
[2025-03-10 08:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:52:04] Production.INFO: ==21088== Lock acquired, processing the job...
[2025-03-10 08:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:52:04] Production.INFO: Account Balance Start.
[2025-03-10 08:52:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:52:04] Production.INFO: 117
[2025-03-10 08:52:04] Production.INFO: Date 2025-03-08
[2025-03-10 08: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-03-10 08:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:52:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:52:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:52:04] Production.INFO: count ==21
[2025-03-10 08:52:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648412') start
[2025-03-10 08:52:04] Production.INFO: Total Charge 0
[2025-03-10 08:52:04] Production.INFO: ==21084== Releasing lock...
[2025-03-10 08:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:52:04] Production.INFO: CreateAllLog End
[2025-03-10 08:52:04] Production.ERROR: done
[2025-03-10 08:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648412') end
[2025-03-10 08:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:52:04] Production.INFO: 1
[2025-03-10 08:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:52:04] Production.INFO: ==21092== Releasing lock...
[2025-03-10 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:52:04] Production.ERROR: done
[2025-03-10 08:52:05] Production.INFO: Account Balance End.
[2025-03-10 08:52:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:52:05] Production.INFO: ==21088== Releasing lock...
[2025-03-10 08:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:52:05
[end_date_ymd] => 2025-03-10 08:52:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:52:05' and `end` < '2025-03-10 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-03-10 08:52:12] Production.ERROR: CronJobId end10
[2025-03-10 08:52:12] Production.INFO: ==21086== Releasing lock...
[2025-03-10 08:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:52:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:52:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:52:15] Production.INFO: call_cost start
[2025-03-10 08:52:15] Production.INFO: call_cost end
[2025-03-10 08:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:52:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:52:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:52:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:52:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:52:16] Production.INFO: ==21082== Releasing lock...
[2025-03-10 08:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:52:17] Production.INFO: count ==843
[2025-03-10 08:52:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:52:05 - End Time 2025-03-10 08:52:05
[2025-03-10 08:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648416', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648416', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648416', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648416', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:52:18] Production.INFO: ProcessCDR(1,14648416,1,1,2)
[2025-03-10 08:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648416', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648416', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:52:22] Production.INFO: ==21090== Releasing lock...
[2025-03-10 08:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:52:22] Production.INFO: 34.75 MB #Memory Used#
[2025-03-10 12:53:01] Production.INFO: ==21150== Lock acquired, processing the job...
[2025-03-10 12:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:53:01] Production.INFO: neon service started
[2025-03-10 12:53:01] Production.INFO: neon service started
[2025-03-10 12:53:01] Production.INFO: ==21150== Releasing lock...
[2025-03-10 12:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:53:02] Production.INFO: ==21154== Lock acquired, processing the job...
[2025-03-10 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:53:02] Production.INFO: ==21154== Releasing lock...
[2025-03-10 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:53:02] Production.INFO: ==21152== Lock acquired, processing the job...
[2025-03-10 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:53:02] Production.INFO: ==21152== Releasing lock...
[2025-03-10 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:53:03] Production.INFO: ==21159== Lock acquired, processing the job...
[2025-03-10 08:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:53:03] Production.INFO: ==21163== Lock acquired, processing the job...
[2025-03-10 08:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:53:03] Production.INFO: ==21165== Lock acquired, processing the job...
[2025-03-10 08:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:53:03] Production.INFO: ==21167== Lock acquired, processing the job...
[2025-03-10 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:53:03] Production.INFO: Account Balance Start.
[2025-03-10 08:53:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:53:03] Production.INFO: 117
[2025-03-10 08:53:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:53:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:53:03] Production.INFO: Date 2025-03-10
[2025-03-10 08:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 08:53:03] Production.INFO: Total Charge 0
[2025-03-10 08:53:03] Production.INFO: count ==13
[2025-03-10 08:53:03] Production.INFO: ==21161== Lock acquired, processing the job...
[2025-03-10 08:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:53:03] Production.INFO: ==21157== Lock acquired, processing the job...
[2025-03-10 08:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08: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-03-10 08:53:04] Production.INFO: CreateAllLog End
[2025-03-10 08:53:04] Production.INFO: count ==21
[2025-03-10 08:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648419') start
[2025-03-10 08:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:53:04] Production.ERROR: done
[2025-03-10 08:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:53:04] Production.INFO: ==21159== Releasing lock...
[2025-03-10 08:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648419') end
[2025-03-10 08:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:53:04] Production.INFO: 1
[2025-03-10 08:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:53:04] Production.INFO: ==21167== Releasing lock...
[2025-03-10 08:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:53:04] Production.INFO: Account Balance End.
[2025-03-10 08:53:04] Production.ERROR: done
[2025-03-10 08:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:53:04] Production.INFO: ==21163== Releasing lock...
[2025-03-10 08:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:53:05
[end_date_ymd] => 2025-03-10 08:53:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:53:05' and `end` < '2025-03-10 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-03-10 08:53:12] Production.ERROR: CronJobId end10
[2025-03-10 08:53:12] Production.INFO: ==21161== Releasing lock...
[2025-03-10 08:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:53:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:53:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:53:14] Production.INFO: call_cost start
[2025-03-10 08:53:14] Production.INFO: call_cost end
[2025-03-10 08:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:53:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:53:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:53:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:53:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:53:15] Production.INFO: ==21157== Releasing lock...
[2025-03-10 08:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:53:18] Production.INFO: count ==859
[2025-03-10 08:53:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:53:05 - End Time 2025-03-10 08:53:05
[2025-03-10 08:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648421', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648421', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648421', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648421', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:53:18] Production.INFO: ProcessCDR(1,14648421,1,1,2)
[2025-03-10 08:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648421', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648421', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:53:22] Production.INFO: ==21165== Releasing lock...
[2025-03-10 08:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:53:22] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 12:54:02] Production.INFO: ==21262== Lock acquired, processing the job...
[2025-03-10 12:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:54:02] Production.INFO: neon service started
[2025-03-10 12:54:02] Production.INFO: neon service started
[2025-03-10 12:54:02] Production.INFO: ==21262== Releasing lock...
[2025-03-10 12:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:54:02] Production.INFO: ==21264== Lock acquired, processing the job...
[2025-03-10 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:54:02] Production.INFO: ==21266== Lock acquired, processing the job...
[2025-03-10 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:54:02] Production.INFO: ==21264== Releasing lock...
[2025-03-10 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:54:02] Production.INFO: ==21266== Releasing lock...
[2025-03-10 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:54:03] Production.INFO: ==21268== Lock acquired, processing the job...
[2025-03-10 08:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:54:03] Production.INFO: ==21276== Lock acquired, processing the job...
[2025-03-10 08:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:54:03] Production.INFO: ==21278== Lock acquired, processing the job...
[2025-03-10 08:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:54:03] Production.INFO: ==21270== Lock acquired, processing the job...
[2025-03-10 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08: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-03-10 08:54:04] Production.INFO: ==21272== Lock acquired, processing the job...
[2025-03-10 08:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:54:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:54:04] Production.INFO: ==21274== Lock acquired, processing the job...
[2025-03-10 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:54:04] Production.INFO: count ==21
[2025-03-10 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648423') start
[2025-03-10 08:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648423') end
[2025-03-10 08:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:54:04] Production.INFO: 1
[2025-03-10 08:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:54:04] Production.INFO: Account Balance Start.
[2025-03-10 08:54:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:54:04] Production.INFO: 117
[2025-03-10 08:54:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:54:04] Production.INFO: ==21278== Releasing lock...
[2025-03-10 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:54:04] Production.INFO: ==21270== Releasing lock...
[2025-03-10 08:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:54:04] Production.ERROR: done
[2025-03-10 08:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:54:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:54:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:54:04] Production.INFO: Total Charge 0
[2025-03-10 08:54:04] Production.INFO: CreateAllLog End
[2025-03-10 08:54:04] Production.ERROR: done
[2025-03-10 08:54:04] Production.INFO: Account Balance End.
[2025-03-10 08:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:54:04] Production.INFO: ==21274== Releasing lock...
[2025-03-10 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:54:05
[end_date_ymd] => 2025-03-10 08:54:05
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:54:05' and `end` < '2025-03-10 08: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-03-10 08:54:13] Production.ERROR: CronJobId end10
[2025-03-10 08:54:13] Production.INFO: ==21272== Releasing lock...
[2025-03-10 08:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:54:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:54:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:54:15] Production.INFO: call_cost start
[2025-03-10 08:54:15] Production.INFO: call_cost end
[2025-03-10 08:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:54:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:54:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:54:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:54:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:54:16] Production.INFO: ==21268== Releasing lock...
[2025-03-10 08:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:54:18] Production.INFO: count ==866
[2025-03-10 08:54:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:54:05 - End Time 2025-03-10 08:54:05
[2025-03-10 08:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648426', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648426', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648426', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648426', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:54:18] Production.INFO: ProcessCDR(1,14648426,1,1,2)
[2025-03-10 08:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648426', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648426', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:54:21] Production.INFO: ==21276== Releasing lock...
[2025-03-10 08:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:54:21] Production.INFO: 34.75 MB #Memory Used#
[2025-03-10 12:55:01] Production.INFO: ==21336== Lock acquired, processing the job...
[2025-03-10 12:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:55:01] Production.INFO: neon service started
[2025-03-10 12:55:01] Production.INFO: neon service started
[2025-03-10 12:55:01] Production.INFO: ==21336== Releasing lock...
[2025-03-10 12:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:55:02] Production.INFO: ==21338== Lock acquired, processing the job...
[2025-03-10 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:55:02] Production.INFO: ==21340== Lock acquired, processing the job...
[2025-03-10 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:55:02] Production.INFO: ==21340== Releasing lock...
[2025-03-10 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:55:02] Production.INFO: ==21338== Releasing lock...
[2025-03-10 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:55:04] Production.INFO: ==21347== Lock acquired, processing the job...
[2025-03-10 08:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:55:04] Production.INFO: ==21345== Lock acquired, processing the job...
[2025-03-10 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:55:04] Production.INFO: ==21351== Lock acquired, processing the job...
[2025-03-10 08:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:55:04] Production.INFO: ==21343== Lock acquired, processing the job...
[2025-03-10 08:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:55:04] Production.INFO: ==21349== Lock acquired, processing the job...
[2025-03-10 08:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:55:04] Production.INFO: ==21353== Lock acquired, processing the job...
[2025-03-10 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:55:04] Production.INFO: Account Balance Start.
[2025-03-10 08:55:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:55:04] Production.INFO: 117
[2025-03-10 08:55:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:55:04] Production.INFO: ==21345== Releasing lock...
[2025-03-10 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:55:04] Production.INFO: Total Charge 0
[2025-03-10 08:55:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 08:55:04] Production.INFO: count ==13
[2025-03-10 08:55:04] Production.ERROR: done
[2025-03-10 08:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 08:55:04] Production.INFO: count ==21
[2025-03-10 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648430') start
[2025-03-10 08:55:05] Production.ERROR: done
[2025-03-10 08:55:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648430') end
[2025-03-10 08:55:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:55:05] Production.INFO: 1
[2025-03-10 08:55:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:55:05] Production.INFO: Account Balance End.
[2025-03-10 08:55:05] Production.ERROR: CronJobId end 12
[2025-03-10 08:55:05] Production.INFO: ==21349== Releasing lock...
[2025-03-10 08:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:55:05] Production.INFO: ==21353== Releasing lock...
[2025-03-10 08:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:55:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:55:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:55:06
[end_date_ymd] => 2025-03-10 08:55:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:55:06' and `end` < '2025-03-10 08: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-03-10 08:55:13] Production.ERROR: CronJobId end10
[2025-03-10 08:55:13] Production.INFO: ==21347== Releasing lock...
[2025-03-10 08:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:55:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:55:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:55:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:55:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:55:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:55:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:55:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:55:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:55:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:55:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:55:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:55:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:55:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:55:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:55:16] Production.INFO: call_cost start
[2025-03-10 08:55:16] Production.INFO: call_cost end
[2025-03-10 08:55:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:55:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:55:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:55:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:55:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:55:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:55:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:55:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:55:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:55:17] Production.INFO: ==21343== Releasing lock...
[2025-03-10 08:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:55:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:55:18] Production.INFO: count ==866
[2025-03-10 08:55:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:55:06 - End Time 2025-03-10 08:55:06
[2025-03-10 08:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648431', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648431', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648431', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648431', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:55:18] Production.INFO: ProcessCDR(1,14648431,1,1,2)
[2025-03-10 08:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648431', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648431', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:55:21] Production.INFO: ==21351== Releasing lock...
[2025-03-10 08:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:55:21] Production.INFO: 34.75 MB #Memory Used#
[2025-03-10 12:56:01] Production.INFO: ==21408== Lock acquired, processing the job...
[2025-03-10 12:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:56:01] Production.INFO: neon service started
[2025-03-10 12:56:01] Production.INFO: neon service started
[2025-03-10 12:56:01] Production.INFO: ==21408== Releasing lock...
[2025-03-10 12:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:56:01] Production.INFO: ==21410== Lock acquired, processing the job...
[2025-03-10 08:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:56:02] Production.INFO: ==21412== Lock acquired, processing the job...
[2025-03-10 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:56:02] Production.INFO: ==21412== Releasing lock...
[2025-03-10 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:56:02] Production.INFO: ==21410== Releasing lock...
[2025-03-10 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:56:02] Production.INFO: ==21416== Lock acquired, processing the job...
[2025-03-10 08:56:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:56:02] Production.INFO: ==21420== Lock acquired, processing the job...
[2025-03-10 08:56:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:56:03] Production.INFO: Account Balance Start.
[2025-03-10 08:56:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:56:03] Production.INFO: 117
[2025-03-10 08:56:03] Production.INFO: Date 2025-03-08
[2025-03-10 08:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:56:03] Production.INFO: ==21416== Releasing lock...
[2025-03-10 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:56:03] Production.INFO: Date 2025-03-09
[2025-03-10 08:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:56:03] Production.INFO: Date 2025-03-10
[2025-03-10 08:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 08:56:03] Production.INFO: Total Charge 0
[2025-03-10 08:56:03] Production.INFO: CreateAllLog End
[2025-03-10 08:56:03] Production.INFO: Account Balance End.
[2025-03-10 08:56:03] Production.ERROR: CronJobId end 12
[2025-03-10 08:56:03] Production.INFO: ==21420== Releasing lock...
[2025-03-10 08:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:56:03] Production.INFO: ==21414== Lock acquired, processing the job...
[2025-03-10 08:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:56:03] Production.INFO: ==21418== Lock acquired, processing the job...
[2025-03-10 08:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:56:03] Production.INFO: ==21425== Lock acquired, processing the job...
[2025-03-10 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:56:03] Production.INFO: ==21422== Lock acquired, processing the job...
[2025-03-10 08:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 08:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:56:03] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:56:03] Production.INFO: count ==21
[2025-03-10 08:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648435') start
[2025-03-10 08:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648435') end
[2025-03-10 08:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:56:03] Production.INFO: 1
[2025-03-10 08:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:56:03] Production.INFO: ==21425== Releasing lock...
[2025-03-10 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:56:03] Production.ERROR: done
[2025-03-10 08:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:56:04] Production.ERROR: done
[2025-03-10 08:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:56:05
[end_date_ymd] => 2025-03-10 08:56:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:56:05' and `end` < '2025-03-10 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-03-10 08:56:11] Production.ERROR: CronJobId end10
[2025-03-10 08:56:11] Production.INFO: ==21418== Releasing lock...
[2025-03-10 08:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:56:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:56:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:56:14] Production.INFO: call_cost start
[2025-03-10 08:56:14] Production.INFO: call_cost end
[2025-03-10 08:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:56:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:56:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:56:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:56:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:56:15] Production.INFO: ==21414== Releasing lock...
[2025-03-10 08:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:56:17] Production.INFO: count ==868
[2025-03-10 08:56:17] Production.ERROR: pbx CDR StartTime 2025-03-10 05:56:05 - End Time 2025-03-10 08:56:05
[2025-03-10 08:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648436', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648436', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648436', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648436', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:56:17] Production.INFO: ProcessCDR(1,14648436,1,1,2)
[2025-03-10 08:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648436', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648436', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:56:22] Production.INFO: ==21422== Releasing lock...
[2025-03-10 08:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:56:22] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 12:57:02] Production.INFO: ==21481== Lock acquired, processing the job...
[2025-03-10 12:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:57:02] Production.INFO: neon service started
[2025-03-10 12:57:02] Production.INFO: neon service started
[2025-03-10 12:57:02] Production.INFO: ==21481== Releasing lock...
[2025-03-10 12:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:57:02] Production.INFO: ==21483== Lock acquired, processing the job...
[2025-03-10 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:57:02] Production.INFO: ==21485== Lock acquired, processing the job...
[2025-03-10 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 08:57:02] Production.INFO: ==21483== Releasing lock...
[2025-03-10 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:57:02] Production.INFO: ==21485== Releasing lock...
[2025-03-10 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:57:03] Production.INFO: ==21488== Lock acquired, processing the job...
[2025-03-10 08:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:57:03] Production.INFO: ==21494== Lock acquired, processing the job...
[2025-03-10 08:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:57:03] Production.INFO: ==21490== Lock acquired, processing the job...
[2025-03-10 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:57:03] Production.INFO: ==21498== Lock acquired, processing the job...
[2025-03-10 08:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:57:03] Production.INFO: Account Balance Start.
[2025-03-10 08:57:03] Production.INFO: CreateAllLog Start
[2025-03-10 08:57:03] Production.INFO: 117
[2025-03-10 08:57:03] Production.INFO: ==21492== Lock acquired, processing the job...
[2025-03-10 08:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:57:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08: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-03-10 08:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:57:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:57:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:57:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:57:04] Production.INFO: count ==21
[2025-03-10 08:57:04] Production.INFO: ==21496== Lock acquired, processing the job...
[2025-03-10 08:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648440') start
[2025-03-10 08:57:04] Production.INFO: Total Charge 0
[2025-03-10 08:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:57:04] Production.INFO: CreateAllLog End
[2025-03-10 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648440') end
[2025-03-10 08:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:57:04] Production.INFO: 1
[2025-03-10 08:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:57:04] Production.INFO: ==21490== Releasing lock...
[2025-03-10 08:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:57:04] Production.INFO: ==21498== Releasing lock...
[2025-03-10 08:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:57:04] Production.INFO: Account Balance End.
[2025-03-10 08:57:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:57:04] Production.INFO: ==21494== Releasing lock...
[2025-03-10 08:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:57:04] Production.ERROR: done
[2025-03-10 08:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:57:05] Production.ERROR: done
[2025-03-10 08:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:57:06
[end_date_ymd] => 2025-03-10 08:57:06
[RateCDR] => 1
)
[2025-03-10 08: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-03-10 05:57:06' and `end` < '2025-03-10 08: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-03-10 08:57:13] Production.ERROR: CronJobId end10
[2025-03-10 08:57:13] Production.INFO: ==21492== Releasing lock...
[2025-03-10 08:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:57:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:57:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:57:15] Production.INFO: call_cost start
[2025-03-10 08:57:15] Production.INFO: call_cost end
[2025-03-10 08:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:57:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:57:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:57:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:57:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:57:16] Production.INFO: ==21488== Releasing lock...
[2025-03-10 08:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:57:18] Production.INFO: count ==873
[2025-03-10 08:57:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:57:06 - End Time 2025-03-10 08:57:06
[2025-03-10 08:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648441', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648441', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648441', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648441', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:57:18] Production.INFO: ProcessCDR(1,14648441,1,1,2)
[2025-03-10 08:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648441', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648441', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:57:22] Production.INFO: ==21496== Releasing lock...
[2025-03-10 08:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:57:22] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 12:58:01] Production.INFO: ==21576== Lock acquired, processing the job...
[2025-03-10 12:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:58:01] Production.INFO: neon service started
[2025-03-10 12:58:01] Production.INFO: neon service started
[2025-03-10 12:58:01] Production.INFO: ==21576== Releasing lock...
[2025-03-10 12:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:58:02] Production.INFO: ==21580== Lock acquired, processing the job...
[2025-03-10 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:58:02] Production.INFO: ==21580== Releasing lock...
[2025-03-10 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:58:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:58:02] Production.INFO: ==21578== Lock acquired, processing the job...
[2025-03-10 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 08:58:02] Production.INFO: ==21578== Releasing lock...
[2025-03-10 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:58:03] Production.INFO: ==21583== Lock acquired, processing the job...
[2025-03-10 08:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:58:03] Production.INFO: ==21585== Lock acquired, processing the job...
[2025-03-10 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:58:03] Production.INFO: ==21587== Lock acquired, processing the job...
[2025-03-10 08:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:58:04] Production.INFO: ==21585== Releasing lock...
[2025-03-10 08:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:58:04] Production.INFO: ==21589== Lock acquired, processing the job...
[2025-03-10 08:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:58:04] Production.INFO: ==21593== Lock acquired, processing the job...
[2025-03-10 08:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:58:04] Production.INFO: ==21591== Lock acquired, processing the job...
[2025-03-10 08:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:58:04] Production.INFO: Account Balance Start.
[2025-03-10 08:58:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:58:04] Production.INFO: 117
[2025-03-10 08:58:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 08:58:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:58:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:58:04] Production.INFO: count ==13
[2025-03-10 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-03-10 08:58:04] Production.INFO: count ==21
[2025-03-10 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648445') start
[2025-03-10 08:58:04] Production.INFO: Total Charge 0
[2025-03-10 08:58:04] Production.INFO: CreateAllLog End
[2025-03-10 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648445') end
[2025-03-10 08:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:58:04] Production.INFO: 1
[2025-03-10 08:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:58:04] Production.INFO: ==21593== Releasing lock...
[2025-03-10 08:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:58:04] Production.ERROR: done
[2025-03-10 08:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:58:04] Production.INFO: Account Balance End.
[2025-03-10 08:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:58:04] Production.INFO: ==21589== Releasing lock...
[2025-03-10 08:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:58:04] Production.ERROR: done
[2025-03-10 08:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:58:06
[end_date_ymd] => 2025-03-10 08:58:06
[RateCDR] => 1
)
[2025-03-10 08:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 05:58:06' and `end` < '2025-03-10 08:58:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 08:58:13] Production.ERROR: CronJobId end10
[2025-03-10 08:58:13] Production.INFO: ==21587== Releasing lock...
[2025-03-10 08:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:58:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:58:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:58:16] Production.INFO: call_cost start
[2025-03-10 08:58:16] Production.INFO: call_cost end
[2025-03-10 08:58:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:58:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:58:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:58:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:58:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:58:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:58:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:58:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:58:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:58:17] Production.INFO: ==21583== Releasing lock...
[2025-03-10 08:58:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:58:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:58:18] Production.INFO: count ==871
[2025-03-10 08:58:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:58:06 - End Time 2025-03-10 08:58:06
[2025-03-10 08:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648446', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648446', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648446', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648446', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:58:18] Production.INFO: ProcessCDR(1,14648446,1,1,2)
[2025-03-10 08:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648446', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648446', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:58:23] Production.INFO: ==21591== Releasing lock...
[2025-03-10 08:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:58:23] Production.INFO: 35 MB #Memory Used#
[2025-03-10 12:59:02] Production.INFO: ==21682== Lock acquired, processing the job...
[2025-03-10 12:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 12:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 12:59:02] Production.INFO: neon service started
[2025-03-10 12:59:02] Production.INFO: neon service started
[2025-03-10 12:59:02] Production.INFO: ==21682== Releasing lock...
[2025-03-10 12:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 12:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 08:59:02] Production.INFO: ==21684== Lock acquired, processing the job...
[2025-03-10 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:59:02] Production.INFO: ==21686== Lock acquired, processing the job...
[2025-03-10 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:59:02] Production.INFO: ==21686== Releasing lock...
[2025-03-10 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 12:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 08:59:03] Production.INFO: ==21684== Releasing lock...
[2025-03-10 08:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 08:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 08:59:04] Production.INFO: ==21697== Lock acquired, processing the job...
[2025-03-10 08:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 08:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 08:59:04] Production.INFO: ==21699== Lock acquired, processing the job...
[2025-03-10 08:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 08:59:04] Production.INFO: ==21689== Lock acquired, processing the job...
[2025-03-10 08:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 08:59:04] Production.INFO: ==21691== Lock acquired, processing the job...
[2025-03-10 08:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 08:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 08:59:04] Production.INFO: ==21695== Lock acquired, processing the job...
[2025-03-10 08:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 08:59:04] Production.INFO: ==21693== Lock acquired, processing the job...
[2025-03-10 08:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 08: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-03-10 08:59:04] Production.INFO: count ==13
[2025-03-10 08: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-03-10 08:59:04] Production.INFO: count ==21
[2025-03-10 08:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 08:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 08:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 08:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648447') start
[2025-03-10 08:59:04] Production.INFO: Account Balance Start.
[2025-03-10 08:59:04] Production.INFO: CreateAllLog Start
[2025-03-10 08:59:04] Production.INFO: 117
[2025-03-10 08:59:04] Production.ERROR: done
[2025-03-10 08:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 08:59:04] Production.INFO: Date 2025-03-08
[2025-03-10 08:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648447') end
[2025-03-10 08:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 08:59:04] Production.INFO: 1
[2025-03-10 08:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 08:59:04] Production.INFO: Date 2025-03-09
[2025-03-10 08:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:59:04] Production.INFO: Date 2025-03-10
[2025-03-10 08:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 08:59:04] Production.INFO: ==21699== Releasing lock...
[2025-03-10 08:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 08:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 08:59:04] Production.ERROR: done
[2025-03-10 08:59:04] Production.INFO: Total Charge 0
[2025-03-10 08:59:04] Production.INFO: CreateAllLog End
[2025-03-10 08:59:04] Production.INFO: ==21691== Releasing lock...
[2025-03-10 08:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 08:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 08:59:04] Production.INFO: Account Balance End.
[2025-03-10 08:59:04] Production.ERROR: CronJobId end 12
[2025-03-10 08:59:04] Production.INFO: ==21695== Releasing lock...
[2025-03-10 08:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 08:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 08:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 05:59:05
[end_date_ymd] => 2025-03-10 08:59:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 05:59:05' and `end` < '2025-03-10 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-03-10 08:59:13] Production.ERROR: CronJobId end10
[2025-03-10 08:59:13] Production.INFO: ==21693== Releasing lock...
[2025-03-10 08:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 08:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 08:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 08:59:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 08:59:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 08:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 08:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 08:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 08:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 08:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 08:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 08:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 08:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 08:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 08:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 08:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 08:59:15] Production.INFO: call_cost start
[2025-03-10 08:59:15] Production.INFO: call_cost end
[2025-03-10 08:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 08:59:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 08:59:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 08:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 08:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 08:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 08:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 08:59:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 08:59:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 08:59:16] Production.INFO: ==21689== Releasing lock...
[2025-03-10 08:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 08:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 08:59:18] Production.INFO: count ==872
[2025-03-10 08:59:18] Production.ERROR: pbx CDR StartTime 2025-03-10 05:59:05 - End Time 2025-03-10 08:59:05
[2025-03-10 08:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648451', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648451', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648451', 'tblTempVendorCDR_20' ) start
[2025-03-10 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648451', 'tblTempVendorCDR_20' ) end
[2025-03-10 08:59:18] Production.INFO: ProcessCDR(1,14648451,1,1,2)
[2025-03-10 08:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 08:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 08:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648451', 'tblTempUsageDetail_20' ) start
[2025-03-10 08:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648451', 'tblTempUsageDetail_20' ) end
[2025-03-10 08:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 08:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 08:59:21] Production.INFO: ==21697== Releasing lock...
[2025-03-10 08:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 08:59:21] Production.INFO: 34.5 MB #Memory Used#
[2025-03-10 13:00:01] Production.INFO: ==21780== Lock acquired, processing the job...
[2025-03-10 13:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:00:01] Production.INFO: neon service started
[2025-03-10 13:00:01] Production.INFO: neon service started
[2025-03-10 13:00:01] Production.INFO: ==21780== Releasing lock...
[2025-03-10 13:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:00:02] Production.INFO: ==21784== Lock acquired, processing the job...
[2025-03-10 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:00:02] Production.INFO: ==21782== Lock acquired, processing the job...
[2025-03-10 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:00:02] Production.INFO: ==21784== Releasing lock...
[2025-03-10 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:00:02] Production.INFO: ==21782== Releasing lock...
[2025-03-10 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:00:03] Production.INFO: ==21791== Lock acquired, processing the job...
[2025-03-10 09:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:00:03] Production.INFO: ==21789== Lock acquired, processing the job...
[2025-03-10 09:00:03] Production.INFO: ==21787== Lock acquired, processing the job...
[2025-03-10 09:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 09:00:03] Production.INFO: ==21795== Lock acquired, processing the job...
[2025-03-10 09:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 09:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 09:00:03] Production.ERROR: CronJob PID - 21791
[2025-03-10 09:00:03] Production.ERROR: CronJob Title - Account Block
[2025-03-10 09:00:03] Production.ERROR: CronJob ID - 7
[2025-03-10 09:00:03] Production.ERROR: CronJob Last Run Time 2025-03-10 09:00:00
[2025-03-10 09:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 09:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 09:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 09:00:03] Production.INFO: ==21787== Releasing lock...
[2025-03-10 09:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 09:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 09:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:00:03] Production.INFO: Account Balance Start.
[2025-03-10 09:00:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:00:03] Production.INFO: 117
[2025-03-10 09:00:04] Production.INFO: ==21793== Lock acquired, processing the job...
[2025-03-10 09:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:00:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:00:04] Production.INFO: ==21797== Lock acquired, processing the job...
[2025-03-10 09:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:00:04] Production.INFO: ==21799== Lock acquired, processing the job...
[2025-03-10 09:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 09:00:04] Production.INFO: Total Charge 0
[2025-03-10 09:00:04] Production.INFO: CreateAllLog End
[2025-03-10 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:00:04] Production.INFO: ==21791== Releasing lock...
[2025-03-10 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:00:04] Production.INFO: ==21801== Lock acquired, processing the job...
[2025-03-10 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 09:00:04] Production.INFO: count ==13
[2025-03-10 09:00:04] Production.ERROR: done
[2025-03-10 09:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 09:00:04] Production.INFO: count ==21
[2025-03-10 09:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648455') start
[2025-03-10 09:00:04] Production.ERROR: done
[2025-03-10 09:00:04] Production.INFO: Account Balance End.
[2025-03-10 09:00:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:00:04] Production.INFO: ==21795== Releasing lock...
[2025-03-10 09:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648455') end
[2025-03-10 09:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:00:04] Production.INFO: 1
[2025-03-10 09:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:00:04] Production.INFO: ==21801== Releasing lock...
[2025-03-10 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:00:04] Production.ERROR: done
[2025-03-10 09:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 09:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648457', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 09:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:00:05
[end_date_ymd] => 2025-03-10 09:00:05
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:00:05' and `end` < '2025-03-10 09: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-03-10 09:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648457', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 09:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 09:00:09] Production.INFO: ProcessCDR(1,14648457,1,1,2)
[2025-03-10 09:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648457,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648457,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:00:09] Production.INFO: ==21799== Releasing lock...
[2025-03-10 09:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 09:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 09:00:15] Production.ERROR: CronJobId end10
[2025-03-10 09:00:15] Production.INFO: ==21793== Releasing lock...
[2025-03-10 09:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:00:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:00:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:00:17] Production.INFO: call_cost start
[2025-03-10 09:00:17] Production.INFO: call_cost end
[2025-03-10 09:00:17] Production.INFO: count ==892
[2025-03-10 09:00:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:00:05 - End Time 2025-03-10 09:00:05
[2025-03-10 09:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648456', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648456', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648456', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648456', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:00:18] Production.INFO: ProcessCDR(1,14648456,1,1,2)
[2025-03-10 09:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:00:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:00:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:00:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:00:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:00:18] Production.INFO: ==21789== Releasing lock...
[2025-03-10 09:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648456', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648456', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:00:23] Production.INFO: ==21797== Releasing lock...
[2025-03-10 09:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:00:23] Production.INFO: 34.25 MB #Memory Used#
[2025-03-10 13:01:02] Production.INFO: ==21884== Lock acquired, processing the job...
[2025-03-10 13:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:01:02] Production.INFO: neon service started
[2025-03-10 13:01:02] Production.INFO: neon service started
[2025-03-10 13:01:02] Production.INFO: ==21884== Releasing lock...
[2025-03-10 13:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:01:02] Production.INFO: ==21898== Lock acquired, processing the job...
[2025-03-10 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:01:02] Production.INFO: ==21898== Releasing lock...
[2025-03-10 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:01:03] Production.INFO: ==21900== Lock acquired, processing the job...
[2025-03-10 13:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:01:03] Production.INFO: ==21900== Releasing lock...
[2025-03-10 13:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:01:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:01:03] Production.INFO: ==21904== Lock acquired, processing the job...
[2025-03-10 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:01:03] Production.INFO: ==21902== Lock acquired, processing the job...
[2025-03-10 09:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:01:03] Production.INFO: ==21910== Lock acquired, processing the job...
[2025-03-10 09:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:01:04] Production.INFO: ==21906== Lock acquired, processing the job...
[2025-03-10 09:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:01:04] Production.INFO: ==21908== Lock acquired, processing the job...
[2025-03-10 09:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:01:04] Production.INFO: ==21912== Lock acquired, processing the job...
[2025-03-10 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:01:04] Production.INFO: Account Balance Start.
[2025-03-10 09:01:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:01:04] Production.INFO: 117
[2025-03-10 09:01:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:01:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:01:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:01:04] Production.ERROR: done
[2025-03-10 09:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:01:04] Production.INFO: ==21904== Releasing lock...
[2025-03-10 09:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:01:04] Production.INFO: Total Charge 0
[2025-03-10 09:01:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 09:01:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:01:04] Production.INFO: count ==21
[2025-03-10 09:01:04] Production.ERROR: done
[2025-03-10 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648461') start
[2025-03-10 09:01:04] Production.INFO: Account Balance End.
[2025-03-10 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648461') end
[2025-03-10 09:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:01:04] Production.INFO: 1
[2025-03-10 09:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:01:04] Production.INFO: ==21908== Releasing lock...
[2025-03-10 09:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:01:04] Production.INFO: ==21912== Releasing lock...
[2025-03-10 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:01:05
[end_date_ymd] => 2025-03-10 09:01:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:01:05' and `end` < '2025-03-10 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-03-10 09:01:06] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:06] Production.INFO: =diffInterval=0
[2025-03-10 09:01:07] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:07] Production.INFO: =diffInterval=0
[2025-03-10 09:01:08] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:08] Production.INFO: =diffInterval=0
[2025-03-10 09:01:09] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:09] Production.INFO: =diffInterval=0
[2025-03-10 09:01:10] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:10] Production.INFO: =diffInterval=0
[2025-03-10 09:01:11] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:11] Production.INFO: =diffInterval=0
[2025-03-10 09:01:12] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:12] Production.INFO: =diffInterval=0
[2025-03-10 09:01:12] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:12] Production.INFO: =diffInterval=0
[2025-03-10 09:01:13] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:13] Production.INFO: =diffInterval=0
[2025-03-10 09:01:14] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:14] Production.INFO: =diffInterval=0
[2025-03-10 09:01:14] Production.ERROR: CronJobId end10
[2025-03-10 09:01:14] Production.INFO: ==21906== Releasing lock...
[2025-03-10 09:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:01:14] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:14] Production.INFO: =diffInterval=0
[2025-03-10 09:01:15] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:15] Production.INFO: =diffInterval=0
[2025-03-10 09:01:15] Production.INFO: helper-LastRunTime===2025-03-10 09:01:00
[2025-03-10 09:01:15] Production.INFO: =diffInterval=0
[2025-03-10 09:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:01:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:01:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:01:16] Production.INFO: call_cost start
[2025-03-10 09:01:16] Production.INFO: call_cost end
[2025-03-10 09:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:01:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:01:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:01:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:01:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:01:17] Production.INFO: ==21902== Releasing lock...
[2025-03-10 09:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:01:18] Production.INFO: count ==954
[2025-03-10 09:01:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:01:05 - End Time 2025-03-10 09:01:05
[2025-03-10 09:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648462', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648462', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648462', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648462', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:01:18] Production.INFO: ProcessCDR(1,14648462,1,1,2)
[2025-03-10 09:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648462', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648462', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:01:23] Production.INFO: ==21910== Releasing lock...
[2025-03-10 09:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:01:23] Production.INFO: 35.5 MB #Memory Used#
[2025-03-10 13:02:01] Production.INFO: ==21989== Lock acquired, processing the job...
[2025-03-10 13:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:02:01] Production.INFO: neon service started
[2025-03-10 13:02:01] Production.INFO: neon service started
[2025-03-10 13:02:01] Production.INFO: ==21989== Releasing lock...
[2025-03-10 13:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:02:02] Production.INFO: ==21991== Lock acquired, processing the job...
[2025-03-10 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:02:02] Production.INFO: ==21993== Lock acquired, processing the job...
[2025-03-10 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:02:02] Production.INFO: ==21993== Releasing lock...
[2025-03-10 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:02:02] Production.INFO: ==21991== Releasing lock...
[2025-03-10 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:02:03] Production.INFO: ==22000== Lock acquired, processing the job...
[2025-03-10 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:02:03] Production.INFO: ==21998== Lock acquired, processing the job...
[2025-03-10 09:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:02:03] Production.INFO: ==22006== Lock acquired, processing the job...
[2025-03-10 09:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:02:04] Production.INFO: ==22002== Lock acquired, processing the job...
[2025-03-10 09:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:02:04] Production.INFO: ==22004== Lock acquired, processing the job...
[2025-03-10 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:02:04] Production.INFO: ==22000== Releasing lock...
[2025-03-10 09:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:02:04] Production.INFO: ==22008== Lock acquired, processing the job...
[2025-03-10 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:02:04] Production.ERROR: done
[2025-03-10 09:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:02:04] Production.INFO: Account Balance Start.
[2025-03-10 09:02:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:02:04] Production.INFO: 117
[2025-03-10 09:02:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 09: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-03-10 09:02:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:02:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:02:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:02:04] Production.INFO: count ==21
[2025-03-10 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648465') start
[2025-03-10 09:02:04] Production.INFO: Total Charge 0
[2025-03-10 09:02:04] Production.INFO: CreateAllLog End
[2025-03-10 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648465') end
[2025-03-10 09:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:02:04] Production.INFO: 1
[2025-03-10 09:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:02:04] Production.ERROR: done
[2025-03-10 09:02:04] Production.INFO: ==22008== Releasing lock...
[2025-03-10 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:02:04] Production.INFO: Account Balance End.
[2025-03-10 09:02:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:02:04] Production.INFO: ==22004== Releasing lock...
[2025-03-10 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:02:05
[end_date_ymd] => 2025-03-10 09:02:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:02:05' and `end` < '2025-03-10 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-03-10 09:02:13] Production.ERROR: CronJobId end10
[2025-03-10 09:02:13] Production.INFO: ==22002== Releasing lock...
[2025-03-10 09:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:02:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:02:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:02:16] Production.INFO: call_cost start
[2025-03-10 09:02:16] Production.INFO: call_cost end
[2025-03-10 09:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:02:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:02:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:02:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:02:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:02:17] Production.INFO: ==21998== Releasing lock...
[2025-03-10 09:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:02:17] Production.INFO: count ==967
[2025-03-10 09:02:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:02:05 - End Time 2025-03-10 09:02:05
[2025-03-10 09:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648467', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648467', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648467', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648467', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:02:18] Production.INFO: ProcessCDR(1,14648467,1,1,2)
[2025-03-10 09:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648467', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648467', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:02:23] Production.INFO: ==22006== Releasing lock...
[2025-03-10 09:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:02:23] Production.INFO: 35.5 MB #Memory Used#
[2025-03-10 13:03:02] Production.INFO: ==22090== Lock acquired, processing the job...
[2025-03-10 13:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:03:02] Production.INFO: neon service started
[2025-03-10 13:03:02] Production.INFO: neon service started
[2025-03-10 13:03:02] Production.INFO: ==22090== Releasing lock...
[2025-03-10 13:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:03:02] Production.INFO: ==22092== Lock acquired, processing the job...
[2025-03-10 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:03:02] Production.INFO: ==22092== Releasing lock...
[2025-03-10 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:03:03] Production.INFO: ==22094== Lock acquired, processing the job...
[2025-03-10 13:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:03:03] Production.INFO: ==22094== Releasing lock...
[2025-03-10 13:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:03:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:03:04] Production.INFO: ==22107== Lock acquired, processing the job...
[2025-03-10 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:03:04] Production.INFO: ==22105== Lock acquired, processing the job...
[2025-03-10 09:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09: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-03-10 09:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:03:04] Production.INFO: count ==13
[2025-03-10 09: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-03-10 09:03:04] Production.INFO: count ==21
[2025-03-10 09:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648468') start
[2025-03-10 09:03:04] Production.INFO: ==22097== Lock acquired, processing the job...
[2025-03-10 09:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:03:04] Production.INFO: ==22099== Lock acquired, processing the job...
[2025-03-10 09:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:03:04] Production.INFO: ==22101== Lock acquired, processing the job...
[2025-03-10 09:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:03:04] Production.INFO: ==22103== Lock acquired, processing the job...
[2025-03-10 09:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648468') end
[2025-03-10 09:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:03:04] Production.INFO: 1
[2025-03-10 09:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:03:04] Production.INFO: Account Balance Start.
[2025-03-10 09:03:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:03:04] Production.INFO: 117
[2025-03-10 09:03:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:03:04] Production.INFO: ==22107== Releasing lock...
[2025-03-10 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:03:04] Production.ERROR: done
[2025-03-10 09:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:03:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:03:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:03:04] Production.ERROR: done
[2025-03-10 09:03:04] Production.INFO: Total Charge 0
[2025-03-10 09:03:04] Production.INFO: ==22099== Releasing lock...
[2025-03-10 09:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:03:05] Production.INFO: CreateAllLog End
[2025-03-10 09:03:05] Production.INFO: Account Balance End.
[2025-03-10 09:03:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:03:05] Production.INFO: ==22103== Releasing lock...
[2025-03-10 09:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:03:06
[end_date_ymd] => 2025-03-10 09:03:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:03:06' and `end` < '2025-03-10 09: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-03-10 09:03:14] Production.ERROR: CronJobId end10
[2025-03-10 09:03:14] Production.INFO: ==22101== Releasing lock...
[2025-03-10 09:03:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:03:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:03:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:03:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:03:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:03:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:03:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:03:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:03:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:03:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:03:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:03:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:03:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:03:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:03:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:03:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:03:17] Production.INFO: call_cost start
[2025-03-10 09:03:17] Production.INFO: call_cost end
[2025-03-10 09:03:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:03:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:03:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:03:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:03:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:03:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:03:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:03:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:03:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:03:18] Production.INFO: ==22097== Releasing lock...
[2025-03-10 09:03:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:03:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:03:18] Production.INFO: count ==973
[2025-03-10 09:03:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:03:06 - End Time 2025-03-10 09:03:06
[2025-03-10 09:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648472', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648472', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648472', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648472', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:03:18] Production.INFO: ProcessCDR(1,14648472,1,1,2)
[2025-03-10 09:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648472', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648472', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:03:24] Production.INFO: ==22105== Releasing lock...
[2025-03-10 09:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:03:24] Production.INFO: 35.5 MB #Memory Used#
[2025-03-10 13:04:01] Production.INFO: ==22194== Lock acquired, processing the job...
[2025-03-10 13:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:04:01] Production.INFO: neon service started
[2025-03-10 13:04:01] Production.INFO: neon service started
[2025-03-10 13:04:01] Production.INFO: ==22194== Releasing lock...
[2025-03-10 13:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:04:02] Production.INFO: ==22199== Lock acquired, processing the job...
[2025-03-10 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:04:02] Production.INFO: ==22201== Lock acquired, processing the job...
[2025-03-10 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:04:02] Production.INFO: ==22199== Releasing lock...
[2025-03-10 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:04:02] Production.INFO: ==22201== Releasing lock...
[2025-03-10 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:04:03] Production.INFO: ==22213== Lock acquired, processing the job...
[2025-03-10 09:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09: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-03-10 09:04:03] Production.INFO: count ==13
[2025-03-10 09: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-03-10 09:04:03] Production.INFO: count ==21
[2025-03-10 09:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648473') start
[2025-03-10 09:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648473') end
[2025-03-10 09:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:04:03] Production.INFO: 1
[2025-03-10 09:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:04:03] Production.INFO: ==22213== Releasing lock...
[2025-03-10 09:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:04:03] Production.INFO: ==22203== Lock acquired, processing the job...
[2025-03-10 09:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:04:03] Production.INFO: ==22205== Lock acquired, processing the job...
[2025-03-10 09:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:04:03] Production.INFO: ==22209== Lock acquired, processing the job...
[2025-03-10 09:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:04:03] Production.INFO: ==22207== Lock acquired, processing the job...
[2025-03-10 09:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:04:03] Production.INFO: Account Balance Start.
[2025-03-10 09:04:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:04:03] Production.INFO: 117
[2025-03-10 09:04:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:04:03] Production.INFO: ==22211== Lock acquired, processing the job...
[2025-03-10 09:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:04:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:04:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:04:04] Production.INFO: Total Charge 0
[2025-03-10 09:04:04] Production.INFO: CreateAllLog End
[2025-03-10 09:04:04] Production.INFO: ==22205== Releasing lock...
[2025-03-10 09:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:04:04] Production.INFO: Account Balance End.
[2025-03-10 09:04:04] Production.ERROR: done
[2025-03-10 09:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:04:04] Production.INFO: ==22209== Releasing lock...
[2025-03-10 09:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:04:04] Production.ERROR: done
[2025-03-10 09:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:04:06
[end_date_ymd] => 2025-03-10 09:04:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:04:06' and `end` < '2025-03-10 09: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-03-10 09:04:14] Production.ERROR: CronJobId end10
[2025-03-10 09:04:14] Production.INFO: ==22207== Releasing lock...
[2025-03-10 09:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:04:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:04:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:04:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:04:16] Production.INFO: call_cost start
[2025-03-10 09:04:16] Production.INFO: call_cost end
[2025-03-10 09:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:04:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:04:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:04:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:04:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:04:17] Production.INFO: ==22203== Releasing lock...
[2025-03-10 09:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:04:18] Production.INFO: count ==990
[2025-03-10 09:04:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:04:06 - End Time 2025-03-10 09:04:06
[2025-03-10 09:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648477', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648477', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648477', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648477', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:04:18] Production.INFO: ProcessCDR(1,14648477,1,1,2)
[2025-03-10 09:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648477', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648477', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:04:24] Production.INFO: ==22211== Releasing lock...
[2025-03-10 09:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:04:24] Production.INFO: 36.25 MB #Memory Used#
[2025-03-10 13:05:02] Production.INFO: ==22307== Lock acquired, processing the job...
[2025-03-10 13:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:05:02] Production.INFO: neon service started
[2025-03-10 13:05:02] Production.INFO: neon service started
[2025-03-10 13:05:02] Production.INFO: ==22307== Releasing lock...
[2025-03-10 13:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:05:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 09:05:02] Production.INFO: ==22309== Lock acquired, processing the job...
[2025-03-10 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:05:02] Production.INFO: ==22311== Lock acquired, processing the job...
[2025-03-10 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:05:02] Production.INFO: ==22311== Releasing lock...
[2025-03-10 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:05:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:05:03] Production.INFO: ==22309== Releasing lock...
[2025-03-10 09:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:05:04] Production.INFO: ==22314== Lock acquired, processing the job...
[2025-03-10 09:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:05:04] Production.INFO: ==22316== Lock acquired, processing the job...
[2025-03-10 09:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:05:04] Production.INFO: ==22320== Lock acquired, processing the job...
[2025-03-10 09:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:05:04] Production.INFO: Account Balance Start.
[2025-03-10 09:05:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:05:04] Production.INFO: 117
[2025-03-10 09:05:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:05:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:05:04] Production.INFO: ==22318== Lock acquired, processing the job...
[2025-03-10 09:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:05:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:05:04] Production.INFO: ==22316== Releasing lock...
[2025-03-10 09:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:05:04] Production.INFO: Total Charge 0
[2025-03-10 09:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:05:04] Production.INFO: CreateAllLog End
[2025-03-10 09:05:04] Production.INFO: ==22322== Lock acquired, processing the job...
[2025-03-10 09:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:05:04] Production.INFO: Account Balance End.
[2025-03-10 09:05:04] Production.INFO: ==22324== Lock acquired, processing the job...
[2025-03-10 09:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:05:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:05:04] Production.INFO: ==22320== Releasing lock...
[2025-03-10 09:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 09:05:04] Production.INFO: count ==13
[2025-03-10 09: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-03-10 09:05:05] Production.INFO: count ==21
[2025-03-10 09:05:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648481') start
[2025-03-10 09:05:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648481') end
[2025-03-10 09:05:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:05:05] Production.INFO: 1
[2025-03-10 09:05:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:05:05] Production.INFO: ==22324== Releasing lock...
[2025-03-10 09:05:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:05:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:05:05] Production.ERROR: done
[2025-03-10 09:05:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:05:05] Production.ERROR: done
[2025-03-10 09:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:05:06
[end_date_ymd] => 2025-03-10 09:05:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:05:06' and `end` < '2025-03-10 09: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-03-10 09:05:14] Production.ERROR: CronJobId end10
[2025-03-10 09:05:14] Production.INFO: ==22318== Releasing lock...
[2025-03-10 09:05:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:05:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:05:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:05:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:05:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:05:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:05:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:05:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:05:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:05:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:05:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:05:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:05:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:05:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:05:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:05:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:05:17] Production.INFO: call_cost start
[2025-03-10 09:05:17] Production.INFO: call_cost end
[2025-03-10 09:05:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:05:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:05:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:05:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:05:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:05:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:05:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:05:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:05:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:05:18] Production.INFO: ==22314== Releasing lock...
[2025-03-10 09:05:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:05:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:05:18] Production.INFO: count ==1022
[2025-03-10 09:05:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:05:06 - End Time 2025-03-10 09:05:06
[2025-03-10 09:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648482', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648482', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648482', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648482', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:05:19] Production.INFO: ProcessCDR(1,14648482,1,1,2)
[2025-03-10 09:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:05:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:05:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648482', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648482', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:05:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:05:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:05:25] Production.INFO: ==22322== Releasing lock...
[2025-03-10 09:05:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:05:25] Production.INFO: 36 MB #Memory Used#
[2025-03-10 13:06:01] Production.INFO: ==22415== Lock acquired, processing the job...
[2025-03-10 13:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:06:01] Production.INFO: neon service started
[2025-03-10 13:06:01] Production.INFO: neon service started
[2025-03-10 13:06:01] Production.INFO: ==22415== Releasing lock...
[2025-03-10 13:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:06:02] Production.INFO: ==22417== Lock acquired, processing the job...
[2025-03-10 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:06:02] Production.INFO: ==22417== Releasing lock...
[2025-03-10 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:06:02] Production.INFO: ==22419== Lock acquired, processing the job...
[2025-03-10 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:06:02] Production.INFO: ==22419== Releasing lock...
[2025-03-10 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:06:03] Production.INFO: ==22423== Lock acquired, processing the job...
[2025-03-10 09:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:06:03] Production.INFO: ==22427== Lock acquired, processing the job...
[2025-03-10 09:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:06:03] Production.INFO: ==22431== Lock acquired, processing the job...
[2025-03-10 09:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:06:03] Production.INFO: ==22425== Lock acquired, processing the job...
[2025-03-10 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:06:03] Production.INFO: ==22429== Lock acquired, processing the job...
[2025-03-10 09:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:06:03] Production.INFO: ==22433== Lock acquired, processing the job...
[2025-03-10 09:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 09:06:04] Production.INFO: count ==13
[2025-03-10 09:06:04] Production.ERROR: done
[2025-03-10 09:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 09:06:04] Production.INFO: count ==21
[2025-03-10 09:06:04] Production.INFO: Account Balance Start.
[2025-03-10 09:06:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:06:04] Production.INFO: 117
[2025-03-10 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648484') start
[2025-03-10 09:06:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:06:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:06:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648484') end
[2025-03-10 09:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:06:04] Production.ERROR: done
[2025-03-10 09:06:04] Production.INFO: 1
[2025-03-10 09:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:06:04] Production.INFO: ==22425== Releasing lock...
[2025-03-10 09:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:06:04] Production.INFO: ==22433== Releasing lock...
[2025-03-10 09:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:06:04] Production.INFO: Total Charge 0
[2025-03-10 09:06:04] Production.INFO: CreateAllLog End
[2025-03-10 09:06:04] Production.INFO: Account Balance End.
[2025-03-10 09:06:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:06:04] Production.INFO: ==22429== Releasing lock...
[2025-03-10 09:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:06:05
[end_date_ymd] => 2025-03-10 09:06:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:06:05' and `end` < '2025-03-10 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-03-10 09:06:13] Production.ERROR: CronJobId end10
[2025-03-10 09:06:13] Production.INFO: ==22427== Releasing lock...
[2025-03-10 09:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:06:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:06:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:06:15] Production.INFO: call_cost start
[2025-03-10 09:06:15] Production.INFO: call_cost end
[2025-03-10 09:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:06:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:06:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:06:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:06:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:06:16] Production.INFO: ==22423== Releasing lock...
[2025-03-10 09:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:06:18] Production.INFO: count ==1047
[2025-03-10 09:06:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:06:05 - End Time 2025-03-10 09:06:05
[2025-03-10 09:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648487', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648487', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648487', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648487', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:06:18] Production.INFO: ProcessCDR(1,14648487,1,1,2)
[2025-03-10 09:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648487', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648487', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:06:24] Production.INFO: ==22431== Releasing lock...
[2025-03-10 09:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:06:24] Production.INFO: 36.25 MB #Memory Used#
[2025-03-10 13:07:02] Production.INFO: ==22524== Lock acquired, processing the job...
[2025-03-10 13:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:07:02] Production.INFO: neon service started
[2025-03-10 13:07:02] Production.INFO: neon service started
[2025-03-10 13:07:02] Production.INFO: ==22524== Releasing lock...
[2025-03-10 13:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:07:02] Production.INFO: ==22526== Lock acquired, processing the job...
[2025-03-10 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:07:02] Production.INFO: ==22526== Releasing lock...
[2025-03-10 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:07:02] Production.INFO: ==22528== Lock acquired, processing the job...
[2025-03-10 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:07:03] Production.INFO: ==22528== Releasing lock...
[2025-03-10 13:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:07:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:07:03] Production.INFO: ==22534== Lock acquired, processing the job...
[2025-03-10 09:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:07:03] Production.INFO: ==22530== Lock acquired, processing the job...
[2025-03-10 09:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:07:04] Production.INFO: ==22541== Lock acquired, processing the job...
[2025-03-10 09:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:07:04] Production.INFO: ==22532== Lock acquired, processing the job...
[2025-03-10 09:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:07:04] Production.INFO: ==22536== Lock acquired, processing the job...
[2025-03-10 09:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09: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-03-10 09:07:04] Production.INFO: count ==13
[2025-03-10 09:07:04] Production.INFO: ==22538== Lock acquired, processing the job...
[2025-03-10 09:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09: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-03-10 09:07:04] Production.INFO: count ==21
[2025-03-10 09:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648489') start
[2025-03-10 09:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:07:04] Production.INFO: Account Balance Start.
[2025-03-10 09:07:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:07:04] Production.INFO: 117
[2025-03-10 09:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648489') end
[2025-03-10 09:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:07:04] Production.INFO: 1
[2025-03-10 09:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:07:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:07:04] Production.INFO: ==22541== Releasing lock...
[2025-03-10 09:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:07:04] Production.INFO: ==22532== Releasing lock...
[2025-03-10 09:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:07:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:07:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:07:04] Production.INFO: Total Charge 0
[2025-03-10 09:07:04] Production.INFO: CreateAllLog End
[2025-03-10 09:07:04] Production.INFO: Account Balance End.
[2025-03-10 09:07:04] Production.ERROR: done
[2025-03-10 09:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:07:04] Production.INFO: ==22536== Releasing lock...
[2025-03-10 09:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:07:05] Production.ERROR: done
[2025-03-10 09:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:07:06
[end_date_ymd] => 2025-03-10 09:07:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:07:06' and `end` < '2025-03-10 09: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-03-10 09:07:14] Production.ERROR: CronJobId end10
[2025-03-10 09:07:14] Production.INFO: ==22534== Releasing lock...
[2025-03-10 09:07:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:07:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:07:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:07:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:07:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:07:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:07:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:07:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:07:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:07:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:07:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:07:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:07:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:07:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:07:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:07:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:07:17] Production.INFO: call_cost start
[2025-03-10 09:07:17] Production.INFO: call_cost end
[2025-03-10 09:07:18] Production.INFO: count ==1069
[2025-03-10 09:07:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:07:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:07:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:07:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:07:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:07:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:07:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:07:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:07:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:07:18] Production.INFO: ==22530== Releasing lock...
[2025-03-10 09:07:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:07:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:07:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:07:06 - End Time 2025-03-10 09:07:06
[2025-03-10 09:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648492', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648492', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648492', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648492', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:07:18] Production.INFO: ProcessCDR(1,14648492,1,1,2)
[2025-03-10 09:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648492', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648492', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:07:24] Production.INFO: ==22538== Releasing lock...
[2025-03-10 09:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:07:24] Production.INFO: 36 MB #Memory Used#
[2025-03-10 13:08:01] Production.INFO: ==22628== Lock acquired, processing the job...
[2025-03-10 13:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:08:01] Production.INFO: neon service started
[2025-03-10 13:08:01] Production.INFO: neon service started
[2025-03-10 13:08:01] Production.INFO: ==22628== Releasing lock...
[2025-03-10 13:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:08:02] Production.INFO: ==22632== Lock acquired, processing the job...
[2025-03-10 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:08:02] Production.INFO: ==22632== Releasing lock...
[2025-03-10 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:08:02] Production.INFO: ==22634== Lock acquired, processing the job...
[2025-03-10 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:08:02] Production.INFO: ==22634== Releasing lock...
[2025-03-10 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:08:03] Production.INFO: ==22639== Lock acquired, processing the job...
[2025-03-10 09:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:08:03] Production.INFO: ==22643== Lock acquired, processing the job...
[2025-03-10 09:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:08:03] Production.INFO: Account Balance Start.
[2025-03-10 09:08:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:08:03] Production.INFO: 117
[2025-03-10 09:08:03] Production.INFO: ==22637== Lock acquired, processing the job...
[2025-03-10 09:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:08:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:08:03] Production.INFO: ==22641== Lock acquired, processing the job...
[2025-03-10 09:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:08:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:08:03] Production.INFO: ==22647== Lock acquired, processing the job...
[2025-03-10 09:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:08:03] Production.INFO: ==22645== Lock acquired, processing the job...
[2025-03-10 09:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:08:03] Production.INFO: Date 2025-03-10
[2025-03-10 09:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:08:03] Production.INFO: ==22639== Releasing lock...
[2025-03-10 09:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:08:03] Production.INFO: Total Charge 0
[2025-03-10 09:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09: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-03-10 09:08:03] Production.INFO: CreateAllLog End
[2025-03-10 09:08:03] Production.INFO: count ==13
[2025-03-10 09: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-03-10 09:08:03] Production.INFO: count ==21
[2025-03-10 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648496') start
[2025-03-10 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648496') end
[2025-03-10 09:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:08:04] Production.INFO: 1
[2025-03-10 09:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:08:04] Production.INFO: ==22647== Releasing lock...
[2025-03-10 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:08:04] Production.ERROR: done
[2025-03-10 09:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:08:04] Production.INFO: Account Balance End.
[2025-03-10 09:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:08:04] Production.INFO: ==22643== Releasing lock...
[2025-03-10 09:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:08:04] Production.ERROR: done
[2025-03-10 09:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:08:05
[end_date_ymd] => 2025-03-10 09:08:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:08:05' and `end` < '2025-03-10 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-03-10 09: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,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-03-10 09:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:08:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:08:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:08:12] Production.INFO: call_cost start
[2025-03-10 09:08:12] Production.INFO: call_cost end
[2025-03-10 09:08:13] Production.ERROR: CronJobId end10
[2025-03-10 09:08:13] Production.INFO: ==22641== Releasing lock...
[2025-03-10 09:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:08:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:08:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:08:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:08:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:08:14] Production.INFO: ==22637== Releasing lock...
[2025-03-10 09:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:08:17] Production.INFO: count ==1096
[2025-03-10 09:08:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:08:05 - End Time 2025-03-10 09:08:05
[2025-03-10 09:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648497', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648497', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648497', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648497', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:08:18] Production.INFO: ProcessCDR(1,14648497,1,1,2)
[2025-03-10 09:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648497', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648497', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:08:23] Production.INFO: ==22645== Releasing lock...
[2025-03-10 09:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:08:23] Production.INFO: 36.25 MB #Memory Used#
[2025-03-10 13:09:02] Production.INFO: ==22780== Lock acquired, processing the job...
[2025-03-10 13:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:09:02] Production.INFO: neon service started
[2025-03-10 13:09:02] Production.INFO: neon service started
[2025-03-10 13:09:02] Production.INFO: ==22780== Releasing lock...
[2025-03-10 13:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:09:02] Production.INFO: ==22783== Lock acquired, processing the job...
[2025-03-10 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:09:02] Production.INFO: ==22783== Releasing lock...
[2025-03-10 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:09:03] Production.INFO: ==22785== Lock acquired, processing the job...
[2025-03-10 13:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:09:03] Production.INFO: ==22785== Releasing lock...
[2025-03-10 13:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:09:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:09:03] Production.INFO: ==22787== Lock acquired, processing the job...
[2025-03-10 09:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:09:03] Production.INFO: ==22791== Lock acquired, processing the job...
[2025-03-10 09:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:09:03] Production.INFO: ==22793== Lock acquired, processing the job...
[2025-03-10 09:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:09:03] Production.INFO: Account Balance Start.
[2025-03-10 09:09:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:09:03] Production.INFO: 117
[2025-03-10 09:09:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:09:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:09:04] Production.INFO: ==22789== Lock acquired, processing the job...
[2025-03-10 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:09:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:09:04] Production.INFO: Total Charge 0
[2025-03-10 09:09:04] Production.INFO: CreateAllLog End
[2025-03-10 09:09:04] Production.INFO: ==22797== Lock acquired, processing the job...
[2025-03-10 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:09:04] Production.INFO: ==22795== Lock acquired, processing the job...
[2025-03-10 09:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:09:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 09:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:09:04] Production.INFO: ==22793== Releasing lock...
[2025-03-10 09:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:09:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:09:04] Production.INFO: count ==21
[2025-03-10 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648501') start
[2025-03-10 09:09:04] Production.INFO: ==22789== Releasing lock...
[2025-03-10 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648501') end
[2025-03-10 09:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:09:04] Production.INFO: 1
[2025-03-10 09:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:09:04] Production.ERROR: done
[2025-03-10 09:09:04] Production.INFO: ==22797== Releasing lock...
[2025-03-10 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:09:05] Production.ERROR: done
[2025-03-10 09:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:09:06
[end_date_ymd] => 2025-03-10 09:09:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:09:06' and `end` < '2025-03-10 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-03-10 09:09:15] Production.ERROR: CronJobId end10
[2025-03-10 09:09:15] Production.INFO: ==22791== Releasing lock...
[2025-03-10 09:09:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:09:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:09:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:09:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:09:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:09:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:09:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:09:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:09:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:09:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:09:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:09:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:09:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:09:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:09:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:09:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:09:17] Production.INFO: call_cost start
[2025-03-10 09:09:17] Production.INFO: call_cost end
[2025-03-10 09:09:18] Production.INFO: count ==1104
[2025-03-10 09:09:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:09:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:09:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:09:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:09:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:09:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:09:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:09:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:09:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:09:18] Production.INFO: ==22787== Releasing lock...
[2025-03-10 09:09:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:09:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:09:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:09:06 - End Time 2025-03-10 09:09:06
[2025-03-10 09:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648502', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648502', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648502', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648502', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:09:18] Production.INFO: ProcessCDR(1,14648502,1,1,2)
[2025-03-10 09:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648502', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648502', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:09:24] Production.INFO: ==22795== Releasing lock...
[2025-03-10 09:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:09:24] Production.INFO: 36.25 MB #Memory Used#
[2025-03-10 13:10:01] Production.INFO: ==22886== Lock acquired, processing the job...
[2025-03-10 13:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:10:01] Production.INFO: neon service started
[2025-03-10 13:10:01] Production.INFO: neon service started
[2025-03-10 13:10:01] Production.INFO: ==22886== Releasing lock...
[2025-03-10 13:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:10:02] Production.INFO: ==22890== Lock acquired, processing the job...
[2025-03-10 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:10:02] Production.INFO: ==22890== Releasing lock...
[2025-03-10 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:10:02] Production.INFO: ==22888== Lock acquired, processing the job...
[2025-03-10 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:10:02] Production.INFO: ==22888== Releasing lock...
[2025-03-10 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:10:03] Production.INFO: ==22897== Lock acquired, processing the job...
[2025-03-10 09:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:10:04] Production.INFO: ==22893== Lock acquired, processing the job...
[2025-03-10 09:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 09:10:04] Production.INFO: ==22901== Lock acquired, processing the job...
[2025-03-10 09:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:10:04] Production.INFO: ==22907== Lock acquired, processing the job...
[2025-03-10 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:10:04] Production.INFO: ==22895== Lock acquired, processing the job...
[2025-03-10 09:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:10:04] Production.INFO: Account Balance Start.
[2025-03-10 09:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:10:04] Production.INFO: 117
[2025-03-10 09:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 09:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 09:10:04] Production.ERROR: CronJob PID - 22897
[2025-03-10 09:10:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 09:10:04] Production.ERROR: CronJob ID - 7
[2025-03-10 09:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 09:10:00
[2025-03-10 09:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 09:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 09:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 09:10:04] Production.ERROR: CronJob PID - 22901
[2025-03-10 09:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 09:10:04] Production.ERROR: CronJob ID - 12
[2025-03-10 09:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 09:10:00
[2025-03-10 09:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 09:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 09:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 09:10:04] Production.ERROR: CronJob PID - 22907
[2025-03-10 09:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 09:10:04] Production.ERROR: CronJob ID - 19
[2025-03-10 09:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 09:10:00
[2025-03-10 09:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 09:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 09:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 09:10:04] Production.INFO: ==22893== Releasing lock...
[2025-03-10 09:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 09:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 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-03-10 09:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:10:04] Production.INFO: ==22899== Lock acquired, processing the job...
[2025-03-10 09:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:10:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:10:04] Production.INFO: count ==21
[2025-03-10 09:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648505') start
[2025-03-10 09:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:10:04] Production.INFO: ==22903== Lock acquired, processing the job...
[2025-03-10 09:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:10:04] Production.INFO: ==22905== Lock acquired, processing the job...
[2025-03-10 09:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648505') end
[2025-03-10 09:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:10:04] Production.INFO: 1
[2025-03-10 09:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:10:04] Production.INFO: ==22897== Releasing lock...
[2025-03-10 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:10:04] Production.INFO: ==22907== Releasing lock...
[2025-03-10 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:10:04] Production.INFO: Total Charge 0
[2025-03-10 09:10:04] Production.INFO: CreateAllLog End
[2025-03-10 09:10:04] Production.ERROR: done
[2025-03-10 09:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:10:05] Production.ERROR: done
[2025-03-10 09:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 09:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648507', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 09:10:05] Production.ERROR: done
[2025-03-10 09:10:05] Production.INFO: Account Balance End.
[2025-03-10 09:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:10:05] Production.INFO: ==22901== Releasing lock...
[2025-03-10 09:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:10:07
[end_date_ymd] => 2025-03-10 09:10:07
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:10:07' and `end` < '2025-03-10 09: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-03-10 09:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648507', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 09:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 09:10:09] Production.INFO: ProcessCDR(1,14648507,1,1,2)
[2025-03-10 09:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648507,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648507,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:10:09] Production.INFO: ==22905== Releasing lock...
[2025-03-10 09:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 09:10:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 09:10:15] Production.ERROR: CronJobId end10
[2025-03-10 09:10:15] Production.INFO: ==22899== Releasing lock...
[2025-03-10 09:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:10:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:10:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:10:18] Production.INFO: call_cost start
[2025-03-10 09:10:18] Production.INFO: call_cost end
[2025-03-10 09:10:19] Production.INFO: count ==1128
[2025-03-10 09:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:10:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:10:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:10:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:10:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:10:19] Production.INFO: ==22895== Releasing lock...
[2025-03-10 09:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:10:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:10:07 - End Time 2025-03-10 09:10:07
[2025-03-10 09:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648508', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648508', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648508', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648508', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:10:19] Production.INFO: ProcessCDR(1,14648508,1,1,2)
[2025-03-10 09:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648508', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648508', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:10:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:10:25] Production.INFO: ==22903== Releasing lock...
[2025-03-10 09:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:10:25] Production.INFO: 36.5 MB #Memory Used#
[2025-03-10 13:11:02] Production.INFO: ==22991== Lock acquired, processing the job...
[2025-03-10 13:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:11:02] Production.INFO: neon service started
[2025-03-10 13:11:02] Production.INFO: neon service started
[2025-03-10 13:11:02] Production.INFO: ==22991== Releasing lock...
[2025-03-10 13:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:11:02] Production.INFO: ==22995== Lock acquired, processing the job...
[2025-03-10 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:11:02] Production.INFO: ==22995== Releasing lock...
[2025-03-10 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:11:02] Production.INFO: ==22993== Lock acquired, processing the job...
[2025-03-10 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:11:02] Production.INFO: ==22993== Releasing lock...
[2025-03-10 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:11:03] Production.INFO: ==23006== Lock acquired, processing the job...
[2025-03-10 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:11:04] Production.INFO: Account Balance Start.
[2025-03-10 09:11:04] Production.INFO: ==23010== Lock acquired, processing the job...
[2025-03-10 09:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:11:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:11:04] Production.INFO: 117
[2025-03-10 09:11:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:11:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:11:04] Production.INFO: ==23000== Lock acquired, processing the job...
[2025-03-10 09:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:11:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:11:04] Production.INFO: Total Charge 0
[2025-03-10 09:11:04] Production.INFO: ==23002== Lock acquired, processing the job...
[2025-03-10 09:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:11:04] Production.INFO: CreateAllLog End
[2025-03-10 09:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:11:04] Production.INFO: ==23008== Lock acquired, processing the job...
[2025-03-10 09:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:11:04] Production.INFO: ==23004== Lock acquired, processing the job...
[2025-03-10 09:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 09:11:04] Production.INFO: count ==13
[2025-03-10 09:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 09:11:04] Production.INFO: count ==21
[2025-03-10 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648510') start
[2025-03-10 09:11:04] Production.INFO: Account Balance End.
[2025-03-10 09:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648510') end
[2025-03-10 09:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:11:04] Production.INFO: 1
[2025-03-10 09:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:11:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:11:04] Production.INFO: ==23006== Releasing lock...
[2025-03-10 09:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:11:04] Production.ERROR: done
[2025-03-10 09:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:11:04] Production.INFO: ==23010== Releasing lock...
[2025-03-10 09:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:11:04] Production.INFO: ==23002== Releasing lock...
[2025-03-10 09:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:11:04] Production.ERROR: done
[2025-03-10 09:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:11:05
[end_date_ymd] => 2025-03-10 09:11:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:11:05' and `end` < '2025-03-10 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-03-10 09:11:14] Production.ERROR: CronJobId end10
[2025-03-10 09:11:14] Production.INFO: ==23004== Releasing lock...
[2025-03-10 09:11:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:11:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:11:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:11:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:11:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:11:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:11:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:11:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:11:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:11:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:11:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:11:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:11:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:11:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:11:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:11:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:11:17] Production.INFO: call_cost start
[2025-03-10 09:11:17] Production.INFO: call_cost end
[2025-03-10 09:11:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:11:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:11:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:11:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:11:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:11:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:11:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:11:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:11:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:11:18] Production.INFO: ==23000== Releasing lock...
[2025-03-10 09:11:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:11:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:11:18] Production.INFO: count ==1207
[2025-03-10 09:11:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:11:05 - End Time 2025-03-10 09:11:05
[2025-03-10 09:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648513', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648513', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648513', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648513', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:11:18] Production.INFO: ProcessCDR(1,14648513,1,1,2)
[2025-03-10 09:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:11:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648513', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648513', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:11:24] Production.INFO: ==23008== Releasing lock...
[2025-03-10 09:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:11:24] Production.INFO: 37 MB #Memory Used#
[2025-03-10 13:12:01] Production.INFO: ==23089== Lock acquired, processing the job...
[2025-03-10 13:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:12:01] Production.INFO: neon service started
[2025-03-10 13:12:01] Production.INFO: neon service started
[2025-03-10 13:12:01] Production.INFO: ==23089== Releasing lock...
[2025-03-10 13:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:12:02] Production.INFO: ==23091== Lock acquired, processing the job...
[2025-03-10 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:12:02] Production.INFO: ==23093== Lock acquired, processing the job...
[2025-03-10 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:12:02] Production.INFO: ==23093== Releasing lock...
[2025-03-10 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:12:02] Production.INFO: ==23091== Releasing lock...
[2025-03-10 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:12:03] Production.INFO: ==23104== Lock acquired, processing the job...
[2025-03-10 09:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:12:03] Production.INFO: Account Balance Start.
[2025-03-10 09:12:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:12:03] Production.INFO: 117
[2025-03-10 09:12:03] Production.INFO: ==23108== Lock acquired, processing the job...
[2025-03-10 09:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:12:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:12:03] Production.INFO: ==23098== Lock acquired, processing the job...
[2025-03-10 09:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:12:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:12:03] Production.INFO: Date 2025-03-10
[2025-03-10 09:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:12:03] Production.INFO: ==23100== Lock acquired, processing the job...
[2025-03-10 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:12:03] Production.INFO: Total Charge 0
[2025-03-10 09: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-03-10 09:12:03] Production.INFO: ==23102== Lock acquired, processing the job...
[2025-03-10 09:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:12:03] Production.INFO: CreateAllLog End
[2025-03-10 09:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:12:03] Production.INFO: count ==13
[2025-03-10 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-03-10 09:12:04] Production.INFO: count ==21
[2025-03-10 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648515') start
[2025-03-10 09:12:04] Production.INFO: ==23106== Lock acquired, processing the job...
[2025-03-10 09:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648515') end
[2025-03-10 09:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:12:04] Production.INFO: 1
[2025-03-10 09:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:12:04] Production.INFO: Account Balance End.
[2025-03-10 09:12:04] Production.INFO: ==23108== Releasing lock...
[2025-03-10 09:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:12:04] Production.INFO: ==23104== Releasing lock...
[2025-03-10 09:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:12:04] Production.INFO: ==23100== Releasing lock...
[2025-03-10 09:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:12:04] Production.ERROR: done
[2025-03-10 09:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:12:04] Production.ERROR: done
[2025-03-10 09:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:12:05
[end_date_ymd] => 2025-03-10 09:12:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:12:05' and `end` < '2025-03-10 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-03-10 09:12:14] Production.ERROR: CronJobId end10
[2025-03-10 09:12:14] Production.INFO: ==23102== Releasing lock...
[2025-03-10 09:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:12:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:12:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:12:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:12:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:12:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:12:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:12:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:12:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:12:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:12:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:12:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:12:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:12:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:12:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:12:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:12:16] Production.INFO: call_cost start
[2025-03-10 09:12:16] Production.INFO: call_cost end
[2025-03-10 09:12:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:12:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:12:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:12:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:12:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:12:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:12:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:12:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:12:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:12:17] Production.INFO: ==23098== Releasing lock...
[2025-03-10 09:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:12:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:12:18] Production.INFO: count ==1232
[2025-03-10 09:12:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:12:05 - End Time 2025-03-10 09:12:05
[2025-03-10 09:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648518', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648518', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648518', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648518', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:12:18] Production.INFO: ProcessCDR(1,14648518,1,1,2)
[2025-03-10 09:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648518', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648518', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:12:22] Production.INFO: ==23106== Releasing lock...
[2025-03-10 09:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:12:22] Production.INFO: 37.5 MB #Memory Used#
[2025-03-10 13:13:01] Production.INFO: ==23188== Lock acquired, processing the job...
[2025-03-10 13:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:13:01] Production.INFO: neon service started
[2025-03-10 13:13:01] Production.INFO: neon service started
[2025-03-10 13:13:01] Production.INFO: ==23188== Releasing lock...
[2025-03-10 13:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:13:02] Production.INFO: ==23192== Lock acquired, processing the job...
[2025-03-10 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:13:02] Production.INFO: ==23194== Lock acquired, processing the job...
[2025-03-10 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:13:02] Production.INFO: ==23194== Releasing lock...
[2025-03-10 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:13:03] Production.INFO: ==23192== Releasing lock...
[2025-03-10 09:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:13:04] Production.INFO: ==23201== Lock acquired, processing the job...
[2025-03-10 09:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:13:04] Production.INFO: ==23205== Lock acquired, processing the job...
[2025-03-10 09:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:13:04] Production.INFO: ==23199== Lock acquired, processing the job...
[2025-03-10 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:13:04] Production.INFO: ==23197== Lock acquired, processing the job...
[2025-03-10 09:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:13:04] Production.INFO: ==23203== Lock acquired, processing the job...
[2025-03-10 09:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:13:04] Production.INFO: ==23207== Lock acquired, processing the job...
[2025-03-10 09:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:13:04] Production.INFO: Account Balance Start.
[2025-03-10 09:13:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:13:04] Production.INFO: 117
[2025-03-10 09:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:13:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:13:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:13:04] Production.INFO: Total Charge 0
[2025-03-10 09:13:04] Production.INFO: CreateAllLog End
[2025-03-10 09:13:04] Production.ERROR: done
[2025-03-10 09:13:04] Production.INFO: ==23199== Releasing lock...
[2025-03-10 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 09:13:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:13:04] Production.INFO: count ==21
[2025-03-10 09:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648522') start
[2025-03-10 09:13:04] Production.ERROR: done
[2025-03-10 09:13:05] Production.INFO: Account Balance End.
[2025-03-10 09:13:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648522') end
[2025-03-10 09:13:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:13:05] Production.INFO: 1
[2025-03-10 09:13:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:13:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:13:05] Production.INFO: ==23203== Releasing lock...
[2025-03-10 09:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:13:05] Production.INFO: ==23207== Releasing lock...
[2025-03-10 09:13:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:13:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:13:06
[end_date_ymd] => 2025-03-10 09:13:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:13:06' and `end` < '2025-03-10 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-03-10 09:13:13] Production.ERROR: CronJobId end10
[2025-03-10 09:13:13] Production.INFO: ==23201== Releasing lock...
[2025-03-10 09:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:13:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:13:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:13:15] Production.INFO: call_cost start
[2025-03-10 09:13:15] Production.INFO: call_cost end
[2025-03-10 09:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:13:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:13:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:13:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:13:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:13:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:13:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:13:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:13:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:13:17] Production.INFO: ==23197== Releasing lock...
[2025-03-10 09:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:13:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:13:18] Production.INFO: count ==1265
[2025-03-10 09:13:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:13:06 - End Time 2025-03-10 09:13:06
[2025-03-10 09:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648523', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648523', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648523', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648523', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:13:18] Production.INFO: ProcessCDR(1,14648523,1,1,2)
[2025-03-10 09:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648523', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648523', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:13:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:13:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:13:24] Production.INFO: ==23205== Releasing lock...
[2025-03-10 09:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:13:24] Production.INFO: 37.5 MB #Memory Used#
[2025-03-10 13:14:01] Production.INFO: ==23285== Lock acquired, processing the job...
[2025-03-10 13:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:14:01] Production.INFO: neon service started
[2025-03-10 13:14:01] Production.INFO: neon service started
[2025-03-10 13:14:01] Production.INFO: ==23285== Releasing lock...
[2025-03-10 13:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:14:02] Production.INFO: ==23287== Lock acquired, processing the job...
[2025-03-10 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:14:02] Production.INFO: ==23289== Lock acquired, processing the job...
[2025-03-10 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:14:02] Production.INFO: ==23289== Releasing lock...
[2025-03-10 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:14:02] Production.INFO: ==23287== Releasing lock...
[2025-03-10 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:14:03] Production.INFO: ==23294== Lock acquired, processing the job...
[2025-03-10 09:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:14:03] Production.INFO: ==23296== Lock acquired, processing the job...
[2025-03-10 09:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:14:03] Production.INFO: ==23300== Lock acquired, processing the job...
[2025-03-10 09:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:14:03] Production.INFO: Account Balance Start.
[2025-03-10 09:14:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:14:03] Production.INFO: 117
[2025-03-10 09:14:03] Production.INFO: ==23296== Releasing lock...
[2025-03-10 09:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:14:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:14:03] Production.INFO: ==23298== Lock acquired, processing the job...
[2025-03-10 09:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:14:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:14:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:14:04] Production.INFO: ==23302== Lock acquired, processing the job...
[2025-03-10 09:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:14:04] Production.INFO: Total Charge 0
[2025-03-10 09:14:04] Production.INFO: CreateAllLog End
[2025-03-10 09:14:04] Production.INFO: ==23304== Lock acquired, processing the job...
[2025-03-10 09:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09: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-03-10 09:14:04] Production.INFO: count ==13
[2025-03-10 09:14:04] Production.ERROR: done
[2025-03-10 09: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-03-10 09:14:04] Production.INFO: Account Balance End.
[2025-03-10 09:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:14:04] Production.INFO: ==23300== Releasing lock...
[2025-03-10 09:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:14:04] Production.INFO: count ==21
[2025-03-10 09:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648527') start
[2025-03-10 09:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648527') end
[2025-03-10 09:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:14:04] Production.INFO: 1
[2025-03-10 09:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:14:04] Production.INFO: ==23304== Releasing lock...
[2025-03-10 09:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:14:04] Production.ERROR: done
[2025-03-10 09:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:14:05
[end_date_ymd] => 2025-03-10 09:14:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:14:05' and `end` < '2025-03-10 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-03-10 09:14:14] Production.ERROR: CronJobId end10
[2025-03-10 09:14:14] Production.INFO: ==23298== Releasing lock...
[2025-03-10 09:14:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:14:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:14:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:14:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:14:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:14:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:14:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:14:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:14:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:14:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:14:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:14:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:14:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:14:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:14:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:14:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:14:16] Production.INFO: call_cost start
[2025-03-10 09:14:16] Production.INFO: call_cost end
[2025-03-10 09:14:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:14:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:14:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:14:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:14:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:14:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:14:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:14:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:14:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:14:17] Production.INFO: ==23294== Releasing lock...
[2025-03-10 09:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:14:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:14:18] Production.INFO: count ==1288
[2025-03-10 09:14:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:14:05 - End Time 2025-03-10 09:14:05
[2025-03-10 09:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648528', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648528', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648528', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648528', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:14:18] Production.INFO: ProcessCDR(1,14648528,1,1,2)
[2025-03-10 09:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648528', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648528', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:14:24] Production.INFO: ==23302== Releasing lock...
[2025-03-10 09:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:14:24] Production.INFO: 37.75 MB #Memory Used#
[2025-03-10 13:15:01] Production.INFO: ==23382== Lock acquired, processing the job...
[2025-03-10 13:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:15:01] Production.INFO: neon service started
[2025-03-10 13:15:02] Production.INFO: neon service started
[2025-03-10 13:15:02] Production.INFO: ==23382== Releasing lock...
[2025-03-10 13:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:15:02] Production.INFO: ==23386== Lock acquired, processing the job...
[2025-03-10 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:15:02] Production.INFO: ==23388== Lock acquired, processing the job...
[2025-03-10 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:15:02] Production.INFO: ==23388== Releasing lock...
[2025-03-10 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:15:03] Production.INFO: ==23386== Releasing lock...
[2025-03-10 09:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:15:04] Production.INFO: ==23391== Lock acquired, processing the job...
[2025-03-10 09:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:15:04] Production.INFO: ==23393== Lock acquired, processing the job...
[2025-03-10 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:15:04] Production.INFO: ==23395== Lock acquired, processing the job...
[2025-03-10 09:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:15:04] Production.INFO: ==23397== Lock acquired, processing the job...
[2025-03-10 09:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:15:04] Production.INFO: ==23393== Releasing lock...
[2025-03-10 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:15:04] Production.INFO: Account Balance Start.
[2025-03-10 09:15:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:15:04] Production.INFO: 117
[2025-03-10 09:15:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:15:04] Production.INFO: ==23399== Lock acquired, processing the job...
[2025-03-10 09:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:15:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:15:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:15:04] Production.INFO: ==23401== Lock acquired, processing the job...
[2025-03-10 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:15:04] Production.INFO: Total Charge 0
[2025-03-10 09:15:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 09:15:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:15:04] Production.INFO: count ==21
[2025-03-10 09:15:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648532') start
[2025-03-10 09:15:05] Production.ERROR: done
[2025-03-10 09:15:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:15:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648532') end
[2025-03-10 09:15:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:15:05] Production.INFO: 1
[2025-03-10 09:15:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:15:05] Production.INFO: ==23401== Releasing lock...
[2025-03-10 09:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:15:05] Production.INFO: Account Balance End.
[2025-03-10 09:15:05] Production.ERROR: done
[2025-03-10 09:15:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:15:05] Production.INFO: ==23397== Releasing lock...
[2025-03-10 09:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:15:06
[end_date_ymd] => 2025-03-10 09:15:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:15:06' and `end` < '2025-03-10 09: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-03-10 09:15:13] Production.ERROR: CronJobId end10
[2025-03-10 09:15:13] Production.INFO: ==23395== Releasing lock...
[2025-03-10 09:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:15:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:15:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:15:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:15:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:15:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:15:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:15:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:15:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:15:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:15:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:15:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:15:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:15:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:15:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:15:17] Production.INFO: call_cost start
[2025-03-10 09:15:17] Production.INFO: call_cost end
[2025-03-10 09:15:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:15:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:15:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:15:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:15:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:15:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:15:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:15:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:15:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:15:18] Production.INFO: ==23391== Releasing lock...
[2025-03-10 09:15:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:15:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:15:18] Production.INFO: count ==1297
[2025-03-10 09:15:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:15:06 - End Time 2025-03-10 09:15:06
[2025-03-10 09:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648533', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648533', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648533', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648533', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:15:19] Production.INFO: ProcessCDR(1,14648533,1,1,2)
[2025-03-10 09:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:15:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:15:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648533', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648533', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:15:24] Production.INFO: ==23399== Releasing lock...
[2025-03-10 09:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:15:24] Production.INFO: 37.75 MB #Memory Used#
[2025-03-10 13:16:01] Production.INFO: ==23458== Lock acquired, processing the job...
[2025-03-10 13:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:16:01] Production.INFO: neon service started
[2025-03-10 13:16:01] Production.INFO: neon service started
[2025-03-10 13:16:01] Production.INFO: ==23458== Releasing lock...
[2025-03-10 13:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:16:01] Production.INFO: ==23460== Lock acquired, processing the job...
[2025-03-10 09:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:16:02] Production.INFO: ==23460== Releasing lock...
[2025-03-10 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:16:02] Production.INFO: ==23462== Lock acquired, processing the job...
[2025-03-10 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:16:02] Production.INFO: ==23462== Releasing lock...
[2025-03-10 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:16:03] Production.INFO: ==23464== Lock acquired, processing the job...
[2025-03-10 09:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:16:03] Production.INFO: ==23468== Lock acquired, processing the job...
[2025-03-10 09:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:16:03] Production.INFO: ==23474== Lock acquired, processing the job...
[2025-03-10 09:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:16:03] Production.INFO: ==23466== Lock acquired, processing the job...
[2025-03-10 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:16:03] Production.INFO: ==23470== Lock acquired, processing the job...
[2025-03-10 09:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09: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-03-10 09:16:03] Production.INFO: Account Balance Start.
[2025-03-10 09:16:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:16:03] Production.INFO: 117
[2025-03-10 09:16:03] Production.INFO: count ==13
[2025-03-10 09:16:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:16:03] Production.INFO: ==23472== Lock acquired, processing the job...
[2025-03-10 09:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09: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-03-10 09:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:16:03] Production.INFO: count ==21
[2025-03-10 09:16:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648536') start
[2025-03-10 09:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:16:03] Production.INFO: Date 2025-03-10
[2025-03-10 09:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:16:03] Production.INFO: Total Charge 0
[2025-03-10 09:16:03] Production.INFO: CreateAllLog End
[2025-03-10 09:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648536') end
[2025-03-10 09:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:16:03] Production.INFO: 1
[2025-03-10 09:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:16:04] Production.INFO: ==23466== Releasing lock...
[2025-03-10 09:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:16:04] Production.INFO: ==23474== Releasing lock...
[2025-03-10 09:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:16:04] Production.INFO: Account Balance End.
[2025-03-10 09:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:16:04] Production.INFO: ==23470== Releasing lock...
[2025-03-10 09:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:16:04] Production.ERROR: done
[2025-03-10 09:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:16:04] Production.ERROR: done
[2025-03-10 09:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:16:05
[end_date_ymd] => 2025-03-10 09:16:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:16:05' and `end` < '2025-03-10 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-03-10 09:16:12] Production.ERROR: CronJobId end10
[2025-03-10 09:16:12] Production.INFO: ==23468== Releasing lock...
[2025-03-10 09:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:16:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:16:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:16:15] Production.INFO: call_cost start
[2025-03-10 09:16:15] Production.INFO: call_cost end
[2025-03-10 09:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:16:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:16:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:16:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:16:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:16:16] Production.INFO: ==23464== Releasing lock...
[2025-03-10 09:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:16:17] Production.INFO: count ==1322
[2025-03-10 09:16:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:16:05 - End Time 2025-03-10 09:16:05
[2025-03-10 09:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648538', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648538', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648538', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648538', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:16:18] Production.INFO: ProcessCDR(1,14648538,1,1,2)
[2025-03-10 09:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648538', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648538', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:16:22] Production.INFO: ==23472== Releasing lock...
[2025-03-10 09:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:16:22] Production.INFO: 38.25 MB #Memory Used#
[2025-03-10 13:17:01] Production.INFO: ==23528== Lock acquired, processing the job...
[2025-03-10 13:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:17:02] Production.INFO: neon service started
[2025-03-10 13:17:02] Production.INFO: neon service started
[2025-03-10 13:17:02] Production.INFO: ==23528== Releasing lock...
[2025-03-10 13:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:17:02] Production.INFO: ==23532== Lock acquired, processing the job...
[2025-03-10 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:17:02] Production.INFO: ==23532== Releasing lock...
[2025-03-10 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:17:02] Production.INFO: ==23530== Lock acquired, processing the job...
[2025-03-10 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:17:02] Production.INFO: ==23530== Releasing lock...
[2025-03-10 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:17:03] Production.INFO: ==23535== Lock acquired, processing the job...
[2025-03-10 09:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:17:03] Production.INFO: ==23541== Lock acquired, processing the job...
[2025-03-10 09:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:17:04] Production.INFO: ==23537== Lock acquired, processing the job...
[2025-03-10 09:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:17:04] Production.INFO: ==23539== Lock acquired, processing the job...
[2025-03-10 09:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:17:04] Production.INFO: Account Balance Start.
[2025-03-10 09:17:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:17:04] Production.INFO: 117
[2025-03-10 09:17:04] Production.INFO: ==23543== Lock acquired, processing the job...
[2025-03-10 09:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:17:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:17:04] Production.INFO: ==23545== Lock acquired, processing the job...
[2025-03-10 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:17:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:17:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 09:17:04] Production.INFO: CreateAllLog End
[2025-03-10 09:17:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:17:04] Production.INFO: count ==21
[2025-03-10 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648542') start
[2025-03-10 09:17:04] Production.ERROR: done
[2025-03-10 09:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648542') end
[2025-03-10 09:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:17:04] Production.INFO: 1
[2025-03-10 09:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:17:04] Production.INFO: ==23545== Releasing lock...
[2025-03-10 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:17:04] Production.INFO: ==23537== Releasing lock...
[2025-03-10 09:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:17:04] Production.ERROR: done
[2025-03-10 09:17:04] Production.INFO: Account Balance End.
[2025-03-10 09:17:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:17:04] Production.INFO: ==23541== Releasing lock...
[2025-03-10 09:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:17:05
[end_date_ymd] => 2025-03-10 09:17:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:17:05' and `end` < '2025-03-10 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-03-10 09:17:13] Production.ERROR: CronJobId end10
[2025-03-10 09:17:13] Production.INFO: ==23539== Releasing lock...
[2025-03-10 09:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:17:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:17:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:17:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:17:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:17:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:17:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:17:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:17:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:17:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:17:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:17:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:17:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:17:16] Production.INFO: call_cost start
[2025-03-10 09:17:16] Production.INFO: call_cost end
[2025-03-10 09:17:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:17:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:17:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:17:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:17:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:17:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:17:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:17:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:17:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:17:17] Production.INFO: ==23535== Releasing lock...
[2025-03-10 09:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:17:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:17:18] Production.INFO: count ==1339
[2025-03-10 09:17:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:17:05 - End Time 2025-03-10 09:17:05
[2025-03-10 09:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648543', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648543', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648543', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648543', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:17:18] Production.INFO: ProcessCDR(1,14648543,1,1,2)
[2025-03-10 09:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:17:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648543', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648543', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:17:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:17:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:17:24] Production.INFO: ==23543== Releasing lock...
[2025-03-10 09:17:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:17:24] Production.INFO: 38 MB #Memory Used#
[2025-03-10 13:18:01] Production.INFO: ==23614== Lock acquired, processing the job...
[2025-03-10 13:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:18:01] Production.INFO: neon service started
[2025-03-10 13:18:01] Production.INFO: neon service started
[2025-03-10 13:18:01] Production.INFO: ==23614== Releasing lock...
[2025-03-10 13:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:18:01] Production.INFO: ==23616== Lock acquired, processing the job...
[2025-03-10 09:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:18:02] Production.INFO: ==23616== Releasing lock...
[2025-03-10 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:18:02] Production.INFO: ==23618== Lock acquired, processing the job...
[2025-03-10 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:18:02] Production.INFO: ==23618== Releasing lock...
[2025-03-10 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:18:03] Production.INFO: ==23624== Lock acquired, processing the job...
[2025-03-10 09:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:18:03] Production.INFO: ==23631== Lock acquired, processing the job...
[2025-03-10 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:18:03] Production.INFO: ==23620== Lock acquired, processing the job...
[2025-03-10 09:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:18:03] Production.INFO: ==23622== Lock acquired, processing the job...
[2025-03-10 09:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 09:18:03] Production.INFO: count ==13
[2025-03-10 09:18:03] Production.INFO: ==23626== Lock acquired, processing the job...
[2025-03-10 09:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 09:18:03] Production.INFO: count ==21
[2025-03-10 09:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648544') start
[2025-03-10 09:18:03] Production.INFO: ==23628== Lock acquired, processing the job...
[2025-03-10 09:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648544') end
[2025-03-10 09:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:18:03] Production.INFO: 1
[2025-03-10 09:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:18:03] Production.INFO: Account Balance Start.
[2025-03-10 09:18:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:18:03] Production.INFO: 117
[2025-03-10 09:18:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:18:03] Production.INFO: ==23631== Releasing lock...
[2025-03-10 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:18:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:18:03] Production.INFO: Date 2025-03-10
[2025-03-10 09:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:18:04] Production.INFO: ==23622== Releasing lock...
[2025-03-10 09:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:18:04] Production.INFO: Total Charge 0
[2025-03-10 09:18:04] Production.INFO: CreateAllLog End
[2025-03-10 09:18:04] Production.ERROR: done
[2025-03-10 09:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:18:04] Production.ERROR: done
[2025-03-10 09:18:04] Production.INFO: Account Balance End.
[2025-03-10 09:18:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:18:04] Production.INFO: ==23626== Releasing lock...
[2025-03-10 09:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:18:05
[end_date_ymd] => 2025-03-10 09:18:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:18:05' and `end` < '2025-03-10 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-03-10 09:18:13] Production.ERROR: CronJobId end10
[2025-03-10 09:18:13] Production.INFO: ==23624== Releasing lock...
[2025-03-10 09:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:18:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:18:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:18:16] Production.INFO: call_cost start
[2025-03-10 09:18:16] Production.INFO: call_cost end
[2025-03-10 09:18:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:18:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:18:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:18:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:18:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:18:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:18:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:18:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:18:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:18:17] Production.INFO: ==23620== Releasing lock...
[2025-03-10 09:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:18:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:18:17] Production.INFO: count ==1368
[2025-03-10 09:18:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:18:05 - End Time 2025-03-10 09:18:05
[2025-03-10 09:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648548', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648548', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648548', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648548', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:18:18] Production.INFO: ProcessCDR(1,14648548,1,1,2)
[2025-03-10 09:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648548', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648548', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:18:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:18:24] Production.INFO: ==23628== Releasing lock...
[2025-03-10 09:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:18:24] Production.INFO: 38.75 MB #Memory Used#
[2025-03-10 13:19:01] Production.INFO: ==23691== Lock acquired, processing the job...
[2025-03-10 13:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:19:02] Production.INFO: neon service started
[2025-03-10 13:19:02] Production.INFO: neon service started
[2025-03-10 13:19:02] Production.INFO: ==23691== Releasing lock...
[2025-03-10 13:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:19:02] Production.INFO: ==23693== Lock acquired, processing the job...
[2025-03-10 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:19:02] Production.INFO: ==23695== Lock acquired, processing the job...
[2025-03-10 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:19:02] Production.INFO: ==23695== Releasing lock...
[2025-03-10 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:19:03] Production.INFO: ==23693== Releasing lock...
[2025-03-10 09:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:19:04] Production.INFO: ==23700== Lock acquired, processing the job...
[2025-03-10 09:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:19:04] Production.INFO: ==23704== Lock acquired, processing the job...
[2025-03-10 09:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:19:04] Production.INFO: ==23706== Lock acquired, processing the job...
[2025-03-10 09:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:19:04] Production.INFO: Account Balance Start.
[2025-03-10 09:19:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:19:04] Production.INFO: 117
[2025-03-10 09:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:19:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:19:04] Production.INFO: ==23698== Lock acquired, processing the job...
[2025-03-10 09:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:19:04] Production.INFO: ==23708== Lock acquired, processing the job...
[2025-03-10 09:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:19:04] Production.INFO: ==23702== Lock acquired, processing the job...
[2025-03-10 09:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:19:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:19:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:19:04] Production.INFO: ==23700== Releasing lock...
[2025-03-10 09:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 09:19:04] Production.INFO: Total Charge 0
[2025-03-10 09:19:04] Production.INFO: count ==13
[2025-03-10 09:19:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 09:19:04] Production.INFO: count ==21
[2025-03-10 09:19:04] Production.ERROR: done
[2025-03-10 09:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648551') start
[2025-03-10 09:19:04] Production.ERROR: done
[2025-03-10 09:19:04] Production.INFO: Account Balance End.
[2025-03-10 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648551') end
[2025-03-10 09:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:19:04] Production.INFO: 1
[2025-03-10 09:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:19:04] Production.INFO: ==23708== Releasing lock...
[2025-03-10 09:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:19:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:19:04] Production.INFO: ==23704== Releasing lock...
[2025-03-10 09:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:19:05
[end_date_ymd] => 2025-03-10 09:19:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:19:05' and `end` < '2025-03-10 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-03-10 09:19:12] Production.ERROR: CronJobId end10
[2025-03-10 09:19:12] Production.INFO: ==23702== Releasing lock...
[2025-03-10 09:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:19:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:19:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:19:15] Production.INFO: call_cost start
[2025-03-10 09:19:15] Production.INFO: call_cost end
[2025-03-10 09:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:19:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:19:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:19:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:19:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:19:16] Production.INFO: ==23698== Releasing lock...
[2025-03-10 09:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:19:18] Production.INFO: count ==1397
[2025-03-10 09:19:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:19:05 - End Time 2025-03-10 09:19:05
[2025-03-10 09:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648553', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648553', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648553', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648553', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:19:19] Production.INFO: ProcessCDR(1,14648553,1,1,2)
[2025-03-10 09:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:19:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648553', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648553', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:19:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:19:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:19:24] Production.INFO: ==23706== Releasing lock...
[2025-03-10 09:19:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:19:24] Production.INFO: 38.75 MB #Memory Used#
[2025-03-10 13:20:01] Production.INFO: ==23761== Lock acquired, processing the job...
[2025-03-10 13:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:20:01] Production.INFO: neon service started
[2025-03-10 13:20:01] Production.INFO: neon service started
[2025-03-10 13:20:01] Production.INFO: ==23761== Releasing lock...
[2025-03-10 13:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:20:01] Production.INFO: ==23763== Lock acquired, processing the job...
[2025-03-10 09:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:20:02] Production.INFO: ==23763== Releasing lock...
[2025-03-10 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:20:02] Production.INFO: ==23765== Lock acquired, processing the job...
[2025-03-10 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:20:02] Production.INFO: ==23765== Releasing lock...
[2025-03-10 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:20:03] Production.INFO: ==23769== Lock acquired, processing the job...
[2025-03-10 09:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:20:03] Production.INFO: ==23767== Lock acquired, processing the job...
[2025-03-10 09:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 09:20:03] Production.INFO: ==23771== Lock acquired, processing the job...
[2025-03-10 09:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 09:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 09:20:03] Production.ERROR: CronJob PID - 23769
[2025-03-10 09:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 09:20:03] Production.ERROR: CronJob ID - 5
[2025-03-10 09:20:03] Production.ERROR: CronJob Last Run Time 2025-03-10 09:20:00
[2025-03-10 09:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 09:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 09:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 09:20:03] Production.ERROR: CronJob PID - 23771
[2025-03-10 09:20:03] Production.ERROR: CronJob Title - Account Block
[2025-03-10 09:20:03] Production.ERROR: CronJob ID - 7
[2025-03-10 09:20:03] Production.ERROR: CronJob Last Run Time 2025-03-10 09:20:00
[2025-03-10 09:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 09:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 09:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 09:20:03] Production.INFO: ==23767== Releasing lock...
[2025-03-10 09:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 09:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 09:20:03] Production.INFO: ==23780== Lock acquired, processing the job...
[2025-03-10 09:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 09:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:20:03] Production.INFO: ==23773== Lock acquired, processing the job...
[2025-03-10 09:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:20:03] Production.INFO: ==23775== Lock acquired, processing the job...
[2025-03-10 09:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:20:04] Production.INFO: ==23771== Releasing lock...
[2025-03-10 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:20:04] Production.INFO: Account Balance Start.
[2025-03-10 09:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:20:04] Production.INFO: 117
[2025-03-10 09:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:20:04] Production.INFO: ==23777== Lock acquired, processing the job...
[2025-03-10 09:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:20:04] Production.INFO: ==23782== Lock acquired, processing the job...
[2025-03-10 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:20:04] Production.ERROR: done
[2025-03-10 09:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 09:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648557', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 09:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:20:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 09:20:04] Production.INFO: CreateAllLog End
[2025-03-10 09:20:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:20:04] Production.INFO: count ==21
[2025-03-10 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648558') start
[2025-03-10 09:20:04] Production.ERROR: done
[2025-03-10 09:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:20:04] Production.INFO: Account Balance End.
[2025-03-10 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648558') end
[2025-03-10 09:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:20:04] Production.INFO: 1
[2025-03-10 09:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:20:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:20:04] Production.INFO: ==23775== Releasing lock...
[2025-03-10 09:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:20:04] Production.INFO: ==23782== Releasing lock...
[2025-03-10 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:20:04] Production.ERROR: done
[2025-03-10 09:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:20:06
[end_date_ymd] => 2025-03-10 09:20:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:20:06' and `end` < '2025-03-10 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-03-10 09:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648557', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 09:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 09:20:09] Production.INFO: ProcessCDR(1,14648557,1,1,2)
[2025-03-10 09:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648557,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648557,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:20:09] Production.INFO: ==23780== Releasing lock...
[2025-03-10 09:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 09:20:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 09:20:16] Production.ERROR: CronJobId end10
[2025-03-10 09:20:16] Production.INFO: ==23773== Releasing lock...
[2025-03-10 09:20:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:20:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:20:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:20:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:20:18] Production.INFO: call_cost start
[2025-03-10 09:20:18] Production.INFO: call_cost end
[2025-03-10 09:20:18] Production.INFO: count ==1446
[2025-03-10 09:20:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:20:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:20:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:20:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:20:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:20:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:20:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:20:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:20:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:20:19] Production.INFO: ==23769== Releasing lock...
[2025-03-10 09:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:20:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:20:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:20:06 - End Time 2025-03-10 09:20:06
[2025-03-10 09:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648559', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648559', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648559', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648559', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:20:19] Production.INFO: ProcessCDR(1,14648559,1,1,2)
[2025-03-10 09:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648559', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648559', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:20:23] Production.INFO: ==23777== Releasing lock...
[2025-03-10 09:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:20:23] Production.INFO: 39 MB #Memory Used#
[2025-03-10 13:21:01] Production.INFO: ==23835== Lock acquired, processing the job...
[2025-03-10 13:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:21:01] Production.INFO: neon service started
[2025-03-10 13:21:02] Production.INFO: neon service started
[2025-03-10 13:21:02] Production.INFO: ==23835== Releasing lock...
[2025-03-10 13:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:21:02] Production.INFO: ==23839== Lock acquired, processing the job...
[2025-03-10 09:21:02] Production.INFO: ==23837== Lock acquired, processing the job...
[2025-03-10 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:21:02] Production.INFO: ==23839== Releasing lock...
[2025-03-10 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:21:03] Production.INFO: ==23837== Releasing lock...
[2025-03-10 09:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:21:03] Production.INFO: ==23842== Lock acquired, processing the job...
[2025-03-10 09:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:21:04] Production.INFO: ==23844== Lock acquired, processing the job...
[2025-03-10 09:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:21:04] Production.INFO: ==23850== Lock acquired, processing the job...
[2025-03-10 09:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:21:04] Production.INFO: ==23846== Lock acquired, processing the job...
[2025-03-10 09:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:21:04] Production.INFO: ==23852== Lock acquired, processing the job...
[2025-03-10 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:21:04] Production.INFO: ==23848== Lock acquired, processing the job...
[2025-03-10 09:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:21:04] Production.ERROR: done
[2025-03-10 09:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:21:04] Production.INFO: Account Balance Start.
[2025-03-10 09:21:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:21:04] Production.INFO: 117
[2025-03-10 09:21:04] Production.ERROR: done
[2025-03-10 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-03-10 09:21:04] Production.INFO: ==23844== Releasing lock...
[2025-03-10 09:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:21:04] Production.INFO: count ==13
[2025-03-10 09:21:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 09:21:04] Production.INFO: count ==21
[2025-03-10 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648562') start
[2025-03-10 09:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648562') end
[2025-03-10 09:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:21:04] Production.INFO: 1
[2025-03-10 09:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:21:04] Production.INFO: ==23852== Releasing lock...
[2025-03-10 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:21:04] Production.INFO: Total Charge 0
[2025-03-10 09:21:04] Production.INFO: CreateAllLog End
[2025-03-10 09:21:05] Production.INFO: Account Balance End.
[2025-03-10 09:21:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:21:05] Production.INFO: ==23848== Releasing lock...
[2025-03-10 09:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:21:05
[end_date_ymd] => 2025-03-10 09:21:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:21:05' and `end` < '2025-03-10 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-03-10 09:21:15] Production.ERROR: CronJobId end10
[2025-03-10 09:21:15] Production.INFO: ==23846== Releasing lock...
[2025-03-10 09:21:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:21:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:21:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:21:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:21:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:21:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:21:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:21:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:21:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:21:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:21:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:21:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:21:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:21:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:21:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:21:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:21:17] Production.INFO: call_cost start
[2025-03-10 09:21:17] Production.INFO: call_cost end
[2025-03-10 09:21:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:21:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:21:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:21:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:21:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:21:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:21:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:21:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:21:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:21:18] Production.INFO: ==23842== Releasing lock...
[2025-03-10 09:21:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:21:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:21:18] Production.INFO: count ==1533
[2025-03-10 09:21:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:21:05 - End Time 2025-03-10 09:21:05
[2025-03-10 09:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648564', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648564', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648564', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648564', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:21:18] Production.INFO: ProcessCDR(1,14648564,1,1,2)
[2025-03-10 09:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648564', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648564', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:21:22] Production.INFO: ==23850== Releasing lock...
[2025-03-10 09:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:21:22] Production.INFO: 39.5 MB #Memory Used#
[2025-03-10 13:22:01] Production.INFO: ==23905== Lock acquired, processing the job...
[2025-03-10 13:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:22:01] Production.INFO: neon service started
[2025-03-10 13:22:01] Production.INFO: neon service started
[2025-03-10 13:22:01] Production.INFO: ==23905== Releasing lock...
[2025-03-10 13:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:22:01] Production.INFO: ==23909== Lock acquired, processing the job...
[2025-03-10 13:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:22:01] Production.INFO: ==23909== Releasing lock...
[2025-03-10 13:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:22:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:22:02] Production.INFO: ==23907== Lock acquired, processing the job...
[2025-03-10 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:22:02] Production.INFO: ==23907== Releasing lock...
[2025-03-10 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:22:03] Production.INFO: ==23912== Lock acquired, processing the job...
[2025-03-10 09:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:22:03] Production.INFO: ==23918== Lock acquired, processing the job...
[2025-03-10 09:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:22:03] Production.INFO: Account Balance Start.
[2025-03-10 09:22:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:22:03] Production.INFO: 117
[2025-03-10 09:22:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:22:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:22:03] Production.INFO: ==23914== Lock acquired, processing the job...
[2025-03-10 09:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:22:03] Production.INFO: ==23916== Lock acquired, processing the job...
[2025-03-10 09:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:22:03] Production.INFO: ==23920== Lock acquired, processing the job...
[2025-03-10 09:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:22:03] Production.INFO: Date 2025-03-10
[2025-03-10 09:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:22:03] Production.INFO: Total Charge 0
[2025-03-10 09:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:22:03] Production.INFO: ==23922== Lock acquired, processing the job...
[2025-03-10 09:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:22:03] Production.INFO: CreateAllLog End
[2025-03-10 09:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09: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-03-10 09:22:04] Production.INFO: count ==13
[2025-03-10 09: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-03-10 09:22:04] Production.INFO: count ==21
[2025-03-10 09:22:04] Production.ERROR: done
[2025-03-10 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648568') start
[2025-03-10 09:22:04] Production.INFO: Account Balance End.
[2025-03-10 09:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:22:04] Production.INFO: ==23914== Releasing lock...
[2025-03-10 09:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:22:04] Production.INFO: ==23918== Releasing lock...
[2025-03-10 09:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648568') end
[2025-03-10 09:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:22:04] Production.INFO: 1
[2025-03-10 09:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:22:04] Production.INFO: ==23922== Releasing lock...
[2025-03-10 09:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:22:04] Production.ERROR: done
[2025-03-10 09:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:22:05
[end_date_ymd] => 2025-03-10 09:22:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:22:05' and `end` < '2025-03-10 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-03-10 09:22:12] Production.ERROR: CronJobId end10
[2025-03-10 09:22:12] Production.INFO: ==23916== Releasing lock...
[2025-03-10 09:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:22:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:22:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:22:15] Production.INFO: call_cost start
[2025-03-10 09:22:15] Production.INFO: call_cost end
[2025-03-10 09:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:22:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:22:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:22:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:22:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:22:16] Production.INFO: ==23912== Releasing lock...
[2025-03-10 09:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:22:18] Production.INFO: count ==1538
[2025-03-10 09:22:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:22:05 - End Time 2025-03-10 09:22:05
[2025-03-10 09:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648569', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648569', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648569', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648569', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:22:18] Production.INFO: ProcessCDR(1,14648569,1,1,2)
[2025-03-10 09:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648569', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648569', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:22:22] Production.INFO: ==23920== Releasing lock...
[2025-03-10 09:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:22:22] Production.INFO: 39.5 MB #Memory Used#
[2025-03-10 13:23:01] Production.INFO: ==23979== Lock acquired, processing the job...
[2025-03-10 13:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:23:01] Production.INFO: neon service started
[2025-03-10 13:23:02] Production.INFO: neon service started
[2025-03-10 13:23:02] Production.INFO: ==23979== Releasing lock...
[2025-03-10 13:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:23:02] Production.INFO: ==23981== Lock acquired, processing the job...
[2025-03-10 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:23:02] Production.INFO: ==23981== Releasing lock...
[2025-03-10 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:23:02] Production.INFO: ==23983== Lock acquired, processing the job...
[2025-03-10 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:23:02] Production.INFO: ==23983== Releasing lock...
[2025-03-10 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:23:03] Production.INFO: ==23990== Lock acquired, processing the job...
[2025-03-10 09:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:23:03] Production.INFO: ==23996== Lock acquired, processing the job...
[2025-03-10 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 09:23:04] Production.INFO: ==23986== Lock acquired, processing the job...
[2025-03-10 09:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:23:04] Production.INFO: count ==13
[2025-03-10 09:23:04] Production.INFO: ==23988== Lock acquired, processing the job...
[2025-03-10 09:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 09:23:04] Production.INFO: count ==21
[2025-03-10 09:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648570') start
[2025-03-10 09:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:23:04] Production.INFO: ==23992== Lock acquired, processing the job...
[2025-03-10 09:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:23:04] Production.INFO: ==23994== Lock acquired, processing the job...
[2025-03-10 09:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648570') end
[2025-03-10 09:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:23:04] Production.INFO: 1
[2025-03-10 09:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:23:04] Production.INFO: Account Balance Start.
[2025-03-10 09:23:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:23:04] Production.INFO: 117
[2025-03-10 09:23:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:23:04] Production.INFO: ==23996== Releasing lock...
[2025-03-10 09:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:23:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:23:04] Production.INFO: ==23988== Releasing lock...
[2025-03-10 09:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:23:04] Production.ERROR: done
[2025-03-10 09:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:23:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:23:04] Production.INFO: Total Charge 0
[2025-03-10 09:23:04] Production.INFO: CreateAllLog End
[2025-03-10 09:23:04] Production.ERROR: done
[2025-03-10 09:23:05] Production.INFO: Account Balance End.
[2025-03-10 09:23:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:23:05] Production.INFO: ==23992== Releasing lock...
[2025-03-10 09:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:23:06
[end_date_ymd] => 2025-03-10 09:23:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:23:06' and `end` < '2025-03-10 09: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-03-10 09:23:13] Production.ERROR: CronJobId end10
[2025-03-10 09:23:13] Production.INFO: ==23990== Releasing lock...
[2025-03-10 09:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:23:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:23:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:23:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:23:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:23:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:23:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:23:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:23:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:23:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:23:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:23:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:23:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:23:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:23:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:23:17] Production.INFO: call_cost start
[2025-03-10 09:23:17] Production.INFO: call_cost end
[2025-03-10 09:23:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:23:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:23:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:23:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:23:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:23:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:23:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:23:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:23:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:23:18] Production.INFO: ==23986== Releasing lock...
[2025-03-10 09:23:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:23:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:23:19] Production.INFO: count ==1546
[2025-03-10 09:23:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:23:06 - End Time 2025-03-10 09:23:06
[2025-03-10 09:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648574', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648574', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648574', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648574', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:23:19] Production.INFO: ProcessCDR(1,14648574,1,1,2)
[2025-03-10 09:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:23:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:23:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648574', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648574', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:23:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:23:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:23:25] Production.INFO: ==23994== Releasing lock...
[2025-03-10 09:23:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:23:25] Production.INFO: 39.75 MB #Memory Used#
[2025-03-10 13:24:01] Production.INFO: ==24056== Lock acquired, processing the job...
[2025-03-10 13:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:24:01] Production.INFO: neon service started
[2025-03-10 13:24:01] Production.INFO: neon service started
[2025-03-10 13:24:01] Production.INFO: ==24056== Releasing lock...
[2025-03-10 13:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:24:01] Production.INFO: ==24060== Lock acquired, processing the job...
[2025-03-10 13:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:24:01] Production.INFO: ==24060== Releasing lock...
[2025-03-10 13:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:24:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:24:02] Production.INFO: ==24058== Lock acquired, processing the job...
[2025-03-10 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:24:02] Production.INFO: ==24058== Releasing lock...
[2025-03-10 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:24:03] Production.INFO: ==24067== Lock acquired, processing the job...
[2025-03-10 09:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:24:03] Production.INFO: ==24071== Lock acquired, processing the job...
[2025-03-10 09:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:24:03] Production.INFO: ==24063== Lock acquired, processing the job...
[2025-03-10 09:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:24:03] Production.INFO: ==24065== Lock acquired, processing the job...
[2025-03-10 09:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:24:03] Production.INFO: ==24069== Lock acquired, processing the job...
[2025-03-10 09:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:24:03] Production.INFO: ==24073== Lock acquired, processing the job...
[2025-03-10 09:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:24:03] Production.INFO: Account Balance Start.
[2025-03-10 09:24:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:24:03] Production.INFO: 117
[2025-03-10 09:24:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 09:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:24:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:24:04] Production.INFO: count ==21
[2025-03-10 09:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648577') start
[2025-03-10 09:24:04] Production.ERROR: done
[2025-03-10 09:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648577') end
[2025-03-10 09:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:24:04] Production.INFO: 1
[2025-03-10 09:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:24:04] Production.INFO: ==24073== Releasing lock...
[2025-03-10 09:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:24:04] Production.INFO: ==24065== Releasing lock...
[2025-03-10 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:24:04] Production.INFO: Total Charge 0
[2025-03-10 09:24:04] Production.INFO: CreateAllLog End
[2025-03-10 09:24:04] Production.ERROR: done
[2025-03-10 09:24:04] Production.INFO: Account Balance End.
[2025-03-10 09:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:24:04] Production.INFO: ==24069== Releasing lock...
[2025-03-10 09:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:24:05
[end_date_ymd] => 2025-03-10 09:24:05
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:24:05' and `end` < '2025-03-10 09: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-03-10 09:24:12] Production.ERROR: CronJobId end10
[2025-03-10 09:24:12] Production.INFO: ==24067== Releasing lock...
[2025-03-10 09:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:24:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:24:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:24:15] Production.INFO: call_cost start
[2025-03-10 09:24:15] Production.INFO: call_cost end
[2025-03-10 09:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:24:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:24:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:24:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:24:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:24:16] Production.INFO: ==24063== Releasing lock...
[2025-03-10 09:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:24:18] Production.INFO: count ==1550
[2025-03-10 09:24:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:24:05 - End Time 2025-03-10 09:24:05
[2025-03-10 09:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648579', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648579', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648579', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648579', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:24:19] Production.INFO: ProcessCDR(1,14648579,1,1,2)
[2025-03-10 09:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648579', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648579', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:24:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:24:24] Production.INFO: ==24071== Releasing lock...
[2025-03-10 09:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:24:24] Production.INFO: 39.75 MB #Memory Used#
[2025-03-10 13:25:02] Production.INFO: ==24166== Lock acquired, processing the job...
[2025-03-10 13:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:25:02] Production.INFO: neon service started
[2025-03-10 13:25:02] Production.INFO: neon service started
[2025-03-10 13:25:02] Production.INFO: ==24166== Releasing lock...
[2025-03-10 13:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:25:02] Production.INFO: ==24168== Lock acquired, processing the job...
[2025-03-10 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:25:02] Production.INFO: ==24168== Releasing lock...
[2025-03-10 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:25:03] Production.INFO: ==24170== Lock acquired, processing the job...
[2025-03-10 13:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:25:03] Production.INFO: ==24170== Releasing lock...
[2025-03-10 13:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:25:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:25:03] Production.INFO: ==24176== Lock acquired, processing the job...
[2025-03-10 09:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:25:03] Production.INFO: ==24179== Lock acquired, processing the job...
[2025-03-10 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:25:04] Production.INFO: ==24172== Lock acquired, processing the job...
[2025-03-10 09:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:25:04] Production.INFO: ==24174== Lock acquired, processing the job...
[2025-03-10 09:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:25:04] Production.INFO: ==24181== Lock acquired, processing the job...
[2025-03-10 09:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:25:04] Production.INFO: Account Balance Start.
[2025-03-10 09:25:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:25:04] Production.INFO: 117
[2025-03-10 09:25:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:25:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:25:04] Production.INFO: ==24183== Lock acquired, processing the job...
[2025-03-10 09:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:25:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:25:04] Production.INFO: Total Charge 0
[2025-03-10 09: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-03-10 09:25:04] Production.INFO: CreateAllLog End
[2025-03-10 09:25:04] Production.INFO: count ==13
[2025-03-10 09: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-03-10 09:25:04] Production.INFO: count ==21
[2025-03-10 09:25:04] Production.INFO: ==24174== Releasing lock...
[2025-03-10 09:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648583') start
[2025-03-10 09:25:04] Production.ERROR: done
[2025-03-10 09:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648583') end
[2025-03-10 09:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:25:04] Production.INFO: 1
[2025-03-10 09:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:25:04] Production.ERROR: done
[2025-03-10 09:25:04] Production.INFO: ==24183== Releasing lock...
[2025-03-10 09:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:25:04] Production.INFO: Account Balance End.
[2025-03-10 09:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:25:04] Production.INFO: ==24179== Releasing lock...
[2025-03-10 09:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:25:05
[end_date_ymd] => 2025-03-10 09:25:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:25:05' and `end` < '2025-03-10 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-03-10 09:25:12] Production.ERROR: CronJobId end10
[2025-03-10 09:25:12] Production.INFO: ==24176== Releasing lock...
[2025-03-10 09:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:25:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:25:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:25:15] Production.INFO: call_cost start
[2025-03-10 09:25:15] Production.INFO: call_cost end
[2025-03-10 09:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:25:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:25:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:25:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:25:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:25:16] Production.INFO: ==24172== Releasing lock...
[2025-03-10 09:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:25:18] Production.INFO: count ==1570
[2025-03-10 09:25:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:25:05 - End Time 2025-03-10 09:25:05
[2025-03-10 09:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648584', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648584', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648584', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648584', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:25:19] Production.INFO: ProcessCDR(1,14648584,1,1,2)
[2025-03-10 09:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:25:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648584', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648584', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:25:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:25:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:25:24] Production.INFO: ==24181== Releasing lock...
[2025-03-10 09:25:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:25:24] Production.INFO: 39.75 MB #Memory Used#
[2025-03-10 13:26:01] Production.INFO: ==24239== Lock acquired, processing the job...
[2025-03-10 13:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:26:01] Production.INFO: neon service started
[2025-03-10 13:26:01] Production.INFO: neon service started
[2025-03-10 13:26:01] Production.INFO: ==24239== Releasing lock...
[2025-03-10 13:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:26:02] Production.INFO: ==24243== Lock acquired, processing the job...
[2025-03-10 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:26:02] Production.INFO: ==24243== Releasing lock...
[2025-03-10 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:26:02] Production.INFO: ==24241== Lock acquired, processing the job...
[2025-03-10 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:26:02] Production.INFO: ==24241== Releasing lock...
[2025-03-10 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:26:03] Production.INFO: ==24254== Lock acquired, processing the job...
[2025-03-10 09:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:26:03] Production.INFO: ==24252== Lock acquired, processing the job...
[2025-03-10 09:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:26:03] Production.INFO: ==24246== Lock acquired, processing the job...
[2025-03-10 09:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:26:03] Production.INFO: Account Balance Start.
[2025-03-10 09:26:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:26:03] Production.INFO: 117
[2025-03-10 09:26:03] Production.INFO: ==24248== Lock acquired, processing the job...
[2025-03-10 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:26:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:26:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:26:03] Production.INFO: ==24250== Lock acquired, processing the job...
[2025-03-10 09:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:26:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:26:04] Production.INFO: ==24256== Lock acquired, processing the job...
[2025-03-10 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:26:04] Production.INFO: Total Charge 0
[2025-03-10 09:26:04] Production.INFO: CreateAllLog End
[2025-03-10 09:26:04] Production.ERROR: done
[2025-03-10 09:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 09:26:04] Production.INFO: ==24248== Releasing lock...
[2025-03-10 09:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:26:04] Production.INFO: Account Balance End.
[2025-03-10 09:26:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:26:04] Production.INFO: count ==21
[2025-03-10 09:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:26:04] Production.INFO: ==24252== Releasing lock...
[2025-03-10 09:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648588') start
[2025-03-10 09:26:04] Production.ERROR: done
[2025-03-10 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648588') end
[2025-03-10 09:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:26:04] Production.INFO: 1
[2025-03-10 09:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:26:04] Production.INFO: ==24256== Releasing lock...
[2025-03-10 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:26:05
[end_date_ymd] => 2025-03-10 09:26:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:26:05' and `end` < '2025-03-10 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-03-10 09:26: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-03-10 09:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:26:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:26:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:26:12] Production.INFO: call_cost start
[2025-03-10 09:26:12] Production.INFO: call_cost end
[2025-03-10 09:26:13] Production.ERROR: CronJobId end10
[2025-03-10 09:26:13] Production.INFO: ==24250== Releasing lock...
[2025-03-10 09:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:26:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:26:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:26:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:26:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:26:14] Production.INFO: ==24246== Releasing lock...
[2025-03-10 09:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:26:18] Production.INFO: count ==1605
[2025-03-10 09:26:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:26:05 - End Time 2025-03-10 09:26:05
[2025-03-10 09:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648589', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648589', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648589', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648589', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:26:19] Production.INFO: ProcessCDR(1,14648589,1,1,2)
[2025-03-10 09:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648589', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648589', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:26:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:26:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:26:25] Production.INFO: ==24254== Releasing lock...
[2025-03-10 09:26:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:26:25] Production.INFO: 40 MB #Memory Used#
[2025-03-10 13:27:02] Production.INFO: ==24312== Lock acquired, processing the job...
[2025-03-10 13:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:27:02] Production.INFO: neon service started
[2025-03-10 13:27:02] Production.INFO: neon service started
[2025-03-10 13:27:02] Production.INFO: ==24312== Releasing lock...
[2025-03-10 13:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:27:02] Production.INFO: ==24314== Lock acquired, processing the job...
[2025-03-10 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:27:02] Production.INFO: ==24314== Releasing lock...
[2025-03-10 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:27:03] Production.INFO: ==24316== Lock acquired, processing the job...
[2025-03-10 13:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:27:03] Production.INFO: ==24316== Releasing lock...
[2025-03-10 13:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:27:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:27:03] Production.INFO: ==24319== Lock acquired, processing the job...
[2025-03-10 09:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:27:03] Production.INFO: ==24321== Lock acquired, processing the job...
[2025-03-10 09:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:27:03] Production.INFO: ==24325== Lock acquired, processing the job...
[2025-03-10 09:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:27:04] Production.INFO: Account Balance Start.
[2025-03-10 09:27:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:27:04] Production.INFO: 117
[2025-03-10 09:27:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:27:04] Production.INFO: ==24321== Releasing lock...
[2025-03-10 09:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:27:04] Production.INFO: ==24323== Lock acquired, processing the job...
[2025-03-10 09:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:27:04] Production.INFO: ==24327== Lock acquired, processing the job...
[2025-03-10 09:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:27:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:27:04] Production.INFO: ==24329== Lock acquired, processing the job...
[2025-03-10 09:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:27:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:27:04] Production.INFO: Total Charge 0
[2025-03-10 09:27:04] Production.INFO: CreateAllLog End
[2025-03-10 09: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-03-10 09:27:04] Production.INFO: count ==13
[2025-03-10 09:27:04] Production.ERROR: done
[2025-03-10 09:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 09:27:04] Production.INFO: count ==21
[2025-03-10 09:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648593') start
[2025-03-10 09:27:04] Production.ERROR: done
[2025-03-10 09:27:04] Production.INFO: Account Balance End.
[2025-03-10 09:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648593') end
[2025-03-10 09:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:27:04] Production.INFO: 1
[2025-03-10 09:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:27:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:27:05] Production.INFO: ==24325== Releasing lock...
[2025-03-10 09:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:27:05] Production.INFO: ==24329== Releasing lock...
[2025-03-10 09:27:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:27:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:27:06
[end_date_ymd] => 2025-03-10 09:27:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:27:06' and `end` < '2025-03-10 09: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-03-10 09:27:12] Production.ERROR: CronJobId end10
[2025-03-10 09:27:12] Production.INFO: ==24323== Releasing lock...
[2025-03-10 09:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:27:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:27:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:27:15] Production.INFO: call_cost start
[2025-03-10 09:27:15] Production.INFO: call_cost end
[2025-03-10 09:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:27:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:27:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:27:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:27:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:27:16] Production.INFO: ==24319== Releasing lock...
[2025-03-10 09:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:27:18] Production.INFO: count ==1627
[2025-03-10 09:27:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:27:06 - End Time 2025-03-10 09:27:06
[2025-03-10 09:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648594', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648594', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648594', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648594', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:27:19] Production.INFO: ProcessCDR(1,14648594,1,1,2)
[2025-03-10 09:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648594', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648594', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:27:24] Production.INFO: ==24327== Releasing lock...
[2025-03-10 09:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:27:24] Production.INFO: 40.25 MB #Memory Used#
[2025-03-10 13:28:01] Production.INFO: ==24382== Lock acquired, processing the job...
[2025-03-10 13:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:28:01] Production.INFO: neon service started
[2025-03-10 13:28:01] Production.INFO: neon service started
[2025-03-10 13:28:01] Production.INFO: ==24382== Releasing lock...
[2025-03-10 13:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:28:02] Production.INFO: ==24384== Lock acquired, processing the job...
[2025-03-10 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:28:02] Production.INFO: ==24386== Lock acquired, processing the job...
[2025-03-10 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:28:02] Production.INFO: ==24386== Releasing lock...
[2025-03-10 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:28:02] Production.INFO: ==24384== Releasing lock...
[2025-03-10 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:28:03] Production.INFO: ==24389== Lock acquired, processing the job...
[2025-03-10 09:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:28:03] Production.INFO: ==24393== Lock acquired, processing the job...
[2025-03-10 09:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:28:03] Production.INFO: ==24395== Lock acquired, processing the job...
[2025-03-10 09:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:28:03] Production.INFO: Account Balance Start.
[2025-03-10 09:28:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:28:03] Production.INFO: 117
[2025-03-10 09:28:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:28:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:28:03] Production.INFO: ==24391== Lock acquired, processing the job...
[2025-03-10 09:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:28:04] Production.INFO: Total Charge 0
[2025-03-10 09:28:04] Production.INFO: CreateAllLog End
[2025-03-10 09:28:04] Production.INFO: ==24397== Lock acquired, processing the job...
[2025-03-10 09:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:28:04] Production.INFO: ==24399== Lock acquired, processing the job...
[2025-03-10 09:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:28:04] Production.INFO: ==24391== Releasing lock...
[2025-03-10 09:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:28:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 09:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:28:04] Production.INFO: ==24395== Releasing lock...
[2025-03-10 09:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:28:04] Production.INFO: count ==13
[2025-03-10 09:28:04] Production.ERROR: done
[2025-03-10 09:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09: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-03-10 09:28:04] Production.INFO: count ==21
[2025-03-10 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648598') start
[2025-03-10 09:28:04] Production.ERROR: done
[2025-03-10 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648598') end
[2025-03-10 09:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:28:04] Production.INFO: 1
[2025-03-10 09:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:28:04] Production.INFO: ==24399== Releasing lock...
[2025-03-10 09:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:28:05
[end_date_ymd] => 2025-03-10 09:28:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:28:05' and `end` < '2025-03-10 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-03-10 09:28:13] Production.ERROR: CronJobId end10
[2025-03-10 09:28:13] Production.INFO: ==24393== Releasing lock...
[2025-03-10 09:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:28:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:28:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:28:14] Production.INFO: call_cost start
[2025-03-10 09:28:14] Production.INFO: call_cost end
[2025-03-10 09:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:28:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:28:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:28:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:28:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:28:15] Production.INFO: ==24389== Releasing lock...
[2025-03-10 09:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:28:18] Production.INFO: count ==1640
[2025-03-10 09:28:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:28:05 - End Time 2025-03-10 09:28:05
[2025-03-10 09:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648599', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648599', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648599', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648599', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:28:19] Production.INFO: ProcessCDR(1,14648599,1,1,2)
[2025-03-10 09:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:28:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:28:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648599', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648599', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:28:24] Production.INFO: ==24397== Releasing lock...
[2025-03-10 09:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:28:24] Production.INFO: 40.25 MB #Memory Used#
[2025-03-10 13:29:02] Production.INFO: ==24455== Lock acquired, processing the job...
[2025-03-10 13:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:29:02] Production.INFO: neon service started
[2025-03-10 13:29:02] Production.INFO: neon service started
[2025-03-10 13:29:02] Production.INFO: ==24455== Releasing lock...
[2025-03-10 13:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:29:02] Production.INFO: ==24457== Lock acquired, processing the job...
[2025-03-10 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:29:02] Production.INFO: ==24457== Releasing lock...
[2025-03-10 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:29:02] Production.INFO: ==24459== Lock acquired, processing the job...
[2025-03-10 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:29:03] Production.INFO: ==24459== Releasing lock...
[2025-03-10 13:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:29:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:29:03] Production.INFO: ==24463== Lock acquired, processing the job...
[2025-03-10 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:29:03] Production.INFO: ==24472== Lock acquired, processing the job...
[2025-03-10 09:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09: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-03-10 09:29:04] Production.INFO: ==24461== Lock acquired, processing the job...
[2025-03-10 09:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:29:04] Production.INFO: count ==13
[2025-03-10 09:29:04] Production.INFO: ==24463== Releasing lock...
[2025-03-10 09:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09: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-03-10 09:29:04] Production.INFO: count ==21
[2025-03-10 09:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648601') start
[2025-03-10 09:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:29:04] Production.INFO: ==24466== Lock acquired, processing the job...
[2025-03-10 09:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648601') end
[2025-03-10 09:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:29:04] Production.INFO: 1
[2025-03-10 09:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:29:04] Production.INFO: ==24468== Lock acquired, processing the job...
[2025-03-10 09:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:29:04] Production.INFO: ==24472== Releasing lock...
[2025-03-10 09:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:29:04] Production.INFO: ==24470== Lock acquired, processing the job...
[2025-03-10 09:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:29:04] Production.INFO: Account Balance Start.
[2025-03-10 09:29:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:29:04] Production.INFO: 117
[2025-03-10 09:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:29:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:29:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:29:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:29:04] Production.INFO: Total Charge 0
[2025-03-10 09:29:04] Production.INFO: CreateAllLog End
[2025-03-10 09:29:04] Production.ERROR: done
[2025-03-10 09:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:29:04] Production.INFO: Account Balance End.
[2025-03-10 09:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:29:04] Production.INFO: ==24468== Releasing lock...
[2025-03-10 09:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:29:04] Production.ERROR: done
[2025-03-10 09:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:29:06
[end_date_ymd] => 2025-03-10 09:29:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:29:06' and `end` < '2025-03-10 09: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-03-10 09:29:13] Production.ERROR: CronJobId end10
[2025-03-10 09:29:13] Production.INFO: ==24466== Releasing lock...
[2025-03-10 09:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:29:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:29:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:29:15] Production.INFO: call_cost start
[2025-03-10 09:29:15] Production.INFO: call_cost end
[2025-03-10 09:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:29:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:29:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:29:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:29:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:29:16] Production.INFO: ==24461== Releasing lock...
[2025-03-10 09:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:29:18] Production.INFO: count ==1648
[2025-03-10 09:29:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:29:06 - End Time 2025-03-10 09:29:06
[2025-03-10 09:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648604', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648604', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648604', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648604', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:29:19] Production.INFO: ProcessCDR(1,14648604,1,1,2)
[2025-03-10 09:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648604', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648604', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:29:24] Production.INFO: ==24470== Releasing lock...
[2025-03-10 09:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:29:24] Production.INFO: 40.5 MB #Memory Used#
[2025-03-10 13:30:01] Production.INFO: ==24531== Lock acquired, processing the job...
[2025-03-10 13:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:30:01] Production.INFO: neon service started
[2025-03-10 13:30:01] Production.INFO: neon service started
[2025-03-10 13:30:01] Production.INFO: ==24531== Releasing lock...
[2025-03-10 13:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:30:02] Production.INFO: ==24533== Lock acquired, processing the job...
[2025-03-10 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:30:02] Production.INFO: ==24533== Releasing lock...
[2025-03-10 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:30:02] Production.INFO: ==24535== Lock acquired, processing the job...
[2025-03-10 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:30:03] Production.INFO: ==24535== Releasing lock...
[2025-03-10 13:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:30:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:30:03] Production.INFO: ==24538== Lock acquired, processing the job...
[2025-03-10 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 09:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 09:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 09:30:03] Production.INFO: ==24538== Releasing lock...
[2025-03-10 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 09:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 09:30:03] Production.INFO: ==24542== Lock acquired, processing the job...
[2025-03-10 09:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:30:03] Production.INFO: ==24544== Lock acquired, processing the job...
[2025-03-10 09:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:30:03] Production.INFO: ==24540== Lock acquired, processing the job...
[2025-03-10 09:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:30:04] Production.INFO: ==24550== Lock acquired, processing the job...
[2025-03-10 09:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 09:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:30:04] Production.INFO: ==24546== Lock acquired, processing the job...
[2025-03-10 09:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:30:04] Production.INFO: ==24542== Releasing lock...
[2025-03-10 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:30:04] Production.INFO: ==24552== Lock acquired, processing the job...
[2025-03-10 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:30:04] Production.INFO: ==24548== Lock acquired, processing the job...
[2025-03-10 09:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:30:04] Production.INFO: Account Balance Start.
[2025-03-10 09:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:30:04] Production.INFO: 117
[2025-03-10 09:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 09:30:04] Production.INFO: Total Charge 0
[2025-03-10 09:30:04] Production.INFO: CreateAllLog End
[2025-03-10 09:30:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:30:04] Production.INFO: count ==21
[2025-03-10 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648608') start
[2025-03-10 09:30:04] Production.ERROR: done
[2025-03-10 09:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:30:04] Production.ERROR: done
[2025-03-10 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648608') end
[2025-03-10 09:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:30:04] Production.INFO: 1
[2025-03-10 09:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 09:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648609', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 09:30:04] Production.INFO: ==24552== Releasing lock...
[2025-03-10 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:30:04] Production.ERROR: done
[2025-03-10 09:30:05] Production.INFO: Account Balance End.
[2025-03-10 09:30:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:30:05] Production.INFO: ==24546== Releasing lock...
[2025-03-10 09:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:30:06
[end_date_ymd] => 2025-03-10 09:30:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:30:06' and `end` < '2025-03-10 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-03-10 09:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648609', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 09:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 09:30:09] Production.INFO: ProcessCDR(1,14648609,1,1,2)
[2025-03-10 09:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648609,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648609,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:30:09] Production.INFO: ==24550== Releasing lock...
[2025-03-10 09:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 09:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 09:30:15] Production.ERROR: CronJobId end10
[2025-03-10 09:30:15] Production.INFO: ==24544== Releasing lock...
[2025-03-10 09:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:30:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:30:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:30:17] Production.INFO: call_cost start
[2025-03-10 09:30:17] Production.INFO: call_cost end
[2025-03-10 09:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:30:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:30:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:30:18] Production.INFO: count ==1669
[2025-03-10 09:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:30:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:30:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:30:18] Production.INFO: ==24540== Releasing lock...
[2025-03-10 09:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:30:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:30:06 - End Time 2025-03-10 09:30:06
[2025-03-10 09:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648610', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648610', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648610', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648610', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:30:19] Production.INFO: ProcessCDR(1,14648610,1,1,2)
[2025-03-10 09:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648610', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648610', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:30:23] Production.INFO: ==24548== Releasing lock...
[2025-03-10 09:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:30:23] Production.INFO: 40.5 MB #Memory Used#
[2025-03-10 13:31:02] Production.INFO: ==24606== Lock acquired, processing the job...
[2025-03-10 13:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:31:02] Production.INFO: neon service started
[2025-03-10 13:31:02] Production.INFO: neon service started
[2025-03-10 13:31:02] Production.INFO: ==24606== Releasing lock...
[2025-03-10 13:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:31:02] Production.INFO: ==24608== Lock acquired, processing the job...
[2025-03-10 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:31:02] Production.INFO: ==24608== Releasing lock...
[2025-03-10 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:31:03] Production.INFO: ==24610== Lock acquired, processing the job...
[2025-03-10 13:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:31:03] Production.INFO: ==24610== Releasing lock...
[2025-03-10 13:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:31:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:31:04] Production.INFO: ==24616== Lock acquired, processing the job...
[2025-03-10 09:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:31:04] Production.INFO: ==24622== Lock acquired, processing the job...
[2025-03-10 09:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:31:04] Production.INFO: ==24612== Lock acquired, processing the job...
[2025-03-10 09:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 09:31:04] Production.INFO: count ==13
[2025-03-10 09:31:04] Production.INFO: ==24614== Lock acquired, processing the job...
[2025-03-10 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-03-10 09:31:04] Production.INFO: count ==21
[2025-03-10 09:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648611') start
[2025-03-10 09:31:04] Production.INFO: ==24620== Lock acquired, processing the job...
[2025-03-10 09:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:31:04] Production.INFO: ==24618== Lock acquired, processing the job...
[2025-03-10 09:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648611') end
[2025-03-10 09:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:31:04] Production.INFO: 1
[2025-03-10 09:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:31:04] Production.INFO: Account Balance Start.
[2025-03-10 09:31:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:31:04] Production.INFO: 117
[2025-03-10 09:31:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:31:04] Production.INFO: ==24622== Releasing lock...
[2025-03-10 09:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:31:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:31:04] Production.ERROR: done
[2025-03-10 09:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:31:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:31:04] Production.INFO: Total Charge 0
[2025-03-10 09:31:04] Production.INFO: CreateAllLog End
[2025-03-10 09:31:04] Production.ERROR: done
[2025-03-10 09:31:04] Production.INFO: ==24614== Releasing lock...
[2025-03-10 09:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:31:04] Production.INFO: Account Balance End.
[2025-03-10 09:31:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:31:05] Production.INFO: ==24618== Releasing lock...
[2025-03-10 09:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:31:05
[end_date_ymd] => 2025-03-10 09:31:05
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:31:05' and `end` < '2025-03-10 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-03-10 09:31:13] Production.ERROR: CronJobId end10
[2025-03-10 09:31:13] Production.INFO: ==24616== Releasing lock...
[2025-03-10 09:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:31:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:31:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:31:16] Production.INFO: call_cost start
[2025-03-10 09:31:16] Production.INFO: call_cost end
[2025-03-10 09:31:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:31:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:31:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:31:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:31:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:31:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:31:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:31:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:31:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:31:17] Production.INFO: ==24612== Releasing lock...
[2025-03-10 09:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:31:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:31:18] Production.INFO: count ==1790
[2025-03-10 09:31:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:31:05 - End Time 2025-03-10 09:31:05
[2025-03-10 09:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648615', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648615', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648615', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648615', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:31:19] Production.INFO: ProcessCDR(1,14648615,1,1,2)
[2025-03-10 09:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:31:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648615', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648615', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:31:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:31:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:31:24] Production.INFO: ==24620== Releasing lock...
[2025-03-10 09:31:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:31:24] Production.INFO: 41.5 MB #Memory Used#
[2025-03-10 13:32:01] Production.INFO: ==24678== Lock acquired, processing the job...
[2025-03-10 13:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:32:01] Production.INFO: neon service started
[2025-03-10 13:32:01] Production.INFO: neon service started
[2025-03-10 13:32:01] Production.INFO: ==24678== Releasing lock...
[2025-03-10 13:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:32:02] Production.INFO: ==24683== Lock acquired, processing the job...
[2025-03-10 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:32:02] Production.INFO: ==24683== Releasing lock...
[2025-03-10 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:32:02] Production.INFO: ==24680== Lock acquired, processing the job...
[2025-03-10 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:32:02] Production.INFO: ==24680== Releasing lock...
[2025-03-10 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:32:03] Production.INFO: ==24691== Lock acquired, processing the job...
[2025-03-10 09:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:32:03] Production.INFO: ==24689== Lock acquired, processing the job...
[2025-03-10 09:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:32:03] Production.INFO: Account Balance Start.
[2025-03-10 09:32:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:32:03] Production.INFO: 117
[2025-03-10 09:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:32:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:32:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:32:03] Production.INFO: ==24685== Lock acquired, processing the job...
[2025-03-10 09:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:32:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:32:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:32:03] Production.INFO: ==24687== Lock acquired, processing the job...
[2025-03-10 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:32:03] Production.INFO: Date 2025-03-10
[2025-03-10 09:32:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:32:04] Production.INFO: Total Charge 0
[2025-03-10 09:32:04] Production.INFO: CreateAllLog End
[2025-03-10 09:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:32:04] Production.INFO: ==24693== Lock acquired, processing the job...
[2025-03-10 09:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:32:04] Production.INFO: ==24695== Lock acquired, processing the job...
[2025-03-10 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:32:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 09:32:04] Production.INFO: count ==13
[2025-03-10 09:32:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:32:04] Production.INFO: ==24691== Releasing lock...
[2025-03-10 09:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 09:32:04] Production.INFO: count ==21
[2025-03-10 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648619') start
[2025-03-10 09:32:04] Production.ERROR: done
[2025-03-10 09:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:32:04] Production.INFO: ==24687== Releasing lock...
[2025-03-10 09:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:32:04] Production.ERROR: done
[2025-03-10 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648619') end
[2025-03-10 09:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:32:04] Production.INFO: 1
[2025-03-10 09:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:32:04] Production.INFO: ==24695== Releasing lock...
[2025-03-10 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:32:05
[end_date_ymd] => 2025-03-10 09:32:05
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:32:05' and `end` < '2025-03-10 09: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-03-10 09:32:12] Production.ERROR: CronJobId end10
[2025-03-10 09:32:12] Production.INFO: ==24689== Releasing lock...
[2025-03-10 09:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:32:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:32:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:32:16] Production.INFO: call_cost start
[2025-03-10 09:32:16] Production.INFO: call_cost end
[2025-03-10 09:32:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:32:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:32:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:32:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:32:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:32:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:32:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:32:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:32:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:32:17] Production.INFO: ==24685== Releasing lock...
[2025-03-10 09:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:32:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:32:18] Production.INFO: count ==1809
[2025-03-10 09:32:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:32:05 - End Time 2025-03-10 09:32:05
[2025-03-10 09:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648620', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648620', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648620', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648620', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:32:19] Production.INFO: ProcessCDR(1,14648620,1,1,2)
[2025-03-10 09:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648620', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648620', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:32:22] Production.INFO: ==24693== Releasing lock...
[2025-03-10 09:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:32:23] Production.INFO: 41.75 MB #Memory Used#
[2025-03-10 13:33:02] Production.INFO: ==24751== Lock acquired, processing the job...
[2025-03-10 13:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:33:02] Production.INFO: neon service started
[2025-03-10 13:33:02] Production.INFO: neon service started
[2025-03-10 13:33:02] Production.INFO: ==24751== Releasing lock...
[2025-03-10 13:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:33:02] Production.INFO: ==24755== Lock acquired, processing the job...
[2025-03-10 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:33:02] Production.INFO: ==24755== Releasing lock...
[2025-03-10 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:33:02] Production.INFO: ==24753== Lock acquired, processing the job...
[2025-03-10 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:33:03] Production.INFO: ==24753== Releasing lock...
[2025-03-10 09:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:33:04] Production.INFO: ==24760== Lock acquired, processing the job...
[2025-03-10 09:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:33:04] Production.INFO: ==24766== Lock acquired, processing the job...
[2025-03-10 09:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:33:04] Production.INFO: ==24758== Lock acquired, processing the job...
[2025-03-10 09:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:33:04] Production.INFO: ==24760== Releasing lock...
[2025-03-10 09:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:33:04] Production.INFO: ==24762== Lock acquired, processing the job...
[2025-03-10 09:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:33:04] Production.INFO: ==24764== Lock acquired, processing the job...
[2025-03-10 09:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:33:04] Production.INFO: ==24768== Lock acquired, processing the job...
[2025-03-10 09:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:33:04] Production.INFO: Account Balance Start.
[2025-03-10 09:33:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:33:04] Production.INFO: 117
[2025-03-10 09:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:33:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 09: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-03-10 09:33:04] Production.ERROR: done
[2025-03-10 09:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:33:04] Production.INFO: count ==13
[2025-03-10 09:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 09: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-03-10 09:33:04] Production.INFO: count ==21
[2025-03-10 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648624') start
[2025-03-10 09:33:04] Production.ERROR: done
[2025-03-10 09:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:33:04] Production.INFO: Total Charge 0
[2025-03-10 09:33:05] Production.INFO: CreateAllLog End
[2025-03-10 09:33:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648624') end
[2025-03-10 09:33:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:33:05] Production.INFO: 1
[2025-03-10 09:33:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:33:05] Production.INFO: ==24768== Releasing lock...
[2025-03-10 09:33:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:33:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:33:05] Production.INFO: Account Balance End.
[2025-03-10 09:33:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:33:05] Production.INFO: ==24764== Releasing lock...
[2025-03-10 09:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:33:06
[end_date_ymd] => 2025-03-10 09:33:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:33:06' and `end` < '2025-03-10 09: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-03-10 09:33:13] Production.ERROR: CronJobId end10
[2025-03-10 09:33:13] Production.INFO: ==24762== Releasing lock...
[2025-03-10 09:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:33:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:33:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:33:15] Production.INFO: call_cost start
[2025-03-10 09:33:15] Production.INFO: call_cost end
[2025-03-10 09:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:33:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:33:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:33:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:33:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:33:16] Production.INFO: ==24758== Releasing lock...
[2025-03-10 09:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:33:18] Production.INFO: count ==1813
[2025-03-10 09:33:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:33:06 - End Time 2025-03-10 09:33:06
[2025-03-10 09:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648625', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648625', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648625', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648625', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:33:19] Production.INFO: ProcessCDR(1,14648625,1,1,2)
[2025-03-10 09:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:33:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648625', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648625', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:33:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:33:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:33:24] Production.INFO: ==24766== Releasing lock...
[2025-03-10 09:33:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:33:24] Production.INFO: 42 MB #Memory Used#
[2025-03-10 13:34:01] Production.INFO: ==24827== Lock acquired, processing the job...
[2025-03-10 13:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:34:01] Production.INFO: neon service started
[2025-03-10 13:34:01] Production.INFO: neon service started
[2025-03-10 13:34:01] Production.INFO: ==24827== Releasing lock...
[2025-03-10 13:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:34:02] Production.INFO: ==24831== Lock acquired, processing the job...
[2025-03-10 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:34:02] Production.INFO: ==24829== Lock acquired, processing the job...
[2025-03-10 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:34:02] Production.INFO: ==24831== Releasing lock...
[2025-03-10 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:34:02] Production.INFO: ==24829== Releasing lock...
[2025-03-10 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:34:03] Production.INFO: ==24836== Lock acquired, processing the job...
[2025-03-10 09:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:34:03] Production.INFO: ==24842== Lock acquired, processing the job...
[2025-03-10 09:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:34:03] Production.INFO: ==24834== Lock acquired, processing the job...
[2025-03-10 09:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:34:04] Production.INFO: ==24840== Lock acquired, processing the job...
[2025-03-10 09:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:34:04] Production.INFO: ==24838== Lock acquired, processing the job...
[2025-03-10 09:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:34:04] Production.INFO: ==24844== Lock acquired, processing the job...
[2025-03-10 09:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:34:04] Production.ERROR: done
[2025-03-10 09:34:04] Production.INFO: ==24836== Releasing lock...
[2025-03-10 09:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:34:04] Production.INFO: Account Balance Start.
[2025-03-10 09:34:04] Production.INFO: CreateAllLog Start
[2025-03-10 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-03-10 09:34:04] Production.ERROR: done
[2025-03-10 09:34:04] Production.INFO: 117
[2025-03-10 09:34:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:34:04] Production.INFO: count ==13
[2025-03-10 09:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 09:34:04] Production.INFO: count ==21
[2025-03-10 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648629') start
[2025-03-10 09:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648629') end
[2025-03-10 09:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:34:04] Production.INFO: 1
[2025-03-10 09:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:34:04] Production.INFO: Total Charge 0
[2025-03-10 09:34:04] Production.INFO: ==24844== Releasing lock...
[2025-03-10 09:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:34:04] Production.INFO: CreateAllLog End
[2025-03-10 09:34:04] Production.INFO: Account Balance End.
[2025-03-10 09:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:34:04] Production.INFO: ==24840== Releasing lock...
[2025-03-10 09:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:34:05
[end_date_ymd] => 2025-03-10 09:34:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:34:05' and `end` < '2025-03-10 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-03-10 09:34:13] Production.ERROR: CronJobId end10
[2025-03-10 09:34:13] Production.INFO: ==24838== Releasing lock...
[2025-03-10 09:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:34:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:34:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:34:16] Production.INFO: call_cost start
[2025-03-10 09:34:16] Production.INFO: call_cost end
[2025-03-10 09:34:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:34:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:34:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:34:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:34:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:34:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:34:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:34:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:34:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:34:17] Production.INFO: ==24834== Releasing lock...
[2025-03-10 09:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:34:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:34:18] Production.INFO: count ==1832
[2025-03-10 09:34:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:34:05 - End Time 2025-03-10 09:34:05
[2025-03-10 09:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648630', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648630', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648630', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648630', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:34:19] Production.INFO: ProcessCDR(1,14648630,1,1,2)
[2025-03-10 09:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648630', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648630', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:34:24] Production.INFO: ==24842== Releasing lock...
[2025-03-10 09:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:34:24] Production.INFO: 41.75 MB #Memory Used#
[2025-03-10 13:35:02] Production.INFO: ==24907== Lock acquired, processing the job...
[2025-03-10 13:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:35:02] Production.INFO: neon service started
[2025-03-10 13:35:02] Production.INFO: neon service started
[2025-03-10 13:35:02] Production.INFO: ==24907== Releasing lock...
[2025-03-10 13:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:35:02] Production.INFO: ==24909== Lock acquired, processing the job...
[2025-03-10 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:35:02] Production.INFO: ==24911== Lock acquired, processing the job...
[2025-03-10 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:35:03] Production.INFO: ==24911== Releasing lock...
[2025-03-10 13:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:35:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:35:03] Production.INFO: ==24909== Releasing lock...
[2025-03-10 09:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:35:04] Production.INFO: ==24914== Lock acquired, processing the job...
[2025-03-10 09:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:35:04] Production.INFO: ==24918== Lock acquired, processing the job...
[2025-03-10 09:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:35:04] Production.INFO: ==24920== Lock acquired, processing the job...
[2025-03-10 09:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:35:04] Production.INFO: ==24916== Lock acquired, processing the job...
[2025-03-10 09:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:35:04] Production.INFO: Account Balance Start.
[2025-03-10 09:35:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:35:04] Production.INFO: 117
[2025-03-10 09:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:35:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:35:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:35:04] Production.INFO: ==24922== Lock acquired, processing the job...
[2025-03-10 09:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:35:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:35:04] Production.INFO: Total Charge 0
[2025-03-10 09:35:04] Production.INFO: ==24924== Lock acquired, processing the job...
[2025-03-10 09:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:35:04] Production.INFO: CreateAllLog End
[2025-03-10 09:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 09:35:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:35:04] Production.INFO: count ==21
[2025-03-10 09:35:04] Production.INFO: ==24916== Releasing lock...
[2025-03-10 09:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648634') start
[2025-03-10 09:35:05] Production.ERROR: done
[2025-03-10 09:35:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:35:05] Production.INFO: Account Balance End.
[2025-03-10 09:35:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:35:05] Production.INFO: ==24920== Releasing lock...
[2025-03-10 09:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:35:05] Production.ERROR: done
[2025-03-10 09:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648634') end
[2025-03-10 09:35:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:35:05] Production.INFO: 1
[2025-03-10 09:35:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:35:05] Production.INFO: ==24924== Releasing lock...
[2025-03-10 09:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:35:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:35:06
[end_date_ymd] => 2025-03-10 09:35:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:35:06' and `end` < '2025-03-10 09: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-03-10 09:35:14] Production.ERROR: CronJobId end10
[2025-03-10 09:35:14] Production.INFO: ==24918== Releasing lock...
[2025-03-10 09:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:35:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:35:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:35:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:35:16] Production.INFO: call_cost start
[2025-03-10 09:35:16] Production.INFO: call_cost end
[2025-03-10 09:35:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:35:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:35:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:35:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:35:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:35:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:35:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:35:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:35:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:35:17] Production.INFO: ==24914== Releasing lock...
[2025-03-10 09:35:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:35:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:35:18] Production.INFO: count ==1868
[2025-03-10 09:35:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:35:06 - End Time 2025-03-10 09:35:06
[2025-03-10 09:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648635', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648635', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648635', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648635', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:35:19] Production.INFO: ProcessCDR(1,14648635,1,1,2)
[2025-03-10 09:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:35:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:35:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:35:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648635', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:35:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648635', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:35:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:35:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:35:25] Production.INFO: ==24922== Releasing lock...
[2025-03-10 09:35:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:35:25] Production.INFO: 42.25 MB #Memory Used#
[2025-03-10 13:36:01] Production.INFO: ==24983== Lock acquired, processing the job...
[2025-03-10 13:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:36:01] Production.INFO: neon service started
[2025-03-10 13:36:01] Production.INFO: neon service started
[2025-03-10 13:36:01] Production.INFO: ==24983== Releasing lock...
[2025-03-10 13:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:36:02] Production.INFO: ==24987== Lock acquired, processing the job...
[2025-03-10 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:36:02] Production.INFO: ==24987== Releasing lock...
[2025-03-10 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:36:02] Production.INFO: ==24985== Lock acquired, processing the job...
[2025-03-10 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:36:02] Production.INFO: ==24985== Releasing lock...
[2025-03-10 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:36:03] Production.INFO: ==24992== Lock acquired, processing the job...
[2025-03-10 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:36:03] Production.INFO: ==24990== Lock acquired, processing the job...
[2025-03-10 09:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:36:03] Production.INFO: ==24994== Lock acquired, processing the job...
[2025-03-10 09:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:36:03] Production.INFO: ==24996== Lock acquired, processing the job...
[2025-03-10 09:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:36:03] Production.INFO: ==25000== Lock acquired, processing the job...
[2025-03-10 09:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:36:03] Production.INFO: ==24998== Lock acquired, processing the job...
[2025-03-10 09:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:36:03] Production.INFO: Account Balance Start.
[2025-03-10 09:36:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:36:03] Production.INFO: 117
[2025-03-10 09:36:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:36:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 09:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:36:04] Production.INFO: count ==13
[2025-03-10 09:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 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-03-10 09:36:04] Production.INFO: count ==21
[2025-03-10 09:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648639') start
[2025-03-10 09:36:04] Production.INFO: ==24992== Releasing lock...
[2025-03-10 09:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:36:04] Production.INFO: Total Charge 0
[2025-03-10 09:36:04] Production.INFO: CreateAllLog End
[2025-03-10 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648639') end
[2025-03-10 09:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:36:04] Production.INFO: 1
[2025-03-10 09:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:36:04] Production.INFO: ==25000== Releasing lock...
[2025-03-10 09:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:36:04] Production.ERROR: done
[2025-03-10 09:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:36:04] Production.ERROR: done
[2025-03-10 09:36:04] Production.INFO: Account Balance End.
[2025-03-10 09:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:36:04] Production.INFO: ==24996== Releasing lock...
[2025-03-10 09:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:36:05
[end_date_ymd] => 2025-03-10 09:36:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:36:05' and `end` < '2025-03-10 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-03-10 09:36:13] Production.ERROR: CronJobId end10
[2025-03-10 09:36:13] Production.INFO: ==24994== Releasing lock...
[2025-03-10 09:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:36:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:36:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:36:16] Production.INFO: call_cost start
[2025-03-10 09:36:16] Production.INFO: call_cost end
[2025-03-10 09:36:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:36:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:36:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:36:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:36:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:36:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:36:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:36:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:36:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:36:17] Production.INFO: ==24990== Releasing lock...
[2025-03-10 09:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:36:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:36:18] Production.INFO: count ==1887
[2025-03-10 09:36:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:36:05 - End Time 2025-03-10 09:36:05
[2025-03-10 09:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648640', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648640', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648640', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648640', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:36:19] Production.INFO: ProcessCDR(1,14648640,1,1,2)
[2025-03-10 09:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648640', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648640', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:36:24] Production.INFO: ==24998== Releasing lock...
[2025-03-10 09:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:36:24] Production.INFO: 42.5 MB #Memory Used#
[2025-03-10 13:37:02] Production.INFO: ==25063== Lock acquired, processing the job...
[2025-03-10 13:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:37:02] Production.INFO: neon service started
[2025-03-10 13:37:02] Production.INFO: neon service started
[2025-03-10 13:37:02] Production.INFO: ==25063== Releasing lock...
[2025-03-10 13:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:37:02] Production.INFO: ==25065== Lock acquired, processing the job...
[2025-03-10 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:37:02] Production.INFO: ==25065== Releasing lock...
[2025-03-10 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:37:03] Production.INFO: ==25067== Lock acquired, processing the job...
[2025-03-10 13:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:37:03] Production.INFO: ==25067== Releasing lock...
[2025-03-10 13:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:37:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:37:04] Production.INFO: ==25077== Lock acquired, processing the job...
[2025-03-10 09:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:37:04] Production.INFO: ==25075== Lock acquired, processing the job...
[2025-03-10 09:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:37:04] Production.INFO: ==25069== Lock acquired, processing the job...
[2025-03-10 09:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:37:04] Production.INFO: Account Balance Start.
[2025-03-10 09:37:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:37:04] Production.INFO: 117
[2025-03-10 09:37:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:37:04] Production.INFO: ==25071== Lock acquired, processing the job...
[2025-03-10 09:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:37:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:37:04] Production.INFO: ==25073== Lock acquired, processing the job...
[2025-03-10 09:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:37:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:37:04] Production.INFO: ==25079== Lock acquired, processing the job...
[2025-03-10 09:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:37:04] Production.INFO: Total Charge 0
[2025-03-10 09:37:04] Production.ERROR: done
[2025-03-10 09:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:37:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 09:37:04] Production.INFO: count ==13
[2025-03-10 09:37:04] Production.INFO: ==25071== Releasing lock...
[2025-03-10 09:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 09:37:04] Production.INFO: count ==21
[2025-03-10 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648644') start
[2025-03-10 09:37:04] Production.ERROR: done
[2025-03-10 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648644') end
[2025-03-10 09:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:37:04] Production.INFO: 1
[2025-03-10 09:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:37:04] Production.INFO: Account Balance End.
[2025-03-10 09:37:05] Production.INFO: ==25079== Releasing lock...
[2025-03-10 09:37:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:37:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:37:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:37:05] Production.INFO: ==25075== Releasing lock...
[2025-03-10 09:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:37:06
[end_date_ymd] => 2025-03-10 09:37:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:37:06' and `end` < '2025-03-10 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-03-10 09:37:12] Production.ERROR: CronJobId end10
[2025-03-10 09:37:12] Production.INFO: ==25073== Releasing lock...
[2025-03-10 09:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:37:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:37:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:37:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:37:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:37:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:37:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:37:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:37:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:37:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:37:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:37:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:37:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:37:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:37:15] Production.INFO: call_cost start
[2025-03-10 09:37:15] Production.INFO: call_cost end
[2025-03-10 09:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:37:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:37:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:37:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:37:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:37:16] Production.INFO: ==25069== Releasing lock...
[2025-03-10 09:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:37:18] Production.INFO: count ==1899
[2025-03-10 09:37:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:37:06 - End Time 2025-03-10 09:37:06
[2025-03-10 09:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648645', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648645', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648645', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648645', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:37:19] Production.INFO: ProcessCDR(1,14648645,1,1,2)
[2025-03-10 09:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:37:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:37:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648645', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648645', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:37:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:37:24] Production.INFO: ==25077== Releasing lock...
[2025-03-10 09:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:37:24] Production.INFO: 42.25 MB #Memory Used#
[2025-03-10 13:38:01] Production.INFO: ==25142== Lock acquired, processing the job...
[2025-03-10 13:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:38:01] Production.INFO: neon service started
[2025-03-10 13:38:01] Production.INFO: neon service started
[2025-03-10 13:38:01] Production.INFO: ==25142== Releasing lock...
[2025-03-10 13:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:38:02] Production.INFO: ==25146== Lock acquired, processing the job...
[2025-03-10 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:38:02] Production.INFO: ==25148== Lock acquired, processing the job...
[2025-03-10 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:38:02] Production.INFO: ==25146== Releasing lock...
[2025-03-10 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:38:02] Production.INFO: ==25148== Releasing lock...
[2025-03-10 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:38:03] Production.INFO: ==25151== Lock acquired, processing the job...
[2025-03-10 09:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:38:03] Production.INFO: ==25159== Lock acquired, processing the job...
[2025-03-10 09:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:38:03] Production.INFO: ==25161== Lock acquired, processing the job...
[2025-03-10 09:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:38:03] Production.INFO: ==25153== Lock acquired, processing the job...
[2025-03-10 09:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:38:03] Production.INFO: ==25155== Lock acquired, processing the job...
[2025-03-10 09:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:38:03] Production.INFO: ==25157== Lock acquired, processing the job...
[2025-03-10 09:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09: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-03-10 09:38:03] Production.INFO: Account Balance Start.
[2025-03-10 09:38:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:38:03] Production.INFO: count ==13
[2025-03-10 09:38:03] Production.INFO: 117
[2025-03-10 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-03-10 09:38:04] Production.INFO: count ==21
[2025-03-10 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648647') start
[2025-03-10 09:38:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:38:04] Production.ERROR: done
[2025-03-10 09:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:38:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:38:04] Production.INFO: Total Charge 0
[2025-03-10 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648647') end
[2025-03-10 09:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:38:04] Production.INFO: 1
[2025-03-10 09:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:38:04] Production.INFO: CreateAllLog End
[2025-03-10 09:38:04] Production.INFO: ==25161== Releasing lock...
[2025-03-10 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:38:04] Production.ERROR: done
[2025-03-10 09:38:04] Production.INFO: ==25153== Releasing lock...
[2025-03-10 09:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:38:04] Production.INFO: Account Balance End.
[2025-03-10 09:38:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:38:04] Production.INFO: ==25157== Releasing lock...
[2025-03-10 09:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:38:05
[end_date_ymd] => 2025-03-10 09:38:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:38:05' and `end` < '2025-03-10 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-03-10 09:38:12] Production.ERROR: CronJobId end10
[2025-03-10 09:38:12] Production.INFO: ==25155== Releasing lock...
[2025-03-10 09:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:38:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:38:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:38:16] Production.INFO: call_cost start
[2025-03-10 09:38:16] Production.INFO: call_cost end
[2025-03-10 09:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:38:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:38:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:38:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:38:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:38:16] Production.INFO: ==25151== Releasing lock...
[2025-03-10 09:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:38:18] Production.INFO: count ==1918
[2025-03-10 09:38:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:38:05 - End Time 2025-03-10 09:38:05
[2025-03-10 09:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648650', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648650', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648650', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648650', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:38:18] Production.INFO: ProcessCDR(1,14648650,1,1,2)
[2025-03-10 09:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648650', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648650', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:38:23] Production.INFO: ==25159== Releasing lock...
[2025-03-10 09:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:38:23] Production.INFO: 42.5 MB #Memory Used#
[2025-03-10 13:39:02] Production.INFO: ==25221== Lock acquired, processing the job...
[2025-03-10 13:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:39:02] Production.INFO: neon service started
[2025-03-10 13:39:02] Production.INFO: neon service started
[2025-03-10 13:39:02] Production.INFO: ==25221== Releasing lock...
[2025-03-10 13:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:39:02] Production.INFO: ==25225== Lock acquired, processing the job...
[2025-03-10 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:39:02] Production.INFO: ==25225== Releasing lock...
[2025-03-10 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:39:02] Production.INFO: ==25223== Lock acquired, processing the job...
[2025-03-10 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:39:02] Production.INFO: ==25223== Releasing lock...
[2025-03-10 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:39:03] Production.INFO: ==25232== Lock acquired, processing the job...
[2025-03-10 09:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:39:03] Production.INFO: ==25234== Lock acquired, processing the job...
[2025-03-10 09:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:39:04] Production.INFO: ==25228== Lock acquired, processing the job...
[2025-03-10 09:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:39:04] Production.INFO: ==25230== Lock acquired, processing the job...
[2025-03-10 09:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:39:04] Production.INFO: Account Balance Start.
[2025-03-10 09:39:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:39:04] Production.INFO: 117
[2025-03-10 09:39:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:39:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:39:04] Production.INFO: ==25236== Lock acquired, processing the job...
[2025-03-10 09:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:39:04] Production.INFO: ==25238== Lock acquired, processing the job...
[2025-03-10 09:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 09: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-03-10 09:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:39:04] Production.INFO: Total Charge 0
[2025-03-10 09:39:04] Production.INFO: count ==13
[2025-03-10 09:39:04] Production.INFO: CreateAllLog End
[2025-03-10 09: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-03-10 09:39:04] Production.INFO: count ==21
[2025-03-10 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648654') start
[2025-03-10 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648654') end
[2025-03-10 09:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:39:04] Production.INFO: 1
[2025-03-10 09:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:39:04] Production.INFO: ==25230== Releasing lock...
[2025-03-10 09:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:39:04] Production.INFO: ==25238== Releasing lock...
[2025-03-10 09:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:39:04] Production.ERROR: done
[2025-03-10 09:39:04] Production.INFO: Account Balance End.
[2025-03-10 09:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:39:04] Production.INFO: ==25234== Releasing lock...
[2025-03-10 09:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:39:05] Production.ERROR: done
[2025-03-10 09:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:39:06
[end_date_ymd] => 2025-03-10 09:39:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:39:06' and `end` < '2025-03-10 09: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-03-10 09:39:14] Production.ERROR: CronJobId end10
[2025-03-10 09:39:14] Production.INFO: ==25232== Releasing lock...
[2025-03-10 09:39:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:39:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:39:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:39:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:39:16] Production.INFO: call_cost start
[2025-03-10 09:39:16] Production.INFO: call_cost end
[2025-03-10 09:39:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:39:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:39:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:39:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:39:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:39:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:39:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:39:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:39:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:39:17] Production.INFO: ==25228== Releasing lock...
[2025-03-10 09:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:39:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:39:18] Production.INFO: count ==1930
[2025-03-10 09:39:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:39:06 - End Time 2025-03-10 09:39:06
[2025-03-10 09:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648655', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648655', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648655', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648655', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:39:19] Production.INFO: ProcessCDR(1,14648655,1,1,2)
[2025-03-10 09:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648655', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648655', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:39:24] Production.INFO: ==25236== Releasing lock...
[2025-03-10 09:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:39:24] Production.INFO: 42.5 MB #Memory Used#
[2025-03-10 13:40:01] Production.INFO: ==25336== Lock acquired, processing the job...
[2025-03-10 13:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:40:01] Production.INFO: neon service started
[2025-03-10 13:40:01] Production.INFO: neon service started
[2025-03-10 13:40:01] Production.INFO: ==25336== Releasing lock...
[2025-03-10 13:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:40:02] Production.INFO: ==25340== Lock acquired, processing the job...
[2025-03-10 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 09:40:02] Production.INFO: ==25338== Lock acquired, processing the job...
[2025-03-10 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:40:02] Production.INFO: ==25340== Releasing lock...
[2025-03-10 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:40:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:40:02] Production.INFO: ==25338== Releasing lock...
[2025-03-10 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:40:04] Production.INFO: ==25343== Lock acquired, processing the job...
[2025-03-10 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 09:40:04] Production.INFO: ==25347== Lock acquired, processing the job...
[2025-03-10 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:40:04] Production.INFO: ==25345== Lock acquired, processing the job...
[2025-03-10 09:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 09:40:04] Production.INFO: ==25351== Lock acquired, processing the job...
[2025-03-10 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 09:40:04] Production.INFO: ==25343== Releasing lock...
[2025-03-10 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 09:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 09:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:40:04] Production.INFO: Account Balance Start.
[2025-03-10 09:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:40:04] Production.INFO: 117
[2025-03-10 09:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:40:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:40:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:40:04] Production.INFO: ==25349== Lock acquired, processing the job...
[2025-03-10 09:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:40:04] Production.INFO: ==25347== Releasing lock...
[2025-03-10 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:40:04] Production.INFO: Total Charge 0
[2025-03-10 09:40:04] Production.INFO: CreateAllLog End
[2025-03-10 09:40:04] Production.INFO: ==25353== Lock acquired, processing the job...
[2025-03-10 09:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:40:04] Production.INFO: ==25355== Lock acquired, processing the job...
[2025-03-10 09:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 09:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:40:04] Production.INFO: ==25357== Lock acquired, processing the job...
[2025-03-10 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:40:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 09:40:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:40:04] Production.INFO: ==25351== Releasing lock...
[2025-03-10 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:40:04] Production.INFO: count ==13
[2025-03-10 09: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-03-10 09:40:04] Production.INFO: count ==21
[2025-03-10 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648659') start
[2025-03-10 09:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648659') end
[2025-03-10 09:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:40:05] Production.INFO: 1
[2025-03-10 09:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:40:05] Production.INFO: ==25357== Releasing lock...
[2025-03-10 09:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:40:05] Production.ERROR: done
[2025-03-10 09:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:40:05] Production.ERROR: done
[2025-03-10 09:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 09:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648660', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 09:40:05] Production.ERROR: done
[2025-03-10 09:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:40:06
[end_date_ymd] => 2025-03-10 09:40:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:40:06' and `end` < '2025-03-10 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-03-10 09:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648660', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 09:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 09:40:10] Production.INFO: ProcessCDR(1,14648660,1,1,2)
[2025-03-10 09:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648660,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648660,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:40:10] Production.INFO: ==25355== Releasing lock...
[2025-03-10 09:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 09:40:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 09:40:16] Production.ERROR: CronJobId end10
[2025-03-10 09:40:16] Production.INFO: ==25349== Releasing lock...
[2025-03-10 09:40:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:40:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:40:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:40:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:40:17] Production.INFO: call_cost start
[2025-03-10 09:40:17] Production.INFO: call_cost end
[2025-03-10 09:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:40:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:40:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:40:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:40:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:40:18] Production.INFO: ==25345== Releasing lock...
[2025-03-10 09:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:40:19] Production.INFO: count ==1955
[2025-03-10 09:40:20] Production.ERROR: pbx CDR StartTime 2025-03-10 06:40:06 - End Time 2025-03-10 09:40:06
[2025-03-10 09:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648661', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648661', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648661', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648661', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:40:20] Production.INFO: ProcessCDR(1,14648661,1,1,2)
[2025-03-10 09:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:40:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648661', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648661', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:40:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:40:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:40:25] Production.INFO: ==25353== Releasing lock...
[2025-03-10 09:40:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:40:25] Production.INFO: 42.75 MB #Memory Used#
[2025-03-10 13:41:02] Production.INFO: ==25420== Lock acquired, processing the job...
[2025-03-10 13:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:41:02] Production.INFO: neon service started
[2025-03-10 13:41:02] Production.INFO: neon service started
[2025-03-10 13:41:02] Production.INFO: ==25420== Releasing lock...
[2025-03-10 13:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:41:02] Production.INFO: ==25424== Lock acquired, processing the job...
[2025-03-10 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:41:02] Production.INFO: ==25424== Releasing lock...
[2025-03-10 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:41:02] Production.INFO: ==25422== Lock acquired, processing the job...
[2025-03-10 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:41:02] Production.INFO: ==25422== Releasing lock...
[2025-03-10 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:41:03] Production.INFO: ==25427== Lock acquired, processing the job...
[2025-03-10 09:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:41:03] Production.INFO: ==25431== Lock acquired, processing the job...
[2025-03-10 09:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:41:04] Production.INFO: ==25435== Lock acquired, processing the job...
[2025-03-10 09:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:41:04] Production.INFO: ==25429== Lock acquired, processing the job...
[2025-03-10 09:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:41:04] Production.INFO: ==25433== Lock acquired, processing the job...
[2025-03-10 09:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:41:04] Production.INFO: ==25437== Lock acquired, processing the job...
[2025-03-10 09:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:41:04] Production.INFO: Account Balance Start.
[2025-03-10 09:41:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:41:04] Production.INFO: 117
[2025-03-10 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-03-10 09:41:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:41:04] Production.INFO: count ==13
[2025-03-10 09: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-03-10 09:41:04] Production.INFO: count ==21
[2025-03-10 09:41:04] Production.INFO: ==25429== Releasing lock...
[2025-03-10 09:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648665') start
[2025-03-10 09:41:04] Production.ERROR: done
[2025-03-10 09:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:41:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:41:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648665') end
[2025-03-10 09:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:41:04] Production.INFO: 1
[2025-03-10 09:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:41:04] Production.INFO: ==25437== Releasing lock...
[2025-03-10 09:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:41:04] Production.ERROR: done
[2025-03-10 09:41:04] Production.INFO: Total Charge 0
[2025-03-10 09:41:04] Production.INFO: CreateAllLog End
[2025-03-10 09:41:04] Production.INFO: Account Balance End.
[2025-03-10 09:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:41:04] Production.INFO: ==25433== Releasing lock...
[2025-03-10 09:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:41:05
[end_date_ymd] => 2025-03-10 09:41:05
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:41:05' and `end` < '2025-03-10 09: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-03-10 09:41:13] Production.ERROR: CronJobId end10
[2025-03-10 09:41:13] Production.INFO: ==25431== Releasing lock...
[2025-03-10 09:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:41:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:41:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:41:15] Production.INFO: call_cost start
[2025-03-10 09:41:15] Production.INFO: call_cost end
[2025-03-10 09:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:41:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:41:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:41:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:41:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:41:16] Production.INFO: ==25427== Releasing lock...
[2025-03-10 09:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:41:18] Production.INFO: count ==2035
[2025-03-10 09:41:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:41:05 - End Time 2025-03-10 09:41:05
[2025-03-10 09:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648666', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648666', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648666', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648666', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:41:19] Production.INFO: ProcessCDR(1,14648666,1,1,2)
[2025-03-10 09:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:41:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:41:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648666', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648666', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:41:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:41:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:41:24] Production.INFO: ==25435== Releasing lock...
[2025-03-10 09:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:41:24] Production.INFO: 43.25 MB #Memory Used#
[2025-03-10 13:42:01] Production.INFO: ==25499== Lock acquired, processing the job...
[2025-03-10 13:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:42:01] Production.INFO: neon service started
[2025-03-10 13:42:01] Production.INFO: neon service started
[2025-03-10 13:42:01] Production.INFO: ==25499== Releasing lock...
[2025-03-10 13:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:42:01] Production.INFO: ==25501== Lock acquired, processing the job...
[2025-03-10 09:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:42:02] Production.INFO: ==25501== Releasing lock...
[2025-03-10 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:42:02] Production.INFO: ==25504== Lock acquired, processing the job...
[2025-03-10 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:42:02] Production.INFO: ==25504== Releasing lock...
[2025-03-10 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:42:03] Production.INFO: ==25508== Lock acquired, processing the job...
[2025-03-10 09:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:42:03] Production.INFO: ==25514== Lock acquired, processing the job...
[2025-03-10 09:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:42:03] Production.INFO: ==25506== Lock acquired, processing the job...
[2025-03-10 09:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:42:03] Production.INFO: ==25510== Lock acquired, processing the job...
[2025-03-10 09:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:42:03] Production.INFO: ==25516== Lock acquired, processing the job...
[2025-03-10 09:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:42:03] Production.INFO: ==25512== Lock acquired, processing the job...
[2025-03-10 09:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:42:03] Production.ERROR: done
[2025-03-10 09:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:42:03] Production.INFO: Account Balance Start.
[2025-03-10 09:42:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:42:03] Production.ERROR: done
[2025-03-10 09:42:03] Production.INFO: 117
[2025-03-10 09:42:03] Production.INFO: ==25508== Releasing lock...
[2025-03-10 09:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:42:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:42:03] Production.INFO: Reseller ==> 0
[2025-03-10 09: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-03-10 09:42:03] Production.INFO: count ==13
[2025-03-10 09:42:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:42:03] Production.INFO: Reseller ==> 0
[2025-03-10 09: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-03-10 09:42:03] Production.INFO: count ==21
[2025-03-10 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648669') start
[2025-03-10 09:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:42:04] Production.INFO: Total Charge 0
[2025-03-10 09:42:04] Production.INFO: CreateAllLog End
[2025-03-10 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648669') end
[2025-03-10 09:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:42:04] Production.INFO: 1
[2025-03-10 09:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:42:04] Production.INFO: ==25516== Releasing lock...
[2025-03-10 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:42:04] Production.INFO: Account Balance End.
[2025-03-10 09:42:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:42:04] Production.INFO: ==25512== Releasing lock...
[2025-03-10 09:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:42:05
[end_date_ymd] => 2025-03-10 09:42:05
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:42:05' and `end` < '2025-03-10 09: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-03-10 09:42:13] Production.ERROR: CronJobId end10
[2025-03-10 09:42:13] Production.INFO: ==25510== Releasing lock...
[2025-03-10 09:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:42:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:42:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:42:16] Production.INFO: call_cost start
[2025-03-10 09:42:16] Production.INFO: call_cost end
[2025-03-10 09:42:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:42:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:42:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:42:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:42:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:42:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:42:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:42:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:42:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:42:17] Production.INFO: ==25506== Releasing lock...
[2025-03-10 09:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:42:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:42:17] Production.INFO: count ==2036
[2025-03-10 09:42:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:42:05 - End Time 2025-03-10 09:42:05
[2025-03-10 09:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648671', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648671', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648671', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648671', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:42:18] Production.INFO: ProcessCDR(1,14648671,1,1,2)
[2025-03-10 09:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648671', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648671', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:42:23] Production.INFO: ==25514== Releasing lock...
[2025-03-10 09:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:42:23] Production.INFO: 43.25 MB #Memory Used#
[2025-03-10 13:43:02] Production.INFO: ==25572== Lock acquired, processing the job...
[2025-03-10 13:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:43:02] Production.INFO: neon service started
[2025-03-10 13:43:02] Production.INFO: neon service started
[2025-03-10 13:43:02] Production.INFO: ==25572== Releasing lock...
[2025-03-10 13:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:43:02] Production.INFO: ==25575== Lock acquired, processing the job...
[2025-03-10 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:43:02] Production.INFO: ==25575== Releasing lock...
[2025-03-10 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:43:02] Production.INFO: ==25577== Lock acquired, processing the job...
[2025-03-10 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:43:02] Production.INFO: ==25577== Releasing lock...
[2025-03-10 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:43:03] Production.INFO: ==25583== Lock acquired, processing the job...
[2025-03-10 09:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:43:03] Production.INFO: ==25589== Lock acquired, processing the job...
[2025-03-10 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:43:03] Production.INFO: ==25579== Lock acquired, processing the job...
[2025-03-10 09:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:43:03] Production.INFO: ==25581== Lock acquired, processing the job...
[2025-03-10 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:43:03] Production.INFO: ==25585== Lock acquired, processing the job...
[2025-03-10 09:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09: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-03-10 09:43:03] Production.INFO: ==25587== Lock acquired, processing the job...
[2025-03-10 09:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:43:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:43:04] Production.INFO: count ==21
[2025-03-10 09:43:04] Production.INFO: Account Balance Start.
[2025-03-10 09:43:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648672') start
[2025-03-10 09:43:04] Production.INFO: 117
[2025-03-10 09:43:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648672') end
[2025-03-10 09:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:43:04] Production.INFO: 1
[2025-03-10 09:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:43:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:43:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:43:04] Production.INFO: Total Charge 0
[2025-03-10 09:43:04] Production.INFO: CreateAllLog End
[2025-03-10 09:43:04] Production.INFO: ==25589== Releasing lock...
[2025-03-10 09:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:43:04] Production.ERROR: done
[2025-03-10 09:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:43:04] Production.INFO: ==25581== Releasing lock...
[2025-03-10 09:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:43:04] Production.ERROR: done
[2025-03-10 09:43:04] Production.INFO: Account Balance End.
[2025-03-10 09:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:43:04] Production.INFO: ==25585== Releasing lock...
[2025-03-10 09:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:43:05
[end_date_ymd] => 2025-03-10 09:43:05
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:43:05' and `end` < '2025-03-10 09: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-03-10 09:43:12] Production.ERROR: CronJobId end10
[2025-03-10 09:43:12] Production.INFO: ==25583== Releasing lock...
[2025-03-10 09:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:43:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:43:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:43:16] Production.INFO: call_cost start
[2025-03-10 09:43:16] Production.INFO: call_cost end
[2025-03-10 09:43:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:43:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:43:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:43:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:43:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:43:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:43:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:43:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:43:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:43:17] Production.INFO: ==25579== Releasing lock...
[2025-03-10 09:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:43:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:43:18] Production.INFO: count ==2044
[2025-03-10 09:43:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:43:05 - End Time 2025-03-10 09:43:05
[2025-03-10 09:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648676', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648676', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648676', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648676', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:43:19] Production.INFO: ProcessCDR(1,14648676,1,1,2)
[2025-03-10 09:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648676', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648676', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:43:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:43:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:43:24] Production.INFO: ==25587== Releasing lock...
[2025-03-10 09:43:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:43:24] Production.INFO: 43.5 MB #Memory Used#
[2025-03-10 13:44:01] Production.INFO: ==25645== Lock acquired, processing the job...
[2025-03-10 13:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:44:01] Production.INFO: neon service started
[2025-03-10 13:44:01] Production.INFO: neon service started
[2025-03-10 13:44:01] Production.INFO: ==25645== Releasing lock...
[2025-03-10 13:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:44:02] Production.INFO: ==25647== Lock acquired, processing the job...
[2025-03-10 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:44:02] Production.INFO: ==25649== Lock acquired, processing the job...
[2025-03-10 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:44:02] Production.INFO: ==25649== Releasing lock...
[2025-03-10 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:44:02] Production.INFO: ==25647== Releasing lock...
[2025-03-10 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:44:03] Production.INFO: ==25656== Lock acquired, processing the job...
[2025-03-10 09:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:44:03] Production.INFO: ==25652== Lock acquired, processing the job...
[2025-03-10 09:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:44:03] Production.INFO: ==25662== Lock acquired, processing the job...
[2025-03-10 09:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:44:03] Production.INFO: ==25654== Lock acquired, processing the job...
[2025-03-10 09:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:44:03] Production.INFO: ==25658== Lock acquired, processing the job...
[2025-03-10 09:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 09:44:03] Production.INFO: ==25660== Lock acquired, processing the job...
[2025-03-10 09:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:44:03] Production.INFO: count ==13
[2025-03-10 09:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 09:44:03] Production.INFO: count ==21
[2025-03-10 09:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648678') start
[2025-03-10 09:44:04] Production.INFO: Account Balance Start.
[2025-03-10 09:44:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:44:04] Production.INFO: 117
[2025-03-10 09:44:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648678') end
[2025-03-10 09:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:44:04] Production.INFO: 1
[2025-03-10 09:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:44:04] Production.INFO: ==25662== Releasing lock...
[2025-03-10 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:44:04] Production.INFO: ==25654== Releasing lock...
[2025-03-10 09:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:44:04] Production.ERROR: done
[2025-03-10 09:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:44:04] Production.INFO: Total Charge 0
[2025-03-10 09:44:04] Production.INFO: CreateAllLog End
[2025-03-10 09:44:04] Production.ERROR: done
[2025-03-10 09:44:04] Production.INFO: Account Balance End.
[2025-03-10 09:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:44:04] Production.INFO: ==25658== Releasing lock...
[2025-03-10 09:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:44:05
[end_date_ymd] => 2025-03-10 09:44:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:44:05' and `end` < '2025-03-10 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-03-10 09:44:12] Production.ERROR: CronJobId end10
[2025-03-10 09:44:12] Production.INFO: ==25656== Releasing lock...
[2025-03-10 09:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:44:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:44:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:44:16] Production.INFO: call_cost start
[2025-03-10 09:44:16] Production.INFO: call_cost end
[2025-03-10 09:44:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:44:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:44:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:44:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:44:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:44:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:44:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:44:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:44:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:44:17] Production.INFO: ==25652== Releasing lock...
[2025-03-10 09:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:44:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:44:18] Production.INFO: count ==2049
[2025-03-10 09:44:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:44:05 - End Time 2025-03-10 09:44:05
[2025-03-10 09:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648681', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648681', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648681', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648681', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:44:19] Production.INFO: ProcessCDR(1,14648681,1,1,2)
[2025-03-10 09:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:44:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648681', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648681', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:44:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:44:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:44:24] Production.INFO: ==25660== Releasing lock...
[2025-03-10 09:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:44:24] Production.INFO: 43.5 MB #Memory Used#
[2025-03-10 13:45:02] Production.INFO: ==25722== Lock acquired, processing the job...
[2025-03-10 13:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:45:02] Production.INFO: neon service started
[2025-03-10 13:45:02] Production.INFO: neon service started
[2025-03-10 13:45:02] Production.INFO: ==25722== Releasing lock...
[2025-03-10 13:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:45:02] Production.INFO: ==25726== Lock acquired, processing the job...
[2025-03-10 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:45:02] Production.INFO: ==25726== Releasing lock...
[2025-03-10 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:45:02] Production.INFO: ==25724== Lock acquired, processing the job...
[2025-03-10 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:45:02] Production.INFO: ==25724== Releasing lock...
[2025-03-10 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:45:03] Production.INFO: ==25729== Lock acquired, processing the job...
[2025-03-10 09:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:45:03] Production.INFO: ==25731== Lock acquired, processing the job...
[2025-03-10 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:45:04] Production.INFO: ==25739== Lock acquired, processing the job...
[2025-03-10 09:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:45:04] Production.INFO: ==25733== Lock acquired, processing the job...
[2025-03-10 09:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:45:04] Production.INFO: ==25737== Lock acquired, processing the job...
[2025-03-10 09:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 09:45:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:45:04] Production.INFO: ==25735== Lock acquired, processing the job...
[2025-03-10 09:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:45:04] Production.INFO: count ==21
[2025-03-10 09:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648684') start
[2025-03-10 09:45:04] Production.INFO: ==25731== Releasing lock...
[2025-03-10 09:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648684') end
[2025-03-10 09:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:45:04] Production.INFO: 1
[2025-03-10 09:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:45:04] Production.INFO: Account Balance Start.
[2025-03-10 09:45:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:45:04] Production.INFO: 117
[2025-03-10 09:45:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:45:04] Production.ERROR: done
[2025-03-10 09:45:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:45:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:45:04] Production.INFO: ==25739== Releasing lock...
[2025-03-10 09:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:45:04] Production.INFO: Total Charge 0
[2025-03-10 09:45:04] Production.INFO: CreateAllLog End
[2025-03-10 09:45:04] Production.ERROR: done
[2025-03-10 09:45:05] Production.INFO: Account Balance End.
[2025-03-10 09:45:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:45:05] Production.INFO: ==25735== Releasing lock...
[2025-03-10 09:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:45:06
[end_date_ymd] => 2025-03-10 09:45:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:45:06' and `end` < '2025-03-10 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-03-10 09:45:12] Production.ERROR: CronJobId end10
[2025-03-10 09:45:12] Production.INFO: ==25733== Releasing lock...
[2025-03-10 09:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:45:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:45:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:45:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:45:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:45:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:45:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:45:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:45:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:45:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:45:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:45:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:45:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:45:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:45:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:45:15] Production.INFO: call_cost start
[2025-03-10 09:45:15] Production.INFO: call_cost end
[2025-03-10 09:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:45:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:45:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:45:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:45:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:45:16] Production.INFO: ==25729== Releasing lock...
[2025-03-10 09:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:45:18] Production.INFO: count ==2052
[2025-03-10 09:45:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:45:06 - End Time 2025-03-10 09:45:06
[2025-03-10 09:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648686', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648686', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648686', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648686', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:45:19] Production.INFO: ProcessCDR(1,14648686,1,1,2)
[2025-03-10 09:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:45:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648686', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648686', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:45:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:45:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:45:24] Production.INFO: ==25737== Releasing lock...
[2025-03-10 09:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:45:24] Production.INFO: 43.5 MB #Memory Used#
[2025-03-10 13:46:01] Production.INFO: ==25797== Lock acquired, processing the job...
[2025-03-10 13:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:46:01] Production.INFO: neon service started
[2025-03-10 13:46:01] Production.INFO: neon service started
[2025-03-10 13:46:01] Production.INFO: ==25797== Releasing lock...
[2025-03-10 13:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:46:02] Production.INFO: ==25799== Lock acquired, processing the job...
[2025-03-10 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:46:02] Production.INFO: ==25801== Lock acquired, processing the job...
[2025-03-10 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:46:02] Production.INFO: ==25801== Releasing lock...
[2025-03-10 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:46:02] Production.INFO: ==25799== Releasing lock...
[2025-03-10 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:46:03] Production.INFO: ==25804== Lock acquired, processing the job...
[2025-03-10 09:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:46:03] Production.INFO: ==25812== Lock acquired, processing the job...
[2025-03-10 09:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:46:03] Production.INFO: ==25806== Lock acquired, processing the job...
[2025-03-10 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:46:04] Production.INFO: ==25808== Lock acquired, processing the job...
[2025-03-10 09:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:46:04] Production.INFO: ==25810== Lock acquired, processing the job...
[2025-03-10 09:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:46:04] Production.INFO: ==25814== Lock acquired, processing the job...
[2025-03-10 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09: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-03-10 09:46:04] Production.INFO: Account Balance Start.
[2025-03-10 09:46:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:46:04] Production.INFO: 117
[2025-03-10 09:46:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:46:04] Production.INFO: count ==13
[2025-03-10 09: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-03-10 09:46:04] Production.INFO: count ==21
[2025-03-10 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648688') start
[2025-03-10 09:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:46:04] Production.ERROR: done
[2025-03-10 09:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:46:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:46:04] Production.INFO: Total Charge 0
[2025-03-10 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648688') end
[2025-03-10 09:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:46:04] Production.INFO: 1
[2025-03-10 09:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:46:04] Production.INFO: CreateAllLog End
[2025-03-10 09:46:04] Production.INFO: ==25814== Releasing lock...
[2025-03-10 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:46:04] Production.INFO: ==25806== Releasing lock...
[2025-03-10 09:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:46:04] Production.ERROR: done
[2025-03-10 09:46:04] Production.INFO: Account Balance End.
[2025-03-10 09:46:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:46:04] Production.INFO: ==25810== Releasing lock...
[2025-03-10 09:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:46:05
[end_date_ymd] => 2025-03-10 09:46:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:46:05' and `end` < '2025-03-10 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-03-10 09:46:12] Production.ERROR: CronJobId end10
[2025-03-10 09:46:12] Production.INFO: ==25808== Releasing lock...
[2025-03-10 09:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:46:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:46:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:46:15] Production.INFO: call_cost start
[2025-03-10 09:46:15] Production.INFO: call_cost end
[2025-03-10 09:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:46:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:46:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:46:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:46:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:46:16] Production.INFO: ==25804== Releasing lock...
[2025-03-10 09:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:46:18] Production.INFO: count ==2062
[2025-03-10 09:46:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:46:05 - End Time 2025-03-10 09:46:05
[2025-03-10 09:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648691', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648691', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648691', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648691', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:46:19] Production.INFO: ProcessCDR(1,14648691,1,1,2)
[2025-03-10 09:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648691', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648691', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:46:24] Production.INFO: ==25812== Releasing lock...
[2025-03-10 09:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:46:24] Production.INFO: 43.75 MB #Memory Used#
[2025-03-10 13:47:01] Production.INFO: ==25872== Lock acquired, processing the job...
[2025-03-10 13:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:47:02] Production.INFO: neon service started
[2025-03-10 13:47:02] Production.INFO: neon service started
[2025-03-10 13:47:02] Production.INFO: ==25872== Releasing lock...
[2025-03-10 13:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:47:02] Production.INFO: ==25876== Lock acquired, processing the job...
[2025-03-10 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:47:02] Production.INFO: ==25876== Releasing lock...
[2025-03-10 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:47:02] Production.INFO: ==25874== Lock acquired, processing the job...
[2025-03-10 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:47:02] Production.INFO: ==25874== Releasing lock...
[2025-03-10 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:47:03] Production.INFO: ==25880== Lock acquired, processing the job...
[2025-03-10 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:47:03] Production.INFO: ==25882== Lock acquired, processing the job...
[2025-03-10 09:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:47:03] Production.INFO: ==25884== Lock acquired, processing the job...
[2025-03-10 09:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:47:03] Production.INFO: Account Balance Start.
[2025-03-10 09:47:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:47:03] Production.INFO: 117
[2025-03-10 09:47:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:47:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:47:04] Production.INFO: ==25878== Lock acquired, processing the job...
[2025-03-10 09:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:47:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:47:04] Production.INFO: Total Charge 0
[2025-03-10 09:47:04] Production.INFO: CreateAllLog End
[2025-03-10 09:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:47:04] Production.INFO: ==25889== Lock acquired, processing the job...
[2025-03-10 09:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:47:04] Production.INFO: ==25880== Releasing lock...
[2025-03-10 09:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:47:04] Production.INFO: ==25887== Lock acquired, processing the job...
[2025-03-10 09:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 09:47:04] Production.INFO: Account Balance End.
[2025-03-10 09:47:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:47:04] Production.INFO: count ==21
[2025-03-10 09:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648695') start
[2025-03-10 09:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:47:04] Production.INFO: ==25884== Releasing lock...
[2025-03-10 09:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648695') end
[2025-03-10 09:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:47:04] Production.INFO: 1
[2025-03-10 09:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:47:04] Production.INFO: ==25889== Releasing lock...
[2025-03-10 09:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:47:04] Production.ERROR: done
[2025-03-10 09:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:47:04] Production.ERROR: done
[2025-03-10 09:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:47:05
[end_date_ymd] => 2025-03-10 09:47:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:47:05' and `end` < '2025-03-10 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-03-10 09:47:12] Production.ERROR: CronJobId end10
[2025-03-10 09:47:12] Production.INFO: ==25882== Releasing lock...
[2025-03-10 09:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:47:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:47:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:47:15] Production.INFO: call_cost start
[2025-03-10 09:47:15] Production.INFO: call_cost end
[2025-03-10 09:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:47:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:47:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:47:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:47:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:47:16] Production.INFO: ==25878== Releasing lock...
[2025-03-10 09:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:47:18] Production.INFO: count ==2095
[2025-03-10 09:47:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:47:05 - End Time 2025-03-10 09:47:05
[2025-03-10 09:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648696', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648696', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648696', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648696', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:47:19] Production.INFO: ProcessCDR(1,14648696,1,1,2)
[2025-03-10 09:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648696', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648696', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:47:24] Production.INFO: ==25887== Releasing lock...
[2025-03-10 09:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:47:24] Production.INFO: 44 MB #Memory Used#
[2025-03-10 13:48:01] Production.INFO: ==25945== Lock acquired, processing the job...
[2025-03-10 13:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:48:01] Production.INFO: neon service started
[2025-03-10 13:48:01] Production.INFO: neon service started
[2025-03-10 13:48:01] Production.INFO: ==25945== Releasing lock...
[2025-03-10 13:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:48:01] Production.INFO: ==25949== Lock acquired, processing the job...
[2025-03-10 13:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:48:01] Production.INFO: ==25949== Releasing lock...
[2025-03-10 13:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:48:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:48:02] Production.INFO: ==25947== Lock acquired, processing the job...
[2025-03-10 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:48:02] Production.INFO: ==25947== Releasing lock...
[2025-03-10 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:48:03] Production.INFO: ==25958== Lock acquired, processing the job...
[2025-03-10 09:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:48:03] Production.INFO: ==25960== Lock acquired, processing the job...
[2025-03-10 09:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:48:03] Production.INFO: Account Balance Start.
[2025-03-10 09:48:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:48:03] Production.INFO: 117
[2025-03-10 09:48:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:48:03] Production.INFO: ==25952== Lock acquired, processing the job...
[2025-03-10 09:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:48:03] Production.INFO: ==25954== Lock acquired, processing the job...
[2025-03-10 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:48:03] Production.INFO: ==25956== Lock acquired, processing the job...
[2025-03-10 09:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:48:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:48:03] Production.INFO: Date 2025-03-10
[2025-03-10 09:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:48:03] Production.INFO: ==25962== Lock acquired, processing the job...
[2025-03-10 09:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:48:04] Production.ERROR: done
[2025-03-10 09:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:48:04] Production.INFO: Total Charge 0
[2025-03-10 09:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:48:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 09:48:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:48:04] Production.INFO: count ==21
[2025-03-10 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648699') start
[2025-03-10 09:48:04] Production.ERROR: done
[2025-03-10 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648699') end
[2025-03-10 09:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:48:04] Production.INFO: 1
[2025-03-10 09:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:48:04] Production.INFO: Account Balance End.
[2025-03-10 09:48:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:48:04] Production.INFO: ==25958== Releasing lock...
[2025-03-10 09:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:48:04] Production.INFO: ==25962== Releasing lock...
[2025-03-10 09:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:48:04] Production.INFO: ==25954== Releasing lock...
[2025-03-10 09:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:48:05
[end_date_ymd] => 2025-03-10 09:48:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:48:05' and `end` < '2025-03-10 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-03-10 09:48:13] Production.ERROR: CronJobId end10
[2025-03-10 09:48:13] Production.INFO: ==25956== Releasing lock...
[2025-03-10 09:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:48:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:48:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:48:16] Production.INFO: call_cost start
[2025-03-10 09:48:16] Production.INFO: call_cost end
[2025-03-10 09:48:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:48:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:48:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:48:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:48:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:48:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:48:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:48:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:48:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:48:17] Production.INFO: ==25952== Releasing lock...
[2025-03-10 09:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:48:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:48:18] Production.INFO: count ==2117
[2025-03-10 09:48:18] Production.ERROR: pbx CDR StartTime 2025-03-10 06:48:05 - End Time 2025-03-10 09:48:05
[2025-03-10 09:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648701', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648701', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648701', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648701', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:48:19] Production.INFO: ProcessCDR(1,14648701,1,1,2)
[2025-03-10 09:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648701', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648701', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:48:24] Production.INFO: ==25960== Releasing lock...
[2025-03-10 09:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:48:24] Production.INFO: 44 MB #Memory Used#
[2025-03-10 13:49:01] Production.INFO: ==26023== Lock acquired, processing the job...
[2025-03-10 13:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:49:02] Production.INFO: neon service started
[2025-03-10 13:49:02] Production.INFO: neon service started
[2025-03-10 13:49:02] Production.INFO: ==26023== Releasing lock...
[2025-03-10 13:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:49:02] Production.INFO: ==26027== Lock acquired, processing the job...
[2025-03-10 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:49:02] Production.INFO: ==26027== Releasing lock...
[2025-03-10 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:49:02] Production.INFO: ==26025== Lock acquired, processing the job...
[2025-03-10 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:49:02] Production.INFO: ==26025== Releasing lock...
[2025-03-10 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:49:03] Production.INFO: ==26030== Lock acquired, processing the job...
[2025-03-10 09:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:49:03] Production.INFO: ==26040== Lock acquired, processing the job...
[2025-03-10 09:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09: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-03-10 09:49:04] Production.INFO: count ==13
[2025-03-10 09:49:04] Production.INFO: ==26032== Lock acquired, processing the job...
[2025-03-10 09:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 09:49:04] Production.INFO: count ==21
[2025-03-10 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648703') start
[2025-03-10 09:49:04] Production.INFO: ==26034== Lock acquired, processing the job...
[2025-03-10 09:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:49:04] Production.INFO: ==26038== Lock acquired, processing the job...
[2025-03-10 09:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:49:04] Production.INFO: ==26036== Lock acquired, processing the job...
[2025-03-10 09:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648703') end
[2025-03-10 09:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:49:04] Production.INFO: 1
[2025-03-10 09:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:49:04] Production.INFO: ==26040== Releasing lock...
[2025-03-10 09:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:49:04] Production.INFO: Account Balance Start.
[2025-03-10 09:49:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:49:04] Production.INFO: 117
[2025-03-10 09:49:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:49:04] Production.INFO: Total Charge 0
[2025-03-10 09:49:04] Production.INFO: CreateAllLog End
[2025-03-10 09:49:04] Production.INFO: ==26032== Releasing lock...
[2025-03-10 09:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:49:04] Production.INFO: Account Balance End.
[2025-03-10 09:49:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:49:04] Production.INFO: ==26036== Releasing lock...
[2025-03-10 09:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:49:04] Production.ERROR: done
[2025-03-10 09:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:49:04] Production.ERROR: done
[2025-03-10 09:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:49:05
[end_date_ymd] => 2025-03-10 09:49:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:49:05' and `end` < '2025-03-10 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-03-10 09:49:13] Production.ERROR: CronJobId end10
[2025-03-10 09:49:13] Production.INFO: ==26034== Releasing lock...
[2025-03-10 09:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:49:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:49:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:49:15] Production.INFO: call_cost start
[2025-03-10 09:49:15] Production.INFO: call_cost end
[2025-03-10 09:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:49:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:49:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:49:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:49:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:49:16] Production.INFO: ==26030== Releasing lock...
[2025-03-10 09:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:49:18] Production.INFO: count ==2132
[2025-03-10 09:49:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:49:05 - End Time 2025-03-10 09:49:05
[2025-03-10 09:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648706', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648706', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648706', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648706', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:49:19] Production.INFO: ProcessCDR(1,14648706,1,1,2)
[2025-03-10 09:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:49:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:49:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648706', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648706', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:49:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:49:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:49:25] Production.INFO: ==26038== Releasing lock...
[2025-03-10 09:49:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:49:25] Production.INFO: 44 MB #Memory Used#
[2025-03-10 13:50:01] Production.INFO: ==26099== Lock acquired, processing the job...
[2025-03-10 13:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:50:01] Production.INFO: neon service started
[2025-03-10 13:50:01] Production.INFO: neon service started
[2025-03-10 13:50:01] Production.INFO: ==26099== Releasing lock...
[2025-03-10 13:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:50:01] Production.INFO: ==26103== Lock acquired, processing the job...
[2025-03-10 13:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:50:01] Production.INFO: ==26103== Releasing lock...
[2025-03-10 13:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:50:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:50:02] Production.INFO: ==26101== Lock acquired, processing the job...
[2025-03-10 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:50:02] Production.INFO: ==26101== Releasing lock...
[2025-03-10 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:50:03] Production.INFO: ==26106== Lock acquired, processing the job...
[2025-03-10 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 09:50:03] Production.INFO: ==26112== Lock acquired, processing the job...
[2025-03-10 09:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 09:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 09:50:03] Production.INFO: ==26106== Releasing lock...
[2025-03-10 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 09:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 09:50:03] Production.INFO: ==26108== Lock acquired, processing the job...
[2025-03-10 09:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:50:04] Production.INFO: ==26120== Lock acquired, processing the job...
[2025-03-10 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:50:04] Production.INFO: ==26110== Lock acquired, processing the job...
[2025-03-10 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:50:04] Production.INFO: ==26114== Lock acquired, processing the job...
[2025-03-10 09:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:50:04] Production.INFO: ==26118== Lock acquired, processing the job...
[2025-03-10 09:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 09:50:04] Production.INFO: ==26116== Lock acquired, processing the job...
[2025-03-10 09:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:50:04] Production.INFO: Account Balance Start.
[2025-03-10 09:50:04] Production.INFO: CreateAllLog Start
[2025-03-10 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-03-10 09:50:04] Production.INFO: 117
[2025-03-10 09:50:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:50:04] Production.INFO: count ==21
[2025-03-10 09:50:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648708') start
[2025-03-10 09:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:50:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:50:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:50:04] Production.INFO: Total Charge 0
[2025-03-10 09:50:04] Production.INFO: CreateAllLog End
[2025-03-10 09:50:04] Production.INFO: ==26110== Releasing lock...
[2025-03-10 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:50:04] Production.ERROR: done
[2025-03-10 09:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:50:04] Production.ERROR: done
[2025-03-10 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648708') end
[2025-03-10 09:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:50:04] Production.INFO: 1
[2025-03-10 09:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:50:04] Production.INFO: ==26120== Releasing lock...
[2025-03-10 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 09:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648711', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 09:50:04] Production.ERROR: done
[2025-03-10 09:50:05] Production.INFO: Account Balance End.
[2025-03-10 09:50:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:50:05] Production.INFO: ==26114== Releasing lock...
[2025-03-10 09:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:50:06
[end_date_ymd] => 2025-03-10 09:50:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:50:06' and `end` < '2025-03-10 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-03-10 09:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648711', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 09:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 09:50:09] Production.INFO: ProcessCDR(1,14648711,1,1,2)
[2025-03-10 09:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648711,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648711,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:50:09] Production.INFO: ==26118== Releasing lock...
[2025-03-10 09:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 09:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 09:50:14] Production.ERROR: CronJobId end10
[2025-03-10 09:50:14] Production.INFO: ==26112== Releasing lock...
[2025-03-10 09:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:50:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:50:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:50:17] Production.INFO: call_cost start
[2025-03-10 09:50:17] Production.INFO: call_cost end
[2025-03-10 09:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:50:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:50:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:50:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:50:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:50:18] Production.INFO: ==26108== Releasing lock...
[2025-03-10 09:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:50:19] Production.INFO: count ==2152
[2025-03-10 09:50:20] Production.ERROR: pbx CDR StartTime 2025-03-10 06:50:06 - End Time 2025-03-10 09:50:06
[2025-03-10 09:50:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648712', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648712', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648712', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648712', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:50:20] Production.INFO: ProcessCDR(1,14648712,1,1,2)
[2025-03-10 09:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:50:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:50:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:50:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648712', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648712', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:50:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:50:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:50:25] Production.INFO: ==26116== Releasing lock...
[2025-03-10 09:50:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:50:25] Production.INFO: 44.25 MB #Memory Used#
[2025-03-10 13:51:01] Production.INFO: ==26181== Lock acquired, processing the job...
[2025-03-10 13:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:51:02] Production.INFO: neon service started
[2025-03-10 13:51:02] Production.INFO: neon service started
[2025-03-10 13:51:02] Production.INFO: ==26181== Releasing lock...
[2025-03-10 13:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:51:02] Production.INFO: ==26187== Lock acquired, processing the job...
[2025-03-10 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:51:02] Production.INFO: ==26187== Releasing lock...
[2025-03-10 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:51:02] Production.INFO: ==26185== Lock acquired, processing the job...
[2025-03-10 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:51:02] Production.INFO: ==26185== Releasing lock...
[2025-03-10 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:51:03] Production.INFO: ==26189== Lock acquired, processing the job...
[2025-03-10 09:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:51:03] Production.INFO: ==26191== Lock acquired, processing the job...
[2025-03-10 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:51:03] Production.INFO: ==26196== Lock acquired, processing the job...
[2025-03-10 09:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:51:03] Production.INFO: Account Balance Start.
[2025-03-10 09:51:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:51:03] Production.INFO: 117
[2025-03-10 09:51:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:51:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:51:04] Production.INFO: ==26194== Lock acquired, processing the job...
[2025-03-10 09:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:51:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:51:04] Production.INFO: ==26200== Lock acquired, processing the job...
[2025-03-10 09:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:51:04] Production.INFO: ==26198== Lock acquired, processing the job...
[2025-03-10 09:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:51:04] Production.INFO: Total Charge 0
[2025-03-10 09:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:51:04] Production.INFO: CreateAllLog End
[2025-03-10 09:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 09:51:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:51:04] Production.INFO: count ==21
[2025-03-10 09:51:04] Production.INFO: ==26191== Releasing lock...
[2025-03-10 09:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648716') start
[2025-03-10 09:51:04] Production.INFO: Account Balance End.
[2025-03-10 09:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648716') end
[2025-03-10 09:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:51:04] Production.INFO: 1
[2025-03-10 09:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:51:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:51:04] Production.INFO: ==26196== Releasing lock...
[2025-03-10 09:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:51:04] Production.ERROR: done
[2025-03-10 09:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:51:04] Production.INFO: ==26200== Releasing lock...
[2025-03-10 09:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:51:04] Production.ERROR: done
[2025-03-10 09:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:51:06
[end_date_ymd] => 2025-03-10 09:51:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:51:06' and `end` < '2025-03-10 09: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-03-10 09:51:14] Production.ERROR: CronJobId end10
[2025-03-10 09:51:14] Production.INFO: ==26194== Releasing lock...
[2025-03-10 09:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:51:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:51:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:51:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:51:15] Production.INFO: call_cost start
[2025-03-10 09:51:15] Production.INFO: call_cost end
[2025-03-10 09:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:51:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:51:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:51:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:51:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:51:16] Production.INFO: ==26189== Releasing lock...
[2025-03-10 09:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:51:18] Production.INFO: count ==2262
[2025-03-10 09:51:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:51:06 - End Time 2025-03-10 09:51:06
[2025-03-10 09:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648717', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648717', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648717', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648717', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:51:19] Production.INFO: ProcessCDR(1,14648717,1,1,2)
[2025-03-10 09:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:51:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:51:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648717', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:51:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648717', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:51:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:51:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:51:25] Production.INFO: ==26198== Releasing lock...
[2025-03-10 09:51:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:51:25] Production.INFO: 45.25 MB #Memory Used#
[2025-03-10 13:52:01] Production.INFO: ==26256== Lock acquired, processing the job...
[2025-03-10 13:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:52:01] Production.INFO: neon service started
[2025-03-10 13:52:01] Production.INFO: neon service started
[2025-03-10 13:52:01] Production.INFO: ==26256== Releasing lock...
[2025-03-10 13:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:52:01] Production.INFO: ==26260== Lock acquired, processing the job...
[2025-03-10 13:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:52:01] Production.INFO: ==26260== Releasing lock...
[2025-03-10 13:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:52:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:52:02] Production.INFO: ==26258== Lock acquired, processing the job...
[2025-03-10 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:52:02] Production.INFO: ==26258== Releasing lock...
[2025-03-10 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:52:03] Production.INFO: ==26265== Lock acquired, processing the job...
[2025-03-10 09:52:03] Production.INFO: ==26263== Lock acquired, processing the job...
[2025-03-10 09:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:52:03] Production.INFO: ==26271== Lock acquired, processing the job...
[2025-03-10 09:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:52:03] Production.INFO: ==26267== Lock acquired, processing the job...
[2025-03-10 09:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:52:03] Production.INFO: ==26269== Lock acquired, processing the job...
[2025-03-10 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:52:03] Production.INFO: Account Balance Start.
[2025-03-10 09:52:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:52:03] Production.INFO: 117
[2025-03-10 09:52:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:52:03] Production.INFO: ==26273== Lock acquired, processing the job...
[2025-03-10 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:52:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:52:04] Production.ERROR: done
[2025-03-10 09:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:52:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:52:04] Production.INFO: ==26265== Releasing lock...
[2025-03-10 09:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:52:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 09:52:04] Production.INFO: CreateAllLog End
[2025-03-10 09:52:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:52:04] Production.INFO: count ==21
[2025-03-10 09:52:04] Production.ERROR: done
[2025-03-10 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648721') start
[2025-03-10 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648721') end
[2025-03-10 09:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:52:04] Production.INFO: 1
[2025-03-10 09:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:52:04] Production.INFO: ==26273== Releasing lock...
[2025-03-10 09:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:52:04] Production.INFO: Account Balance End.
[2025-03-10 09:52:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:52:04] Production.INFO: ==26269== Releasing lock...
[2025-03-10 09:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:52:05
[end_date_ymd] => 2025-03-10 09:52:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:52:05' and `end` < '2025-03-10 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-03-10 09:52:12] Production.ERROR: CronJobId end10
[2025-03-10 09:52:12] Production.INFO: ==26267== Releasing lock...
[2025-03-10 09:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:52:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:52:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:52:15] Production.INFO: call_cost start
[2025-03-10 09:52:15] Production.INFO: call_cost end
[2025-03-10 09:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:52:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:52:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:52:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:52:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:52:16] Production.INFO: ==26263== Releasing lock...
[2025-03-10 09:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:52:18] Production.INFO: count ==2278
[2025-03-10 09:52:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:52:05 - End Time 2025-03-10 09:52:05
[2025-03-10 09:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648722', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648722', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648722', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648722', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:52:19] Production.INFO: ProcessCDR(1,14648722,1,1,2)
[2025-03-10 09:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:52:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:52:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648722', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648722', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:52:24] Production.INFO: ==26271== Releasing lock...
[2025-03-10 09:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:52:24] Production.INFO: 45.25 MB #Memory Used#
[2025-03-10 13:53:01] Production.INFO: ==26336== Lock acquired, processing the job...
[2025-03-10 13:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:53:01] Production.INFO: neon service started
[2025-03-10 13:53:01] Production.INFO: neon service started
[2025-03-10 13:53:01] Production.INFO: ==26336== Releasing lock...
[2025-03-10 13:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:53:02] Production.INFO: ==26340== Lock acquired, processing the job...
[2025-03-10 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:53:02] Production.INFO: ==26340== Releasing lock...
[2025-03-10 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:53:02] Production.INFO: ==26338== Lock acquired, processing the job...
[2025-03-10 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:53:02] Production.INFO: ==26338== Releasing lock...
[2025-03-10 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:53:03] Production.INFO: ==26345== Lock acquired, processing the job...
[2025-03-10 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:53:03] Production.INFO: ==26351== Lock acquired, processing the job...
[2025-03-10 09:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:53:04] Production.INFO: ==26343== Lock acquired, processing the job...
[2025-03-10 09:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:53:04] Production.INFO: ==26349== Lock acquired, processing the job...
[2025-03-10 09:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:53:04] Production.INFO: ==26345== Releasing lock...
[2025-03-10 09:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:53:04] Production.INFO: ==26347== Lock acquired, processing the job...
[2025-03-10 09:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:53:04] Production.INFO: ==26353== Lock acquired, processing the job...
[2025-03-10 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:53:04] Production.ERROR: done
[2025-03-10 09:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 09:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:53:04] Production.INFO: Account Balance Start.
[2025-03-10 09:53:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:53:04] Production.INFO: count ==13
[2025-03-10 09:53:04] Production.INFO: 117
[2025-03-10 09:53:04] Production.ERROR: done
[2025-03-10 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-03-10 09:53:04] Production.INFO: count ==21
[2025-03-10 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648725') start
[2025-03-10 09:53:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:53:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648725') end
[2025-03-10 09:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:53:04] Production.INFO: 1
[2025-03-10 09:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:53:04] Production.INFO: ==26353== Releasing lock...
[2025-03-10 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:53:04] Production.INFO: Total Charge 0
[2025-03-10 09:53:04] Production.INFO: CreateAllLog End
[2025-03-10 09:53:04] Production.INFO: Account Balance End.
[2025-03-10 09:53:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:53:05] Production.INFO: ==26349== Releasing lock...
[2025-03-10 09:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:53:05
[end_date_ymd] => 2025-03-10 09:53:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:53:05' and `end` < '2025-03-10 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-03-10 09:53:14] Production.ERROR: CronJobId end10
[2025-03-10 09:53:14] Production.INFO: ==26347== Releasing lock...
[2025-03-10 09:53:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:53:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:53:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:53:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:53:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:53:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:53:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:53:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:53:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:53:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:53:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:53:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:53:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:53:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:53:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:53:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:53:17] Production.INFO: call_cost start
[2025-03-10 09:53:17] Production.INFO: call_cost end
[2025-03-10 09:53:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:53:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:53:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:53:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:53:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:53:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:53:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:53:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:53:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:53:18] Production.INFO: ==26343== Releasing lock...
[2025-03-10 09:53:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:53:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:53:18] Production.INFO: count ==2315
[2025-03-10 09:53:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:53:05 - End Time 2025-03-10 09:53:05
[2025-03-10 09:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648727', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648727', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648727', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648727', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:53:19] Production.INFO: ProcessCDR(1,14648727,1,1,2)
[2025-03-10 09:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648727', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648727', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:53:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:53:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:53:25] Production.INFO: ==26351== Releasing lock...
[2025-03-10 09:53:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:53:25] Production.INFO: 45.5 MB #Memory Used#
[2025-03-10 13:54:01] Production.INFO: ==26412== Lock acquired, processing the job...
[2025-03-10 13:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:54:01] Production.INFO: neon service started
[2025-03-10 13:54:01] Production.INFO: neon service started
[2025-03-10 13:54:01] Production.INFO: ==26412== Releasing lock...
[2025-03-10 13:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:54:01] Production.INFO: ==26416== Lock acquired, processing the job...
[2025-03-10 13:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:54:01] Production.INFO: ==26416== Releasing lock...
[2025-03-10 13:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:54:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:54:02] Production.INFO: ==26414== Lock acquired, processing the job...
[2025-03-10 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:54:02] Production.INFO: ==26414== Releasing lock...
[2025-03-10 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:54:03] Production.INFO: ==26423== Lock acquired, processing the job...
[2025-03-10 09:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:54:03] Production.INFO: ==26427== Lock acquired, processing the job...
[2025-03-10 09:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:54:03] Production.INFO: ==26419== Lock acquired, processing the job...
[2025-03-10 09:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:54:03] Production.INFO: ==26421== Lock acquired, processing the job...
[2025-03-10 09:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:54:03] Production.INFO: ==26425== Lock acquired, processing the job...
[2025-03-10 09:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:54:03] Production.INFO: Account Balance Start.
[2025-03-10 09:54:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:54:03] Production.INFO: 117
[2025-03-10 09:54:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:54:03] Production.INFO: ==26429== Lock acquired, processing the job...
[2025-03-10 09:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:54:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:54:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:54:04] Production.ERROR: done
[2025-03-10 09:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:54:04] Production.INFO: Total Charge 0
[2025-03-10 09:54:04] Production.INFO: CreateAllLog End
[2025-03-10 09: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-03-10 09:54:04] Production.INFO: ==26421== Releasing lock...
[2025-03-10 09:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:54:04] Production.INFO: count ==13
[2025-03-10 09:54:04] Production.ERROR: done
[2025-03-10 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-03-10 09:54:04] Production.INFO: count ==21
[2025-03-10 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648731') start
[2025-03-10 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648731') end
[2025-03-10 09:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:54:04] Production.INFO: 1
[2025-03-10 09:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:54:04] Production.INFO: Account Balance End.
[2025-03-10 09:54:04] Production.INFO: ==26429== Releasing lock...
[2025-03-10 09:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:54:04] Production.INFO: ==26425== Releasing lock...
[2025-03-10 09:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:54:05
[end_date_ymd] => 2025-03-10 09:54:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:54:05' and `end` < '2025-03-10 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-03-10 09:54:13] Production.ERROR: CronJobId end10
[2025-03-10 09:54:13] Production.INFO: ==26423== Releasing lock...
[2025-03-10 09:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:54:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:54:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:54:16] Production.INFO: call_cost start
[2025-03-10 09:54:16] Production.INFO: call_cost end
[2025-03-10 09:54:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:54:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:54:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:54:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:54:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:54:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:54:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:54:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:54:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:54:17] Production.INFO: ==26419== Releasing lock...
[2025-03-10 09:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:54:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:54:18] Production.INFO: count ==2378
[2025-03-10 09:54:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:54:05 - End Time 2025-03-10 09:54:05
[2025-03-10 09:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648732', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648732', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648732', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648732', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:54:19] Production.INFO: ProcessCDR(1,14648732,1,1,2)
[2025-03-10 09:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:54:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:54:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:54:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648732', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648732', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:54:25] Production.INFO: ==26427== Releasing lock...
[2025-03-10 09:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:54:25] Production.INFO: 46 MB #Memory Used#
[2025-03-10 13:55:01] Production.INFO: ==26488== Lock acquired, processing the job...
[2025-03-10 13:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:55:02] Production.INFO: neon service started
[2025-03-10 13:55:02] Production.INFO: neon service started
[2025-03-10 13:55:02] Production.INFO: ==26488== Releasing lock...
[2025-03-10 13:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:55:02] Production.INFO: ==26492== Lock acquired, processing the job...
[2025-03-10 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:55:02] Production.INFO: ==26492== Releasing lock...
[2025-03-10 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:55:02] Production.INFO: ==26490== Lock acquired, processing the job...
[2025-03-10 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:55:02] Production.INFO: ==26490== Releasing lock...
[2025-03-10 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:55:03] Production.INFO: ==26499== Lock acquired, processing the job...
[2025-03-10 09:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:55:03] Production.INFO: ==26501== Lock acquired, processing the job...
[2025-03-10 09:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:55:03] Production.INFO: ==26503== Lock acquired, processing the job...
[2025-03-10 09:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:55:04] Production.INFO: ==26497== Lock acquired, processing the job...
[2025-03-10 09:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:55:04] Production.INFO: Account Balance Start.
[2025-03-10 09:55:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:55:04] Production.INFO: 117
[2025-03-10 09:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:55:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:55:04] Production.INFO: ==26505== Lock acquired, processing the job...
[2025-03-10 09:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:55:04] Production.INFO: Total Charge 0
[2025-03-10 09:55:04] Production.INFO: CreateAllLog End
[2025-03-10 09:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:55:04] Production.INFO: ==26499== Releasing lock...
[2025-03-10 09:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:55:04] Production.INFO: ==26507== Lock acquired, processing the job...
[2025-03-10 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 09:55:04] Production.ERROR: done
[2025-03-10 09:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:55:04] Production.INFO: Account Balance End.
[2025-03-10 09:55:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:55:04] Production.INFO: count ==21
[2025-03-10 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648736') start
[2025-03-10 09:55:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:55:04] Production.INFO: ==26503== Releasing lock...
[2025-03-10 09:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:55:04] Production.ERROR: done
[2025-03-10 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648736') end
[2025-03-10 09:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:55:04] Production.INFO: 1
[2025-03-10 09:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:55:04] Production.INFO: ==26507== Releasing lock...
[2025-03-10 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:55:06
[end_date_ymd] => 2025-03-10 09:55:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:55:06' and `end` < '2025-03-10 09: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-03-10 09:55:13] Production.ERROR: CronJobId end10
[2025-03-10 09:55:13] Production.INFO: ==26501== Releasing lock...
[2025-03-10 09:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:55:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:55:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:55:15] Production.INFO: call_cost start
[2025-03-10 09:55:15] Production.INFO: call_cost end
[2025-03-10 09:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:55:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:55:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:55:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:55:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:55:16] Production.INFO: ==26497== Releasing lock...
[2025-03-10 09:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:55:18] Production.INFO: count ==2426
[2025-03-10 09:55:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:55:06 - End Time 2025-03-10 09:55:06
[2025-03-10 09:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648737', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648737', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648737', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648737', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:55:19] Production.INFO: ProcessCDR(1,14648737,1,1,2)
[2025-03-10 09:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648737', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648737', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:55:23] Production.INFO: ==26505== Releasing lock...
[2025-03-10 09:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:55:23] Production.INFO: 46.25 MB #Memory Used#
[2025-03-10 13:56:01] Production.INFO: ==26602== Lock acquired, processing the job...
[2025-03-10 13:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:56:01] Production.INFO: neon service started
[2025-03-10 13:56:01] Production.INFO: neon service started
[2025-03-10 13:56:01] Production.INFO: ==26602== Releasing lock...
[2025-03-10 13:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:56:01] Production.INFO: ==26604== Lock acquired, processing the job...
[2025-03-10 09:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:56:02] Production.INFO: ==26604== Releasing lock...
[2025-03-10 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:56:02] Production.INFO: ==26606== Lock acquired, processing the job...
[2025-03-10 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:56:02] Production.INFO: ==26606== Releasing lock...
[2025-03-10 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:56:03] Production.INFO: ==26609== Lock acquired, processing the job...
[2025-03-10 09:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:56:03] Production.INFO: ==26611== Lock acquired, processing the job...
[2025-03-10 09:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:56:03] Production.INFO: ==26613== Lock acquired, processing the job...
[2025-03-10 09:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:56:03] Production.INFO: ==26615== Lock acquired, processing the job...
[2025-03-10 09:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:56:03] Production.INFO: ==26617== Lock acquired, processing the job...
[2025-03-10 09:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:56:03] Production.INFO: ==26619== Lock acquired, processing the job...
[2025-03-10 09:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:56:03] Production.INFO: Account Balance Start.
[2025-03-10 09:56:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:56:03] Production.INFO: 117
[2025-03-10 09:56:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:56:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 09:56:03] Production.INFO: count ==13
[2025-03-10 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-03-10 09:56:04] Production.INFO: count ==21
[2025-03-10 09:56:04] Production.INFO: ==26611== Releasing lock...
[2025-03-10 09:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648741') start
[2025-03-10 09:56:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648741') end
[2025-03-10 09:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:56:04] Production.INFO: 1
[2025-03-10 09:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:56:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:56:04] Production.INFO: Total Charge 0
[2025-03-10 09:56:04] Production.INFO: CreateAllLog End
[2025-03-10 09:56:04] Production.INFO: ==26619== Releasing lock...
[2025-03-10 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:56:04] Production.ERROR: done
[2025-03-10 09:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:56:04] Production.ERROR: done
[2025-03-10 09:56:04] Production.INFO: Account Balance End.
[2025-03-10 09:56:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:56:04] Production.INFO: ==26615== Releasing lock...
[2025-03-10 09:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:56:05
[end_date_ymd] => 2025-03-10 09:56:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:56:05' and `end` < '2025-03-10 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-03-10 09:56:13] Production.ERROR: CronJobId end10
[2025-03-10 09:56:13] Production.INFO: ==26613== Releasing lock...
[2025-03-10 09:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:56:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:56:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:56:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:56:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:56:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:56:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:56:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:56:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:56:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:56:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:56:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:56:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:56:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:56:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:56:16] Production.INFO: call_cost start
[2025-03-10 09:56:16] Production.INFO: call_cost end
[2025-03-10 09:56:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:56:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:56:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:56:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:56:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:56:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:56:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:56:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:56:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:56:17] Production.INFO: ==26609== Releasing lock...
[2025-03-10 09:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:56:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:56:18] Production.INFO: count ==2444
[2025-03-10 09:56:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:56:05 - End Time 2025-03-10 09:56:05
[2025-03-10 09:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648742', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648742', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648742', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648742', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:56:19] Production.INFO: ProcessCDR(1,14648742,1,1,2)
[2025-03-10 09:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:56:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648742', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648742', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:56:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:56:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:56:25] Production.INFO: ==26617== Releasing lock...
[2025-03-10 09:56:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:56:25] Production.INFO: 46.5 MB #Memory Used#
[2025-03-10 13:57:01] Production.INFO: ==26679== Lock acquired, processing the job...
[2025-03-10 13:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:57:02] Production.INFO: neon service started
[2025-03-10 13:57:02] Production.INFO: neon service started
[2025-03-10 13:57:02] Production.INFO: ==26679== Releasing lock...
[2025-03-10 13:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:57:02] Production.INFO: ==26681== Lock acquired, processing the job...
[2025-03-10 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:57:02] Production.INFO: ==26681== Releasing lock...
[2025-03-10 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:57:02] Production.INFO: ==26683== Lock acquired, processing the job...
[2025-03-10 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:57:03] Production.INFO: ==26683== Releasing lock...
[2025-03-10 13:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:57:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:57:03] Production.INFO: ==26692== Lock acquired, processing the job...
[2025-03-10 09:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:57:03] Production.INFO: ==26696== Lock acquired, processing the job...
[2025-03-10 09:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:57:03] Production.INFO: ==26686== Lock acquired, processing the job...
[2025-03-10 09:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:57:03] Production.INFO: Account Balance Start.
[2025-03-10 09:57:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:57:03] Production.INFO: 117
[2025-03-10 09:57:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:57:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 09:57:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:57:04] Production.INFO: count ==13
[2025-03-10 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-03-10 09:57:04] Production.INFO: count ==21
[2025-03-10 09:57:04] Production.INFO: ==26688== Lock acquired, processing the job...
[2025-03-10 09:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:57:04] Production.INFO: ==26690== Lock acquired, processing the job...
[2025-03-10 09:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648744') start
[2025-03-10 09:57:04] Production.INFO: Total Charge 0
[2025-03-10 09:57:04] Production.INFO: ==26694== Lock acquired, processing the job...
[2025-03-10 09:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:57:04] Production.INFO: CreateAllLog End
[2025-03-10 09:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648744') end
[2025-03-10 09:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:57:04] Production.INFO: 1
[2025-03-10 09:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:57:04] Production.INFO: ==26696== Releasing lock...
[2025-03-10 09:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:57:04] Production.INFO: Account Balance End.
[2025-03-10 09:57:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:57:04] Production.INFO: ==26692== Releasing lock...
[2025-03-10 09:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:57:04] Production.ERROR: done
[2025-03-10 09:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:57:04] Production.INFO: ==26688== Releasing lock...
[2025-03-10 09:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:57:04] Production.ERROR: done
[2025-03-10 09:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:57:06
[end_date_ymd] => 2025-03-10 09:57:06
[RateCDR] => 1
)
[2025-03-10 09: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-03-10 06:57:06' and `end` < '2025-03-10 09: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-03-10 09:57:13] Production.ERROR: CronJobId end10
[2025-03-10 09:57:13] Production.INFO: ==26690== Releasing lock...
[2025-03-10 09:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:57:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:57:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:57:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:57:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:57:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:57:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:57:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:57:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:57:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:57:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:57:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:57:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:57:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:57:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:57:17] Production.INFO: call_cost start
[2025-03-10 09:57:17] Production.INFO: call_cost end
[2025-03-10 09:57:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:57:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:57:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:57:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:57:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:57:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:57:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:57:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:57:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:57:18] Production.INFO: ==26686== Releasing lock...
[2025-03-10 09:57:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:57:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:57:18] Production.INFO: count ==2450
[2025-03-10 09:57:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:57:06 - End Time 2025-03-10 09:57:06
[2025-03-10 09:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648747', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648747', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648747', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648747', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:57:20] Production.INFO: ProcessCDR(1,14648747,1,1,2)
[2025-03-10 09:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648747', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648747', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:57:23] Production.INFO: ==26694== Releasing lock...
[2025-03-10 09:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:57:23] Production.INFO: 46.5 MB #Memory Used#
[2025-03-10 13:58:01] Production.INFO: ==26758== Lock acquired, processing the job...
[2025-03-10 13:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:58:01] Production.INFO: neon service started
[2025-03-10 13:58:01] Production.INFO: neon service started
[2025-03-10 13:58:01] Production.INFO: ==26758== Releasing lock...
[2025-03-10 13:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 09:58:01] Production.INFO: ==26760== Lock acquired, processing the job...
[2025-03-10 09:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:58:02] Production.INFO: ==26760== Releasing lock...
[2025-03-10 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:58:02] Production.INFO: ==26762== Lock acquired, processing the job...
[2025-03-10 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:58:02] Production.INFO: ==26762== Releasing lock...
[2025-03-10 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:58:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:58:03] Production.INFO: ==26771== Lock acquired, processing the job...
[2025-03-10 09:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:58:03] Production.INFO: Account Balance Start.
[2025-03-10 09:58:03] Production.INFO: CreateAllLog Start
[2025-03-10 09:58:03] Production.INFO: 117
[2025-03-10 09:58:03] Production.INFO: Date 2025-03-08
[2025-03-10 09:58:03] Production.INFO: ==26775== Lock acquired, processing the job...
[2025-03-10 09:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:58:03] Production.INFO: Date 2025-03-09
[2025-03-10 09:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:58:03] Production.INFO: ==26765== Lock acquired, processing the job...
[2025-03-10 09:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:58:03] Production.INFO: Date 2025-03-10
[2025-03-10 09:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 09:58:03] Production.INFO: ==26767== Lock acquired, processing the job...
[2025-03-10 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:58:03] Production.INFO: ==26769== Lock acquired, processing the job...
[2025-03-10 09:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:58:03] Production.INFO: ==26773== Lock acquired, processing the job...
[2025-03-10 09:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:58:03] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 09:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:58:03] Production.INFO: CreateAllLog End
[2025-03-10 09:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:58:03] Production.INFO: count ==13
[2025-03-10 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-03-10 09:58:03] Production.INFO: count ==21
[2025-03-10 09:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648749') start
[2025-03-10 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648749') end
[2025-03-10 09:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:58:04] Production.INFO: 1
[2025-03-10 09:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:58:04] Production.INFO: ==26767== Releasing lock...
[2025-03-10 09:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:58:04] Production.INFO: ==26775== Releasing lock...
[2025-03-10 09:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:58:04] Production.INFO: Account Balance End.
[2025-03-10 09:58:04] Production.ERROR: done
[2025-03-10 09:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 09:58:04] Production.INFO: ==26771== Releasing lock...
[2025-03-10 09:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:58:04] Production.ERROR: done
[2025-03-10 09:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:58:05
[end_date_ymd] => 2025-03-10 09:58:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 06:58:05' and `end` < '2025-03-10 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-03-10 09:58:12] Production.ERROR: CronJobId end10
[2025-03-10 09:58:12] Production.INFO: ==26769== Releasing lock...
[2025-03-10 09:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:58:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:58:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:58:15] Production.INFO: call_cost start
[2025-03-10 09:58:15] Production.INFO: call_cost end
[2025-03-10 09:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:58:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:58:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:58:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:58:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:58:16] Production.INFO: ==26765== Releasing lock...
[2025-03-10 09:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:58:18] Production.INFO: count ==2484
[2025-03-10 09:58:19] Production.ERROR: pbx CDR StartTime 2025-03-10 06:58:05 - End Time 2025-03-10 09:58:05
[2025-03-10 09:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648752', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648752', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648752', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648752', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:58:19] Production.INFO: ProcessCDR(1,14648752,1,1,2)
[2025-03-10 09:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648752', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648752', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:58:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:58:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:58:25] Production.INFO: ==26773== Releasing lock...
[2025-03-10 09:58:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:58:25] Production.INFO: 46.75 MB #Memory Used#
[2025-03-10 13:59:02] Production.INFO: ==26835== Lock acquired, processing the job...
[2025-03-10 13:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 13:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 13:59:02] Production.INFO: neon service started
[2025-03-10 13:59:02] Production.INFO: neon service started
[2025-03-10 13:59:02] Production.INFO: ==26835== Releasing lock...
[2025-03-10 13:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 13:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:59:02] Production.INFO: ==26839== Lock acquired, processing the job...
[2025-03-10 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:59:02] Production.INFO: ==26839== Releasing lock...
[2025-03-10 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 13:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 09:59:02] Production.INFO: ==26837== Lock acquired, processing the job...
[2025-03-10 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 09:59:03] Production.INFO: ==26837== Releasing lock...
[2025-03-10 09:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 09:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 09:59:04] Production.INFO: ==26842== Lock acquired, processing the job...
[2025-03-10 09:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 09:59:04] Production.INFO: ==26844== Lock acquired, processing the job...
[2025-03-10 09:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 09:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 09:59:04] Production.INFO: ==26850== Lock acquired, processing the job...
[2025-03-10 09:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 09:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 09:59:04] Production.INFO: ==26848== Lock acquired, processing the job...
[2025-03-10 09:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 09:59:04] Production.INFO: ==26846== Lock acquired, processing the job...
[2025-03-10 09:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 09:59:04] Production.INFO: ==26852== Lock acquired, processing the job...
[2025-03-10 09:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 09:59:04] Production.INFO: ==26844== Releasing lock...
[2025-03-10 09:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 09:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 09:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 09:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 09:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 09:59:04] Production.INFO: Account Balance Start.
[2025-03-10 09:59:04] Production.INFO: CreateAllLog Start
[2025-03-10 09:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 09:59:04] Production.INFO: 117
[2025-03-10 09:59:04] Production.INFO: Date 2025-03-08
[2025-03-10 09:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:59:04] Production.INFO: Date 2025-03-09
[2025-03-10 09:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 09:59:04] Production.INFO: Date 2025-03-10
[2025-03-10 09:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 09: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-03-10 09:59:04] Production.INFO: Total Charge 0
[2025-03-10 09:59:04] Production.INFO: count ==13
[2025-03-10 09: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-03-10 09:59:04] Production.INFO: count ==21
[2025-03-10 09:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648756') start
[2025-03-10 09:59:04] Production.INFO: CreateAllLog End
[2025-03-10 09:59:04] Production.ERROR: done
[2025-03-10 09:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 09:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648756') end
[2025-03-10 09:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 09:59:04] Production.INFO: 1
[2025-03-10 09:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 09:59:05] Production.INFO: ==26852== Releasing lock...
[2025-03-10 09:59:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 09:59:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 09:59:05] Production.INFO: Account Balance End.
[2025-03-10 09:59:05] Production.ERROR: done
[2025-03-10 09:59:05] Production.ERROR: CronJobId end 12
[2025-03-10 09:59:05] Production.INFO: ==26848== Releasing lock...
[2025-03-10 09:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 09:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 09:59:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 06:59:06
[end_date_ymd] => 2025-03-10 09:59:06
[RateCDR] => 1
)
[2025-03-10 09:59:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 06:59:06' and `end` < '2025-03-10 09:59:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 09:59:13] Production.ERROR: CronJobId end10
[2025-03-10 09:59:13] Production.INFO: ==26846== Releasing lock...
[2025-03-10 09:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 09:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 09:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 09:59:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 09:59:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 09:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 09:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 09:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 09:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 09:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 09:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 09:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 09:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 09:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 09:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 09:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 09:59:15] Production.INFO: call_cost start
[2025-03-10 09:59:15] Production.INFO: call_cost end
[2025-03-10 09:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 09:59:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 09:59:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 09:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 09:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 09:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 09:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 09:59:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 09:59:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 09:59:16] Production.INFO: ==26842== Releasing lock...
[2025-03-10 09:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 09:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 09:59:19] Production.INFO: count ==2491
[2025-03-10 09:59:20] Production.ERROR: pbx CDR StartTime 2025-03-10 06:59:06 - End Time 2025-03-10 09:59:06
[2025-03-10 09:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 09:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648757', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648757', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648757', 'tblTempVendorCDR_20' ) start
[2025-03-10 09:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648757', 'tblTempVendorCDR_20' ) end
[2025-03-10 09:59:20] Production.INFO: ProcessCDR(1,14648757,1,1,2)
[2025-03-10 09:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:59:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 09:59:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:59:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 09:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648757', 'tblTempUsageDetail_20' ) start
[2025-03-10 09:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648757', 'tblTempUsageDetail_20' ) end
[2025-03-10 09:59:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 09:59:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 09:59:25] Production.INFO: ==26850== Releasing lock...
[2025-03-10 09:59:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 09:59:25] Production.INFO: 46.75 MB #Memory Used#
[2025-03-10 14:00:01] Production.INFO: ==26910== Lock acquired, processing the job...
[2025-03-10 14:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:00:01] Production.INFO: neon service started
[2025-03-10 14:00:01] Production.INFO: neon service started
[2025-03-10 14:00:01] Production.INFO: ==26910== Releasing lock...
[2025-03-10 14:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:00:02] Production.INFO: ==26914== Lock acquired, processing the job...
[2025-03-10 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:00:02] Production.INFO: ==26916== Lock acquired, processing the job...
[2025-03-10 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:00:02] Production.INFO: ==26916== Releasing lock...
[2025-03-10 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:00:02] Production.INFO: ==26914== Releasing lock...
[2025-03-10 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:00:04] Production.INFO: ==26921== Lock acquired, processing the job...
[2025-03-10 10:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:00:04] Production.INFO: ==26927== Lock acquired, processing the job...
[2025-03-10 10:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:00:04] Production.INFO: ==26919== Lock acquired, processing the job...
[2025-03-10 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 10:00:04] Production.INFO: Account Balance Start.
[2025-03-10 10:00:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:00:04] Production.INFO: 117
[2025-03-10 10:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:00:04] Production.INFO: ==26933== Lock acquired, processing the job...
[2025-03-10 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 10:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:00:04] Production.ERROR: CronJob PID - 26921
[2025-03-10 10:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 10:00:04] Production.ERROR: CronJob ID - 5
[2025-03-10 10:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:00:00
[2025-03-10 10:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:00:04] Production.ERROR: CronJob PID - 26927
[2025-03-10 10:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 10:00:04] Production.ERROR: CronJob ID - 12
[2025-03-10 10:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:00:00
[2025-03-10 10:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:00:04] Production.INFO: ==26923== Lock acquired, processing the job...
[2025-03-10 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:00:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 10:00:04] Production.INFO: ==26919== Releasing lock...
[2025-03-10 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 10:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 10:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:00:04] Production.INFO: ==26925== Lock acquired, processing the job...
[2025-03-10 10:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:00:04] Production.INFO: Total Charge 0
[2025-03-10 10: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-03-10 10:00:04] Production.INFO: CreateAllLog End
[2025-03-10 10:00:04] Production.INFO: ==26929== Lock acquired, processing the job...
[2025-03-10 10:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:00:04] Production.INFO: count ==13
[2025-03-10 10:00:04] Production.INFO: ==26931== Lock acquired, processing the job...
[2025-03-10 10:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 10: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-03-10 10:00:04] Production.INFO: count ==21
[2025-03-10 10:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648760') start
[2025-03-10 10:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648760') end
[2025-03-10 10:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:00:04] Production.INFO: 1
[2025-03-10 10:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:00:04] Production.INFO: ==26933== Releasing lock...
[2025-03-10 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:00:04] Production.INFO: ==26923== Releasing lock...
[2025-03-10 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:00:04] Production.INFO: Account Balance End.
[2025-03-10 10:00:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:00:05] Production.INFO: ==26927== Releasing lock...
[2025-03-10 10:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:00:05] Production.ERROR: done
[2025-03-10 10:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:00:05] Production.ERROR: done
[2025-03-10 10:00:05] Production.ERROR: done
[2025-03-10 10:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 10:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648762', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 10:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:00:06
[end_date_ymd] => 2025-03-10 10:00:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:00:06' and `end` < '2025-03-10 10: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-03-10 10:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648762', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 10:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 10:00:10] Production.INFO: ProcessCDR(1,14648762,1,1,2)
[2025-03-10 10:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648762,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648762,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:00:10] Production.INFO: ==26931== Releasing lock...
[2025-03-10 10:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 10:00:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 10:00:16] 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-03-10 10:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:00:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:00:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:00:16] Production.ERROR: CronJobId end10
[2025-03-10 10:00:16] Production.INFO: ==26925== Releasing lock...
[2025-03-10 10:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:00:16] Production.INFO: call_cost start
[2025-03-10 10:00:16] Production.INFO: call_cost end
[2025-03-10 10:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:00:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:00:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:00:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:00:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:00:18] Production.INFO: ==26921== Releasing lock...
[2025-03-10 10:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:00:19] Production.INFO: count ==2517
[2025-03-10 10:00:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:00:06 - End Time 2025-03-10 10:00:06
[2025-03-10 10:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648763', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648763', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648763', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648763', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:00:20] Production.INFO: ProcessCDR(1,14648763,1,1,2)
[2025-03-10 10:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:00:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:00:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648763', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648763', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:00:25] Production.INFO: ==26929== Releasing lock...
[2025-03-10 10:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:00:25] Production.INFO: 47 MB #Memory Used#
[2025-03-10 14:01:02] Production.INFO: ==26992== Lock acquired, processing the job...
[2025-03-10 14:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:01:02] Production.INFO: neon service started
[2025-03-10 14:01:02] Production.INFO: neon service started
[2025-03-10 14:01:02] Production.INFO: ==26992== Releasing lock...
[2025-03-10 14:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:01:02] Production.INFO: ==27006== Lock acquired, processing the job...
[2025-03-10 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:01:02] Production.INFO: ==27006== Releasing lock...
[2025-03-10 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:01:03] Production.INFO: ==27008== Lock acquired, processing the job...
[2025-03-10 14:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:01:03] Production.INFO: ==27008== Releasing lock...
[2025-03-10 14:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:01:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:01:03] Production.INFO: ==27020== Lock acquired, processing the job...
[2025-03-10 10:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:01:03] Production.INFO: ==27016== Lock acquired, processing the job...
[2025-03-10 10:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:01:04] Production.INFO: Account Balance Start.
[2025-03-10 10:01:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:01:04] Production.INFO: 117
[2025-03-10 10:01:04] Production.INFO: ==27010== Lock acquired, processing the job...
[2025-03-10 10:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:01:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 10:01:04] Production.INFO: ==27012== Lock acquired, processing the job...
[2025-03-10 10:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:01:04] Production.INFO: ==27014== Lock acquired, processing the job...
[2025-03-10 10:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:01:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:01:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:01:04] Production.INFO: count ==21
[2025-03-10 10:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648765') start
[2025-03-10 10:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:01:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:01:04] Production.INFO: Total Charge 0
[2025-03-10 10:01:04] Production.INFO: CreateAllLog End
[2025-03-10 10:01:04] Production.INFO: ==27018== Lock acquired, processing the job...
[2025-03-10 10:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648765') end
[2025-03-10 10:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:01:04] Production.INFO: 1
[2025-03-10 10:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:01:04] Production.INFO: ==27020== Releasing lock...
[2025-03-10 10:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:01:04] Production.INFO: ==27012== Releasing lock...
[2025-03-10 10:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:01:04] Production.INFO: Account Balance End.
[2025-03-10 10:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:01:04] Production.INFO: ==27016== Releasing lock...
[2025-03-10 10:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:01:04] Production.ERROR: done
[2025-03-10 10:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:01:04] Production.ERROR: done
[2025-03-10 10:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:01:06
[end_date_ymd] => 2025-03-10 10:01:06
[RateCDR] => 1
)
[2025-03-10 10:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 07:01:06' and `end` < '2025-03-10 10:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 10:01:13] Production.ERROR: CronJobId end10
[2025-03-10 10:01:13] Production.INFO: ==27014== Releasing lock...
[2025-03-10 10:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:01:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:01:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:01:16] Production.INFO: call_cost start
[2025-03-10 10:01:17] Production.INFO: call_cost end
[2025-03-10 10:01:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:01:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:01:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:01:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:01:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:01:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:01:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:01:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:01:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:01:18] Production.INFO: ==27010== Releasing lock...
[2025-03-10 10:01:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:01:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:01:18] Production.INFO: count ==2632
[2025-03-10 10:01:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:01:06 - End Time 2025-03-10 10:01:06
[2025-03-10 10:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648768', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648768', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648768', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648768', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:01:19] Production.INFO: ProcessCDR(1,14648768,1,1,2)
[2025-03-10 10:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648768', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648768', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:01:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:01:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:01:25] Production.INFO: ==27018== Releasing lock...
[2025-03-10 10:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:01:25] Production.INFO: 47.75 MB #Memory Used#
[2025-03-10 14:02:01] Production.INFO: ==27077== Lock acquired, processing the job...
[2025-03-10 14:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:02:01] Production.INFO: neon service started
[2025-03-10 14:02:01] Production.INFO: neon service started
[2025-03-10 14:02:01] Production.INFO: ==27077== Releasing lock...
[2025-03-10 14:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:02:02] Production.INFO: ==27079== Lock acquired, processing the job...
[2025-03-10 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:02:02] Production.INFO: ==27079== Releasing lock...
[2025-03-10 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:02:02] Production.INFO: ==27081== Lock acquired, processing the job...
[2025-03-10 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:02:02] Production.INFO: ==27081== Releasing lock...
[2025-03-10 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:02:03] Production.INFO: ==27084== Lock acquired, processing the job...
[2025-03-10 10:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:02:03] Production.INFO: ==27092== Lock acquired, processing the job...
[2025-03-10 10:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:02:03] Production.INFO: ==27086== Lock acquired, processing the job...
[2025-03-10 10:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:02:03] Production.INFO: ==27094== Lock acquired, processing the job...
[2025-03-10 10:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:02:03] Production.INFO: ==27090== Lock acquired, processing the job...
[2025-03-10 10:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:02:03] Production.INFO: ==27088== Lock acquired, processing the job...
[2025-03-10 10:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:02:03] Production.INFO: Account Balance Start.
[2025-03-10 10:02:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:02:03] Production.INFO: 117
[2025-03-10 10:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:02:03] Production.INFO: Date 2025-03-08
[2025-03-10 10: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-03-10 10:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:02:03] Production.INFO: count ==13
[2025-03-10 10:02:03] Production.INFO: Date 2025-03-09
[2025-03-10 10: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-03-10 10:02:03] Production.INFO: count ==21
[2025-03-10 10:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648771') start
[2025-03-10 10:02:04] Production.INFO: ==27086== Releasing lock...
[2025-03-10 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:02:04] Production.ERROR: done
[2025-03-10 10:02:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:02:04] Production.INFO: Total Charge 0
[2025-03-10 10:02:04] Production.INFO: CreateAllLog End
[2025-03-10 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648771') end
[2025-03-10 10:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:02:04] Production.INFO: 1
[2025-03-10 10:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:02:04] Production.INFO: ==27094== Releasing lock...
[2025-03-10 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:02:04] Production.ERROR: done
[2025-03-10 10:02:04] Production.INFO: Account Balance End.
[2025-03-10 10:02:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:02:04] Production.INFO: ==27090== Releasing lock...
[2025-03-10 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:02:05
[end_date_ymd] => 2025-03-10 10:02:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:02:05' and `end` < '2025-03-10 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-03-10 10:02:12] Production.ERROR: CronJobId end10
[2025-03-10 10:02:12] Production.INFO: ==27088== Releasing lock...
[2025-03-10 10:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:02:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:02:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:02:15] Production.INFO: call_cost start
[2025-03-10 10:02:15] Production.INFO: call_cost end
[2025-03-10 10:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:02:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:02:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:02:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:02:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:02:16] Production.INFO: ==27084== Releasing lock...
[2025-03-10 10:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:02:17] Production.INFO: count ==2646
[2025-03-10 10:02:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:02:05 - End Time 2025-03-10 10:02:05
[2025-03-10 10:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648773', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648773', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648773', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648773', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:02:19] Production.INFO: ProcessCDR(1,14648773,1,1,2)
[2025-03-10 10:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648773', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648773', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:02:24] Production.INFO: ==27092== Releasing lock...
[2025-03-10 10:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:02:24] Production.INFO: 48 MB #Memory Used#
[2025-03-10 14:03:02] Production.INFO: ==27152== Lock acquired, processing the job...
[2025-03-10 14:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:03:02] Production.INFO: neon service started
[2025-03-10 14:03:02] Production.INFO: neon service started
[2025-03-10 14:03:02] Production.INFO: ==27152== Releasing lock...
[2025-03-10 14:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:03:02] Production.INFO: ==27156== Lock acquired, processing the job...
[2025-03-10 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:03:02] Production.INFO: ==27156== Releasing lock...
[2025-03-10 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:03:02] Production.INFO: ==27154== Lock acquired, processing the job...
[2025-03-10 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:03:03] Production.INFO: ==27154== Releasing lock...
[2025-03-10 10:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:03:03] Production.INFO: ==27159== Lock acquired, processing the job...
[2025-03-10 10:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:03:04] Production.INFO: ==27163== Lock acquired, processing the job...
[2025-03-10 10:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:03:04] Production.INFO: ==27165== Lock acquired, processing the job...
[2025-03-10 10:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:03:04] Production.INFO: ==27161== Lock acquired, processing the job...
[2025-03-10 10:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:03:04] Production.INFO: Account Balance Start.
[2025-03-10 10:03:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:03:04] Production.INFO: 117
[2025-03-10 10:03:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:03:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:03:04] Production.INFO: ==27169== Lock acquired, processing the job...
[2025-03-10 10:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:03:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:03:04] Production.INFO: ==27167== Lock acquired, processing the job...
[2025-03-10 10:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:03:04] Production.INFO: Total Charge 0
[2025-03-10 10:03:04] Production.INFO: CreateAllLog End
[2025-03-10 10:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 10:03:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:03:04] Production.INFO: count ==21
[2025-03-10 10:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648777') start
[2025-03-10 10:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648777') end
[2025-03-10 10:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:03:04] Production.INFO: 1
[2025-03-10 10:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:03:04] Production.INFO: ==27169== Releasing lock...
[2025-03-10 10:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:03:04] Production.INFO: Account Balance End.
[2025-03-10 10:03:04] Production.INFO: ==27161== Releasing lock...
[2025-03-10 10:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:03:04] Production.INFO: ==27165== Releasing lock...
[2025-03-10 10:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:03:04] Production.ERROR: done
[2025-03-10 10:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:03:05] Production.ERROR: done
[2025-03-10 10:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:03:06
[end_date_ymd] => 2025-03-10 10:03:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:03:06' and `end` < '2025-03-10 10: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-03-10 10:03:14] Production.ERROR: CronJobId end10
[2025-03-10 10:03:14] Production.INFO: ==27163== Releasing lock...
[2025-03-10 10:03:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:03:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:03:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:03:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:03:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:03:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:03:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:03:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:03:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:03:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:03:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:03:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:03:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:03:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:03:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:03:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:03:17] Production.INFO: call_cost start
[2025-03-10 10:03:17] Production.INFO: call_cost end
[2025-03-10 10:03:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:03:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:03:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:03:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:03:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:03:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:03:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:03:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:03:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:03:18] Production.INFO: ==27159== Releasing lock...
[2025-03-10 10:03:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:03:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:03:18] Production.INFO: count ==2669
[2025-03-10 10:03:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:03:06 - End Time 2025-03-10 10:03:06
[2025-03-10 10:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648778', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648778', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648778', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648778', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:03:20] Production.INFO: ProcessCDR(1,14648778,1,1,2)
[2025-03-10 10:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648778', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648778', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:03:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:03:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:03:25] Production.INFO: ==27167== Releasing lock...
[2025-03-10 10:03:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:03:25] Production.INFO: 48 MB #Memory Used#
[2025-03-10 14:04:01] Production.INFO: ==27229== Lock acquired, processing the job...
[2025-03-10 14:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:04:01] Production.INFO: neon service started
[2025-03-10 14:04:01] Production.INFO: neon service started
[2025-03-10 14:04:01] Production.INFO: ==27229== Releasing lock...
[2025-03-10 14:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:04:02] Production.INFO: ==27234== Lock acquired, processing the job...
[2025-03-10 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:04:02] Production.INFO: ==27234== Releasing lock...
[2025-03-10 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:04:02] Production.INFO: ==27232== Lock acquired, processing the job...
[2025-03-10 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:04:02] Production.INFO: ==27232== Releasing lock...
[2025-03-10 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:04:03] Production.INFO: ==27236== Lock acquired, processing the job...
[2025-03-10 10:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:04:03] Production.INFO: ==27240== Lock acquired, processing the job...
[2025-03-10 10:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:04:03] Production.INFO: ==27238== Lock acquired, processing the job...
[2025-03-10 10:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:04:03] Production.INFO: ==27242== Lock acquired, processing the job...
[2025-03-10 10:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:04:03] Production.INFO: ==27246== Lock acquired, processing the job...
[2025-03-10 10:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:04:04] Production.INFO: ==27244== Lock acquired, processing the job...
[2025-03-10 10:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:04:04] Production.INFO: Account Balance Start.
[2025-03-10 10:04:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:04:04] Production.INFO: 117
[2025-03-10 10:04:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:04:04] Production.INFO: ==27238== Releasing lock...
[2025-03-10 10:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:04:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 10: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-03-10 10:04:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:04:04] Production.INFO: count ==13
[2025-03-10 10: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-03-10 10:04:04] Production.INFO: Total Charge 0
[2025-03-10 10:04:04] Production.INFO: count ==21
[2025-03-10 10:04:04] Production.INFO: CreateAllLog End
[2025-03-10 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648782') start
[2025-03-10 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648782') end
[2025-03-10 10:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:04:04] Production.INFO: 1
[2025-03-10 10:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:04:04] Production.INFO: ==27246== Releasing lock...
[2025-03-10 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:04:04] Production.ERROR: done
[2025-03-10 10:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:04:04] Production.INFO: Account Balance End.
[2025-03-10 10:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:04:04] Production.INFO: ==27242== Releasing lock...
[2025-03-10 10:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:04:04] Production.ERROR: done
[2025-03-10 10:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:04:05
[end_date_ymd] => 2025-03-10 10:04:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:04:05' and `end` < '2025-03-10 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-03-10 10:04:13] Production.ERROR: CronJobId end10
[2025-03-10 10:04:13] Production.INFO: ==27240== Releasing lock...
[2025-03-10 10:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:04:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:04:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:04:15] Production.INFO: call_cost start
[2025-03-10 10:04:15] Production.INFO: call_cost end
[2025-03-10 10:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:04:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:04:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:04:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:04:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:04:16] Production.INFO: ==27236== Releasing lock...
[2025-03-10 10:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:04:18] Production.INFO: count ==2691
[2025-03-10 10:04:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:04:05 - End Time 2025-03-10 10:04:05
[2025-03-10 10:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648783', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648783', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648783', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648783', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:04:19] Production.INFO: ProcessCDR(1,14648783,1,1,2)
[2025-03-10 10:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:04:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648783', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648783', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:04:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:04:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:04:25] Production.INFO: ==27244== Releasing lock...
[2025-03-10 10:04:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:04:25] Production.INFO: 48.25 MB #Memory Used#
[2025-03-10 14:05:02] Production.INFO: ==27307== Lock acquired, processing the job...
[2025-03-10 14:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:05:02] Production.INFO: neon service started
[2025-03-10 14:05:02] Production.INFO: neon service started
[2025-03-10 14:05:02] Production.INFO: ==27307== Releasing lock...
[2025-03-10 14:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:05:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 14:05:02] Production.INFO: ==27311== Lock acquired, processing the job...
[2025-03-10 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:05:02] Production.INFO: ==27311== Releasing lock...
[2025-03-10 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:05:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:05:02] Production.INFO: ==27309== Lock acquired, processing the job...
[2025-03-10 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:05:03] Production.INFO: ==27309== Releasing lock...
[2025-03-10 10:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:05:03] Production.INFO: ==27318== Lock acquired, processing the job...
[2025-03-10 10:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:05:04] Production.INFO: ==27324== Lock acquired, processing the job...
[2025-03-10 10:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:05:04] Production.INFO: ==27314== Lock acquired, processing the job...
[2025-03-10 10:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:05:04] Production.INFO: ==27316== Lock acquired, processing the job...
[2025-03-10 10:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:05:04] Production.INFO: ==27320== Lock acquired, processing the job...
[2025-03-10 10:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10: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-03-10 10:05:04] Production.INFO: ==27322== Lock acquired, processing the job...
[2025-03-10 10:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:05:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:05:04] Production.INFO: count ==21
[2025-03-10 10:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:05:04] Production.INFO: Account Balance Start.
[2025-03-10 10:05:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648784') start
[2025-03-10 10:05:04] Production.INFO: 117
[2025-03-10 10:05:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648784') end
[2025-03-10 10:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:05:04] Production.INFO: 1
[2025-03-10 10:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:05:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:05:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:05:04] Production.INFO: ==27324== Releasing lock...
[2025-03-10 10:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:05:04] Production.INFO: Total Charge 0
[2025-03-10 10:05:04] Production.INFO: ==27316== Releasing lock...
[2025-03-10 10:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:05:04] Production.ERROR: done
[2025-03-10 10:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:05:04] Production.INFO: CreateAllLog End
[2025-03-10 10:05:04] Production.ERROR: done
[2025-03-10 10:05:05] Production.INFO: Account Balance End.
[2025-03-10 10:05:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:05:05] Production.INFO: ==27320== Releasing lock...
[2025-03-10 10:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:05:05
[end_date_ymd] => 2025-03-10 10:05:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:05:05' and `end` < '2025-03-10 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-03-10 10:05:14] Production.ERROR: CronJobId end10
[2025-03-10 10:05:14] Production.INFO: ==27318== Releasing lock...
[2025-03-10 10:05:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:05:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:05:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:05:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:05:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:05:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:05:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:05:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:05:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:05:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:05:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:05:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:05:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:05:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:05:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:05:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:05:17] Production.INFO: call_cost start
[2025-03-10 10:05:17] Production.INFO: call_cost end
[2025-03-10 10:05:18] Production.INFO: count ==2712
[2025-03-10 10:05:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:05:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:05:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:05:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:05:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:05:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:05:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:05:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:05:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:05:18] Production.INFO: ==27314== Releasing lock...
[2025-03-10 10:05:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:05:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:05:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:05:05 - End Time 2025-03-10 10:05:05
[2025-03-10 10:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648788', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648788', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648788', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648788', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:05:20] Production.INFO: ProcessCDR(1,14648788,1,1,2)
[2025-03-10 10:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:05:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:05:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:05:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648788', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648788', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:05:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:05:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:05:25] Production.INFO: ==27322== Releasing lock...
[2025-03-10 10:05:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:05:25] Production.INFO: 48.5 MB #Memory Used#
[2025-03-10 14:06:01] Production.INFO: ==27389== Lock acquired, processing the job...
[2025-03-10 14:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:06:01] Production.INFO: neon service started
[2025-03-10 14:06:01] Production.INFO: neon service started
[2025-03-10 14:06:01] Production.INFO: ==27389== Releasing lock...
[2025-03-10 14:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:06:01] Production.INFO: ==27394== Lock acquired, processing the job...
[2025-03-10 14:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:06:01] Production.INFO: ==27394== Releasing lock...
[2025-03-10 14:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:06:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:06:02] Production.INFO: ==27392== Lock acquired, processing the job...
[2025-03-10 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:06:02] Production.INFO: ==27392== Releasing lock...
[2025-03-10 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:06:03] Production.INFO: ==27400== Lock acquired, processing the job...
[2025-03-10 10:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:06:03] Production.INFO: ==27396== Lock acquired, processing the job...
[2025-03-10 10:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:06:03] Production.INFO: ==27402== Lock acquired, processing the job...
[2025-03-10 10:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:06:03] Production.INFO: ==27398== Lock acquired, processing the job...
[2025-03-10 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:06:03] Production.INFO: ==27404== Lock acquired, processing the job...
[2025-03-10 10:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:06:03] Production.INFO: ==27406== Lock acquired, processing the job...
[2025-03-10 10:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:06:03] Production.INFO: Account Balance Start.
[2025-03-10 10:06:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:06:03] Production.INFO: 117
[2025-03-10 10:06:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 10: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-03-10 10:06:04] Production.INFO: count ==13
[2025-03-10 10: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-03-10 10:06:04] Production.INFO: count ==21
[2025-03-10 10:06:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648792') start
[2025-03-10 10:06:04] Production.ERROR: done
[2025-03-10 10:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:06:04] Production.INFO: ==27398== Releasing lock...
[2025-03-10 10:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648792') end
[2025-03-10 10:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:06:04] Production.INFO: 1
[2025-03-10 10:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:06:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:06:04] Production.INFO: Total Charge 0
[2025-03-10 10:06:04] Production.INFO: CreateAllLog End
[2025-03-10 10:06:04] Production.INFO: ==27406== Releasing lock...
[2025-03-10 10:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:06:04] Production.ERROR: done
[2025-03-10 10:06:04] Production.INFO: Account Balance End.
[2025-03-10 10:06:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:06:04] Production.INFO: ==27402== Releasing lock...
[2025-03-10 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:06:05
[end_date_ymd] => 2025-03-10 10:06:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:06:05' and `end` < '2025-03-10 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-03-10 10:06:14] Production.ERROR: CronJobId end10
[2025-03-10 10:06:14] Production.INFO: ==27400== Releasing lock...
[2025-03-10 10:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:06:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:06:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:06:16] Production.INFO: call_cost start
[2025-03-10 10:06:16] Production.INFO: call_cost end
[2025-03-10 10:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:06:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:06:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:06:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:06:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:06:17] Production.INFO: ==27396== Releasing lock...
[2025-03-10 10:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:06:18] Production.INFO: count ==2738
[2025-03-10 10:06:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:06:05 - End Time 2025-03-10 10:06:05
[2025-03-10 10:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648793', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648793', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648793', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648793', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:06:19] Production.INFO: ProcessCDR(1,14648793,1,1,2)
[2025-03-10 10:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:06:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648793', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648793', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:06:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:06:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:06:25] Production.INFO: ==27404== Releasing lock...
[2025-03-10 10:06:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:06:25] Production.INFO: 48.5 MB #Memory Used#
[2025-03-10 14:07:02] Production.INFO: ==27470== Lock acquired, processing the job...
[2025-03-10 14:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:07:02] Production.INFO: neon service started
[2025-03-10 14:07:02] Production.INFO: neon service started
[2025-03-10 14:07:02] Production.INFO: ==27470== Releasing lock...
[2025-03-10 14:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:07:02] Production.INFO: ==27473== Lock acquired, processing the job...
[2025-03-10 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:07:02] Production.INFO: ==27473== Releasing lock...
[2025-03-10 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:07:02] Production.INFO: ==27475== Lock acquired, processing the job...
[2025-03-10 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:07:03] Production.INFO: ==27475== Releasing lock...
[2025-03-10 14:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:07:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:07:03] Production.INFO: ==27477== Lock acquired, processing the job...
[2025-03-10 10:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:07:03] Production.INFO: ==27479== Lock acquired, processing the job...
[2025-03-10 10:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:07:03] Production.INFO: ==27483== Lock acquired, processing the job...
[2025-03-10 10:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:07:03] Production.INFO: Account Balance Start.
[2025-03-10 10:07:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:07:03] Production.INFO: 117
[2025-03-10 10:07:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:07:04] Production.INFO: ==27479== Releasing lock...
[2025-03-10 10:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:07:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:07:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:07:04] Production.INFO: Total Charge 0
[2025-03-10 10:07:04] Production.INFO: CreateAllLog End
[2025-03-10 10:07:04] Production.INFO: ==27481== Lock acquired, processing the job...
[2025-03-10 10:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:07:04] Production.INFO: ==27485== Lock acquired, processing the job...
[2025-03-10 10:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:07:04] Production.INFO: ==27487== Lock acquired, processing the job...
[2025-03-10 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:07:04] Production.INFO: Account Balance End.
[2025-03-10 10:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:07:04] Production.INFO: ==27483== Releasing lock...
[2025-03-10 10:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 10:07:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:07:04] Production.INFO: count ==21
[2025-03-10 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648797') start
[2025-03-10 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648797') end
[2025-03-10 10:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:07:04] Production.INFO: 1
[2025-03-10 10:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:07:04] Production.ERROR: done
[2025-03-10 10:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:07:04] Production.INFO: ==27487== Releasing lock...
[2025-03-10 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:07:05] Production.ERROR: done
[2025-03-10 10:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:07:06
[end_date_ymd] => 2025-03-10 10:07:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:07:06' and `end` < '2025-03-10 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-03-10 10:07:13] Production.ERROR: CronJobId end10
[2025-03-10 10:07:13] Production.INFO: ==27481== Releasing lock...
[2025-03-10 10:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:07:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:07:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:07:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:07:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:07:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:07:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:07:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:07:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:07:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:07:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:07:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:07:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:07:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:07:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:07:16] Production.INFO: call_cost start
[2025-03-10 10:07:16] Production.INFO: call_cost end
[2025-03-10 10:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:07:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:07:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:07:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:07:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:07:17] Production.INFO: ==27477== Releasing lock...
[2025-03-10 10:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:07:18] Production.INFO: count ==2764
[2025-03-10 10:07:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:07:06 - End Time 2025-03-10 10:07:06
[2025-03-10 10:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648798', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648798', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648798', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648798', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:07:20] Production.INFO: ProcessCDR(1,14648798,1,1,2)
[2025-03-10 10:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:07:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:07:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:07:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648798', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648798', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:07:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:07:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:07:26] Production.INFO: ==27485== Releasing lock...
[2025-03-10 10:07:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:07:26] Production.INFO: 48.75 MB #Memory Used#
[2025-03-10 14:08:01] Production.INFO: ==27545== Lock acquired, processing the job...
[2025-03-10 14:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:08:01] Production.INFO: neon service started
[2025-03-10 14:08:01] Production.INFO: neon service started
[2025-03-10 14:08:01] Production.INFO: ==27545== Releasing lock...
[2025-03-10 14:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:08:02] Production.INFO: ==27549== Lock acquired, processing the job...
[2025-03-10 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:08:02] Production.INFO: ==27549== Releasing lock...
[2025-03-10 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:08:02] Production.INFO: ==27547== Lock acquired, processing the job...
[2025-03-10 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:08:02] Production.INFO: ==27547== Releasing lock...
[2025-03-10 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:08:03] Production.INFO: ==27554== Lock acquired, processing the job...
[2025-03-10 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:08:03] Production.INFO: ==27556== Lock acquired, processing the job...
[2025-03-10 10:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:08:03] Production.INFO: ==27560== Lock acquired, processing the job...
[2025-03-10 10:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:08:03] Production.INFO: ==27554== Releasing lock...
[2025-03-10 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:08:04] Production.INFO: ==27552== Lock acquired, processing the job...
[2025-03-10 10:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:08:04] Production.INFO: ==27562== Lock acquired, processing the job...
[2025-03-10 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 10:08:04] Production.INFO: ==27558== Lock acquired, processing the job...
[2025-03-10 10:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:08:04] Production.INFO: count ==13
[2025-03-10 10:08:04] Production.ERROR: done
[2025-03-10 10:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 10:08:04] Production.INFO: count ==21
[2025-03-10 10:08:04] Production.INFO: Account Balance Start.
[2025-03-10 10:08:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648800') start
[2025-03-10 10:08:04] Production.INFO: 117
[2025-03-10 10:08:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:08:04] Production.ERROR: done
[2025-03-10 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648800') end
[2025-03-10 10:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:08:04] Production.INFO: 1
[2025-03-10 10:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:08:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:08:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:08:04] Production.INFO: ==27562== Releasing lock...
[2025-03-10 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:08:04] Production.INFO: Total Charge 0
[2025-03-10 10:08:04] Production.INFO: CreateAllLog End
[2025-03-10 10:08:04] Production.INFO: Account Balance End.
[2025-03-10 10:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:08:04] Production.INFO: ==27558== Releasing lock...
[2025-03-10 10:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:08:05
[end_date_ymd] => 2025-03-10 10:08:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:08:05' and `end` < '2025-03-10 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-03-10 10:08:14] Production.ERROR: CronJobId end10
[2025-03-10 10:08:14] Production.INFO: ==27556== Releasing lock...
[2025-03-10 10:08:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:08:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:08:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:08:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:08:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:08:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:08:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:08:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:08:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:08:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:08:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:08:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:08:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:08:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:08:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:08:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:08:16] Production.INFO: call_cost start
[2025-03-10 10:08:16] Production.INFO: call_cost end
[2025-03-10 10:08:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:08:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:08:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:08:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:08:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:08:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:08:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:08:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:08:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:08:17] Production.INFO: ==27552== Releasing lock...
[2025-03-10 10:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:08:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:08:18] Production.INFO: count ==2769
[2025-03-10 10:08:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:08:05 - End Time 2025-03-10 10:08:05
[2025-03-10 10:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648803', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648803', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648803', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648803', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:08:20] Production.INFO: ProcessCDR(1,14648803,1,1,2)
[2025-03-10 10:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648803', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648803', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:08:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:08:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:08:25] Production.INFO: ==27560== Releasing lock...
[2025-03-10 10:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:08:25] Production.INFO: 48.75 MB #Memory Used#
[2025-03-10 14:09:02] Production.INFO: ==27621== Lock acquired, processing the job...
[2025-03-10 14:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:09:02] Production.INFO: neon service started
[2025-03-10 14:09:02] Production.INFO: neon service started
[2025-03-10 14:09:02] Production.INFO: ==27621== Releasing lock...
[2025-03-10 14:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:09:02] Production.INFO: ==27623== Lock acquired, processing the job...
[2025-03-10 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:09:02] Production.INFO: ==27623== Releasing lock...
[2025-03-10 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:09:03] Production.INFO: ==27625== Lock acquired, processing the job...
[2025-03-10 14:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:09:03] Production.INFO: ==27625== Releasing lock...
[2025-03-10 14:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:09:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:09:03] Production.INFO: ==27631== Lock acquired, processing the job...
[2025-03-10 10:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:09:03] Production.INFO: ==27637== Lock acquired, processing the job...
[2025-03-10 10:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:09:04] Production.INFO: ==27627== Lock acquired, processing the job...
[2025-03-10 10:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 10:09:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:09:04] Production.INFO: count ==21
[2025-03-10 10:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648804') start
[2025-03-10 10:09:04] Production.INFO: ==27629== Lock acquired, processing the job...
[2025-03-10 10:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648804') end
[2025-03-10 10:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:09:04] Production.INFO: 1
[2025-03-10 10:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:09:04] Production.INFO: ==27637== Releasing lock...
[2025-03-10 10:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:09:04] Production.INFO: ==27635== Lock acquired, processing the job...
[2025-03-10 10:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:09:04] Production.INFO: ==27633== Lock acquired, processing the job...
[2025-03-10 10:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:09:04] Production.INFO: Account Balance Start.
[2025-03-10 10:09:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:09:04] Production.INFO: 117
[2025-03-10 10:09:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:09:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:09:04] Production.INFO: ==27629== Releasing lock...
[2025-03-10 10:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:09:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:09:04] Production.INFO: Total Charge 0
[2025-03-10 10:09:04] Production.INFO: CreateAllLog End
[2025-03-10 10:09:04] Production.ERROR: done
[2025-03-10 10:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:09:04] Production.INFO: Account Balance End.
[2025-03-10 10:09:04] Production.ERROR: done
[2025-03-10 10:09:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:09:05] Production.INFO: ==27633== Releasing lock...
[2025-03-10 10:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:09:06
[end_date_ymd] => 2025-03-10 10:09:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:09:06' and `end` < '2025-03-10 10: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-03-10 10:09:12] Production.ERROR: CronJobId end10
[2025-03-10 10:09:12] Production.INFO: ==27631== Releasing lock...
[2025-03-10 10:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:09:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:09:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:09:15] Production.INFO: call_cost start
[2025-03-10 10:09:15] Production.INFO: call_cost end
[2025-03-10 10:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:09:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:09:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:09:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:09:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:09:16] Production.INFO: ==27627== Releasing lock...
[2025-03-10 10:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:09:18] Production.INFO: count ==2784
[2025-03-10 10:09:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:09:06 - End Time 2025-03-10 10:09:06
[2025-03-10 10:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648808', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648808', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648808', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648808', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:09:20] Production.INFO: ProcessCDR(1,14648808,1,1,2)
[2025-03-10 10:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:09:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:09:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:09:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:09:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648808', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:09:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648808', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:09:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:09:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:09:25] Production.INFO: ==27635== Releasing lock...
[2025-03-10 10:09:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:09:25] Production.INFO: 49 MB #Memory Used#
[2025-03-10 14:10:01] Production.INFO: ==27698== Lock acquired, processing the job...
[2025-03-10 14:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:10:01] Production.INFO: neon service started
[2025-03-10 14:10:01] Production.INFO: neon service started
[2025-03-10 14:10:01] Production.INFO: ==27698== Releasing lock...
[2025-03-10 14:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:10:02] Production.INFO: ==27700== Lock acquired, processing the job...
[2025-03-10 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:10:02] Production.INFO: ==27702== Lock acquired, processing the job...
[2025-03-10 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:10:02] Production.INFO: ==27702== Releasing lock...
[2025-03-10 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:10:02] Production.INFO: ==27700== Releasing lock...
[2025-03-10 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:10:03] Production.INFO: ==27709== Lock acquired, processing the job...
[2025-03-10 10:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:10:04] Production.INFO: ==27705== Lock acquired, processing the job...
[2025-03-10 10:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 10:10:04] Production.INFO: ==27713== Lock acquired, processing the job...
[2025-03-10 10:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:10:04] Production.INFO: ==27707== Lock acquired, processing the job...
[2025-03-10 10:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 10:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:10:04] Production.ERROR: CronJob PID - 27709
[2025-03-10 10:10:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 10:10:04] Production.ERROR: CronJob ID - 7
[2025-03-10 10:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:10:00
[2025-03-10 10:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:10:04] Production.ERROR: CronJob PID - 27713
[2025-03-10 10:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 10:10:04] Production.ERROR: CronJob ID - 12
[2025-03-10 10:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:10:00
[2025-03-10 10:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 10:10:04] Production.INFO: ==27705== Releasing lock...
[2025-03-10 10:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 10:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 10:10:04] Production.INFO: ==27719== Lock acquired, processing the job...
[2025-03-10 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:10:04] Production.INFO: ==27709== Releasing lock...
[2025-03-10 10:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:10:04] Production.INFO: Account Balance Start.
[2025-03-10 10:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:10:04] Production.INFO: 117
[2025-03-10 10:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:10:04] Production.INFO: ==27711== Lock acquired, processing the job...
[2025-03-10 10:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 10:10:04] Production.INFO: Total Charge 0
[2025-03-10 10:10:04] Production.INFO: count ==13
[2025-03-10 10:10:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 10:10:04] Production.INFO: ==27715== Lock acquired, processing the job...
[2025-03-10 10:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:10:04] Production.INFO: count ==21
[2025-03-10 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648812') start
[2025-03-10 10:10:04] Production.INFO: ==27717== Lock acquired, processing the job...
[2025-03-10 10:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 10:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648812') end
[2025-03-10 10:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:10:04] Production.INFO: 1
[2025-03-10 10:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:10:04] Production.INFO: ==27719== Releasing lock...
[2025-03-10 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:10:04] Production.INFO: Account Balance End.
[2025-03-10 10:10:04] Production.ERROR: done
[2025-03-10 10:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:10:04] Production.ERROR: done
[2025-03-10 10:10:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:10:04] Production.INFO: ==27713== Releasing lock...
[2025-03-10 10:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 10:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648813', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 10:10:05] Production.ERROR: done
[2025-03-10 10:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:10:06
[end_date_ymd] => 2025-03-10 10:10:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:10:06' and `end` < '2025-03-10 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-03-10 10:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648813', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 10:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 10:10:09] Production.INFO: ProcessCDR(1,14648813,1,1,2)
[2025-03-10 10:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648813,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648813,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:10:09] Production.INFO: ==27717== Releasing lock...
[2025-03-10 10:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 10:10:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 10:10:15] Production.ERROR: CronJobId end10
[2025-03-10 10:10:15] Production.INFO: ==27711== Releasing lock...
[2025-03-10 10:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:10:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:10:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:10:18] Production.INFO: call_cost start
[2025-03-10 10:10:18] Production.INFO: call_cost end
[2025-03-10 10:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:10:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:10:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:10:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:10:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:10:19] Production.INFO: ==27707== Releasing lock...
[2025-03-10 10:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:10:19] Production.INFO: count ==2790
[2025-03-10 10:10:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:10:06 - End Time 2025-03-10 10:10:06
[2025-03-10 10:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648814', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648814', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648814', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648814', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:10:20] Production.INFO: ProcessCDR(1,14648814,1,1,2)
[2025-03-10 10:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:10:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:10:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:10:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648814', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648814', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:10:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:10:25] Production.INFO: ==27715== Releasing lock...
[2025-03-10 10:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:10:25] Production.INFO: 49 MB #Memory Used#
[2025-03-10 14:11:02] Production.INFO: ==27817== Lock acquired, processing the job...
[2025-03-10 14:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:11:02] Production.INFO: neon service started
[2025-03-10 14:11:02] Production.INFO: neon service started
[2025-03-10 14:11:02] Production.INFO: ==27817== Releasing lock...
[2025-03-10 14:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:11:02] Production.INFO: ==27821== Lock acquired, processing the job...
[2025-03-10 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:11:02] Production.INFO: ==27821== Releasing lock...
[2025-03-10 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:11:02] Production.INFO: ==27819== Lock acquired, processing the job...
[2025-03-10 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:11:03] Production.INFO: ==27819== Releasing lock...
[2025-03-10 10:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:11:04] Production.INFO: ==27827== Lock acquired, processing the job...
[2025-03-10 10:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:11:04] Production.INFO: ==27829== Lock acquired, processing the job...
[2025-03-10 10:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:11:04] Production.INFO: ==27823== Lock acquired, processing the job...
[2025-03-10 10:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:11:04] Production.INFO: ==27825== Lock acquired, processing the job...
[2025-03-10 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:11:04] Production.INFO: Account Balance Start.
[2025-03-10 10:11:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:11:04] Production.INFO: 117
[2025-03-10 10:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:11:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:11:04] Production.INFO: ==27834== Lock acquired, processing the job...
[2025-03-10 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:11:04] Production.INFO: ==27832== Lock acquired, processing the job...
[2025-03-10 10:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:11:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:11:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 10:11:04] Production.INFO: count ==13
[2025-03-10 10:11:04] Production.INFO: ==27825== Releasing lock...
[2025-03-10 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 10:11:04] Production.INFO: count ==21
[2025-03-10 10:11:04] Production.INFO: Total Charge 0
[2025-03-10 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648818') start
[2025-03-10 10:11:04] Production.INFO: CreateAllLog End
[2025-03-10 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648818') end
[2025-03-10 10:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:11:04] Production.INFO: 1
[2025-03-10 10:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:11:04] Production.INFO: ==27834== Releasing lock...
[2025-03-10 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:11:05] Production.ERROR: done
[2025-03-10 10:11:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:11:05] Production.INFO: Account Balance End.
[2025-03-10 10:11:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:11:05] Production.INFO: ==27829== Releasing lock...
[2025-03-10 10:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:11:05] Production.ERROR: done
[2025-03-10 10:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:11:06
[end_date_ymd] => 2025-03-10 10:11:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:11:06' and `end` < '2025-03-10 10: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-03-10 10:11:12] Production.ERROR: CronJobId end10
[2025-03-10 10:11:12] Production.INFO: ==27827== Releasing lock...
[2025-03-10 10:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:11:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:11:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:11:16] Production.INFO: call_cost start
[2025-03-10 10:11:16] Production.INFO: call_cost end
[2025-03-10 10:11:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:11:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:11:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:11:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:11:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:11:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:11:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:11:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:11:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:11:17] Production.INFO: ==27823== Releasing lock...
[2025-03-10 10:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:11:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:11:19] Production.INFO: count ==2858
[2025-03-10 10:11:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:11:06 - End Time 2025-03-10 10:11:06
[2025-03-10 10:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648819', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648819', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648819', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648819', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:11:20] Production.INFO: ProcessCDR(1,14648819,1,1,2)
[2025-03-10 10:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:11:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:11:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648819', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648819', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:11:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:11:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:11:26] Production.INFO: ==27832== Releasing lock...
[2025-03-10 10:11:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:11:26] Production.INFO: 49.75 MB #Memory Used#
[2025-03-10 14:12:01] Production.INFO: ==27892== Lock acquired, processing the job...
[2025-03-10 14:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:12:01] Production.INFO: neon service started
[2025-03-10 14:12:01] Production.INFO: neon service started
[2025-03-10 14:12:01] Production.INFO: ==27892== Releasing lock...
[2025-03-10 14:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:12:02] Production.INFO: ==27896== Lock acquired, processing the job...
[2025-03-10 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:12:02] Production.INFO: ==27896== Releasing lock...
[2025-03-10 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:12:02] Production.INFO: ==27894== Lock acquired, processing the job...
[2025-03-10 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:12:02] Production.INFO: ==27894== Releasing lock...
[2025-03-10 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:12:03] Production.INFO: ==27898== Lock acquired, processing the job...
[2025-03-10 10:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:12:03] Production.INFO: ==27909== Lock acquired, processing the job...
[2025-03-10 10:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10: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-03-10 10:12:03] Production.INFO: count ==13
[2025-03-10 10: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-03-10 10:12:03] Production.INFO: count ==21
[2025-03-10 10:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648820') start
[2025-03-10 10:12:03] Production.INFO: ==27900== Lock acquired, processing the job...
[2025-03-10 10:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:12:03] Production.INFO: ==27902== Lock acquired, processing the job...
[2025-03-10 10:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:12:04] Production.INFO: ==27905== Lock acquired, processing the job...
[2025-03-10 10:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648820') end
[2025-03-10 10:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:12:04] Production.INFO: 1
[2025-03-10 10:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:12:04] Production.INFO: ==27907== Lock acquired, processing the job...
[2025-03-10 10:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:12:04] Production.INFO: ==27909== Releasing lock...
[2025-03-10 10:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:12:04] Production.INFO: Account Balance Start.
[2025-03-10 10:12:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:12:04] Production.INFO: 117
[2025-03-10 10:12:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:12:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:12:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:12:04] Production.INFO: Total Charge 0
[2025-03-10 10:12:04] Production.INFO: CreateAllLog End
[2025-03-10 10:12:04] Production.ERROR: done
[2025-03-10 10:12:04] Production.INFO: ==27900== Releasing lock...
[2025-03-10 10:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:12:04] Production.INFO: Account Balance End.
[2025-03-10 10:12:04] Production.ERROR: done
[2025-03-10 10:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:12:04] Production.INFO: ==27905== Releasing lock...
[2025-03-10 10:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:12:06
[end_date_ymd] => 2025-03-10 10:12:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:12:06' and `end` < '2025-03-10 10: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-03-10 10:12:13] Production.ERROR: CronJobId end10
[2025-03-10 10:12:13] Production.INFO: ==27902== Releasing lock...
[2025-03-10 10:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:12:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:12:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:12:16] Production.INFO: call_cost start
[2025-03-10 10:12:16] Production.INFO: call_cost end
[2025-03-10 10:12:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:12:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:12:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:12:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:12:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:12:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:12:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:12:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:12:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:12:17] Production.INFO: ==27898== Releasing lock...
[2025-03-10 10:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:12:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:12:18] Production.INFO: count ==2893
[2025-03-10 10:12:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:12:06 - End Time 2025-03-10 10:12:06
[2025-03-10 10:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648824', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648824', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648824', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648824', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:12:20] Production.INFO: ProcessCDR(1,14648824,1,1,2)
[2025-03-10 10:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:12:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:12:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:12:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648824', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648824', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:12:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:12:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:12:26] Production.INFO: ==27907== Releasing lock...
[2025-03-10 10:12:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:12:26] Production.INFO: 49.75 MB #Memory Used#
[2025-03-10 14:13:02] Production.INFO: ==27964== Lock acquired, processing the job...
[2025-03-10 14:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:13:02] Production.INFO: neon service started
[2025-03-10 14:13:02] Production.INFO: neon service started
[2025-03-10 14:13:02] Production.INFO: ==27964== Releasing lock...
[2025-03-10 14:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:13:02] Production.INFO: ==27966== Lock acquired, processing the job...
[2025-03-10 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:13:03] Production.INFO: ==27966== Releasing lock...
[2025-03-10 10:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:13:03] Production.INFO: ==27968== Lock acquired, processing the job...
[2025-03-10 14:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:13:03] Production.INFO: ==27968== Releasing lock...
[2025-03-10 14:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:13:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:13:03] Production.INFO: ==27974== Lock acquired, processing the job...
[2025-03-10 10:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:13:04] Production.INFO: ==27980== Lock acquired, processing the job...
[2025-03-10 10:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:13:04] Production.INFO: ==27970== Lock acquired, processing the job...
[2025-03-10 10:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:13:04] Production.INFO: ==27972== Lock acquired, processing the job...
[2025-03-10 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 10:13:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:13:04] Production.INFO: count ==21
[2025-03-10 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648825') start
[2025-03-10 10:13:04] Production.INFO: ==27976== Lock acquired, processing the job...
[2025-03-10 10:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:13:04] Production.INFO: ==27978== Lock acquired, processing the job...
[2025-03-10 10:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648825') end
[2025-03-10 10:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:13:04] Production.INFO: 1
[2025-03-10 10:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:13:04] Production.INFO: Account Balance Start.
[2025-03-10 10:13:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:13:04] Production.INFO: 117
[2025-03-10 10:13:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:13:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:13:04] Production.INFO: ==27980== Releasing lock...
[2025-03-10 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:13:04] Production.INFO: Total Charge 0
[2025-03-10 10:13:04] Production.INFO: CreateAllLog End
[2025-03-10 10:13:04] Production.INFO: ==27972== Releasing lock...
[2025-03-10 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:13:04] Production.INFO: Account Balance End.
[2025-03-10 10:13:04] Production.ERROR: done
[2025-03-10 10:13:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:13:04] Production.INFO: ==27976== Releasing lock...
[2025-03-10 10:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:13:05] Production.ERROR: done
[2025-03-10 10:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:13:06
[end_date_ymd] => 2025-03-10 10:13:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:13:06' and `end` < '2025-03-10 10: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-03-10 10:13:13] Production.ERROR: CronJobId end10
[2025-03-10 10:13:13] Production.INFO: ==27974== Releasing lock...
[2025-03-10 10:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:13:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:13:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:13:16] Production.INFO: call_cost start
[2025-03-10 10:13:16] Production.INFO: call_cost end
[2025-03-10 10:13:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:13:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:13:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:13:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:13:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:13:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:13:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:13:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:13:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:13:17] Production.INFO: ==27970== Releasing lock...
[2025-03-10 10:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:13:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:13:19] Production.INFO: count ==2905
[2025-03-10 10:13:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:13:06 - End Time 2025-03-10 10:13:06
[2025-03-10 10:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648829', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648829', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648829', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648829', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:13:20] Production.INFO: ProcessCDR(1,14648829,1,1,2)
[2025-03-10 10:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648829', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648829', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:13:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:13:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:13:26] Production.INFO: ==27978== Releasing lock...
[2025-03-10 10:13:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:13:26] Production.INFO: 49.5 MB #Memory Used#
[2025-03-10 14:14:01] Production.INFO: ==28038== Lock acquired, processing the job...
[2025-03-10 14:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:14:01] Production.INFO: neon service started
[2025-03-10 14:14:01] Production.INFO: neon service started
[2025-03-10 14:14:01] Production.INFO: ==28038== Releasing lock...
[2025-03-10 14:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:14:02] Production.INFO: ==28042== Lock acquired, processing the job...
[2025-03-10 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:14:02] Production.INFO: ==28042== Releasing lock...
[2025-03-10 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:14:02] Production.INFO: ==28040== Lock acquired, processing the job...
[2025-03-10 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:14:02] Production.INFO: ==28040== Releasing lock...
[2025-03-10 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:14:03] Production.INFO: ==28051== Lock acquired, processing the job...
[2025-03-10 10:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:14:03] Production.INFO: Account Balance Start.
[2025-03-10 10:14:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:14:03] Production.INFO: 117
[2025-03-10 10:14:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:14:03] Production.INFO: ==28055== Lock acquired, processing the job...
[2025-03-10 10:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:14:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:14:03] Production.INFO: Date 2025-03-10
[2025-03-10 10:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 10:14:03] Production.INFO: Total Charge 0
[2025-03-10 10:14:03] Production.INFO: count ==13
[2025-03-10 10:14:03] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 10:14:03] Production.INFO: count ==21
[2025-03-10 10:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648831') start
[2025-03-10 10:14:03] Production.INFO: ==28047== Lock acquired, processing the job...
[2025-03-10 10:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:14:03] Production.INFO: ==28045== Lock acquired, processing the job...
[2025-03-10 10:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:14:04] Production.INFO: ==28049== Lock acquired, processing the job...
[2025-03-10 10:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:14:04] Production.INFO: ==28053== Lock acquired, processing the job...
[2025-03-10 10:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:14:04] Production.INFO: Account Balance End.
[2025-03-10 10:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648831') end
[2025-03-10 10:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:14:04] Production.INFO: 1
[2025-03-10 10:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:14:04] Production.INFO: ==28051== Releasing lock...
[2025-03-10 10:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:14:04] Production.INFO: ==28055== Releasing lock...
[2025-03-10 10:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:14:04] Production.INFO: ==28047== Releasing lock...
[2025-03-10 10:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:14:04] Production.ERROR: done
[2025-03-10 10:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:14:04] Production.ERROR: done
[2025-03-10 10:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:14:05
[end_date_ymd] => 2025-03-10 10:14:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:14:05' and `end` < '2025-03-10 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-03-10 10:14:13] Production.ERROR: CronJobId end10
[2025-03-10 10:14:13] Production.INFO: ==28049== Releasing lock...
[2025-03-10 10:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:14:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:14:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:14:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:14:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:14:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:14:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:14:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:14:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:14:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:14:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:14:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:14:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:14:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:14:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:14:16] Production.INFO: call_cost start
[2025-03-10 10:14:16] Production.INFO: call_cost end
[2025-03-10 10:14:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:14:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:14:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:14:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:14:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:14:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:14:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:14:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:14:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:14:17] Production.INFO: ==28045== Releasing lock...
[2025-03-10 10:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:14:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:14:18] Production.INFO: count ==2936
[2025-03-10 10:14:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:14:05 - End Time 2025-03-10 10:14:05
[2025-03-10 10:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648834', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648834', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648834', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648834', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:14:19] Production.INFO: ProcessCDR(1,14648834,1,1,2)
[2025-03-10 10:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:14:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:14:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:14:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648834', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648834', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:14:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:14:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:14:25] Production.INFO: ==28053== Releasing lock...
[2025-03-10 10:14:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:14:25] Production.INFO: 50.25 MB #Memory Used#
[2025-03-10 14:15:02] Production.INFO: ==28116== Lock acquired, processing the job...
[2025-03-10 14:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:15:02] Production.INFO: neon service started
[2025-03-10 14:15:02] Production.INFO: neon service started
[2025-03-10 14:15:02] Production.INFO: ==28116== Releasing lock...
[2025-03-10 14:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:15:02] Production.INFO: ==28118== Lock acquired, processing the job...
[2025-03-10 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:15:02] Production.INFO: ==28120== Lock acquired, processing the job...
[2025-03-10 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:15:02] Production.INFO: ==28120== Releasing lock...
[2025-03-10 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:15:03] Production.INFO: ==28118== Releasing lock...
[2025-03-10 10:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:15:04] Production.INFO: ==28123== Lock acquired, processing the job...
[2025-03-10 10:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:15:04] Production.INFO: ==28129== Lock acquired, processing the job...
[2025-03-10 10:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:15:04] Production.INFO: ==28127== Lock acquired, processing the job...
[2025-03-10 10:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:15:04] Production.INFO: ==28125== Lock acquired, processing the job...
[2025-03-10 10:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:15:04] Production.INFO: Account Balance Start.
[2025-03-10 10:15:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:15:04] Production.INFO: 117
[2025-03-10 10:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:15:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:15:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:15:04] Production.INFO: ==28131== Lock acquired, processing the job...
[2025-03-10 10:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:15:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:15:04] Production.INFO: Total Charge 0
[2025-03-10 10:15:04] Production.INFO: CreateAllLog End
[2025-03-10 10:15:04] Production.INFO: ==28133== Lock acquired, processing the job...
[2025-03-10 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 10:15:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:15:04] Production.INFO: count ==21
[2025-03-10 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648838') start
[2025-03-10 10:15:04] Production.INFO: ==28125== Releasing lock...
[2025-03-10 10:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:15:04] Production.ERROR: done
[2025-03-10 10:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:15:05] Production.INFO: Account Balance End.
[2025-03-10 10:15:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648838') end
[2025-03-10 10:15:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:15:05] Production.INFO: 1
[2025-03-10 10:15:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:15:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:15:05] Production.INFO: ==28129== Releasing lock...
[2025-03-10 10:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:15:05] Production.INFO: ==28133== Releasing lock...
[2025-03-10 10:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:15:05] Production.ERROR: done
[2025-03-10 10:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:15:06
[end_date_ymd] => 2025-03-10 10:15:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:15:06' and `end` < '2025-03-10 10: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-03-10 10:15:14] Production.ERROR: CronJobId end10
[2025-03-10 10:15:14] Production.INFO: ==28127== Releasing lock...
[2025-03-10 10:15:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:15:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:15:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:15:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:15:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:15:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:15:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:15:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:15:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:15:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:15:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:15:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:15:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:15:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:15:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:15:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:15:17] Production.INFO: call_cost start
[2025-03-10 10:15:17] Production.INFO: call_cost end
[2025-03-10 10:15:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:15:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:15:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:15:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:15:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:15:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:15:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:15:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:15:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:15:18] Production.INFO: ==28123== Releasing lock...
[2025-03-10 10:15:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:15:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:15:18] Production.INFO: count ==2945
[2025-03-10 10:15:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:15:06 - End Time 2025-03-10 10:15:06
[2025-03-10 10:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648839', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648839', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648839', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648839', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:15:20] Production.INFO: ProcessCDR(1,14648839,1,1,2)
[2025-03-10 10:15:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:15:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:15:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:15:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648839', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648839', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:15:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:15:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:15:25] Production.INFO: ==28131== Releasing lock...
[2025-03-10 10:15:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:15:25] Production.INFO: 50.25 MB #Memory Used#
[2025-03-10 14:16:01] Production.INFO: ==28196== Lock acquired, processing the job...
[2025-03-10 14:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:16:01] Production.INFO: neon service started
[2025-03-10 14:16:01] Production.INFO: neon service started
[2025-03-10 14:16:01] Production.INFO: ==28196== Releasing lock...
[2025-03-10 14:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:16:02] Production.INFO: ==28201== Lock acquired, processing the job...
[2025-03-10 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:16:02] Production.INFO: ==28199== Lock acquired, processing the job...
[2025-03-10 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:16:02] Production.INFO: ==28201== Releasing lock...
[2025-03-10 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:16:02] Production.INFO: ==28199== Releasing lock...
[2025-03-10 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:16:03] Production.INFO: ==28205== Lock acquired, processing the job...
[2025-03-10 10:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:16:03] Production.INFO: ==28207== Lock acquired, processing the job...
[2025-03-10 10:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:16:03] Production.INFO: ==28203== Lock acquired, processing the job...
[2025-03-10 10:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:16:04] Production.INFO: ==28209== Lock acquired, processing the job...
[2025-03-10 10:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:16:04] Production.INFO: ==28211== Lock acquired, processing the job...
[2025-03-10 10:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:16:04] Production.INFO: ==28213== Lock acquired, processing the job...
[2025-03-10 10:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:16:04] Production.INFO: Account Balance Start.
[2025-03-10 10:16:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:16:04] Production.INFO: 117
[2025-03-10 10:16:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:16:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:16:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:16:04] Production.INFO: ==28205== Releasing lock...
[2025-03-10 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:16:04] Production.INFO: Total Charge 0
[2025-03-10 10:16:04] Production.INFO: CreateAllLog End
[2025-03-10 10: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-03-10 10:16:04] Production.INFO: count ==13
[2025-03-10 10: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-03-10 10:16:04] Production.ERROR: done
[2025-03-10 10:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:16:04] Production.INFO: count ==21
[2025-03-10 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648843') start
[2025-03-10 10:16:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648843') end
[2025-03-10 10:16:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:16:05] Production.INFO: 1
[2025-03-10 10:16:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:16:05] Production.INFO: Account Balance End.
[2025-03-10 10:16:05] Production.ERROR: done
[2025-03-10 10:16:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:16:05] Production.INFO: ==28209== Releasing lock...
[2025-03-10 10:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:16:05] Production.INFO: ==28213== Releasing lock...
[2025-03-10 10:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:16:06
[end_date_ymd] => 2025-03-10 10:16:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:16:06' and `end` < '2025-03-10 10: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-03-10 10:16:13] Production.ERROR: CronJobId end10
[2025-03-10 10:16:13] Production.INFO: ==28207== Releasing lock...
[2025-03-10 10:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:16:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:16:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:16:15] Production.INFO: call_cost start
[2025-03-10 10:16:15] Production.INFO: call_cost end
[2025-03-10 10:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:16:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:16:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:16:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:16:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:16:16] Production.INFO: ==28203== Releasing lock...
[2025-03-10 10:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:16:19] Production.INFO: count ==2958
[2025-03-10 10:16:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:16:06 - End Time 2025-03-10 10:16:06
[2025-03-10 10:16:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648844', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648844', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648844', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648844', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:16:20] Production.INFO: ProcessCDR(1,14648844,1,1,2)
[2025-03-10 10:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:16:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:16:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:16:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648844', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648844', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:16:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:16:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:16:25] Production.INFO: ==28211== Releasing lock...
[2025-03-10 10:16:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:16:25] Production.INFO: 49.75 MB #Memory Used#
[2025-03-10 14:17:02] Production.INFO: ==28275== Lock acquired, processing the job...
[2025-03-10 14:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:17:02] Production.INFO: neon service started
[2025-03-10 14:17:02] Production.INFO: neon service started
[2025-03-10 14:17:02] Production.INFO: ==28275== Releasing lock...
[2025-03-10 14:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:17:02] Production.INFO: ==28277== Lock acquired, processing the job...
[2025-03-10 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:17:03] Production.INFO: ==28277== Releasing lock...
[2025-03-10 10:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:17:03] Production.INFO: ==28279== Lock acquired, processing the job...
[2025-03-10 14:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:17:03] Production.INFO: ==28279== Releasing lock...
[2025-03-10 14:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:17:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:17:04] Production.INFO: ==28288== Lock acquired, processing the job...
[2025-03-10 10:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:17:04] Production.INFO: ==28282== Lock acquired, processing the job...
[2025-03-10 10:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:17:04] Production.INFO: Account Balance Start.
[2025-03-10 10:17:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:17:04] Production.INFO: 117
[2025-03-10 10:17:04] Production.INFO: ==28292== Lock acquired, processing the job...
[2025-03-10 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:17:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:17:04] Production.INFO: ==28284== Lock acquired, processing the job...
[2025-03-10 10:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:17:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:17:04] Production.INFO: ==28286== Lock acquired, processing the job...
[2025-03-10 10:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 10:17:04] Production.INFO: Total Charge 0
[2025-03-10 10:17:04] Production.INFO: count ==13
[2025-03-10 10:17:04] Production.INFO: ==28290== Lock acquired, processing the job...
[2025-03-10 10:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:17:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 10:17:04] Production.INFO: count ==21
[2025-03-10 10:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648847') start
[2025-03-10 10:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648847') end
[2025-03-10 10:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:17:04] Production.INFO: 1
[2025-03-10 10:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:17:04] Production.INFO: ==28292== Releasing lock...
[2025-03-10 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:17:04] Production.INFO: ==28284== Releasing lock...
[2025-03-10 10:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:17:04] Production.INFO: Account Balance End.
[2025-03-10 10:17:05] Production.ERROR: done
[2025-03-10 10:17:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:17:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:17:05] Production.INFO: ==28288== Releasing lock...
[2025-03-10 10:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:17:05] Production.ERROR: done
[2025-03-10 10:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:17:06
[end_date_ymd] => 2025-03-10 10:17:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:17:06' and `end` < '2025-03-10 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-03-10 10:17:13] Production.ERROR: CronJobId end10
[2025-03-10 10:17:13] Production.INFO: ==28286== Releasing lock...
[2025-03-10 10:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:17:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:17:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:17:15] Production.INFO: call_cost start
[2025-03-10 10:17:15] Production.INFO: call_cost end
[2025-03-10 10:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:17:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:17:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:17:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:17:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:17:16] Production.INFO: ==28282== Releasing lock...
[2025-03-10 10:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:17:19] Production.INFO: count ==2965
[2025-03-10 10:17:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:17:06 - End Time 2025-03-10 10:17:06
[2025-03-10 10:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648849', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648849', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648849', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648849', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:17:20] Production.INFO: ProcessCDR(1,14648849,1,1,2)
[2025-03-10 10:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:17:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:17:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:17:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648849', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648849', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:17:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:17:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:17:26] Production.INFO: ==28290== Releasing lock...
[2025-03-10 10:17:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:17:26] Production.INFO: 50 MB #Memory Used#
[2025-03-10 14:18:01] Production.INFO: ==28348== Lock acquired, processing the job...
[2025-03-10 14:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:18:01] Production.INFO: neon service started
[2025-03-10 14:18:01] Production.INFO: neon service started
[2025-03-10 14:18:01] Production.INFO: ==28348== Releasing lock...
[2025-03-10 14:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:18:02] Production.INFO: ==28351== Lock acquired, processing the job...
[2025-03-10 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:18:02] Production.INFO: ==28351== Releasing lock...
[2025-03-10 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:18:02] Production.INFO: ==28353== Lock acquired, processing the job...
[2025-03-10 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:18:02] Production.INFO: ==28353== Releasing lock...
[2025-03-10 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:18:03] Production.INFO: ==28365== Lock acquired, processing the job...
[2025-03-10 10:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 10:18:03] Production.INFO: count ==13
[2025-03-10 10: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-03-10 10:18:03] Production.INFO: count ==21
[2025-03-10 10:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648850') start
[2025-03-10 10:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648850') end
[2025-03-10 10:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:18:03] Production.INFO: 1
[2025-03-10 10:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:18:03] Production.INFO: ==28365== Releasing lock...
[2025-03-10 10:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:18:03] Production.INFO: ==28359== Lock acquired, processing the job...
[2025-03-10 10:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:18:03] Production.INFO: ==28355== Lock acquired, processing the job...
[2025-03-10 10:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:18:04] Production.INFO: ==28357== Lock acquired, processing the job...
[2025-03-10 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:18:04] Production.INFO: ==28361== Lock acquired, processing the job...
[2025-03-10 10:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:18:04] Production.INFO: ==28363== Lock acquired, processing the job...
[2025-03-10 10:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:18:04] Production.INFO: Account Balance Start.
[2025-03-10 10:18:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:18:04] Production.INFO: 117
[2025-03-10 10:18:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:18:04] Production.INFO: Total Charge 0
[2025-03-10 10:18:04] Production.INFO: CreateAllLog End
[2025-03-10 10:18:04] Production.INFO: ==28357== Releasing lock...
[2025-03-10 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:18:04] Production.ERROR: done
[2025-03-10 10:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:18:04] Production.INFO: Account Balance End.
[2025-03-10 10:18:04] Production.ERROR: done
[2025-03-10 10:18:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:18:04] Production.INFO: ==28361== Releasing lock...
[2025-03-10 10:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:18:05
[end_date_ymd] => 2025-03-10 10:18:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:18:05' and `end` < '2025-03-10 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-03-10 10:18:12] Production.ERROR: CronJobId end10
[2025-03-10 10:18:12] Production.INFO: ==28359== Releasing lock...
[2025-03-10 10:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:18:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:18:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:18:15] Production.INFO: call_cost start
[2025-03-10 10:18:15] Production.INFO: call_cost end
[2025-03-10 10:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:18:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:18:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:18:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:18:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:18:16] Production.INFO: ==28355== Releasing lock...
[2025-03-10 10:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:18:18] Production.INFO: count ==2980
[2025-03-10 10:18:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:18:05 - End Time 2025-03-10 10:18:05
[2025-03-10 10:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648854', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648854', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648854', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648854', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:18:20] Production.INFO: ProcessCDR(1,14648854,1,1,2)
[2025-03-10 10:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:18:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:18:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648854', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648854', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:18:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:18:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:18:26] Production.INFO: ==28363== Releasing lock...
[2025-03-10 10:18:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:18:26] Production.INFO: 50.75 MB #Memory Used#
[2025-03-10 14:19:02] Production.INFO: ==28424== Lock acquired, processing the job...
[2025-03-10 14:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:19:02] Production.INFO: neon service started
[2025-03-10 14:19:02] Production.INFO: neon service started
[2025-03-10 14:19:02] Production.INFO: ==28424== Releasing lock...
[2025-03-10 14:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:19:02] Production.INFO: ==28426== Lock acquired, processing the job...
[2025-03-10 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:19:03] Production.INFO: ==28428== Lock acquired, processing the job...
[2025-03-10 14:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:19:03] Production.INFO: ==28428== Releasing lock...
[2025-03-10 14:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:19:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:19:03] Production.INFO: ==28426== Releasing lock...
[2025-03-10 10:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:19:04] Production.INFO: ==28439== Lock acquired, processing the job...
[2025-03-10 10:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:19:04] Production.INFO: ==28431== Lock acquired, processing the job...
[2025-03-10 10:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:19:04] Production.INFO: ==28433== Lock acquired, processing the job...
[2025-03-10 10:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:19:04] Production.INFO: ==28437== Lock acquired, processing the job...
[2025-03-10 10:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:19:04] Production.INFO: ==28441== Lock acquired, processing the job...
[2025-03-10 10:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:19:04] Production.INFO: ==28435== Lock acquired, processing the job...
[2025-03-10 10:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:19:04] Production.ERROR: done
[2025-03-10 10:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10: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-03-10 10:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:19:04] Production.INFO: count ==13
[2025-03-10 10: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-03-10 10:19:04] Production.INFO: count ==21
[2025-03-10 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648857') start
[2025-03-10 10:19:04] Production.INFO: ==28433== Releasing lock...
[2025-03-10 10:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:19:04] Production.INFO: Account Balance Start.
[2025-03-10 10:19:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:19:04] Production.INFO: 117
[2025-03-10 10:19:04] Production.ERROR: done
[2025-03-10 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648857') end
[2025-03-10 10:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:19:04] Production.INFO: 1
[2025-03-10 10:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:19:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:19:04] Production.INFO: ==28441== Releasing lock...
[2025-03-10 10:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:19:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:19:05] Production.INFO: Date 2025-03-10
[2025-03-10 10:19:05] Production.INFO: Reseller ==> 0
[2025-03-10 10:19:05] Production.INFO: Total Charge 0
[2025-03-10 10:19:05] Production.INFO: CreateAllLog End
[2025-03-10 10:19:05] Production.INFO: Account Balance End.
[2025-03-10 10:19:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:19:05] Production.INFO: ==28437== Releasing lock...
[2025-03-10 10:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:19:06
[end_date_ymd] => 2025-03-10 10:19:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:19:06' and `end` < '2025-03-10 10: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-03-10 10:19:14] Production.ERROR: CronJobId end10
[2025-03-10 10:19:14] Production.INFO: ==28435== Releasing lock...
[2025-03-10 10:19:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:19:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:19:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:19:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:19:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:19:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:19:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:19:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:19:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:19:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:19:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:19:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:19:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:19:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:19:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:19:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:19:16] Production.INFO: call_cost start
[2025-03-10 10:19:16] Production.INFO: call_cost end
[2025-03-10 10:19:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:19:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:19:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:19:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:19:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:19:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:19:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:19:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:19:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:19:17] Production.INFO: ==28431== Releasing lock...
[2025-03-10 10:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:19:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:19:18] Production.INFO: count ==3014
[2025-03-10 10:19:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:19:06 - End Time 2025-03-10 10:19:06
[2025-03-10 10:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648859', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648859', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648859', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648859', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:19:20] Production.INFO: ProcessCDR(1,14648859,1,1,2)
[2025-03-10 10:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:19:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:19:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:19:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648859', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648859', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:19:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:19:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:19:25] Production.INFO: ==28439== Releasing lock...
[2025-03-10 10:19:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:19:25] Production.INFO: 50.75 MB #Memory Used#
[2025-03-10 14:20:01] Production.INFO: ==28506== Lock acquired, processing the job...
[2025-03-10 14:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:20:01] Production.INFO: neon service started
[2025-03-10 14:20:01] Production.INFO: neon service started
[2025-03-10 14:20:01] Production.INFO: ==28506== Releasing lock...
[2025-03-10 14:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:20:02] Production.INFO: ==28508== Lock acquired, processing the job...
[2025-03-10 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:20:02] Production.INFO: ==28510== Lock acquired, processing the job...
[2025-03-10 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:20:02] Production.INFO: ==28510== Releasing lock...
[2025-03-10 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:20:03] Production.INFO: ==28508== Releasing lock...
[2025-03-10 10:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:20:04] Production.INFO: ==28523== Lock acquired, processing the job...
[2025-03-10 10:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:20:04] Production.INFO: ==28525== Lock acquired, processing the job...
[2025-03-10 10:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:20:04] Production.INFO: Account Balance Start.
[2025-03-10 10:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:20:04] Production.INFO: 117
[2025-03-10 10:20:04] Production.INFO: ==28527== Lock acquired, processing the job...
[2025-03-10 10:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 10:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:20:04] Production.INFO: ==28515== Lock acquired, processing the job...
[2025-03-10 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 10:20:04] Production.INFO: ==28519== Lock acquired, processing the job...
[2025-03-10 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:20:04] Production.INFO: ==28517== Lock acquired, processing the job...
[2025-03-10 10:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:20:04] Production.INFO: ==28521== Lock acquired, processing the job...
[2025-03-10 10:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:20:04] Production.INFO: Total Charge 0
[2025-03-10 10:20:04] Production.INFO: CreateAllLog End
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:20:04] Production.ERROR: CronJob PID - 28517
[2025-03-10 10:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 10:20:04] Production.ERROR: CronJob ID - 5
[2025-03-10 10:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:20:00
[2025-03-10 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:20:04] Production.ERROR: CronJob PID - 28519
[2025-03-10 10:20:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 10:20:04] Production.ERROR: CronJob ID - 7
[2025-03-10 10:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:20:00
[2025-03-10 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:20:04] Production.ERROR: CronJob PID - 28521
[2025-03-10 10:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 10:20:04] Production.ERROR: CronJob ID - 10
[2025-03-10 10:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:20:00
[2025-03-10 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:20:04] Production.ERROR: CronJob PID - 28523
[2025-03-10 10:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 10:20:04] Production.ERROR: CronJob ID - 12
[2025-03-10 10:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:20:00
[2025-03-10 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:20:04] Production.ERROR: CronJob PID - 28525
[2025-03-10 10:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 10:20:04] Production.ERROR: CronJob ID - 16
[2025-03-10 10:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:20:00
[2025-03-10 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:20:04] Production.ERROR: CronJob PID - 28527
[2025-03-10 10:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 10:20:04] Production.ERROR: CronJob ID - 17
[2025-03-10 10:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:20:00
[2025-03-10 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:20:04] Production.INFO: ==28529== Lock acquired, processing the job...
[2025-03-10 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 10:20:04] Production.INFO: ==28515== Releasing lock...
[2025-03-10 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 10:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 10:20:05] Production.ERROR: done
[2025-03-10 10:20:05] Production.ERROR: done
[2025-03-10 10:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:20: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-03-10 10:20:05] Production.INFO: Account Balance End.
[2025-03-10 10:20:05] Production.INFO: count ==13
[2025-03-10 10:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 10:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648864', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 10: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-03-10 10:20:05] Production.INFO: count ==21
[2025-03-10 10:20:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:20:05] Production.INFO: ==28523== Releasing lock...
[2025-03-10 10:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648863') start
[2025-03-10 10:20:05] Production.INFO: ==28519== Releasing lock...
[2025-03-10 10:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:20:05] Production.ERROR: done
[2025-03-10 10:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648863') end
[2025-03-10 10:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:20:05] Production.INFO: 1
[2025-03-10 10:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:20:05] Production.INFO: ==28529== Releasing lock...
[2025-03-10 10:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:20:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:20:07
[end_date_ymd] => 2025-03-10 10:20:07
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:20:07' and `end` < '2025-03-10 10: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-03-10 10:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648864', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 10:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 10:20:09] Production.INFO: ProcessCDR(1,14648864,1,1,2)
[2025-03-10 10:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648864,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648864,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:20:10] Production.INFO: ==28527== Releasing lock...
[2025-03-10 10:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 10:20:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 10: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: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-03-10 10:20:15] Production.ERROR: CronJobId end10
[2025-03-10 10:20:15] Production.INFO: ==28521== Releasing lock...
[2025-03-10 10:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:20:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:20:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:20:18] Production.INFO: call_cost start
[2025-03-10 10:20:18] Production.INFO: call_cost end
[2025-03-10 10:20:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:20:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:20:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:20:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:20:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:20:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:20:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:20:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:20:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:20:19] Production.INFO: ==28517== Releasing lock...
[2025-03-10 10:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:20:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:20:19] Production.INFO: count ==3033
[2025-03-10 10:20:21] Production.ERROR: pbx CDR StartTime 2025-03-10 07:20:07 - End Time 2025-03-10 10:20:07
[2025-03-10 10:20:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648865', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648865', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648865', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648865', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:20:21] Production.INFO: ProcessCDR(1,14648865,1,1,2)
[2025-03-10 10:20:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:20:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:20:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:20:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648865', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648865', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:20:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:20:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:20:26] Production.INFO: ==28525== Releasing lock...
[2025-03-10 10:20:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:20:26] Production.INFO: 50.75 MB #Memory Used#
[2025-03-10 14:21:02] Production.INFO: ==28582== Lock acquired, processing the job...
[2025-03-10 14:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:21:02] Production.INFO: neon service started
[2025-03-10 14:21:02] Production.INFO: neon service started
[2025-03-10 14:21:02] Production.INFO: ==28582== Releasing lock...
[2025-03-10 14:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:21:02] Production.INFO: ==28585== Lock acquired, processing the job...
[2025-03-10 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:21:03] Production.INFO: ==28587== Lock acquired, processing the job...
[2025-03-10 14:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:21:03] Production.INFO: ==28587== Releasing lock...
[2025-03-10 14:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:21:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:21:03] Production.INFO: ==28585== Releasing lock...
[2025-03-10 10:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:21:03] Production.INFO: ==28589== Lock acquired, processing the job...
[2025-03-10 10:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:21:04] Production.INFO: ==28597== Lock acquired, processing the job...
[2025-03-10 10:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:21:04] Production.INFO: ==28591== Lock acquired, processing the job...
[2025-03-10 10:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:21:04] Production.INFO: ==28593== Lock acquired, processing the job...
[2025-03-10 10:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:21:04] Production.INFO: ==28595== Lock acquired, processing the job...
[2025-03-10 10:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:21:04] Production.INFO: ==28599== Lock acquired, processing the job...
[2025-03-10 10:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:21:04] Production.INFO: Account Balance Start.
[2025-03-10 10:21:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:21:04] Production.INFO: 117
[2025-03-10 10:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:21:04] Production.INFO: Date 2025-03-08
[2025-03-10 10: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-03-10 10:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:21:04] Production.INFO: count ==13
[2025-03-10 10: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-03-10 10:21:04] Production.INFO: count ==21
[2025-03-10 10:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648869') start
[2025-03-10 10:21:04] Production.INFO: ==28591== Releasing lock...
[2025-03-10 10:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:21:04] Production.ERROR: done
[2025-03-10 10:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:21:04] Production.INFO: Total Charge 0
[2025-03-10 10:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648869') end
[2025-03-10 10:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:21:04] Production.INFO: 1
[2025-03-10 10:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:21:04] Production.INFO: CreateAllLog End
[2025-03-10 10:21:05] Production.INFO: ==28599== Releasing lock...
[2025-03-10 10:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:21:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:21:05] Production.ERROR: done
[2025-03-10 10:21:05] Production.INFO: Account Balance End.
[2025-03-10 10:21:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:21:05] Production.INFO: ==28595== Releasing lock...
[2025-03-10 10:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:21:05
[end_date_ymd] => 2025-03-10 10:21:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:21:05' and `end` < '2025-03-10 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-03-10 10:21:14] Production.ERROR: CronJobId end10
[2025-03-10 10:21:14] Production.INFO: ==28593== Releasing lock...
[2025-03-10 10:21:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:21:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:21:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:21:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:21:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:21:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:21:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:21:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:21:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:21:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:21:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:21:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:21:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:21:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:21:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:21:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:21:16] Production.INFO: call_cost start
[2025-03-10 10:21:16] Production.INFO: call_cost end
[2025-03-10 10:21:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:21:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:21:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:21:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:21:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:21:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:21:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:21:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:21:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:21:17] Production.INFO: ==28589== Releasing lock...
[2025-03-10 10:21:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:21:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:21:18] Production.INFO: count ==3125
[2025-03-10 10:21:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:21:05 - End Time 2025-03-10 10:21:05
[2025-03-10 10:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648870', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648870', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648870', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648870', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:21:20] Production.INFO: ProcessCDR(1,14648870,1,1,2)
[2025-03-10 10:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:21:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:21:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:21:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648870', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648870', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:21:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:21:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:21:25] Production.INFO: ==28597== Releasing lock...
[2025-03-10 10:21:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:21:25] Production.INFO: 51.75 MB #Memory Used#
[2025-03-10 14:22:01] Production.INFO: ==28655== Lock acquired, processing the job...
[2025-03-10 14:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:22:01] Production.INFO: neon service started
[2025-03-10 14:22:01] Production.INFO: neon service started
[2025-03-10 14:22:01] Production.INFO: ==28655== Releasing lock...
[2025-03-10 14:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:22:02] Production.INFO: ==28658== Lock acquired, processing the job...
[2025-03-10 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:22:02] Production.INFO: ==28658== Releasing lock...
[2025-03-10 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:22:02] Production.INFO: ==28660== Lock acquired, processing the job...
[2025-03-10 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:22:02] Production.INFO: ==28660== Releasing lock...
[2025-03-10 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:22:03] Production.INFO: ==28668== Lock acquired, processing the job...
[2025-03-10 10:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:22:03] Production.INFO: ==28662== Lock acquired, processing the job...
[2025-03-10 10:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:22:03] Production.INFO: ==28672== Lock acquired, processing the job...
[2025-03-10 10:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:22:03] Production.INFO: ==28664== Lock acquired, processing the job...
[2025-03-10 10:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:22:03] Production.INFO: Account Balance Start.
[2025-03-10 10:22:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:22:03] Production.INFO: 117
[2025-03-10 10:22:03] Production.INFO: ==28666== Lock acquired, processing the job...
[2025-03-10 10:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:22:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:22:03] Production.INFO: ==28670== Lock acquired, processing the job...
[2025-03-10 10: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-03-10 10:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:22:03] Production.INFO: count ==13
[2025-03-10 10:22:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 10:22:04] Production.INFO: count ==21
[2025-03-10 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648873') start
[2025-03-10 10:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:22:04] Production.INFO: Total Charge 0
[2025-03-10 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648873') end
[2025-03-10 10:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:22:04] Production.INFO: 1
[2025-03-10 10:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:22:04] Production.INFO: CreateAllLog End
[2025-03-10 10:22:04] Production.INFO: ==28672== Releasing lock...
[2025-03-10 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:22:04] Production.ERROR: done
[2025-03-10 10:22:04] Production.INFO: ==28664== Releasing lock...
[2025-03-10 10:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:22:04] Production.INFO: Account Balance End.
[2025-03-10 10:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:22:04] Production.INFO: ==28668== Releasing lock...
[2025-03-10 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:22:04] Production.ERROR: done
[2025-03-10 10:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:22:05
[end_date_ymd] => 2025-03-10 10:22:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:22:05' and `end` < '2025-03-10 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-03-10 10:22:13] Production.ERROR: CronJobId end10
[2025-03-10 10:22:13] Production.INFO: ==28666== Releasing lock...
[2025-03-10 10:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:22:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:22:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:22:16] Production.INFO: call_cost start
[2025-03-10 10:22:16] Production.INFO: call_cost end
[2025-03-10 10:22:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:22:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:22:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:22:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:22:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:22:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:22:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:22:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:22:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:22:17] Production.INFO: ==28662== Releasing lock...
[2025-03-10 10:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:22:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:22:18] Production.INFO: count ==3140
[2025-03-10 10:22:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:22:05 - End Time 2025-03-10 10:22:05
[2025-03-10 10:22:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648875', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648875', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648875', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648875', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:22:20] Production.INFO: ProcessCDR(1,14648875,1,1,2)
[2025-03-10 10:22:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:22:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648875', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648875', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:22:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:22:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:22:25] Production.INFO: ==28670== Releasing lock...
[2025-03-10 10:22:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:22:25] Production.INFO: 52 MB #Memory Used#
[2025-03-10 14:23:02] Production.INFO: ==28726== Lock acquired, processing the job...
[2025-03-10 14:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:23:02] Production.INFO: neon service started
[2025-03-10 14:23:02] Production.INFO: neon service started
[2025-03-10 14:23:02] Production.INFO: ==28726== Releasing lock...
[2025-03-10 14:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:23:03] Production.INFO: ==28728== Lock acquired, processing the job...
[2025-03-10 10:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:23:03] Production.INFO: ==28730== Lock acquired, processing the job...
[2025-03-10 14:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:23:03] Production.INFO: ==28730== Releasing lock...
[2025-03-10 14:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:23:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:23:03] Production.INFO: ==28728== Releasing lock...
[2025-03-10 10:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:23:04] Production.INFO: ==28741== Lock acquired, processing the job...
[2025-03-10 10:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:23:04] Production.INFO: ==28733== Lock acquired, processing the job...
[2025-03-10 10:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:23:04] Production.INFO: ==28735== Lock acquired, processing the job...
[2025-03-10 10:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:23:04] Production.INFO: ==28737== Lock acquired, processing the job...
[2025-03-10 10:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:23:04] Production.INFO: ==28739== Lock acquired, processing the job...
[2025-03-10 10:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:23:04] Production.INFO: ==28744== Lock acquired, processing the job...
[2025-03-10 10:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:23:04] Production.ERROR: done
[2025-03-10 10:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:23:04] Production.INFO: Account Balance Start.
[2025-03-10 10:23:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:23:04] Production.INFO: 117
[2025-03-10 10:23:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:23: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-03-10 10:23:05] Production.INFO: count ==13
[2025-03-10 10:23: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-03-10 10:23:05] Production.INFO: count ==21
[2025-03-10 10:23:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648879') start
[2025-03-10 10:23:05] Production.INFO: Date 2025-03-09
[2025-03-10 10:23:05] Production.INFO: Reseller ==> 0
[2025-03-10 10:23:05] Production.ERROR: done
[2025-03-10 10:23:05] Production.INFO: Date 2025-03-10
[2025-03-10 10:23:05] Production.INFO: Reseller ==> 0
[2025-03-10 10:23:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648879') end
[2025-03-10 10:23:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:23:05] Production.INFO: 1
[2025-03-10 10:23:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:23:05] Production.INFO: Total Charge 0
[2025-03-10 10:23:05] Production.INFO: ==28744== Releasing lock...
[2025-03-10 10:23:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:23:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:23:05] Production.INFO: CreateAllLog End
[2025-03-10 10:23:05] Production.INFO: ==28735== Releasing lock...
[2025-03-10 10:23:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:23:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:23:05] Production.INFO: Account Balance End.
[2025-03-10 10:23:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:23:05] Production.INFO: ==28739== Releasing lock...
[2025-03-10 10:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:23:06
[end_date_ymd] => 2025-03-10 10:23:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:23:06' and `end` < '2025-03-10 10: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-03-10 10:23:13] Production.ERROR: CronJobId end10
[2025-03-10 10:23:13] Production.INFO: ==28737== Releasing lock...
[2025-03-10 10:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:23:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:23:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:23:15] Production.INFO: call_cost start
[2025-03-10 10:23:15] Production.INFO: call_cost end
[2025-03-10 10:23:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:23:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:23:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:23:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:23:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:23:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:23:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:23:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:23:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:23:17] Production.INFO: ==28733== Releasing lock...
[2025-03-10 10:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:23:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:23:18] Production.INFO: count ==3155
[2025-03-10 10:23:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:23:06 - End Time 2025-03-10 10:23:06
[2025-03-10 10:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648880', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648880', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648880', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648880', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:23:20] Production.INFO: ProcessCDR(1,14648880,1,1,2)
[2025-03-10 10:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:23:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:23:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:23:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648880', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648880', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:23:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:23:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:23:26] Production.INFO: ==28741== Releasing lock...
[2025-03-10 10:23:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:23:26] Production.INFO: 52 MB #Memory Used#
[2025-03-10 14:24:01] Production.INFO: ==28797== Lock acquired, processing the job...
[2025-03-10 14:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:24:01] Production.INFO: neon service started
[2025-03-10 14:24:01] Production.INFO: neon service started
[2025-03-10 14:24:01] Production.INFO: ==28797== Releasing lock...
[2025-03-10 14:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:24:02] Production.INFO: ==28799== Lock acquired, processing the job...
[2025-03-10 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:24:02] Production.INFO: ==28799== Releasing lock...
[2025-03-10 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:24:02] Production.INFO: ==28801== Lock acquired, processing the job...
[2025-03-10 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:24:02] Production.INFO: ==28801== Releasing lock...
[2025-03-10 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:24:03] Production.INFO: ==28804== Lock acquired, processing the job...
[2025-03-10 10:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:24:03] Production.INFO: ==28810== Lock acquired, processing the job...
[2025-03-10 10:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:24:03] Production.INFO: ==28806== Lock acquired, processing the job...
[2025-03-10 10:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:24:03] Production.INFO: Account Balance Start.
[2025-03-10 10:24:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:24:03] Production.INFO: 117
[2025-03-10 10:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:24:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:24:04] Production.INFO: ==28808== Lock acquired, processing the job...
[2025-03-10 10:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:24:04] Production.INFO: Total Charge 0
[2025-03-10 10:24:04] Production.INFO: CreateAllLog End
[2025-03-10 10:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:24:04] Production.INFO: ==28812== Lock acquired, processing the job...
[2025-03-10 10:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:24:04] Production.INFO: ==28806== Releasing lock...
[2025-03-10 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:24:04] Production.INFO: Account Balance End.
[2025-03-10 10:24:04] Production.INFO: ==28814== Lock acquired, processing the job...
[2025-03-10 10:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:24:04] Production.INFO: ==28810== Releasing lock...
[2025-03-10 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 10:24:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:24:04] Production.INFO: count ==21
[2025-03-10 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648884') start
[2025-03-10 10:24:04] Production.ERROR: done
[2025-03-10 10:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648884') end
[2025-03-10 10:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:24:04] Production.INFO: 1
[2025-03-10 10:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:24:05] Production.INFO: ==28814== Releasing lock...
[2025-03-10 10:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:24:05] Production.ERROR: done
[2025-03-10 10:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:24:06
[end_date_ymd] => 2025-03-10 10:24:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:24:06' and `end` < '2025-03-10 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-03-10 10:24:12] Production.ERROR: CronJobId end10
[2025-03-10 10:24:12] Production.INFO: ==28808== Releasing lock...
[2025-03-10 10:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:24:15] Production.INFO: call_cost start
[2025-03-10 10:24:15] Production.INFO: call_cost end
[2025-03-10 10:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:24:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:24:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:24:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:24:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:24:16] Production.INFO: ==28804== Releasing lock...
[2025-03-10 10:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:24:19] Production.INFO: count ==3160
[2025-03-10 10:24:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:24:06 - End Time 2025-03-10 10:24:06
[2025-03-10 10:24:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648885', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648885', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648885', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648885', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:24:20] Production.INFO: ProcessCDR(1,14648885,1,1,2)
[2025-03-10 10:24:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:24:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:24:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:24:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648885', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648885', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:24:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:24:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:24:26] Production.INFO: ==28812== Releasing lock...
[2025-03-10 10:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:24:26] Production.INFO: 51.5 MB #Memory Used#
[2025-03-10 14:25:01] Production.INFO: ==28868== Lock acquired, processing the job...
[2025-03-10 14:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:25:01] Production.INFO: neon service started
[2025-03-10 14:25:01] Production.INFO: neon service started
[2025-03-10 14:25:01] Production.INFO: ==28868== Releasing lock...
[2025-03-10 14:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:25:01] Production.INFO: ==28870== Lock acquired, processing the job...
[2025-03-10 10:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:25:02] Production.INFO: ==28872== Lock acquired, processing the job...
[2025-03-10 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 10:25:02] Production.INFO: ==28870== Releasing lock...
[2025-03-10 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:25:02] Production.INFO: ==28872== Releasing lock...
[2025-03-10 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:25:03] Production.INFO: ==28876== Lock acquired, processing the job...
[2025-03-10 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:25:03] Production.INFO: ==28880== Lock acquired, processing the job...
[2025-03-10 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:25:03] Production.INFO: ==28874== Lock acquired, processing the job...
[2025-03-10 10:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:25:03] Production.INFO: Account Balance Start.
[2025-03-10 10:25:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:25:03] Production.INFO: 117
[2025-03-10 10:25:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:25:03] Production.INFO: ==28882== Lock acquired, processing the job...
[2025-03-10 10:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:25:03] Production.INFO: ==28878== Lock acquired, processing the job...
[2025-03-10 10:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:25:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:25:03] Production.INFO: Date 2025-03-10
[2025-03-10 10:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:25:03] Production.INFO: ==28876== Releasing lock...
[2025-03-10 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:25:03] Production.INFO: ==28884== Lock acquired, processing the job...
[2025-03-10 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:25:03] Production.INFO: Total Charge 0
[2025-03-10 10:25:03] Production.INFO: CreateAllLog End
[2025-03-10 10:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 10:25:03] Production.INFO: count ==13
[2025-03-10 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-03-10 10:25:03] Production.INFO: count ==21
[2025-03-10 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648889') start
[2025-03-10 10:25:03] Production.ERROR: done
[2025-03-10 10:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:25:03] Production.INFO: Account Balance End.
[2025-03-10 10:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648889') end
[2025-03-10 10:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:25:04] Production.INFO: 1
[2025-03-10 10:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:25:04] Production.INFO: ==28880== Releasing lock...
[2025-03-10 10:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:25:04] Production.INFO: ==28884== Releasing lock...
[2025-03-10 10:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:25:04] Production.ERROR: done
[2025-03-10 10:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:25:05
[end_date_ymd] => 2025-03-10 10:25:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:25:05' and `end` < '2025-03-10 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-03-10 10:25:11] Production.ERROR: CronJobId end10
[2025-03-10 10:25:11] Production.INFO: ==28878== Releasing lock...
[2025-03-10 10:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:25:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:25:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:25:15] Production.INFO: call_cost start
[2025-03-10 10:25:15] Production.INFO: call_cost end
[2025-03-10 10:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:25:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:25:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:25:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:25:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:25:16] Production.INFO: ==28874== Releasing lock...
[2025-03-10 10:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:25:18] Production.INFO: count ==3166
[2025-03-10 10:25:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:25:05 - End Time 2025-03-10 10:25:05
[2025-03-10 10:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648890', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648890', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648890', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648890', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:25:19] Production.INFO: ProcessCDR(1,14648890,1,1,2)
[2025-03-10 10:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:25:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:25:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:25:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648890', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:25:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648890', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:25:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:25:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:25:25] Production.INFO: ==28882== Releasing lock...
[2025-03-10 10:25:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:25:25] Production.INFO: 51.5 MB #Memory Used#
[2025-03-10 14:26:01] Production.INFO: ==28939== Lock acquired, processing the job...
[2025-03-10 14:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:26:01] Production.INFO: neon service started
[2025-03-10 14:26:01] Production.INFO: neon service started
[2025-03-10 14:26:01] Production.INFO: ==28939== Releasing lock...
[2025-03-10 14:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:26:02] Production.INFO: ==28941== Lock acquired, processing the job...
[2025-03-10 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:26:02] Production.INFO: ==28941== Releasing lock...
[2025-03-10 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:26:02] Production.INFO: ==28943== Lock acquired, processing the job...
[2025-03-10 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:26:03] Production.INFO: ==28943== Releasing lock...
[2025-03-10 14:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:26:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:26:03] Production.INFO: ==28952== Lock acquired, processing the job...
[2025-03-10 10:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:26:03] Production.INFO: ==28954== Lock acquired, processing the job...
[2025-03-10 10:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:26:03] Production.INFO: ==28946== Lock acquired, processing the job...
[2025-03-10 10:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:26:03] Production.INFO: ==28948== Lock acquired, processing the job...
[2025-03-10 10:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:26:04] Production.INFO: ==28950== Lock acquired, processing the job...
[2025-03-10 10:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:26:04] Production.INFO: Account Balance Start.
[2025-03-10 10:26:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:26:04] Production.INFO: ==28956== Lock acquired, processing the job...
[2025-03-10 10:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:26:04] Production.INFO: 117
[2025-03-10 10:26:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:26:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:26:04] Production.INFO: Total Charge 0
[2025-03-10 10:26:04] Production.INFO: CreateAllLog End
[2025-03-10 10:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 10:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:26:04] Production.INFO: count ==13
[2025-03-10 10:26:04] Production.INFO: ==28948== Releasing lock...
[2025-03-10 10:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 10:26:04] Production.ERROR: done
[2025-03-10 10:26:04] Production.INFO: count ==21
[2025-03-10 10:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648894') start
[2025-03-10 10:26:04] Production.INFO: Account Balance End.
[2025-03-10 10:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:26:04] Production.INFO: ==28952== Releasing lock...
[2025-03-10 10:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:26:04] Production.ERROR: done
[2025-03-10 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648894') end
[2025-03-10 10:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:26:04] Production.INFO: 1
[2025-03-10 10:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:26:04] Production.INFO: ==28956== Releasing lock...
[2025-03-10 10:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:26:05
[end_date_ymd] => 2025-03-10 10:26:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:26:05' and `end` < '2025-03-10 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-03-10 10:26:14] Production.ERROR: CronJobId end10
[2025-03-10 10:26:14] Production.INFO: ==28950== Releasing lock...
[2025-03-10 10:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:26:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:26:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:26:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:26:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:26:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:26:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:26:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:26:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:26:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:26:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:26:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:26:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:26:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:26:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:26:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:26:16] Production.INFO: call_cost start
[2025-03-10 10:26:16] Production.INFO: call_cost end
[2025-03-10 10:26:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:26:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:26:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:26:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:26:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:26:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:26:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:26:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:26:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:26:18] Production.INFO: ==28946== Releasing lock...
[2025-03-10 10:26:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:26:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:26:18] Production.INFO: count ==3179
[2025-03-10 10:26:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:26:05 - End Time 2025-03-10 10:26:05
[2025-03-10 10:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648895', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648895', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648895', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648895', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:26:20] Production.INFO: ProcessCDR(1,14648895,1,1,2)
[2025-03-10 10:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:26:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648895', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648895', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:26:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:26:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:26:25] Production.INFO: ==28954== Releasing lock...
[2025-03-10 10:26:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:26:25] Production.INFO: 52.25 MB #Memory Used#
[2025-03-10 14:27:01] Production.INFO: ==29049== Lock acquired, processing the job...
[2025-03-10 14:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:27:01] Production.INFO: neon service started
[2025-03-10 14:27:01] Production.INFO: neon service started
[2025-03-10 14:27:01] Production.INFO: ==29049== Releasing lock...
[2025-03-10 14:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:27:01] Production.INFO: ==29051== Lock acquired, processing the job...
[2025-03-10 10:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:27:02] Production.INFO: ==29051== Releasing lock...
[2025-03-10 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:27:02] Production.INFO: ==29053== Lock acquired, processing the job...
[2025-03-10 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:27:02] Production.INFO: ==29053== Releasing lock...
[2025-03-10 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:27:03] Production.INFO: ==29062== Lock acquired, processing the job...
[2025-03-10 10:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:27:03] Production.INFO: ==29066== Lock acquired, processing the job...
[2025-03-10 10:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:27:03] Production.INFO: Account Balance Start.
[2025-03-10 10:27:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:27:03] Production.INFO: 117
[2025-03-10 10:27:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 10: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-03-10 10:27:03] Production.INFO: ==29056== Lock acquired, processing the job...
[2025-03-10 10:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:27:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:27:03] Production.INFO: count ==13
[2025-03-10 10: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-03-10 10:27:03] Production.INFO: count ==21
[2025-03-10 10:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648897') start
[2025-03-10 10:27:03] Production.INFO: ==29058== Lock acquired, processing the job...
[2025-03-10 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:27:03] Production.INFO: Date 2025-03-10
[2025-03-10 10:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:27:03] Production.INFO: ==29060== Lock acquired, processing the job...
[2025-03-10 10:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:27:03] Production.INFO: Total Charge 0
[2025-03-10 10:27:03] Production.INFO: ==29064== Lock acquired, processing the job...
[2025-03-10 10:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:27:03] Production.INFO: CreateAllLog End
[2025-03-10 10:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648897') end
[2025-03-10 10:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:27:03] Production.INFO: 1
[2025-03-10 10:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:27:03] Production.INFO: ==29066== Releasing lock...
[2025-03-10 10:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:27:03] Production.INFO: Account Balance End.
[2025-03-10 10:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:27:04] Production.INFO: ==29062== Releasing lock...
[2025-03-10 10:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:27:04] Production.INFO: ==29058== Releasing lock...
[2025-03-10 10:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:27:04] Production.ERROR: done
[2025-03-10 10:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:27:04] Production.ERROR: done
[2025-03-10 10:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:27:05
[end_date_ymd] => 2025-03-10 10:27:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:27:05' and `end` < '2025-03-10 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-03-10 10:27:12] Production.ERROR: CronJobId end10
[2025-03-10 10:27:12] Production.INFO: ==29060== Releasing lock...
[2025-03-10 10:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:27:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:27:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:27:15] Production.INFO: call_cost start
[2025-03-10 10:27:15] Production.INFO: call_cost end
[2025-03-10 10:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:27:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:27:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:27:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:27:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:27:16] Production.INFO: ==29056== Releasing lock...
[2025-03-10 10:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:27:17] Production.INFO: count ==3200
[2025-03-10 10:27:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:27:05 - End Time 2025-03-10 10:27:05
[2025-03-10 10:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648900', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648900', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648900', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648900', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:27:19] Production.INFO: ProcessCDR(1,14648900,1,1,2)
[2025-03-10 10:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:27:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:27:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648900', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648900', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:27:24] Production.INFO: ==29064== Releasing lock...
[2025-03-10 10:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:27:24] Production.INFO: 51.75 MB #Memory Used#
[2025-03-10 14:28:01] Production.INFO: ==29121== Lock acquired, processing the job...
[2025-03-10 14:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:28:01] Production.INFO: neon service started
[2025-03-10 14:28:01] Production.INFO: neon service started
[2025-03-10 14:28:01] Production.INFO: ==29121== Releasing lock...
[2025-03-10 14:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:28:02] Production.INFO: ==29125== Lock acquired, processing the job...
[2025-03-10 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:28:02] Production.INFO: ==29125== Releasing lock...
[2025-03-10 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:28:02] Production.INFO: ==29123== Lock acquired, processing the job...
[2025-03-10 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:28:02] Production.INFO: ==29123== Releasing lock...
[2025-03-10 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:28:03] Production.INFO: ==29132== Lock acquired, processing the job...
[2025-03-10 10:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:28:03] Production.INFO: ==29136== Lock acquired, processing the job...
[2025-03-10 10:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:28:04] Production.INFO: ==29128== Lock acquired, processing the job...
[2025-03-10 10:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:28:04] Production.INFO: ==29130== Lock acquired, processing the job...
[2025-03-10 10:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:28:04] Production.INFO: ==29134== Lock acquired, processing the job...
[2025-03-10 10:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:28:04] Production.INFO: ==29138== Lock acquired, processing the job...
[2025-03-10 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:28:04] Production.INFO: Account Balance Start.
[2025-03-10 10:28:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:28:04] Production.INFO: 117
[2025-03-10 10:28:04] Production.ERROR: done
[2025-03-10 10:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:28:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 10:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:28:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:28:04] Production.INFO: count ==21
[2025-03-10 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648903') start
[2025-03-10 10:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:28:04] Production.INFO: Total Charge 0
[2025-03-10 10:28:04] Production.INFO: CreateAllLog End
[2025-03-10 10:28:04] Production.ERROR: done
[2025-03-10 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648903') end
[2025-03-10 10:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:28:04] Production.INFO: 1
[2025-03-10 10:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:28:04] Production.INFO: ==29130== Releasing lock...
[2025-03-10 10:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:28:04] Production.INFO: ==29138== Releasing lock...
[2025-03-10 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:28:05] Production.INFO: Account Balance End.
[2025-03-10 10:28:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:28:05] Production.INFO: ==29134== Releasing lock...
[2025-03-10 10:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:28:05
[end_date_ymd] => 2025-03-10 10:28:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:28:05' and `end` < '2025-03-10 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-03-10 10:28:12] Production.ERROR: CronJobId end10
[2025-03-10 10:28:12] Production.INFO: ==29132== Releasing lock...
[2025-03-10 10:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:28:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:28:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:28:15] Production.INFO: call_cost start
[2025-03-10 10:28:15] Production.INFO: call_cost end
[2025-03-10 10:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:28:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:28:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:28:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:28:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:28:16] Production.INFO: ==29128== Releasing lock...
[2025-03-10 10:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:28:18] Production.INFO: count ==3224
[2025-03-10 10:28:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:28:05 - End Time 2025-03-10 10:28:05
[2025-03-10 10:28:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648905', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648905', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648905', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648905', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:28:20] Production.INFO: ProcessCDR(1,14648905,1,1,2)
[2025-03-10 10:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648905', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648905', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:28:23] Production.INFO: ==29136== Releasing lock...
[2025-03-10 10:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:28:23] Production.INFO: 52 MB #Memory Used#
[2025-03-10 14:29:01] Production.INFO: ==29192== Lock acquired, processing the job...
[2025-03-10 14:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:29:01] Production.INFO: neon service started
[2025-03-10 14:29:01] Production.INFO: neon service started
[2025-03-10 14:29:01] Production.INFO: ==29192== Releasing lock...
[2025-03-10 14:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:29:01] Production.INFO: ==29194== Lock acquired, processing the job...
[2025-03-10 10:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:29:02] Production.INFO: ==29194== Releasing lock...
[2025-03-10 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:29:02] Production.INFO: ==29196== Lock acquired, processing the job...
[2025-03-10 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:29:02] Production.INFO: ==29196== Releasing lock...
[2025-03-10 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:29:03] Production.INFO: ==29198== Lock acquired, processing the job...
[2025-03-10 10:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:29:03] Production.INFO: ==29200== Lock acquired, processing the job...
[2025-03-10 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:29:03] Production.INFO: ==29202== Lock acquired, processing the job...
[2025-03-10 10:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:29:03] Production.INFO: ==29208== Lock acquired, processing the job...
[2025-03-10 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:29:03] Production.INFO: ==29204== Lock acquired, processing the job...
[2025-03-10 10:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 10:29:03] Production.INFO: count ==13
[2025-03-10 10:29:03] Production.INFO: ==29206== Lock acquired, processing the job...
[2025-03-10 10:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 10:29:03] Production.INFO: Account Balance Start.
[2025-03-10 10:29:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:29:03] Production.INFO: count ==21
[2025-03-10 10:29:03] Production.INFO: 117
[2025-03-10 10:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648908') start
[2025-03-10 10:29:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:29:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:29:03] Production.INFO: ==29200== Releasing lock...
[2025-03-10 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648908') end
[2025-03-10 10:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:29:03] Production.INFO: 1
[2025-03-10 10:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:29:03] Production.INFO: Date 2025-03-10
[2025-03-10 10:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:29:03] Production.INFO: ==29208== Releasing lock...
[2025-03-10 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:29:03] Production.INFO: Total Charge 0
[2025-03-10 10:29:04] Production.INFO: CreateAllLog End
[2025-03-10 10:29:04] Production.ERROR: done
[2025-03-10 10:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:29:04] Production.ERROR: done
[2025-03-10 10:29:04] Production.INFO: Account Balance End.
[2025-03-10 10:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:29:04] Production.INFO: ==29204== Releasing lock...
[2025-03-10 10:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:29:05
[end_date_ymd] => 2025-03-10 10:29:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:29:05' and `end` < '2025-03-10 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-03-10 10:29:12] Production.ERROR: CronJobId end10
[2025-03-10 10:29:12] Production.INFO: ==29202== Releasing lock...
[2025-03-10 10:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:29:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:29:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:29:14] Production.INFO: call_cost start
[2025-03-10 10:29:14] Production.INFO: call_cost end
[2025-03-10 10:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:29:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:29:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:29:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:29:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:29:15] Production.INFO: ==29198== Releasing lock...
[2025-03-10 10:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:29:18] Production.INFO: count ==3245
[2025-03-10 10:29:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:29:05 - End Time 2025-03-10 10:29:05
[2025-03-10 10:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648910', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648910', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648910', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648910', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:29:20] Production.INFO: ProcessCDR(1,14648910,1,1,2)
[2025-03-10 10:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:29:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648910', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648910', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:29:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:29:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:29:25] Production.INFO: ==29206== Releasing lock...
[2025-03-10 10:29:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:29:25] Production.INFO: 52.75 MB #Memory Used#
[2025-03-10 14:30:01] Production.INFO: ==29264== Lock acquired, processing the job...
[2025-03-10 14:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:30:01] Production.INFO: neon service started
[2025-03-10 14:30:01] Production.INFO: neon service started
[2025-03-10 14:30:01] Production.INFO: ==29264== Releasing lock...
[2025-03-10 14:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:30:02] Production.INFO: ==29266== Lock acquired, processing the job...
[2025-03-10 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:30:02] Production.INFO: ==29266== Releasing lock...
[2025-03-10 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:30:02] Production.INFO: ==29268== Lock acquired, processing the job...
[2025-03-10 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:30:03] Production.INFO: ==29268== Releasing lock...
[2025-03-10 14:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:30:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:30:04] Production.INFO: ==29274== Lock acquired, processing the job...
[2025-03-10 10:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:30:04] Production.INFO: ==29278== Lock acquired, processing the job...
[2025-03-10 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:30:04] Production.INFO: ==29270== Lock acquired, processing the job...
[2025-03-10 10:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 10:30:04] Production.INFO: ==29282== Lock acquired, processing the job...
[2025-03-10 10:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 10:30:04] Production.INFO: ==29272== Lock acquired, processing the job...
[2025-03-10 10:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 10:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:30:04] Production.ERROR: CronJob PID - 29274
[2025-03-10 10:30:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 10:30:04] Production.ERROR: CronJob ID - 7
[2025-03-10 10:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:30:00
[2025-03-10 10:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:30:04] Production.ERROR: CronJob PID - 29278
[2025-03-10 10:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 10:30:04] Production.ERROR: CronJob ID - 12
[2025-03-10 10:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:30:00
[2025-03-10 10:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 10:30:04] Production.INFO: ==29270== Releasing lock...
[2025-03-10 10:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 10:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 10:30:04] Production.INFO: Account Balance Start.
[2025-03-10 10:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:30:04] Production.INFO: 117
[2025-03-10 10:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:30:04] Production.INFO: ==29276== Lock acquired, processing the job...
[2025-03-10 10:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:30:04] Production.INFO: ==29280== Lock acquired, processing the job...
[2025-03-10 10:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:30:04] Production.INFO: Total Charge 0
[2025-03-10 10:30:04] Production.INFO: ==29285== Lock acquired, processing the job...
[2025-03-10 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:30:04] Production.INFO: CreateAllLog End
[2025-03-10 10:30:04] Production.INFO: ==29274== Releasing lock...
[2025-03-10 10:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:30:04] Production.ERROR: done
[2025-03-10 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-03-10 10:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 10:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648915', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 10:30:04] Production.INFO: count ==13
[2025-03-10 10:30:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 10:30:04] Production.INFO: count ==21
[2025-03-10 10:30:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:30:04] Production.INFO: ==29278== Releasing lock...
[2025-03-10 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648914') start
[2025-03-10 10:30:04] Production.ERROR: done
[2025-03-10 10:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648914') end
[2025-03-10 10:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:30:05] Production.INFO: 1
[2025-03-10 10:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:30:05] Production.INFO: ==29285== Releasing lock...
[2025-03-10 10:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:30:05] Production.ERROR: done
[2025-03-10 10:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:30:06
[end_date_ymd] => 2025-03-10 10:30:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:30:06' and `end` < '2025-03-10 10: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-03-10 10:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648915', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 10:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 10:30:09] Production.INFO: ProcessCDR(1,14648915,1,1,2)
[2025-03-10 10:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648915,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648915,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:30:10] Production.INFO: ==29282== Releasing lock...
[2025-03-10 10:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 10:30:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 10:30:14] Production.ERROR: CronJobId end10
[2025-03-10 10:30:14] Production.INFO: ==29276== Releasing lock...
[2025-03-10 10:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:30:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:30:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:30:17] Production.INFO: call_cost start
[2025-03-10 10:30:17] Production.INFO: call_cost end
[2025-03-10 10:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:30:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:30:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:30:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:30:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:30:18] Production.INFO: ==29272== Releasing lock...
[2025-03-10 10:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:30:19] Production.INFO: count ==3256
[2025-03-10 10:30:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:30:06 - End Time 2025-03-10 10:30:06
[2025-03-10 10:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648916', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648916', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648916', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648916', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:30:20] Production.INFO: ProcessCDR(1,14648916,1,1,2)
[2025-03-10 10:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:30:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:30:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:30:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:30:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648916', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648916', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:30:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:30:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:30:26] Production.INFO: ==29280== Releasing lock...
[2025-03-10 10:30:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:30:26] Production.INFO: 52.25 MB #Memory Used#
[2025-03-10 14:31:01] Production.INFO: ==29340== Lock acquired, processing the job...
[2025-03-10 14:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:31:01] Production.INFO: neon service started
[2025-03-10 14:31:01] Production.INFO: neon service started
[2025-03-10 14:31:01] Production.INFO: ==29340== Releasing lock...
[2025-03-10 14:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:31:02] Production.INFO: ==29342== Lock acquired, processing the job...
[2025-03-10 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:31:02] Production.INFO: ==29344== Lock acquired, processing the job...
[2025-03-10 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:31:02] Production.INFO: ==29344== Releasing lock...
[2025-03-10 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:31:02] Production.INFO: ==29342== Releasing lock...
[2025-03-10 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:31:03] Production.INFO: ==29349== Lock acquired, processing the job...
[2025-03-10 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:31:03] Production.INFO: ==29347== Lock acquired, processing the job...
[2025-03-10 10:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:31:03] Production.INFO: ==29353== Lock acquired, processing the job...
[2025-03-10 10:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:31:03] Production.INFO: Account Balance Start.
[2025-03-10 10:31:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:31:03] Production.INFO: 117
[2025-03-10 10:31:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:31:03] Production.INFO: ==29351== Lock acquired, processing the job...
[2025-03-10 10:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:31:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:31:03] Production.INFO: Date 2025-03-10
[2025-03-10 10:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:31:03] Production.INFO: ==29355== Lock acquired, processing the job...
[2025-03-10 10:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:31:03] Production.INFO: Total Charge 0
[2025-03-10 10:31:03] Production.INFO: CreateAllLog End
[2025-03-10 10:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:31:04] Production.INFO: ==29349== Releasing lock...
[2025-03-10 10:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:31:04] Production.INFO: ==29357== Lock acquired, processing the job...
[2025-03-10 10:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10: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-03-10 10:31:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:31:04] Production.INFO: count ==21
[2025-03-10 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648920') start
[2025-03-10 10:31:04] Production.ERROR: done
[2025-03-10 10:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648920') end
[2025-03-10 10:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:31:04] Production.INFO: 1
[2025-03-10 10:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:31:04] Production.ERROR: done
[2025-03-10 10:31:04] Production.INFO: ==29357== Releasing lock...
[2025-03-10 10:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:31:04] Production.INFO: Account Balance End.
[2025-03-10 10:31:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:31:04] Production.INFO: ==29353== Releasing lock...
[2025-03-10 10:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:31:05
[end_date_ymd] => 2025-03-10 10:31:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:31:05' and `end` < '2025-03-10 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-03-10 10:31:13] Production.ERROR: CronJobId end10
[2025-03-10 10:31:13] Production.INFO: ==29351== Releasing lock...
[2025-03-10 10:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:31:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:31:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:31:15] Production.INFO: call_cost start
[2025-03-10 10:31:15] Production.INFO: call_cost end
[2025-03-10 10:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:31:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:31:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:31:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:31:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:31:16] Production.INFO: ==29347== Releasing lock...
[2025-03-10 10:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:31:18] Production.INFO: count ==3376
[2025-03-10 10:31:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:31:05 - End Time 2025-03-10 10:31:05
[2025-03-10 10:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648921', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648921', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648921', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648921', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:31:19] Production.INFO: ProcessCDR(1,14648921,1,1,2)
[2025-03-10 10:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:31:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:31:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648921', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648921', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:31:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:31:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:31:25] Production.INFO: ==29355== Releasing lock...
[2025-03-10 10:31:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:31:25] Production.INFO: 53.25 MB #Memory Used#
[2025-03-10 14:32:01] Production.INFO: ==29415== Lock acquired, processing the job...
[2025-03-10 14:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:32:01] Production.INFO: neon service started
[2025-03-10 14:32:01] Production.INFO: neon service started
[2025-03-10 14:32:01] Production.INFO: ==29415== Releasing lock...
[2025-03-10 14:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:32:02] Production.INFO: ==29417== Lock acquired, processing the job...
[2025-03-10 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:32:02] Production.INFO: ==29417== Releasing lock...
[2025-03-10 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:32:02] Production.INFO: ==29419== Lock acquired, processing the job...
[2025-03-10 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:32:03] Production.INFO: ==29419== Releasing lock...
[2025-03-10 14:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:32:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:32:03] Production.INFO: ==29426== Lock acquired, processing the job...
[2025-03-10 10:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:32:03] Production.INFO: ==29432== Lock acquired, processing the job...
[2025-03-10 10:32:03] Production.INFO: ==29421== Lock acquired, processing the job...
[2025-03-10 10:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:32:03] Production.INFO: ==29424== Lock acquired, processing the job...
[2025-03-10 10:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:32:03] Production.INFO: ==29428== Lock acquired, processing the job...
[2025-03-10 10:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 10:32:04] Production.INFO: ==29430== Lock acquired, processing the job...
[2025-03-10 10:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:32:04] Production.INFO: count ==13
[2025-03-10 10:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 10:32:04] Production.INFO: count ==21
[2025-03-10 10:32:04] Production.INFO: Account Balance Start.
[2025-03-10 10:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:32:04] Production.INFO: 117
[2025-03-10 10:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648922') start
[2025-03-10 10:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648922') end
[2025-03-10 10:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:32:04] Production.INFO: 1
[2025-03-10 10:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:32:04] Production.INFO: Total Charge 0
[2025-03-10 10:32:04] Production.INFO: CreateAllLog End
[2025-03-10 10:32:04] Production.INFO: ==29432== Releasing lock...
[2025-03-10 10:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:32:04] Production.ERROR: done
[2025-03-10 10:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:32:04] Production.INFO: ==29424== Releasing lock...
[2025-03-10 10:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:32:04] Production.ERROR: done
[2025-03-10 10:32:04] Production.INFO: Account Balance End.
[2025-03-10 10:32:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:32:05] Production.INFO: ==29428== Releasing lock...
[2025-03-10 10:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:32:06
[end_date_ymd] => 2025-03-10 10:32:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:32:06' and `end` < '2025-03-10 10: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-03-10 10:32:13] Production.ERROR: CronJobId end10
[2025-03-10 10:32:13] Production.INFO: ==29426== Releasing lock...
[2025-03-10 10:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:32:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:32:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:32:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:32:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:32:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:32:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:32:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:32:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:32:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:32:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:32:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:32:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:32:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:32:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:32:16] Production.INFO: call_cost start
[2025-03-10 10:32:16] Production.INFO: call_cost end
[2025-03-10 10:32:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:32:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:32:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:32:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:32:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:32:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:32:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:32:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:32:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:32:17] Production.INFO: ==29421== Releasing lock...
[2025-03-10 10:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:32:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:32:18] Production.INFO: count ==3384
[2025-03-10 10:32:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:32:06 - End Time 2025-03-10 10:32:06
[2025-03-10 10:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648926', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648926', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648926', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648926', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:32:20] Production.INFO: ProcessCDR(1,14648926,1,1,2)
[2025-03-10 10:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:32:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:32:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:32:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648926', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648926', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:32:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:32:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:32:25] Production.INFO: ==29430== Releasing lock...
[2025-03-10 10:32:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:32:25] Production.INFO: 53.5 MB #Memory Used#
[2025-03-10 14:33:01] Production.INFO: ==29491== Lock acquired, processing the job...
[2025-03-10 14:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:33:01] Production.INFO: neon service started
[2025-03-10 14:33:01] Production.INFO: neon service started
[2025-03-10 14:33:01] Production.INFO: ==29491== Releasing lock...
[2025-03-10 14:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:33:01] Production.INFO: ==29493== Lock acquired, processing the job...
[2025-03-10 10:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:33:02] Production.INFO: ==29493== Releasing lock...
[2025-03-10 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:33:02] Production.INFO: ==29495== Lock acquired, processing the job...
[2025-03-10 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:33:02] Production.INFO: ==29495== Releasing lock...
[2025-03-10 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:33:03] Production.INFO: ==29504== Lock acquired, processing the job...
[2025-03-10 10:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:33:03] Production.INFO: Account Balance Start.
[2025-03-10 10:33:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:33:03] Production.INFO: 117
[2025-03-10 10:33:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:33:03] Production.INFO: ==29508== Lock acquired, processing the job...
[2025-03-10 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:33:03] Production.INFO: ==29500== Lock acquired, processing the job...
[2025-03-10 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:33:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:33:03] Production.INFO: ==29498== Lock acquired, processing the job...
[2025-03-10 10:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:33:03] Production.INFO: ==29502== Lock acquired, processing the job...
[2025-03-10 10:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:33:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:33:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 10:33:03] Production.INFO: ==29506== Lock acquired, processing the job...
[2025-03-10 10:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:33:03] Production.INFO: count ==13
[2025-03-10 10:33:03] Production.INFO: Date 2025-03-10
[2025-03-10 10:33:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 10:33:03] Production.INFO: count ==21
[2025-03-10 10:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648928') start
[2025-03-10 10:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:33:03] Production.INFO: Total Charge 0
[2025-03-10 10:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:33:03] Production.INFO: CreateAllLog End
[2025-03-10 10:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648928') end
[2025-03-10 10:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:33:03] Production.INFO: 1
[2025-03-10 10:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:33:03] Production.INFO: ==29508== Releasing lock...
[2025-03-10 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:33:03] Production.INFO: ==29500== Releasing lock...
[2025-03-10 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:33:04] Production.ERROR: done
[2025-03-10 10:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:33:04] Production.INFO: Account Balance End.
[2025-03-10 10:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:33:04] Production.INFO: ==29504== Releasing lock...
[2025-03-10 10:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:33:04] Production.ERROR: done
[2025-03-10 10:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:33:05
[end_date_ymd] => 2025-03-10 10:33:05
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:33:05' and `end` < '2025-03-10 10: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-03-10 10:33:13] Production.ERROR: CronJobId end10
[2025-03-10 10:33:13] Production.INFO: ==29502== Releasing lock...
[2025-03-10 10:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:33:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:33:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:33:15] Production.INFO: call_cost start
[2025-03-10 10:33:15] Production.INFO: call_cost end
[2025-03-10 10:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:33:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:33:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:33:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:33:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:33:17] Production.INFO: ==29498== Releasing lock...
[2025-03-10 10:33:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:33:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:33:18] Production.INFO: count ==3396
[2025-03-10 10:33:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:33:05 - End Time 2025-03-10 10:33:05
[2025-03-10 10:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648931', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648931', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648931', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648931', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:33:20] Production.INFO: ProcessCDR(1,14648931,1,1,2)
[2025-03-10 10:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:33:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:33:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:33:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648931', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648931', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:33:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:33:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:33:26] Production.INFO: ==29506== Releasing lock...
[2025-03-10 10:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:33:26] Production.INFO: 53.25 MB #Memory Used#
[2025-03-10 14:34:01] Production.INFO: ==29591== Lock acquired, processing the job...
[2025-03-10 14:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:34:01] Production.INFO: neon service started
[2025-03-10 14:34:01] Production.INFO: neon service started
[2025-03-10 14:34:01] Production.INFO: ==29591== Releasing lock...
[2025-03-10 14:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:34:02] Production.INFO: ==29593== Lock acquired, processing the job...
[2025-03-10 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:34:02] Production.INFO: ==29595== Lock acquired, processing the job...
[2025-03-10 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:34:02] Production.INFO: ==29595== Releasing lock...
[2025-03-10 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:34:03] Production.INFO: ==29593== Releasing lock...
[2025-03-10 10:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:34:03] Production.INFO: ==29598== Lock acquired, processing the job...
[2025-03-10 10:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:34:04] Production.INFO: ==29602== Lock acquired, processing the job...
[2025-03-10 10:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:34:04] Production.INFO: ==29606== Lock acquired, processing the job...
[2025-03-10 10:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:34:04] Production.INFO: ==29600== Lock acquired, processing the job...
[2025-03-10 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:34:04] Production.INFO: ==29604== Lock acquired, processing the job...
[2025-03-10 10:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:34:04] Production.INFO: ==29608== Lock acquired, processing the job...
[2025-03-10 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:34:04] Production.INFO: Account Balance Start.
[2025-03-10 10:34:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:34:04] Production.INFO: 117
[2025-03-10 10:34:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:34:04] Production.ERROR: done
[2025-03-10 10:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 10:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:34:04] Production.INFO: Total Charge 0
[2025-03-10 10:34:04] Production.INFO: CreateAllLog End
[2025-03-10 10:34:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:34:04] Production.INFO: count ==21
[2025-03-10 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648935') start
[2025-03-10 10:34:04] Production.ERROR: done
[2025-03-10 10:34:04] Production.INFO: ==29600== Releasing lock...
[2025-03-10 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648935') end
[2025-03-10 10:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:34:04] Production.INFO: 1
[2025-03-10 10:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:34:05] Production.INFO: ==29608== Releasing lock...
[2025-03-10 10:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:34:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:34:05] Production.INFO: Account Balance End.
[2025-03-10 10:34:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:34:05] Production.INFO: ==29604== Releasing lock...
[2025-03-10 10:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:34:06
[end_date_ymd] => 2025-03-10 10:34:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:34:06' and `end` < '2025-03-10 10: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-03-10 10:34:15] Production.ERROR: CronJobId end10
[2025-03-10 10:34:15] Production.INFO: ==29602== Releasing lock...
[2025-03-10 10:34:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:34:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:34:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:34:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:34:15] Production.INFO: call_cost start
[2025-03-10 10:34:15] Production.INFO: call_cost end
[2025-03-10 10:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:34:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:34:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:34:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:34:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:34:16] Production.INFO: ==29598== Releasing lock...
[2025-03-10 10:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:34:18] Production.INFO: count ==3417
[2025-03-10 10:34:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:34:06 - End Time 2025-03-10 10:34:06
[2025-03-10 10:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648936', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648936', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648936', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648936', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:34:20] Production.INFO: ProcessCDR(1,14648936,1,1,2)
[2025-03-10 10:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:34:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:34:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:34:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648936', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648936', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:34:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:34:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:34:26] Production.INFO: ==29606== Releasing lock...
[2025-03-10 10:34:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:34:26] Production.INFO: 53.5 MB #Memory Used#
[2025-03-10 14:35:01] Production.INFO: ==29687== Lock acquired, processing the job...
[2025-03-10 14:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:35:01] Production.INFO: neon service started
[2025-03-10 14:35:01] Production.INFO: neon service started
[2025-03-10 14:35:01] Production.INFO: ==29687== Releasing lock...
[2025-03-10 14:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:35:01] Production.INFO: ==29689== Lock acquired, processing the job...
[2025-03-10 10:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:35:02] Production.INFO: ==29689== Releasing lock...
[2025-03-10 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:35:02] Production.INFO: ==29691== Lock acquired, processing the job...
[2025-03-10 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:35:02] Production.INFO: ==29691== Releasing lock...
[2025-03-10 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:35:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:35:03] Production.INFO: ==29694== Lock acquired, processing the job...
[2025-03-10 10:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:35:03] Production.INFO: ==29696== Lock acquired, processing the job...
[2025-03-10 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:35:03] Production.INFO: ==29700== Lock acquired, processing the job...
[2025-03-10 10:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:35:03] Production.INFO: Account Balance Start.
[2025-03-10 10:35:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:35:03] Production.INFO: 117
[2025-03-10 10:35:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:35:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:35:03] Production.INFO: Date 2025-03-10
[2025-03-10 10:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:35:03] Production.INFO: ==29698== Lock acquired, processing the job...
[2025-03-10 10:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:35:03] Production.INFO: Total Charge 0
[2025-03-10 10:35:03] Production.INFO: CreateAllLog End
[2025-03-10 10:35:03] Production.INFO: ==29696== Releasing lock...
[2025-03-10 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:35:03] Production.INFO: ==29702== Lock acquired, processing the job...
[2025-03-10 10:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:35:03] Production.INFO: ==29704== Lock acquired, processing the job...
[2025-03-10 10:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:35:03] Production.INFO: Account Balance End.
[2025-03-10 10:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:35:03] Production.ERROR: CronJobId end 12
[2025-03-10 10:35:03] Production.INFO: ==29700== Releasing lock...
[2025-03-10 10:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 10:35:03] Production.INFO: count ==13
[2025-03-10 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-03-10 10:35:03] Production.INFO: count ==21
[2025-03-10 10:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14648940') start
[2025-03-10 10:35:03] Production.ERROR: done
[2025-03-10 10:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648940') end
[2025-03-10 10:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:35:04] Production.INFO: 1
[2025-03-10 10:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:35:04] Production.INFO: ==29704== Releasing lock...
[2025-03-10 10:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:35:04] Production.ERROR: done
[2025-03-10 10:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:35:05
[end_date_ymd] => 2025-03-10 10:35:05
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:35:05' and `end` < '2025-03-10 10: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-03-10 10:35:14] Production.ERROR: CronJobId end10
[2025-03-10 10:35:14] Production.INFO: ==29698== Releasing lock...
[2025-03-10 10:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:35:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:35:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:35:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:35:15] Production.INFO: call_cost start
[2025-03-10 10:35:15] Production.INFO: call_cost end
[2025-03-10 10:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:35:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:35:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:35:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:35:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:35:16] Production.INFO: ==29694== Releasing lock...
[2025-03-10 10:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:35:18] Production.INFO: count ==3434
[2025-03-10 10:35:19] Production.ERROR: pbx CDR StartTime 2025-03-10 07:35:05 - End Time 2025-03-10 10:35:05
[2025-03-10 10:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648941', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648941', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648941', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648941', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:35:19] Production.INFO: ProcessCDR(1,14648941,1,1,2)
[2025-03-10 10:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:35:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:35:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:35:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:35:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648941', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:35:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648941', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:35:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:35:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:35:25] Production.INFO: ==29702== Releasing lock...
[2025-03-10 10:35:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:35:25] Production.INFO: 53.5 MB #Memory Used#
[2025-03-10 14:36:01] Production.INFO: ==29788== Lock acquired, processing the job...
[2025-03-10 14:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:36:01] Production.INFO: neon service started
[2025-03-10 14:36:01] Production.INFO: neon service started
[2025-03-10 14:36:01] Production.INFO: ==29788== Releasing lock...
[2025-03-10 14:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:36:02] Production.INFO: ==29790== Lock acquired, processing the job...
[2025-03-10 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:36:02] Production.INFO: ==29790== Releasing lock...
[2025-03-10 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:36:02] Production.INFO: ==29792== Lock acquired, processing the job...
[2025-03-10 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:36:02] Production.INFO: ==29792== Releasing lock...
[2025-03-10 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:36:03] Production.INFO: ==29797== Lock acquired, processing the job...
[2025-03-10 10:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:36:03] Production.INFO: ==29803== Lock acquired, processing the job...
[2025-03-10 10:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:36:03] Production.INFO: ==29794== Lock acquired, processing the job...
[2025-03-10 10:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:36:04] Production.INFO: ==29799== Lock acquired, processing the job...
[2025-03-10 10:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:36:04] Production.INFO: ==29797== Releasing lock...
[2025-03-10 10:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:36:04] Production.INFO: ==29801== Lock acquired, processing the job...
[2025-03-10 10:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:36:04] Production.INFO: ==29805== Lock acquired, processing the job...
[2025-03-10 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:36:04] Production.ERROR: done
[2025-03-10 10:36:04] Production.INFO: Account Balance Start.
[2025-03-10 10:36:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:36:04] Production.INFO: 117
[2025-03-10 10:36:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 10:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:36:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:36:04] Production.INFO: count ==21
[2025-03-10 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648945') start
[2025-03-10 10:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:36:04] Production.ERROR: done
[2025-03-10 10:36:04] Production.INFO: Total Charge 0
[2025-03-10 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648945') end
[2025-03-10 10:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:36:04] Production.INFO: 1
[2025-03-10 10:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:36:04] Production.INFO: CreateAllLog End
[2025-03-10 10:36:04] Production.INFO: ==29805== Releasing lock...
[2025-03-10 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:36:04] Production.INFO: Account Balance End.
[2025-03-10 10:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:36:04] Production.INFO: ==29801== Releasing lock...
[2025-03-10 10:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:36:05
[end_date_ymd] => 2025-03-10 10:36:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:36:05' and `end` < '2025-03-10 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-03-10 10:36:12] Production.ERROR: CronJobId end10
[2025-03-10 10:36:13] Production.INFO: ==29799== Releasing lock...
[2025-03-10 10:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:36:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:36:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:36:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:36:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:36:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:36:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:36:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:36:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:36:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:36:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:36:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:36:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:36:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:36:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:36:16] Production.INFO: call_cost start
[2025-03-10 10:36:16] Production.INFO: call_cost end
[2025-03-10 10:36:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:36:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:36:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:36:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:36:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:36:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:36:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:36:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:36:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:36:17] Production.INFO: ==29794== Releasing lock...
[2025-03-10 10:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:36:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:36:18] Production.INFO: count ==3453
[2025-03-10 10:36:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:36:05 - End Time 2025-03-10 10:36:05
[2025-03-10 10:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648946', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648946', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648946', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648946', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:36:20] Production.INFO: ProcessCDR(1,14648946,1,1,2)
[2025-03-10 10:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648946', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648946', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:36:24] Production.INFO: ==29803== Releasing lock...
[2025-03-10 10:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:36:24] Production.INFO: 54.75 MB #Memory Used#
[2025-03-10 14:37:02] Production.INFO: ==29884== Lock acquired, processing the job...
[2025-03-10 14:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:37:02] Production.INFO: neon service started
[2025-03-10 14:37:02] Production.INFO: neon service started
[2025-03-10 14:37:02] Production.INFO: ==29884== Releasing lock...
[2025-03-10 14:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:37:02] Production.INFO: ==29886== Lock acquired, processing the job...
[2025-03-10 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:37:03] Production.INFO: ==29888== Lock acquired, processing the job...
[2025-03-10 14:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:37:03] Production.INFO: ==29888== Releasing lock...
[2025-03-10 14:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:37:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:37:03] Production.INFO: ==29886== Releasing lock...
[2025-03-10 10:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:37:04] Production.INFO: ==29893== Lock acquired, processing the job...
[2025-03-10 10:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:37:04] Production.INFO: ==29891== Lock acquired, processing the job...
[2025-03-10 10:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:37:04] Production.INFO: ==29901== Lock acquired, processing the job...
[2025-03-10 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:37:04] Production.INFO: ==29897== Lock acquired, processing the job...
[2025-03-10 10:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:37:04] Production.INFO: ==29895== Lock acquired, processing the job...
[2025-03-10 10:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 10:37:04] Production.INFO: Account Balance Start.
[2025-03-10 10:37:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:37:04] Production.INFO: 117
[2025-03-10 10:37:04] Production.INFO: count ==13
[2025-03-10 10:37:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 10:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:37:04] Production.INFO: count ==21
[2025-03-10 10:37:04] Production.INFO: ==29899== Lock acquired, processing the job...
[2025-03-10 10:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648949') start
[2025-03-10 10:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:37:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:37:04] Production.INFO: ==29893== Releasing lock...
[2025-03-10 10:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:37:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648949') end
[2025-03-10 10:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:37:04] Production.INFO: 1
[2025-03-10 10:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:37:04] Production.INFO: ==29901== Releasing lock...
[2025-03-10 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:37:04] Production.INFO: Total Charge 0
[2025-03-10 10:37:05] Production.INFO: CreateAllLog End
[2025-03-10 10:37:05] Production.ERROR: done
[2025-03-10 10:37:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:37:05] Production.ERROR: done
[2025-03-10 10:37:05] Production.INFO: Account Balance End.
[2025-03-10 10:37:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:37:05] Production.INFO: ==29897== Releasing lock...
[2025-03-10 10:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:37:06
[end_date_ymd] => 2025-03-10 10:37:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:37:06' and `end` < '2025-03-10 10: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-03-10 10:37:14] Production.ERROR: CronJobId end10
[2025-03-10 10:37:14] Production.INFO: ==29895== Releasing lock...
[2025-03-10 10:37:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:37:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:37:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:37:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:37:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:37:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:37:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:37:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:37:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:37:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:37:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:37:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:37:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:37:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:37:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:37:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:37:17] Production.INFO: call_cost start
[2025-03-10 10:37:17] Production.INFO: call_cost end
[2025-03-10 10:37:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:37:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:37:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:37:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:37:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:37:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:37:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:37:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:37:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:37:18] Production.INFO: ==29891== Releasing lock...
[2025-03-10 10:37:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:37:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:37:19] Production.INFO: count ==3457
[2025-03-10 10:37:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:37:06 - End Time 2025-03-10 10:37:06
[2025-03-10 10:37:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648951', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648951', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648951', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648951', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:37:21] Production.INFO: ProcessCDR(1,14648951,1,1,2)
[2025-03-10 10:37:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:37:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:37:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:37:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648951', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648951', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:37:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:37:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:37:26] Production.INFO: ==29899== Releasing lock...
[2025-03-10 10:37:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:37:26] Production.INFO: 53.75 MB #Memory Used#
[2025-03-10 14:38:01] Production.INFO: ==29980== Lock acquired, processing the job...
[2025-03-10 14:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:38:01] Production.INFO: neon service started
[2025-03-10 14:38:01] Production.INFO: neon service started
[2025-03-10 14:38:01] Production.INFO: ==29980== Releasing lock...
[2025-03-10 14:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:38:02] Production.INFO: ==29982== Lock acquired, processing the job...
[2025-03-10 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:38:02] Production.INFO: ==29984== Lock acquired, processing the job...
[2025-03-10 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:38:02] Production.INFO: ==29984== Releasing lock...
[2025-03-10 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:38:03] Production.INFO: ==29982== Releasing lock...
[2025-03-10 10:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:38:03] Production.INFO: ==29989== Lock acquired, processing the job...
[2025-03-10 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:38:04] Production.INFO: ==29991== Lock acquired, processing the job...
[2025-03-10 10:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:38:04] Production.INFO: ==29987== Lock acquired, processing the job...
[2025-03-10 10:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:38:04] Production.INFO: ==29995== Lock acquired, processing the job...
[2025-03-10 10:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:38:04] Production.INFO: ==29993== Lock acquired, processing the job...
[2025-03-10 10:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:38:04] Production.INFO: ==29997== Lock acquired, processing the job...
[2025-03-10 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:38:04] Production.INFO: ==29989== Releasing lock...
[2025-03-10 10:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:38:04] Production.INFO: Account Balance Start.
[2025-03-10 10:38:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:38:04] Production.INFO: 117
[2025-03-10 10:38:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 10: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-03-10 10:38:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:38:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:38:04] Production.INFO: count ==21
[2025-03-10 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648955') start
[2025-03-10 10:38:04] Production.INFO: Total Charge 0
[2025-03-10 10:38:04] Production.INFO: CreateAllLog End
[2025-03-10 10:38:04] Production.ERROR: done
[2025-03-10 10:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648955') end
[2025-03-10 10:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:38:04] Production.INFO: 1
[2025-03-10 10:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:38:04] Production.INFO: ==29997== Releasing lock...
[2025-03-10 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:38:04] Production.ERROR: done
[2025-03-10 10:38:04] Production.INFO: Account Balance End.
[2025-03-10 10:38:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:38:04] Production.INFO: ==29993== Releasing lock...
[2025-03-10 10:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:38:06
[end_date_ymd] => 2025-03-10 10:38:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:38:06' and `end` < '2025-03-10 10: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-03-10 10:38:14] Production.ERROR: CronJobId end10
[2025-03-10 10:38:14] Production.INFO: ==29991== Releasing lock...
[2025-03-10 10:38:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:38:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:38:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:38:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:38:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:38:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:38:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:38:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:38:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:38:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:38:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:38:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:38:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:38:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:38:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:38:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:38:16] Production.INFO: call_cost start
[2025-03-10 10:38:16] Production.INFO: call_cost end
[2025-03-10 10:38:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:38:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:38:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:38:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:38:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:38:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:38:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:38:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:38:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:38:17] Production.INFO: ==29987== Releasing lock...
[2025-03-10 10:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:38:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:38:19] Production.INFO: count ==3465
[2025-03-10 10:38:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:38:06 - End Time 2025-03-10 10:38:06
[2025-03-10 10:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648956', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648956', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648956', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648956', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:38:20] Production.INFO: ProcessCDR(1,14648956,1,1,2)
[2025-03-10 10:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:38:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:38:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648956', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648956', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:38:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:38:26] Production.INFO: ==29995== Releasing lock...
[2025-03-10 10:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:38:26] Production.INFO: 53.75 MB #Memory Used#
[2025-03-10 14:39:02] Production.INFO: ==30075== Lock acquired, processing the job...
[2025-03-10 14:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:39:02] Production.INFO: neon service started
[2025-03-10 14:39:02] Production.INFO: neon service started
[2025-03-10 14:39:02] Production.INFO: ==30075== Releasing lock...
[2025-03-10 14:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:39:02] Production.INFO: ==30079== Lock acquired, processing the job...
[2025-03-10 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:39:02] Production.INFO: ==30079== Releasing lock...
[2025-03-10 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:39:02] Production.INFO: ==30077== Lock acquired, processing the job...
[2025-03-10 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:39:03] Production.INFO: ==30077== Releasing lock...
[2025-03-10 10:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:39:04] Production.INFO: ==30088== Lock acquired, processing the job...
[2025-03-10 10:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:39:04] Production.INFO: ==30092== Lock acquired, processing the job...
[2025-03-10 10:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:39:04] Production.INFO: ==30083== Lock acquired, processing the job...
[2025-03-10 10:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:39:04] Production.INFO: ==30085== Lock acquired, processing the job...
[2025-03-10 10:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:39:04] Production.INFO: ==30090== Lock acquired, processing the job...
[2025-03-10 10:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:39:04] Production.INFO: ==30094== Lock acquired, processing the job...
[2025-03-10 10:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:39:04] Production.INFO: Account Balance Start.
[2025-03-10 10:39:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:39:04] Production.INFO: 117
[2025-03-10 10:39:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:39:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 10: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-03-10 10:39:04] Production.INFO: count ==13
[2025-03-10 10:39:04] Production.INFO: Total Charge 0
[2025-03-10 10: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-03-10 10:39:04] Production.INFO: count ==21
[2025-03-10 10:39:04] Production.ERROR: done
[2025-03-10 10:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:39:04] Production.INFO: CreateAllLog End
[2025-03-10 10:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648960') start
[2025-03-10 10:39:04] Production.INFO: ==30085== Releasing lock...
[2025-03-10 10:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:39:05] Production.ERROR: done
[2025-03-10 10:39:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648960') end
[2025-03-10 10:39:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:39:05] Production.INFO: 1
[2025-03-10 10:39:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:39:05] Production.INFO: ==30094== Releasing lock...
[2025-03-10 10:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:39:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:39:05] Production.INFO: Account Balance End.
[2025-03-10 10:39:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:39:05] Production.INFO: ==30090== Releasing lock...
[2025-03-10 10:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:39:06
[end_date_ymd] => 2025-03-10 10:39:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:39:06' and `end` < '2025-03-10 10: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-03-10 10:39:14] Production.ERROR: CronJobId end10
[2025-03-10 10:39:14] Production.INFO: ==30088== Releasing lock...
[2025-03-10 10:39:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:39:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:39:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:39:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:39:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:39:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:39:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:39:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:39:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:39:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:39:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:39:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:39:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:39:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:39:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:39:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:39:17] Production.INFO: call_cost start
[2025-03-10 10:39:17] Production.INFO: call_cost end
[2025-03-10 10:39:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:39:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:39:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:39:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:39:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:39:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:39:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:39:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:39:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:39:18] Production.INFO: ==30083== Releasing lock...
[2025-03-10 10:39:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:39:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:39:19] Production.INFO: count ==3497
[2025-03-10 10:39:21] Production.ERROR: pbx CDR StartTime 2025-03-10 07:39:06 - End Time 2025-03-10 10:39:06
[2025-03-10 10:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648961', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648961', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648961', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648961', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:39:21] Production.INFO: ProcessCDR(1,14648961,1,1,2)
[2025-03-10 10:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:39:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648961', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648961', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:39:27] Production.INFO: ==30092== Releasing lock...
[2025-03-10 10:39:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:39:27] Production.INFO: 54 MB #Memory Used#
[2025-03-10 14:40:01] Production.INFO: ==30171== Lock acquired, processing the job...
[2025-03-10 14:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:40:01] Production.INFO: neon service started
[2025-03-10 14:40:01] Production.INFO: neon service started
[2025-03-10 14:40:01] Production.INFO: ==30171== Releasing lock...
[2025-03-10 14:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:40:02] Production.INFO: ==30173== Lock acquired, processing the job...
[2025-03-10 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:40:02] Production.INFO: ==30173== Releasing lock...
[2025-03-10 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:40:02] Production.INFO: ==30175== Lock acquired, processing the job...
[2025-03-10 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:40:02] Production.INFO: ==30175== Releasing lock...
[2025-03-10 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:40:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:40:03] Production.INFO: ==30181== Lock acquired, processing the job...
[2025-03-10 10:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:40:03] Production.INFO: ==30183== Lock acquired, processing the job...
[2025-03-10 10:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:40:03] Production.INFO: ==30179== Lock acquired, processing the job...
[2025-03-10 10:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 10:40:03] Production.INFO: ==30189== Lock acquired, processing the job...
[2025-03-10 10:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 10:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:40:04] Production.ERROR: CronJob PID - 30183
[2025-03-10 10:40:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 10:40:04] Production.ERROR: CronJob ID - 7
[2025-03-10 10:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:40:00
[2025-03-10 10:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 10:40:04] Production.ERROR: CronJob PID - 30189
[2025-03-10 10:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 10:40:04] Production.ERROR: CronJob ID - 16
[2025-03-10 10:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 10:40:00
[2025-03-10 10:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 10:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 10:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:40:04] Production.INFO: ==30185== Lock acquired, processing the job...
[2025-03-10 10:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:40:04] Production.INFO: ==30187== Lock acquired, processing the job...
[2025-03-10 10:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:40:04] Production.INFO: ==30191== Lock acquired, processing the job...
[2025-03-10 10:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 10:40:04] Production.INFO: ==30193== Lock acquired, processing the job...
[2025-03-10 10:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 10:40:04] Production.INFO: ==30179== Releasing lock...
[2025-03-10 10:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 10:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 10:40:04] Production.INFO: ==30183== Releasing lock...
[2025-03-10 10:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:40:04] Production.INFO: Account Balance Start.
[2025-03-10 10:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:40:04] Production.INFO: 117
[2025-03-10 10:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:40:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:40:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:40:04] Production.ERROR: done
[2025-03-10 10:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:40:04] Production.INFO: Total Charge 0
[2025-03-10 10:40:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 10:40:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:40:04] Production.INFO: count ==21
[2025-03-10 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648965') start
[2025-03-10 10:40:04] Production.ERROR: done
[2025-03-10 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648965') end
[2025-03-10 10:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:40:04] Production.INFO: 1
[2025-03-10 10:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:40:05] Production.INFO: ==30193== Releasing lock...
[2025-03-10 10:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:40:05] Production.ERROR: done
[2025-03-10 10:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 10:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648967', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 10:40:05] Production.INFO: Account Balance End.
[2025-03-10 10:40:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:40:05] Production.INFO: ==30187== Releasing lock...
[2025-03-10 10:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:40:06
[end_date_ymd] => 2025-03-10 10:40:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:40:06' and `end` < '2025-03-10 10: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-03-10 10:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14648967', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 10:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 10:40:09] Production.INFO: ProcessCDR(1,14648967,1,1,2)
[2025-03-10 10:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14648967,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14648967,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:40:10] Production.INFO: ==30191== Releasing lock...
[2025-03-10 10:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 10:40:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 10:40:15] Production.ERROR: CronJobId end10
[2025-03-10 10:40:15] Production.INFO: ==30185== Releasing lock...
[2025-03-10 10:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:40:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:40:18] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:40:18] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:40:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:40:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:40:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:40:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:40:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:40:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:40:18] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:40:18] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:40:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:40:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:40:18] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:40:18] Production.INFO: call_cost start
[2025-03-10 10:40:18] Production.INFO: call_cost end
[2025-03-10 10:40:19] Production.INFO: count ==3519
[2025-03-10 10:40:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:40:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:40:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:40:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:40:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:40:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:40:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:40:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:40:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:40:19] Production.INFO: ==30181== Releasing lock...
[2025-03-10 10:40:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:40:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:40:21] Production.ERROR: pbx CDR StartTime 2025-03-10 07:40:06 - End Time 2025-03-10 10:40:06
[2025-03-10 10:40:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648966', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648966', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648966', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648966', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:40:21] Production.INFO: ProcessCDR(1,14648966,1,1,2)
[2025-03-10 10:40:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:40:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:40:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:40:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648966', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648966', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:40:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:40:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:40:26] Production.INFO: ==30189== Releasing lock...
[2025-03-10 10:40:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:40:26] Production.INFO: 55.25 MB #Memory Used#
[2025-03-10 14:41:02] Production.INFO: ==30274== Lock acquired, processing the job...
[2025-03-10 14:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:41:02] Production.INFO: neon service started
[2025-03-10 14:41:02] Production.INFO: neon service started
[2025-03-10 14:41:02] Production.INFO: ==30274== Releasing lock...
[2025-03-10 14:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:41:02] Production.INFO: ==30276== Lock acquired, processing the job...
[2025-03-10 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:41:03] Production.INFO: ==30278== Lock acquired, processing the job...
[2025-03-10 14:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:41:03] Production.INFO: ==30278== Releasing lock...
[2025-03-10 14:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:41:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:41:03] Production.INFO: ==30276== Releasing lock...
[2025-03-10 10:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:41:04] Production.INFO: ==30281== Lock acquired, processing the job...
[2025-03-10 10:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:41:04] Production.INFO: ==30283== Lock acquired, processing the job...
[2025-03-10 10:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:41:04] Production.INFO: ==30285== Lock acquired, processing the job...
[2025-03-10 10:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:41:04] Production.INFO: ==30287== Lock acquired, processing the job...
[2025-03-10 10:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:41:04] Production.INFO: ==30283== Releasing lock...
[2025-03-10 10:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:41:04] Production.INFO: ==30289== Lock acquired, processing the job...
[2025-03-10 10:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:41:04] Production.INFO: Account Balance Start.
[2025-03-10 10:41:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:41:04] Production.INFO: 117
[2025-03-10 10:41:04] Production.INFO: ==30291== Lock acquired, processing the job...
[2025-03-10 10:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:41:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:41:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 10: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-03-10 10:41:05] Production.INFO: Date 2025-03-10
[2025-03-10 10:41:05] Production.INFO: Reseller ==> 0
[2025-03-10 10:41:05] Production.INFO: count ==13
[2025-03-10 10:41:05] Production.INFO: Total Charge 0
[2025-03-10 10:41:05] Production.INFO: CreateAllLog End
[2025-03-10 10: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-03-10 10:41:05] Production.INFO: count ==21
[2025-03-10 10:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648971') start
[2025-03-10 10:41:05] Production.ERROR: done
[2025-03-10 10:41:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:41:05] Production.ERROR: done
[2025-03-10 10:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14648971') end
[2025-03-10 10:41:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:41:05] Production.INFO: 1
[2025-03-10 10:41:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:41:05] Production.INFO: Account Balance End.
[2025-03-10 10:41:05] Production.INFO: ==30291== Releasing lock...
[2025-03-10 10:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:41:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:41:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:41:05] Production.INFO: ==30287== Releasing lock...
[2025-03-10 10:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:41:06
[end_date_ymd] => 2025-03-10 10:41:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:41:06' and `end` < '2025-03-10 10: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-03-10 10:41:14] Production.ERROR: CronJobId end10
[2025-03-10 10:41:14] Production.INFO: ==30285== Releasing lock...
[2025-03-10 10:41:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:41:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:41:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:41:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:41:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:41:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:41:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:41:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:41:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:41:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:41:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:41:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:41:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:41:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:41:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:41:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:41:16] Production.INFO: call_cost start
[2025-03-10 10:41:16] Production.INFO: call_cost end
[2025-03-10 10:41:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:41:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:41:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:41:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:41:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:41:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:41:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:41:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:41:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:41:17] Production.INFO: ==30281== Releasing lock...
[2025-03-10 10:41:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:41:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:41:19] Production.INFO: count ==3652
[2025-03-10 10:41:21] Production.ERROR: pbx CDR StartTime 2025-03-10 07:41:06 - End Time 2025-03-10 10:41:06
[2025-03-10 10:41:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648972', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648972', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648972', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648972', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:41:21] Production.INFO: ProcessCDR(1,14648972,1,1,2)
[2025-03-10 10:41:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:41:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:41:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:41:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648972', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648972', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:41:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:41:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:41:27] Production.INFO: ==30289== Releasing lock...
[2025-03-10 10:41:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:41:27] Production.INFO: 55.25 MB #Memory Used#
[2025-03-10 14:42:01] Production.INFO: ==30405== Lock acquired, processing the job...
[2025-03-10 14:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:42:01] Production.INFO: neon service started
[2025-03-10 14:42:01] Production.INFO: neon service started
[2025-03-10 14:42:01] Production.INFO: ==30405== Releasing lock...
[2025-03-10 14:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:42:02] Production.INFO: ==30409== Lock acquired, processing the job...
[2025-03-10 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:42:02] Production.INFO: ==30409== Releasing lock...
[2025-03-10 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:42:02] Production.INFO: ==30407== Lock acquired, processing the job...
[2025-03-10 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:42:02] Production.INFO: ==30407== Releasing lock...
[2025-03-10 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:42:03] Production.INFO: ==30418== Lock acquired, processing the job...
[2025-03-10 10:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:42:03] Production.INFO: ==30422== Lock acquired, processing the job...
[2025-03-10 10:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:42:03] Production.INFO: ==30424== Lock acquired, processing the job...
[2025-03-10 10:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:42:03] Production.INFO: ==30416== Lock acquired, processing the job...
[2025-03-10 10:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:42:03] Production.INFO: ==30414== Lock acquired, processing the job...
[2025-03-10 10:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:42:03] Production.INFO: ==30420== Lock acquired, processing the job...
[2025-03-10 10:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 10:42:04] Production.ERROR: done
[2025-03-10 10:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:42:04] Production.INFO: Account Balance Start.
[2025-03-10 10:42:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:42:04] Production.INFO: 117
[2025-03-10 10:42:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:42:04] Production.INFO: count ==21
[2025-03-10 10:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648973') start
[2025-03-10 10:42:04] Production.ERROR: done
[2025-03-10 10:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648973') end
[2025-03-10 10:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:42:04] Production.INFO: 1
[2025-03-10 10:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:42:04] Production.INFO: ==30416== Releasing lock...
[2025-03-10 10:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:42:04] Production.INFO: ==30424== Releasing lock...
[2025-03-10 10:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:42:04] Production.INFO: Total Charge 0
[2025-03-10 10:42:04] Production.INFO: CreateAllLog End
[2025-03-10 10:42:05] Production.INFO: Account Balance End.
[2025-03-10 10:42:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:42:05] Production.INFO: ==30420== Releasing lock...
[2025-03-10 10:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:42:05
[end_date_ymd] => 2025-03-10 10:42:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:42:05' and `end` < '2025-03-10 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-03-10 10:42:14] Production.ERROR: CronJobId end10
[2025-03-10 10:42:14] Production.INFO: ==30418== Releasing lock...
[2025-03-10 10:42:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:42:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:42:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:42:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:42:16] Production.INFO: call_cost start
[2025-03-10 10:42:16] Production.INFO: call_cost end
[2025-03-10 10:42:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:42:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:42:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:42:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:42:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:42:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:42:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:42:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:42:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:42:17] Production.INFO: ==30414== Releasing lock...
[2025-03-10 10:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:42:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:42:18] Production.INFO: count ==3692
[2025-03-10 10:42:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:42:05 - End Time 2025-03-10 10:42:05
[2025-03-10 10:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648977', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648977', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648977', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648977', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:42:20] Production.INFO: ProcessCDR(1,14648977,1,1,2)
[2025-03-10 10:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:42:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:42:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:42:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648977', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648977', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:42:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:42:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:42:26] Production.INFO: ==30422== Releasing lock...
[2025-03-10 10:42:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:42:26] Production.INFO: 55.5 MB #Memory Used#
[2025-03-10 14:43:02] Production.INFO: ==30500== Lock acquired, processing the job...
[2025-03-10 14:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:43:02] Production.INFO: neon service started
[2025-03-10 14:43:02] Production.INFO: neon service started
[2025-03-10 14:43:02] Production.INFO: ==30500== Releasing lock...
[2025-03-10 14:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:43:02] Production.INFO: ==30503== Lock acquired, processing the job...
[2025-03-10 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:43:03] Production.INFO: ==30503== Releasing lock...
[2025-03-10 10:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:43:03] Production.INFO: ==30505== Lock acquired, processing the job...
[2025-03-10 14:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:43:03] Production.INFO: ==30505== Releasing lock...
[2025-03-10 14:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:43:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:43:04] Production.INFO: ==30509== Lock acquired, processing the job...
[2025-03-10 10:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:43:04] Production.INFO: ==30513== Lock acquired, processing the job...
[2025-03-10 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:43:04] Production.INFO: ==30507== Lock acquired, processing the job...
[2025-03-10 10:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:43:04] Production.INFO: ==30515== Lock acquired, processing the job...
[2025-03-10 10:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:43:04] Production.INFO: ==30511== Lock acquired, processing the job...
[2025-03-10 10:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:43:04] Production.INFO: Account Balance Start.
[2025-03-10 10:43:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:43:04] Production.INFO: 117
[2025-03-10 10:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:43:04] Production.INFO: ==30517== Lock acquired, processing the job...
[2025-03-10 10:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:43:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:43:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:43:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:43:04] Production.INFO: ==30509== Releasing lock...
[2025-03-10 10:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 10:43:04] Production.INFO: Total Charge 0
[2025-03-10 10:43:04] Production.INFO: CreateAllLog End
[2025-03-10 10:43:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:43:04] Production.INFO: count ==21
[2025-03-10 10:43:04] Production.ERROR: done
[2025-03-10 10:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648981') start
[2025-03-10 10:43:04] Production.INFO: Account Balance End.
[2025-03-10 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648981') end
[2025-03-10 10:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:43:04] Production.INFO: 1
[2025-03-10 10:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:43:04] Production.ERROR: done
[2025-03-10 10:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:43:04] Production.INFO: ==30513== Releasing lock...
[2025-03-10 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:43:05] Production.INFO: ==30517== Releasing lock...
[2025-03-10 10:43:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:43:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:43:06
[end_date_ymd] => 2025-03-10 10:43:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:43:06' and `end` < '2025-03-10 10: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-03-10 10:43:14] Production.ERROR: CronJobId end10
[2025-03-10 10:43:14] Production.INFO: ==30511== Releasing lock...
[2025-03-10 10:43:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:43:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:43:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:43:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:43:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:43:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:43:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:43:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:43:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:43:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:43:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:43:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:43:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:43:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:43:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:43:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:43:16] Production.INFO: call_cost start
[2025-03-10 10:43:16] Production.INFO: call_cost end
[2025-03-10 10:43:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:43:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:43:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:43:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:43:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:43:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:43:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:43:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:43:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:43:17] Production.INFO: ==30507== Releasing lock...
[2025-03-10 10:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:43:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:43:19] Production.INFO: count ==3715
[2025-03-10 10:43:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:43:06 - End Time 2025-03-10 10:43:06
[2025-03-10 10:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648982', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648982', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648982', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648982', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:43:20] Production.INFO: ProcessCDR(1,14648982,1,1,2)
[2025-03-10 10:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:43:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:43:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:43:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648982', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648982', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:43:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:43:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:43:26] Production.INFO: ==30515== Releasing lock...
[2025-03-10 10:43:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:43:26] Production.INFO: 55.75 MB #Memory Used#
[2025-03-10 14:44:01] Production.INFO: ==30622== Lock acquired, processing the job...
[2025-03-10 14:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:44:01] Production.INFO: neon service started
[2025-03-10 14:44:01] Production.INFO: neon service started
[2025-03-10 14:44:01] Production.INFO: ==30622== Releasing lock...
[2025-03-10 14:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:44:02] Production.INFO: ==30626== Lock acquired, processing the job...
[2025-03-10 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:44:02] Production.INFO: ==30626== Releasing lock...
[2025-03-10 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:44:02] Production.INFO: ==30624== Lock acquired, processing the job...
[2025-03-10 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:44:02] Production.INFO: ==30624== Releasing lock...
[2025-03-10 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:44:03] Production.INFO: ==30635== Lock acquired, processing the job...
[2025-03-10 10:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:44:03] Production.INFO: ==30639== Lock acquired, processing the job...
[2025-03-10 10:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:44:03] Production.INFO: Account Balance Start.
[2025-03-10 10:44:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:44:03] Production.INFO: 117
[2025-03-10 10:44:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:44:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 10:44:04] Production.INFO: count ==13
[2025-03-10 10:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 10: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-03-10 10:44:04] Production.INFO: count ==21
[2025-03-10 10:44:04] Production.INFO: ==30629== Lock acquired, processing the job...
[2025-03-10 10:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648984') start
[2025-03-10 10:44:04] Production.INFO: ==30631== Lock acquired, processing the job...
[2025-03-10 10:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:44:04] Production.INFO: Total Charge 0
[2025-03-10 10:44:04] Production.INFO: CreateAllLog End
[2025-03-10 10:44:04] Production.INFO: ==30633== Lock acquired, processing the job...
[2025-03-10 10:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648984') end
[2025-03-10 10:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:44:04] Production.INFO: 1
[2025-03-10 10:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:44:04] Production.INFO: ==30639== Releasing lock...
[2025-03-10 10:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:44:04] Production.INFO: ==30637== Lock acquired, processing the job...
[2025-03-10 10:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:44:04] Production.INFO: Account Balance End.
[2025-03-10 10:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:44:04] Production.INFO: ==30635== Releasing lock...
[2025-03-10 10:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:44:04] Production.INFO: ==30631== Releasing lock...
[2025-03-10 10:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:44:04] Production.ERROR: done
[2025-03-10 10:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:44:04] Production.ERROR: done
[2025-03-10 10:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:44:06
[end_date_ymd] => 2025-03-10 10:44:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:44:06' and `end` < '2025-03-10 10:44:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 10:44:14] Production.ERROR: CronJobId end10
[2025-03-10 10:44:14] Production.INFO: ==30633== Releasing lock...
[2025-03-10 10:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:44:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:44:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:44:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:44:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:44:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:44:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:44:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:44:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:44:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:44:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:44:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:44:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:44:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:44:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:44:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:44:16] Production.INFO: call_cost start
[2025-03-10 10:44:16] Production.INFO: call_cost end
[2025-03-10 10:44:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:44:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:44:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:44:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:44:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:44:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:44:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:44:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:44:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:44:17] Production.INFO: ==30629== Releasing lock...
[2025-03-10 10:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:44:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:44:19] Production.INFO: count ==3731
[2025-03-10 10:44:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:44:06 - End Time 2025-03-10 10:44:06
[2025-03-10 10:44:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648987', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648987', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648987', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648987', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:44:20] Production.INFO: ProcessCDR(1,14648987,1,1,2)
[2025-03-10 10:44:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:44:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:44:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648987', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648987', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:44:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:44:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:44:26] Production.INFO: ==30637== Releasing lock...
[2025-03-10 10:44:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:44:26] Production.INFO: 55.75 MB #Memory Used#
[2025-03-10 14:45:02] Production.INFO: ==30748== Lock acquired, processing the job...
[2025-03-10 14:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:45:02] Production.INFO: neon service started
[2025-03-10 14:45:02] Production.INFO: neon service started
[2025-03-10 14:45:02] Production.INFO: ==30748== Releasing lock...
[2025-03-10 14:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:45:02] Production.INFO: ==30752== Lock acquired, processing the job...
[2025-03-10 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:45:02] Production.INFO: ==30752== Releasing lock...
[2025-03-10 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:45:02] Production.INFO: ==30750== Lock acquired, processing the job...
[2025-03-10 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:45:03] Production.INFO: ==30750== Releasing lock...
[2025-03-10 10:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:45:04] Production.INFO: ==30757== Lock acquired, processing the job...
[2025-03-10 10:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:45:04] Production.INFO: ==30755== Lock acquired, processing the job...
[2025-03-10 10:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:45:04] Production.INFO: ==30764== Lock acquired, processing the job...
[2025-03-10 10:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:45:04] Production.INFO: ==30759== Lock acquired, processing the job...
[2025-03-10 10:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:45:04] Production.INFO: ==30762== Lock acquired, processing the job...
[2025-03-10 10:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:45:04] Production.INFO: ==30766== Lock acquired, processing the job...
[2025-03-10 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:45:04] Production.INFO: Account Balance Start.
[2025-03-10 10:45:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:45:04] Production.INFO: 117
[2025-03-10 10:45:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 10:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:45:04] Production.INFO: count ==13
[2025-03-10 10:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 10:45:04] Production.INFO: count ==21
[2025-03-10 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648991') start
[2025-03-10 10:45:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:45:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:45:04] Production.INFO: Total Charge 0
[2025-03-10 10:45:04] Production.INFO: CreateAllLog End
[2025-03-10 10:45:04] Production.ERROR: done
[2025-03-10 10:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648991') end
[2025-03-10 10:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:45:04] Production.INFO: 1
[2025-03-10 10:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:45:04] Production.INFO: ==30766== Releasing lock...
[2025-03-10 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:45:04] Production.INFO: ==30757== Releasing lock...
[2025-03-10 10:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:45:04] Production.INFO: Account Balance End.
[2025-03-10 10:45:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:45:04] Production.INFO: ==30762== Releasing lock...
[2025-03-10 10:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:45:05] Production.ERROR: done
[2025-03-10 10:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:45:06
[end_date_ymd] => 2025-03-10 10:45:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:45:06' and `end` < '2025-03-10 10: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-03-10 10:45: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,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-03-10 10:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:45:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:45:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:45:14] Production.INFO: call_cost start
[2025-03-10 10:45:14] Production.INFO: call_cost end
[2025-03-10 10:45:14] Production.ERROR: CronJobId end10
[2025-03-10 10:45:14] Production.INFO: ==30759== Releasing lock...
[2025-03-10 10:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:45:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:45:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:45:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:45:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:45:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:45:15] Production.INFO: ==30755== Releasing lock...
[2025-03-10 10:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:45:19] Production.INFO: count ==3750
[2025-03-10 10:45:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:45:06 - End Time 2025-03-10 10:45:06
[2025-03-10 10:45:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648992', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648992', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648992', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648992', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:45:20] Production.INFO: ProcessCDR(1,14648992,1,1,2)
[2025-03-10 10:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:45:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:45:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:45:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648992', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648992', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:45:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:45:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:45:26] Production.INFO: ==30764== Releasing lock...
[2025-03-10 10:45:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:45:26] Production.INFO: 56.25 MB #Memory Used#
[2025-03-10 14:46:01] Production.INFO: ==30867== Lock acquired, processing the job...
[2025-03-10 14:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:46:01] Production.INFO: neon service started
[2025-03-10 14:46:01] Production.INFO: neon service started
[2025-03-10 14:46:01] Production.INFO: ==30867== Releasing lock...
[2025-03-10 14:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:46:02] Production.INFO: ==30871== Lock acquired, processing the job...
[2025-03-10 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:46:02] Production.INFO: ==30871== Releasing lock...
[2025-03-10 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:46:02] Production.INFO: ==30869== Lock acquired, processing the job...
[2025-03-10 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:46:02] Production.INFO: ==30869== Releasing lock...
[2025-03-10 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:46:03] Production.INFO: ==30874== Lock acquired, processing the job...
[2025-03-10 10:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:46:03] Production.INFO: ==30878== Lock acquired, processing the job...
[2025-03-10 10:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:46:03] Production.INFO: ==30882== Lock acquired, processing the job...
[2025-03-10 10:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:46:03] Production.INFO: ==30880== Lock acquired, processing the job...
[2025-03-10 10:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:46:03] Production.INFO: ==30876== Lock acquired, processing the job...
[2025-03-10 10:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:46:03] Production.INFO: ==30884== Lock acquired, processing the job...
[2025-03-10 10:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:46:03] Production.ERROR: done
[2025-03-10 10:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:46:04] Production.INFO: Account Balance Start.
[2025-03-10 10:46:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:46:04] Production.INFO: 117
[2025-03-10 10:46:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 10: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-03-10 10:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:46:04] Production.INFO: count ==13
[2025-03-10 10:46:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 10: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-03-10 10:46:04] Production.INFO: count ==21
[2025-03-10 10:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648996') start
[2025-03-10 10:46:04] Production.ERROR: done
[2025-03-10 10:46:04] Production.INFO: Total Charge 0
[2025-03-10 10:46:04] Production.INFO: ==30876== Releasing lock...
[2025-03-10 10:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:46:04] Production.INFO: CreateAllLog End
[2025-03-10 10:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648996') end
[2025-03-10 10:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:46:04] Production.INFO: 1
[2025-03-10 10:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:46:04] Production.INFO: ==30884== Releasing lock...
[2025-03-10 10:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:46:04] Production.INFO: Account Balance End.
[2025-03-10 10:46:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:46:04] Production.INFO: ==30880== Releasing lock...
[2025-03-10 10:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:46:05
[end_date_ymd] => 2025-03-10 10:46:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:46:05' and `end` < '2025-03-10 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-03-10 10:46:14] Production.ERROR: CronJobId end10
[2025-03-10 10:46:14] Production.INFO: ==30878== Releasing lock...
[2025-03-10 10:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:46:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:46:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:46:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:46:16] Production.INFO: call_cost start
[2025-03-10 10:46:16] Production.INFO: call_cost end
[2025-03-10 10:46:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:46:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:46:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:46:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:46:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:46:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:46:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:46:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:46:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:46:17] Production.INFO: ==30874== Releasing lock...
[2025-03-10 10:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:46:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:46:18] Production.INFO: count ==3766
[2025-03-10 10:46:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:46:05 - End Time 2025-03-10 10:46:05
[2025-03-10 10:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648997', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14648997', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648997', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14648997', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:46:20] Production.INFO: ProcessCDR(1,14648997,1,1,2)
[2025-03-10 10:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14648997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:46:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14648997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:46:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14648997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:46:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14648997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648997', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14648997', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:46:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:46:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:46:25] Production.INFO: ==30882== Releasing lock...
[2025-03-10 10:46:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:46:25] Production.INFO: 56 MB #Memory Used#
[2025-03-10 14:47:02] Production.INFO: ==30987== Lock acquired, processing the job...
[2025-03-10 14:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:47:02] Production.INFO: neon service started
[2025-03-10 14:47:02] Production.INFO: neon service started
[2025-03-10 14:47:02] Production.INFO: ==30987== Releasing lock...
[2025-03-10 14:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:47:02] Production.INFO: ==30991== Lock acquired, processing the job...
[2025-03-10 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:47:02] Production.INFO: ==30991== Releasing lock...
[2025-03-10 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:47:02] Production.INFO: ==30989== Lock acquired, processing the job...
[2025-03-10 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:47:03] Production.INFO: ==30989== Releasing lock...
[2025-03-10 10:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:47:03] Production.INFO: ==30995== Lock acquired, processing the job...
[2025-03-10 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:47:04] Production.INFO: ==31001== Lock acquired, processing the job...
[2025-03-10 10:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:47:04] Production.INFO: ==31004== Lock acquired, processing the job...
[2025-03-10 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:47:04] Production.INFO: ==30999== Lock acquired, processing the job...
[2025-03-10 10:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 10:47:04] Production.INFO: ==30993== Lock acquired, processing the job...
[2025-03-10 10:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:47:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:47:04] Production.INFO: count ==21
[2025-03-10 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648999') start
[2025-03-10 10:47:04] Production.INFO: ==30997== Lock acquired, processing the job...
[2025-03-10 10:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:47:04] Production.INFO: ==30995== Releasing lock...
[2025-03-10 10:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14648999') end
[2025-03-10 10:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:47:04] Production.INFO: 1
[2025-03-10 10:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:47:04] Production.INFO: Account Balance Start.
[2025-03-10 10:47:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:47:04] Production.INFO: 117
[2025-03-10 10:47:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:47:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:47:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:47:04] Production.INFO: Total Charge 0
[2025-03-10 10:47:04] Production.INFO: ==31004== Releasing lock...
[2025-03-10 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:47:04] Production.INFO: CreateAllLog End
[2025-03-10 10:47:04] Production.ERROR: done
[2025-03-10 10:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:47:04] Production.INFO: Account Balance End.
[2025-03-10 10:47:04] Production.ERROR: done
[2025-03-10 10:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:47:04] Production.INFO: ==30999== Releasing lock...
[2025-03-10 10:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:47:05
[end_date_ymd] => 2025-03-10 10:47:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:47:05' and `end` < '2025-03-10 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-03-10 10:47:14] Production.ERROR: CronJobId end10
[2025-03-10 10:47:14] Production.INFO: ==30997== Releasing lock...
[2025-03-10 10:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:47:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:47:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:47:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:47:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:47:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:47:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:47:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:47:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:47:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:47:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:47:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:47:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:47:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:47:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:47:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:47:17] Production.INFO: call_cost start
[2025-03-10 10:47:17] Production.INFO: call_cost end
[2025-03-10 10:47:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:47:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:47:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:47:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:47:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:47:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:47:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:47:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:47:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:47:18] Production.INFO: ==30993== Releasing lock...
[2025-03-10 10:47:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:47:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:47:18] Production.INFO: count ==3778
[2025-03-10 10:47:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:47:05 - End Time 2025-03-10 10:47:05
[2025-03-10 10:47:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649002', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649002', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649002', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649002', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:47:20] Production.INFO: ProcessCDR(1,14649002,1,1,2)
[2025-03-10 10:47:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:47:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649002', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649002', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:47:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:47:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:47:26] Production.INFO: ==31001== Releasing lock...
[2025-03-10 10:47:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:47:26] Production.INFO: 56.25 MB #Memory Used#
[2025-03-10 14:48:01] Production.INFO: ==31081== Lock acquired, processing the job...
[2025-03-10 14:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:48:01] Production.INFO: neon service started
[2025-03-10 14:48:01] Production.INFO: neon service started
[2025-03-10 14:48:01] Production.INFO: ==31081== Releasing lock...
[2025-03-10 14:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:48:02] Production.INFO: ==31083== Lock acquired, processing the job...
[2025-03-10 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:48:02] Production.INFO: ==31085== Lock acquired, processing the job...
[2025-03-10 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:48:02] Production.INFO: ==31085== Releasing lock...
[2025-03-10 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:48:02] Production.INFO: ==31083== Releasing lock...
[2025-03-10 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:48:03] Production.INFO: ==31090== Lock acquired, processing the job...
[2025-03-10 10:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:48:03] Production.INFO: ==31092== Lock acquired, processing the job...
[2025-03-10 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:48:03] Production.INFO: ==31094== Lock acquired, processing the job...
[2025-03-10 10:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:48:04] Production.INFO: ==31096== Lock acquired, processing the job...
[2025-03-10 10:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:48:04] Production.INFO: ==31098== Lock acquired, processing the job...
[2025-03-10 10:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:48:04] Production.INFO: Account Balance Start.
[2025-03-10 10:48:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:48:04] Production.INFO: 117
[2025-03-10 10:48:04] Production.INFO: ==31100== Lock acquired, processing the job...
[2025-03-10 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:48:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:48:04] Production.INFO: ==31092== Releasing lock...
[2025-03-10 10:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:48:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:48:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 10: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-03-10 10:48:04] Production.INFO: count ==13
[2025-03-10 10:48:04] Production.INFO: Total Charge 0
[2025-03-10 10: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-03-10 10:48:04] Production.INFO: count ==21
[2025-03-10 10:48:04] Production.INFO: CreateAllLog End
[2025-03-10 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649006') start
[2025-03-10 10:48:04] Production.ERROR: done
[2025-03-10 10:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649006') end
[2025-03-10 10:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:48:04] Production.INFO: 1
[2025-03-10 10:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:48:04] Production.INFO: ==31100== Releasing lock...
[2025-03-10 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:48:04] Production.ERROR: done
[2025-03-10 10:48:05] Production.INFO: Account Balance End.
[2025-03-10 10:48:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:48:05] Production.INFO: ==31096== Releasing lock...
[2025-03-10 10:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:48:06
[end_date_ymd] => 2025-03-10 10:48:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:48:06' and `end` < '2025-03-10 10: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-03-10 10:48:15] Production.ERROR: CronJobId end10
[2025-03-10 10:48:15] Production.INFO: ==31094== Releasing lock...
[2025-03-10 10:48:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:48:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:48:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:48:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:48:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:48:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:48:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:48:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:48:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:48:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:48:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:48:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:48:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:48:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:48:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:48:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:48:17] Production.INFO: call_cost start
[2025-03-10 10:48:17] Production.INFO: call_cost end
[2025-03-10 10:48:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:48:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:48:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:48:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:48:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:48:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:48:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:48:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:48:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:48:18] Production.INFO: ==31090== Releasing lock...
[2025-03-10 10:48:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:48:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:48:19] Production.INFO: count ==3791
[2025-03-10 10:48:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:48:06 - End Time 2025-03-10 10:48:06
[2025-03-10 10:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649007', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649007', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649007', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649007', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:48:21] Production.INFO: ProcessCDR(1,14649007,1,1,2)
[2025-03-10 10:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:48:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649007', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649007', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:48:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:48:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:48:26] Production.INFO: ==31098== Releasing lock...
[2025-03-10 10:48:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:48:26] Production.INFO: 56.25 MB #Memory Used#
[2025-03-10 14:49:02] Production.INFO: ==31185== Lock acquired, processing the job...
[2025-03-10 14:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:49:02] Production.INFO: neon service started
[2025-03-10 14:49:02] Production.INFO: neon service started
[2025-03-10 14:49:02] Production.INFO: ==31185== Releasing lock...
[2025-03-10 14:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:49:02] Production.INFO: ==31187== Lock acquired, processing the job...
[2025-03-10 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:49:02] Production.INFO: ==31189== Lock acquired, processing the job...
[2025-03-10 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:49:03] Production.INFO: ==31189== Releasing lock...
[2025-03-10 14:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:49:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:49:03] Production.INFO: ==31187== Releasing lock...
[2025-03-10 10:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:49:04] Production.INFO: ==31193== Lock acquired, processing the job...
[2025-03-10 10:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:49:04] Production.INFO: ==31201== Lock acquired, processing the job...
[2025-03-10 10:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:49:04] Production.INFO: ==31195== Lock acquired, processing the job...
[2025-03-10 10:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:49:04] Production.INFO: ==31197== Lock acquired, processing the job...
[2025-03-10 10:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:49:04] Production.INFO: ==31204== Lock acquired, processing the job...
[2025-03-10 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:49:04] Production.INFO: ==31199== Lock acquired, processing the job...
[2025-03-10 10:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:49:04] Production.INFO: Account Balance Start.
[2025-03-10 10:49:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:49:04] Production.INFO: 117
[2025-03-10 10:49:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 10: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-03-10 10:49:04] Production.INFO: count ==13
[2025-03-10 10: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-03-10 10:49:04] Production.INFO: count ==21
[2025-03-10 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649011') start
[2025-03-10 10:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:49:05] Production.INFO: Date 2025-03-10
[2025-03-10 10:49:05] Production.INFO: Reseller ==> 0
[2025-03-10 10:49:05] Production.INFO: Total Charge 0
[2025-03-10 10:49:05] Production.INFO: CreateAllLog End
[2025-03-10 10:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649011') end
[2025-03-10 10:49:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:49:05] Production.INFO: 1
[2025-03-10 10:49:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:49:05] Production.ERROR: done
[2025-03-10 10:49:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:49:05] Production.INFO: ==31195== Releasing lock...
[2025-03-10 10:49:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:49:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:49:05] Production.INFO: ==31204== Releasing lock...
[2025-03-10 10:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:49:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:49:05] Production.ERROR: done
[2025-03-10 10:49:05] Production.INFO: Account Balance End.
[2025-03-10 10:49:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:49:05] Production.INFO: ==31199== Releasing lock...
[2025-03-10 10:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:49:06
[end_date_ymd] => 2025-03-10 10:49:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:49:06' and `end` < '2025-03-10 10: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-03-10 10:49:15] Production.ERROR: CronJobId end10
[2025-03-10 10:49:15] Production.INFO: ==31197== Releasing lock...
[2025-03-10 10:49:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:49:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:49:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:49:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:49:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:49:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:49:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:49:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:49:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:49:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:49:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:49:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:49:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:49:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:49:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:49:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:49:17] Production.INFO: call_cost start
[2025-03-10 10:49:17] Production.INFO: call_cost end
[2025-03-10 10:49:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:49:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:49:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:49:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:49:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:49:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:49:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:49:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:49:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:49:18] Production.INFO: ==31193== Releasing lock...
[2025-03-10 10:49:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:49:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:49:19] Production.INFO: count ==3826
[2025-03-10 10:49:21] Production.ERROR: pbx CDR StartTime 2025-03-10 07:49:06 - End Time 2025-03-10 10:49:06
[2025-03-10 10:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649012', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649012', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649012', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649012', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:49:21] Production.INFO: ProcessCDR(1,14649012,1,1,2)
[2025-03-10 10:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:49:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:49:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649012', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649012', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:49:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:49:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:49:26] Production.INFO: ==31201== Releasing lock...
[2025-03-10 10:49:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:49:26] Production.INFO: 56.5 MB #Memory Used#
[2025-03-10 14:50:01] Production.INFO: ==31293== Lock acquired, processing the job...
[2025-03-10 14:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:50:01] Production.INFO: neon service started
[2025-03-10 14:50:01] Production.INFO: neon service started
[2025-03-10 14:50:01] Production.INFO: ==31293== Releasing lock...
[2025-03-10 14:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:50:02] Production.INFO: ==31297== Lock acquired, processing the job...
[2025-03-10 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:50:02] Production.INFO: ==31297== Releasing lock...
[2025-03-10 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:50:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:50:02] Production.INFO: ==31295== Lock acquired, processing the job...
[2025-03-10 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:50:02] Production.INFO: ==31295== Releasing lock...
[2025-03-10 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:50:03] Production.INFO: ==31300== Lock acquired, processing the job...
[2025-03-10 10:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 10:50:03] Production.INFO: ==31302== Lock acquired, processing the job...
[2025-03-10 10:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 10:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 10:50:03] Production.INFO: ==31300== Releasing lock...
[2025-03-10 10:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 10:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 10:50:03] Production.INFO: ==31308== Lock acquired, processing the job...
[2025-03-10 10:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:50:03] Production.INFO: Account Balance Start.
[2025-03-10 10:50:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:50:03] Production.INFO: 117
[2025-03-10 10:50:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:50:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:50:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:50:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:50:03] Production.INFO: Date 2025-03-10
[2025-03-10 10:50:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:50:03] Production.INFO: Total Charge 0
[2025-03-10 10:50:03] Production.INFO: CreateAllLog End
[2025-03-10 10:50:04] Production.INFO: Account Balance End.
[2025-03-10 10:50:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:50:04] Production.INFO: ==31308== Releasing lock...
[2025-03-10 10:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:50:04] Production.INFO: ==31312== Lock acquired, processing the job...
[2025-03-10 10:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:50:04] Production.INFO: ==31304== Lock acquired, processing the job...
[2025-03-10 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:50:04] Production.INFO: ==31306== Lock acquired, processing the job...
[2025-03-10 10:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:50:04] Production.INFO: ==31310== Lock acquired, processing the job...
[2025-03-10 10:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:50:04] Production.INFO: ==31314== Lock acquired, processing the job...
[2025-03-10 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:50:04] Production.ERROR: done
[2025-03-10 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-03-10 10:50:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:50:04] Production.INFO: count ==21
[2025-03-10 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649016') start
[2025-03-10 10:50:04] Production.INFO: ==31304== Releasing lock...
[2025-03-10 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649016') end
[2025-03-10 10:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:50:04] Production.INFO: 1
[2025-03-10 10:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 10:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649017', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 10:50:05] Production.INFO: ==31314== Releasing lock...
[2025-03-10 10:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:50:05] Production.ERROR: done
[2025-03-10 10:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:50:05] Production.ERROR: done
[2025-03-10 10:50:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:50:06
[end_date_ymd] => 2025-03-10 10:50:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:50:06' and `end` < '2025-03-10 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-03-10 10:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649017', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 10:50:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 10:50:10] Production.INFO: ProcessCDR(1,14649017,1,1,2)
[2025-03-10 10:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649017,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649017,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:50:10] Production.INFO: ==31312== Releasing lock...
[2025-03-10 10:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 10:50:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 10:50:16] Production.ERROR: CronJobId end10
[2025-03-10 10:50:16] Production.INFO: ==31306== Releasing lock...
[2025-03-10 10:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:50:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:50:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:50:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:50:17] Production.INFO: call_cost start
[2025-03-10 10:50:17] Production.INFO: call_cost end
[2025-03-10 10:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:50:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:50:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:50:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:50:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:50:18] Production.INFO: ==31302== Releasing lock...
[2025-03-10 10:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:50:20] Production.INFO: count ==3835
[2025-03-10 10:50:21] Production.ERROR: pbx CDR StartTime 2025-03-10 07:50:06 - End Time 2025-03-10 10:50:06
[2025-03-10 10:50:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649018', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649018', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649018', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649018', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:50:21] Production.INFO: ProcessCDR(1,14649018,1,1,2)
[2025-03-10 10:50:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:50:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:50:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:50:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649018', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649018', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:50:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:50:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:50:27] Production.INFO: ==31310== Releasing lock...
[2025-03-10 10:50:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:50:27] Production.INFO: 56.5 MB #Memory Used#
[2025-03-10 14:51:02] Production.INFO: ==31403== Lock acquired, processing the job...
[2025-03-10 14:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:51:02] Production.INFO: neon service started
[2025-03-10 14:51:02] Production.INFO: neon service started
[2025-03-10 14:51:02] Production.INFO: ==31403== Releasing lock...
[2025-03-10 14:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:51:02] Production.INFO: ==31407== Lock acquired, processing the job...
[2025-03-10 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:51:02] Production.INFO: ==31407== Releasing lock...
[2025-03-10 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:51:02] Production.INFO: ==31405== Lock acquired, processing the job...
[2025-03-10 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:51:03] Production.INFO: ==31405== Releasing lock...
[2025-03-10 10:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:51:03] Production.INFO: ==31414== Lock acquired, processing the job...
[2025-03-10 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:51:03] Production.INFO: ==31416== Lock acquired, processing the job...
[2025-03-10 10:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:51:04] Production.INFO: ==31422== Lock acquired, processing the job...
[2025-03-10 10:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:51:04] Production.INFO: ==31412== Lock acquired, processing the job...
[2025-03-10 10:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 10:51:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:51:04] Production.INFO: count ==21
[2025-03-10 10:51:04] Production.INFO: ==31418== Lock acquired, processing the job...
[2025-03-10 10:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649020') start
[2025-03-10 10:51:04] Production.INFO: ==31414== Releasing lock...
[2025-03-10 10:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649020') end
[2025-03-10 10:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:51:04] Production.INFO: 1
[2025-03-10 10:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:51:04] Production.INFO: Account Balance Start.
[2025-03-10 10:51:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:51:04] Production.INFO: ==31422== Releasing lock...
[2025-03-10 10:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:51:04] Production.INFO: 117
[2025-03-10 10:51:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:51:04] Production.INFO: ==31420== Lock acquired, processing the job...
[2025-03-10 10:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:51:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:51:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:51:04] Production.INFO: Total Charge 0
[2025-03-10 10:51:04] Production.INFO: CreateAllLog End
[2025-03-10 10:51:04] Production.INFO: Account Balance End.
[2025-03-10 10:51:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:51:04] Production.INFO: ==31418== Releasing lock...
[2025-03-10 10:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:51:04] Production.ERROR: done
[2025-03-10 10:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:51:05] Production.ERROR: done
[2025-03-10 10:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:51:06
[end_date_ymd] => 2025-03-10 10:51:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:51:06' and `end` < '2025-03-10 10: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-03-10 10:51:14] Production.ERROR: CronJobId end10
[2025-03-10 10:51:14] Production.INFO: ==31416== Releasing lock...
[2025-03-10 10:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:51:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:51:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:51:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:51:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:51:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:51:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:51:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:51:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:51:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:51:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:51:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:51:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:51:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:51:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:51:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:51:16] Production.INFO: call_cost start
[2025-03-10 10:51:16] Production.INFO: call_cost end
[2025-03-10 10:51:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:51:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:51:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:51:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:51:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:51:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:51:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:51:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:51:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:51:17] Production.INFO: ==31412== Releasing lock...
[2025-03-10 10:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:51:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:51:18] Production.INFO: count ==3974
[2025-03-10 10:51:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:51:06 - End Time 2025-03-10 10:51:06
[2025-03-10 10:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649023', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649023', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649023', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649023', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:51:20] Production.INFO: ProcessCDR(1,14649023,1,1,2)
[2025-03-10 10:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:51:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:51:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649023', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649023', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:51:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:51:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:51:26] Production.INFO: ==31420== Releasing lock...
[2025-03-10 10:51:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:51:26] Production.INFO: 57.75 MB #Memory Used#
[2025-03-10 14:52:01] Production.INFO: ==31505== Lock acquired, processing the job...
[2025-03-10 14:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:52:01] Production.INFO: neon service started
[2025-03-10 14:52:01] Production.INFO: neon service started
[2025-03-10 14:52:01] Production.INFO: ==31505== Releasing lock...
[2025-03-10 14:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:52:02] Production.INFO: ==31507== Lock acquired, processing the job...
[2025-03-10 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:52:02] Production.INFO: ==31507== Releasing lock...
[2025-03-10 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:52:02] Production.INFO: ==31509== Lock acquired, processing the job...
[2025-03-10 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:52:02] Production.INFO: ==31509== Releasing lock...
[2025-03-10 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:52:03] Production.INFO: ==31514== Lock acquired, processing the job...
[2025-03-10 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:52:03] Production.INFO: ==31512== Lock acquired, processing the job...
[2025-03-10 10:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:52:03] Production.INFO: ==31518== Lock acquired, processing the job...
[2025-03-10 10:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:52:03] Production.INFO: Account Balance Start.
[2025-03-10 10:52:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:52:03] Production.INFO: 117
[2025-03-10 10:52:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:52:03] Production.INFO: ==31516== Lock acquired, processing the job...
[2025-03-10 10:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:52:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:52:03] Production.INFO: Date 2025-03-10
[2025-03-10 10:52:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:52:03] Production.INFO: ==31514== Releasing lock...
[2025-03-10 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:52:03] Production.INFO: ==31520== Lock acquired, processing the job...
[2025-03-10 10:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:52:03] Production.INFO: ==31522== Lock acquired, processing the job...
[2025-03-10 10:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:52:03] Production.INFO: Total Charge 0
[2025-03-10 10:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:52:03] Production.INFO: CreateAllLog End
[2025-03-10 10:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10: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-03-10 10:52:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:52:04] Production.INFO: count ==21
[2025-03-10 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649027') start
[2025-03-10 10:52:04] Production.INFO: Account Balance End.
[2025-03-10 10:52:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:52:04] Production.INFO: ==31518== Releasing lock...
[2025-03-10 10:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:52:04] Production.ERROR: done
[2025-03-10 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649027') end
[2025-03-10 10:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:52:04] Production.INFO: 1
[2025-03-10 10:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:52:04] Production.INFO: ==31522== Releasing lock...
[2025-03-10 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:52:04] Production.ERROR: done
[2025-03-10 10:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:52:05
[end_date_ymd] => 2025-03-10 10:52:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:52:05' and `end` < '2025-03-10 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-03-10 10:52:14] Production.ERROR: CronJobId end10
[2025-03-10 10:52:14] Production.INFO: ==31516== Releasing lock...
[2025-03-10 10:52:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:52:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:52:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:52:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:52:16] Production.INFO: call_cost start
[2025-03-10 10:52:16] Production.INFO: call_cost end
[2025-03-10 10:52:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:52:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:52:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:52:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:52:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:52:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:52:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:52:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:52:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:52:17] Production.INFO: ==31512== Releasing lock...
[2025-03-10 10:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:52:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:52:18] Production.INFO: count ==3994
[2025-03-10 10:52:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:52:05 - End Time 2025-03-10 10:52:05
[2025-03-10 10:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649028', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649028', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649028', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649028', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:52:20] Production.INFO: ProcessCDR(1,14649028,1,1,2)
[2025-03-10 10:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:52:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649028', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649028', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:52:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:52:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:52:26] Production.INFO: ==31520== Releasing lock...
[2025-03-10 10:52:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:52:26] Production.INFO: 57.75 MB #Memory Used#
[2025-03-10 14:53:02] Production.INFO: ==31610== Lock acquired, processing the job...
[2025-03-10 14:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:53:02] Production.INFO: neon service started
[2025-03-10 14:53:02] Production.INFO: neon service started
[2025-03-10 14:53:02] Production.INFO: ==31610== Releasing lock...
[2025-03-10 14:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:53:02] Production.INFO: ==31612== Lock acquired, processing the job...
[2025-03-10 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:53:02] Production.INFO: ==31612== Releasing lock...
[2025-03-10 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:53:02] Production.INFO: ==31614== Lock acquired, processing the job...
[2025-03-10 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:53:03] Production.INFO: ==31614== Releasing lock...
[2025-03-10 14:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:53:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:53:03] Production.INFO: ==31625== Lock acquired, processing the job...
[2025-03-10 10:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:53:03] Production.INFO: Account Balance Start.
[2025-03-10 10:53:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:53:03] Production.INFO: 117
[2025-03-10 10:53:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:53:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:53:04] Production.INFO: Total Charge 0
[2025-03-10 10:53:04] Production.INFO: CreateAllLog End
[2025-03-10 10:53:04] Production.INFO: ==31619== Lock acquired, processing the job...
[2025-03-10 10:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:53:04] Production.INFO: ==31629== Lock acquired, processing the job...
[2025-03-10 10:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:53:04] Production.INFO: ==31621== Lock acquired, processing the job...
[2025-03-10 10:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:53:04] Production.INFO: Account Balance End.
[2025-03-10 10:53:04] Production.INFO: ==31623== Lock acquired, processing the job...
[2025-03-10 10:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:53:04] Production.INFO: ==31625== Releasing lock...
[2025-03-10 10:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:53:04] Production.INFO: ==31627== Lock acquired, processing the job...
[2025-03-10 10:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10: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-03-10 10:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:53:04] Production.INFO: count ==13
[2025-03-10 10:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10: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-03-10 10:53:04] Production.INFO: count ==21
[2025-03-10 10:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649030') start
[2025-03-10 10:53:04] Production.INFO: ==31621== Releasing lock...
[2025-03-10 10:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649030') end
[2025-03-10 10:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:53:04] Production.INFO: 1
[2025-03-10 10:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:53:04] Production.INFO: ==31629== Releasing lock...
[2025-03-10 10:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:53:05] Production.ERROR: done
[2025-03-10 10:53:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:53:05] Production.ERROR: done
[2025-03-10 10:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:53:06
[end_date_ymd] => 2025-03-10 10:53:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:53:06' and `end` < '2025-03-10 10: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-03-10 10:53:15] Production.ERROR: CronJobId end10
[2025-03-10 10:53:15] Production.INFO: ==31623== Releasing lock...
[2025-03-10 10:53:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:53:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:53:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:53:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:53:15] Production.INFO: call_cost start
[2025-03-10 10:53:15] Production.INFO: call_cost end
[2025-03-10 10:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:53:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:53:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:53:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:53:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:53:16] Production.INFO: ==31619== Releasing lock...
[2025-03-10 10:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:53:19] Production.INFO: count ==4022
[2025-03-10 10:53:21] Production.ERROR: pbx CDR StartTime 2025-03-10 07:53:06 - End Time 2025-03-10 10:53:06
[2025-03-10 10:53:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649033', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649033', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649033', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649033', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:53:21] Production.INFO: ProcessCDR(1,14649033,1,1,2)
[2025-03-10 10:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:53:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:53:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:53:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649033', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649033', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:53:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:53:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:53:26] Production.INFO: ==31627== Releasing lock...
[2025-03-10 10:53:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:53:26] Production.INFO: 58 MB #Memory Used#
[2025-03-10 14:54:01] Production.INFO: ==31708== Lock acquired, processing the job...
[2025-03-10 14:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:54:01] Production.INFO: neon service started
[2025-03-10 14:54:01] Production.INFO: neon service started
[2025-03-10 14:54:01] Production.INFO: ==31708== Releasing lock...
[2025-03-10 14:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:54:02] Production.INFO: ==31710== Lock acquired, processing the job...
[2025-03-10 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:54:02] Production.INFO: ==31710== Releasing lock...
[2025-03-10 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:54:02] Production.INFO: ==31712== Lock acquired, processing the job...
[2025-03-10 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:54:02] Production.INFO: ==31712== Releasing lock...
[2025-03-10 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:54:03] Production.INFO: ==31719== Lock acquired, processing the job...
[2025-03-10 10:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:54:03] Production.INFO: ==31721== Lock acquired, processing the job...
[2025-03-10 10:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:54:03] Production.INFO: ==31714== Lock acquired, processing the job...
[2025-03-10 10:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:54:03] Production.INFO: Account Balance Start.
[2025-03-10 10:54:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:54:03] Production.INFO: 117
[2025-03-10 10:54:03] Production.INFO: ==31716== Lock acquired, processing the job...
[2025-03-10 10:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:54:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:54:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:54:03] Production.INFO: ==31723== Lock acquired, processing the job...
[2025-03-10 10:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:54:03] Production.INFO: ==31725== Lock acquired, processing the job...
[2025-03-10 10:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:54:03] Production.INFO: Date 2025-03-10
[2025-03-10 10:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:54:03] Production.INFO: Total Charge 0
[2025-03-10 10: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-03-10 10:54:03] Production.INFO: CreateAllLog End
[2025-03-10 10:54:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:54:04] Production.INFO: count ==21
[2025-03-10 10:54:04] Production.INFO: ==31716== Releasing lock...
[2025-03-10 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649037') start
[2025-03-10 10:54:04] Production.ERROR: done
[2025-03-10 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649037') end
[2025-03-10 10:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:54:04] Production.INFO: 1
[2025-03-10 10:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:54:04] Production.INFO: Account Balance End.
[2025-03-10 10:54:04] Production.INFO: ==31725== Releasing lock...
[2025-03-10 10:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:54:04] Production.INFO: ==31721== Releasing lock...
[2025-03-10 10:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:54:04] Production.ERROR: done
[2025-03-10 10:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:54:05
[end_date_ymd] => 2025-03-10 10:54:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:54:05' and `end` < '2025-03-10 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-03-10 10:54:13] Production.ERROR: CronJobId end10
[2025-03-10 10:54:13] Production.INFO: ==31719== Releasing lock...
[2025-03-10 10:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:54:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:54:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:54:15] Production.INFO: call_cost start
[2025-03-10 10:54:15] Production.INFO: call_cost end
[2025-03-10 10:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:54:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:54:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:54:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:54:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:54:16] Production.INFO: ==31714== Releasing lock...
[2025-03-10 10:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:54:18] Production.INFO: count ==4027
[2025-03-10 10:54:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:54:05 - End Time 2025-03-10 10:54:05
[2025-03-10 10:54:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649038', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649038', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649038', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649038', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:54:20] Production.INFO: ProcessCDR(1,14649038,1,1,2)
[2025-03-10 10:54:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:54:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:54:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649038', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649038', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:54:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:54:26] Production.INFO: ==31723== Releasing lock...
[2025-03-10 10:54:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:54:26] Production.INFO: 58 MB #Memory Used#
[2025-03-10 14:55:02] Production.INFO: ==31787== Lock acquired, processing the job...
[2025-03-10 14:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:55:02] Production.INFO: neon service started
[2025-03-10 14:55:02] Production.INFO: neon service started
[2025-03-10 14:55:02] Production.INFO: ==31787== Releasing lock...
[2025-03-10 14:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:55:02] Production.INFO: ==31791== Lock acquired, processing the job...
[2025-03-10 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:55:02] Production.INFO: ==31791== Releasing lock...
[2025-03-10 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:55:02] Production.INFO: ==31789== Lock acquired, processing the job...
[2025-03-10 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:55:03] Production.INFO: ==31789== Releasing lock...
[2025-03-10 10:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:55:04] Production.INFO: ==31796== Lock acquired, processing the job...
[2025-03-10 10:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:55:04] Production.INFO: ==31794== Lock acquired, processing the job...
[2025-03-10 10:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:55:04] Production.INFO: ==31804== Lock acquired, processing the job...
[2025-03-10 10:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:55:04] Production.INFO: ==31798== Lock acquired, processing the job...
[2025-03-10 10:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10: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-03-10 10:55:04] Production.INFO: ==31800== Lock acquired, processing the job...
[2025-03-10 10:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:55:04] Production.INFO: ==31796== Releasing lock...
[2025-03-10 10:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:55:04] Production.INFO: count ==13
[2025-03-10 10: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-03-10 10:55:04] Production.INFO: ==31802== Lock acquired, processing the job...
[2025-03-10 10:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:55:04] Production.INFO: count ==21
[2025-03-10 10:55:04] Production.INFO: Account Balance Start.
[2025-03-10 10:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649041') start
[2025-03-10 10:55:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:55:04] Production.INFO: 117
[2025-03-10 10:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:55:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649041') end
[2025-03-10 10:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:55:04] Production.INFO: 1
[2025-03-10 10:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:55:04] Production.INFO: ==31804== Releasing lock...
[2025-03-10 10:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:55:04] Production.INFO: Total Charge 0
[2025-03-10 10:55:04] Production.INFO: CreateAllLog End
[2025-03-10 10:55:05] Production.ERROR: done
[2025-03-10 10:55:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:55:05] Production.ERROR: done
[2025-03-10 10:55:05] Production.INFO: Account Balance End.
[2025-03-10 10:55:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:55:05] Production.INFO: ==31800== Releasing lock...
[2025-03-10 10:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:55:06
[end_date_ymd] => 2025-03-10 10:55:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:55:06' and `end` < '2025-03-10 10: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-03-10 10:55:14] Production.ERROR: CronJobId end10
[2025-03-10 10:55:14] Production.INFO: ==31798== Releasing lock...
[2025-03-10 10:55:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:55:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:55:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:55:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:55:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:55:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:55:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:55:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:55:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:55:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:55:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:55:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:55:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:55:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:55:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:55:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:55:16] Production.INFO: call_cost start
[2025-03-10 10:55:16] Production.INFO: call_cost end
[2025-03-10 10:55:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:55:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:55:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:55:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:55:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:55:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:55:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:55:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:55:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:55:17] Production.INFO: ==31794== Releasing lock...
[2025-03-10 10:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:55:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:55:19] Production.INFO: count ==4044
[2025-03-10 10:55:21] Production.ERROR: pbx CDR StartTime 2025-03-10 07:55:06 - End Time 2025-03-10 10:55:06
[2025-03-10 10:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649043', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649043', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649043', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649043', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:55:21] Production.INFO: ProcessCDR(1,14649043,1,1,2)
[2025-03-10 10:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:55:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649043', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649043', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:55:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:55:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:55:27] Production.INFO: ==31802== Releasing lock...
[2025-03-10 10:55:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:55:27] Production.INFO: 58.25 MB #Memory Used#
[2025-03-10 14:56:01] Production.INFO: ==31872== Lock acquired, processing the job...
[2025-03-10 14:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:56:01] Production.INFO: neon service started
[2025-03-10 14:56:01] Production.INFO: neon service started
[2025-03-10 14:56:01] Production.INFO: ==31872== Releasing lock...
[2025-03-10 14:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:56:02] Production.INFO: ==31876== Lock acquired, processing the job...
[2025-03-10 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:56:02] Production.INFO: ==31876== Releasing lock...
[2025-03-10 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:56:02] Production.INFO: ==31874== Lock acquired, processing the job...
[2025-03-10 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:56:02] Production.INFO: ==31874== Releasing lock...
[2025-03-10 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:56:03] Production.INFO: ==31879== Lock acquired, processing the job...
[2025-03-10 10:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:56:03] Production.INFO: ==31883== Lock acquired, processing the job...
[2025-03-10 10:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:56:03] Production.INFO: ==31889== Lock acquired, processing the job...
[2025-03-10 10:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 10:56:04] Production.INFO: ==31881== Lock acquired, processing the job...
[2025-03-10 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:56:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:56:04] Production.INFO: count ==21
[2025-03-10 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649045') start
[2025-03-10 10:56:04] Production.INFO: ==31885== Lock acquired, processing the job...
[2025-03-10 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:56:04] Production.INFO: ==31887== Lock acquired, processing the job...
[2025-03-10 10:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649045') end
[2025-03-10 10:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:56:04] Production.INFO: 1
[2025-03-10 10:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:56:04] Production.INFO: Account Balance Start.
[2025-03-10 10:56:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:56:04] Production.INFO: 117
[2025-03-10 10:56:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:56:04] Production.INFO: ==31889== Releasing lock...
[2025-03-10 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:56:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:56:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:56:04] Production.INFO: ==31881== Releasing lock...
[2025-03-10 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:56:04] Production.INFO: Total Charge 0
[2025-03-10 10:56:04] Production.INFO: CreateAllLog End
[2025-03-10 10:56:04] Production.ERROR: done
[2025-03-10 10:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:56:04] Production.INFO: Account Balance End.
[2025-03-10 10:56:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:56:04] Production.INFO: ==31885== Releasing lock...
[2025-03-10 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:56:04] Production.ERROR: done
[2025-03-10 10:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:56:06
[end_date_ymd] => 2025-03-10 10:56:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:56:06' and `end` < '2025-03-10 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-03-10 10:56:12] Production.ERROR: CronJobId end10
[2025-03-10 10:56:12] Production.INFO: ==31883== Releasing lock...
[2025-03-10 10:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:56:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:56:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:56:15] Production.INFO: call_cost start
[2025-03-10 10:56:15] Production.INFO: call_cost end
[2025-03-10 10:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:56:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:56:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:56:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:56:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:56:16] Production.INFO: ==31879== Releasing lock...
[2025-03-10 10:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:56:19] Production.INFO: count ==4059
[2025-03-10 10:56:21] Production.ERROR: pbx CDR StartTime 2025-03-10 07:56:06 - End Time 2025-03-10 10:56:06
[2025-03-10 10:56:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649048', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649048', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649048', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649048', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:56:21] Production.INFO: ProcessCDR(1,14649048,1,1,2)
[2025-03-10 10:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:56:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:56:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:56:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649048', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649048', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:56:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:56:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:56:26] Production.INFO: ==31887== Releasing lock...
[2025-03-10 10:56:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:56:26] Production.INFO: 58.25 MB #Memory Used#
[2025-03-10 14:57:02] Production.INFO: ==31951== Lock acquired, processing the job...
[2025-03-10 14:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:57:02] Production.INFO: neon service started
[2025-03-10 14:57:02] Production.INFO: neon service started
[2025-03-10 14:57:02] Production.INFO: ==31951== Releasing lock...
[2025-03-10 14:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:57:02] Production.INFO: ==31953== Lock acquired, processing the job...
[2025-03-10 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:57:02] Production.INFO: ==31955== Lock acquired, processing the job...
[2025-03-10 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:57:03] Production.INFO: ==31955== Releasing lock...
[2025-03-10 14:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:57:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:57:03] Production.INFO: ==31953== Releasing lock...
[2025-03-10 10:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:57:04] Production.INFO: ==31980== Lock acquired, processing the job...
[2025-03-10 10:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:57:04] Production.INFO: ==31975== Lock acquired, processing the job...
[2025-03-10 10:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 10:57:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:57:04] Production.INFO: count ==21
[2025-03-10 10:57:04] Production.INFO: ==31962== Lock acquired, processing the job...
[2025-03-10 10:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:57:04] Production.INFO: ==31960== Lock acquired, processing the job...
[2025-03-10 10:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:57:04] Production.INFO: ==31967== Lock acquired, processing the job...
[2025-03-10 10:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649049') start
[2025-03-10 10:57:04] Production.INFO: ==31972== Lock acquired, processing the job...
[2025-03-10 10:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649049') end
[2025-03-10 10:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:57:04] Production.INFO: 1
[2025-03-10 10:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:57:04] Production.INFO: ==31980== Releasing lock...
[2025-03-10 10:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:57:04] Production.INFO: Account Balance Start.
[2025-03-10 10:57:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:57:04] Production.INFO: 117
[2025-03-10 10:57:04] Production.ERROR: done
[2025-03-10 10:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:57:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:57:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:57:05] Production.INFO: Date 2025-03-10
[2025-03-10 10:57:05] Production.INFO: Reseller ==> 0
[2025-03-10 10:57:05] Production.ERROR: done
[2025-03-10 10:57:05] Production.INFO: Total Charge 0
[2025-03-10 10:57:05] Production.INFO: CreateAllLog End
[2025-03-10 10:57:05] Production.INFO: ==31962== Releasing lock...
[2025-03-10 10:57:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:57:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:57:05] Production.INFO: Account Balance End.
[2025-03-10 10:57:05] Production.ERROR: CronJobId end 12
[2025-03-10 10:57:05] Production.INFO: ==31972== Releasing lock...
[2025-03-10 10:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:57:06
[end_date_ymd] => 2025-03-10 10:57:06
[RateCDR] => 1
)
[2025-03-10 10: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-03-10 07:57:06' and `end` < '2025-03-10 10: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-03-10 10:57:14] Production.ERROR: CronJobId end10
[2025-03-10 10:57:14] Production.INFO: ==31967== Releasing lock...
[2025-03-10 10:57:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:57:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:57:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:57:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:57:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:57:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:57:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:57:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:57:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:57:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:57:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:57:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:57:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:57:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:57:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:57:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:57:16] Production.INFO: call_cost start
[2025-03-10 10:57:16] Production.INFO: call_cost end
[2025-03-10 10:57:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:57:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:57:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:57:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:57:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:57:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:57:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:57:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:57:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:57:17] Production.INFO: ==31960== Releasing lock...
[2025-03-10 10:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:57:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:57:19] Production.INFO: count ==4064
[2025-03-10 10:57:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:57:06 - End Time 2025-03-10 10:57:06
[2025-03-10 10:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649053', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649053', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649053', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649053', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:57:21] Production.INFO: ProcessCDR(1,14649053,1,1,2)
[2025-03-10 10:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:57:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649053', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649053', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:57:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:57:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:57:27] Production.INFO: ==31975== Releasing lock...
[2025-03-10 10:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:57:27] Production.INFO: 58.25 MB #Memory Used#
[2025-03-10 14:58:01] Production.INFO: ==32072== Lock acquired, processing the job...
[2025-03-10 14:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:58:01] Production.INFO: neon service started
[2025-03-10 14:58:01] Production.INFO: neon service started
[2025-03-10 14:58:01] Production.INFO: ==32072== Releasing lock...
[2025-03-10 14:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:58:02] Production.INFO: ==32076== Lock acquired, processing the job...
[2025-03-10 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:58:02] Production.INFO: ==32076== Releasing lock...
[2025-03-10 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:58:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:58:02] Production.INFO: ==32074== Lock acquired, processing the job...
[2025-03-10 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 10:58:02] Production.INFO: ==32074== Releasing lock...
[2025-03-10 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:58:03] Production.INFO: ==32085== Lock acquired, processing the job...
[2025-03-10 10:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:58:03] Production.INFO: ==32087== Lock acquired, processing the job...
[2025-03-10 10:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:58:03] Production.INFO: ==32081== Lock acquired, processing the job...
[2025-03-10 10:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:58:03] Production.INFO: ==32083== Lock acquired, processing the job...
[2025-03-10 10:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:58:03] Production.INFO: Account Balance Start.
[2025-03-10 10:58:03] Production.INFO: CreateAllLog Start
[2025-03-10 10:58:03] Production.INFO: 117
[2025-03-10 10:58:03] Production.INFO: Date 2025-03-08
[2025-03-10 10:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:58:03] Production.INFO: Date 2025-03-09
[2025-03-10 10:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:58:03] Production.INFO: Date 2025-03-10
[2025-03-10 10:58:03] Production.INFO: Reseller ==> 0
[2025-03-10 10:58:03] Production.INFO: ==32089== Lock acquired, processing the job...
[2025-03-10 10:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:58:03] Production.INFO: ==32091== Lock acquired, processing the job...
[2025-03-10 10:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:58:03] Production.INFO: Total Charge 0
[2025-03-10 10:58:04] Production.INFO: CreateAllLog End
[2025-03-10 10:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:58:04] Production.INFO: ==32083== Releasing lock...
[2025-03-10 10:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 10:58:04] Production.INFO: count ==13
[2025-03-10 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-03-10 10:58:04] Production.INFO: count ==21
[2025-03-10 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649057') start
[2025-03-10 10:58:04] Production.ERROR: done
[2025-03-10 10:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:58:04] Production.INFO: Account Balance End.
[2025-03-10 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649057') end
[2025-03-10 10:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:58:04] Production.INFO: 1
[2025-03-10 10:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:58:04] Production.INFO: ==32091== Releasing lock...
[2025-03-10 10:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:58:04] Production.INFO: ==32087== Releasing lock...
[2025-03-10 10:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:58:04] Production.ERROR: done
[2025-03-10 10:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:58:05
[end_date_ymd] => 2025-03-10 10:58:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 07:58:05' and `end` < '2025-03-10 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-03-10 10:58:14] Production.ERROR: CronJobId end10
[2025-03-10 10:58:14] Production.INFO: ==32085== Releasing lock...
[2025-03-10 10:58:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:58:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:58:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:58:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:58:15] Production.INFO: call_cost start
[2025-03-10 10:58:15] Production.INFO: call_cost end
[2025-03-10 10:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:58:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:58:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:58:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:58:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:58:16] Production.INFO: ==32081== Releasing lock...
[2025-03-10 10:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:58:18] Production.INFO: count ==4087
[2025-03-10 10:58:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:58:05 - End Time 2025-03-10 10:58:05
[2025-03-10 10:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649058', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649058', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649058', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649058', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:58:20] Production.INFO: ProcessCDR(1,14649058,1,1,2)
[2025-03-10 10:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:58:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:58:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:58:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649058', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649058', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:58:26] Production.INFO: ==32089== Releasing lock...
[2025-03-10 10:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:58:26] Production.INFO: 58.5 MB #Memory Used#
[2025-03-10 14:59:02] Production.INFO: ==32153== Lock acquired, processing the job...
[2025-03-10 14:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 14:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 14:59:02] Production.INFO: neon service started
[2025-03-10 14:59:02] Production.INFO: neon service started
[2025-03-10 14:59:02] Production.INFO: ==32153== Releasing lock...
[2025-03-10 14:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 14:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 10:59:02] Production.INFO: ==32155== Lock acquired, processing the job...
[2025-03-10 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:59:02] Production.INFO: ==32157== Lock acquired, processing the job...
[2025-03-10 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:59:02] Production.INFO: ==32157== Releasing lock...
[2025-03-10 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 14:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 10:59:02] Production.INFO: ==32155== Releasing lock...
[2025-03-10 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 10:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 10:59:03] Production.INFO: ==32160== Lock acquired, processing the job...
[2025-03-10 10:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 10:59:03] Production.INFO: ==32166== Lock acquired, processing the job...
[2025-03-10 10:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 10:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 10:59:03] Production.INFO: ==32170== Lock acquired, processing the job...
[2025-03-10 10:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 10:59:04] Production.INFO: Account Balance Start.
[2025-03-10 10:59:04] Production.INFO: CreateAllLog Start
[2025-03-10 10:59:04] Production.INFO: ==32162== Lock acquired, processing the job...
[2025-03-10 10:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 10:59:04] Production.INFO: 117
[2025-03-10 10:59:04] Production.INFO: Date 2025-03-08
[2025-03-10 10:59:04] Production.INFO: ==32164== Lock acquired, processing the job...
[2025-03-10 10:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 10:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:59:04] Production.INFO: Date 2025-03-09
[2025-03-10 10:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 10: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-03-10 10:59:04] Production.INFO: ==32168== Lock acquired, processing the job...
[2025-03-10 10:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 10:59:04] Production.INFO: Date 2025-03-10
[2025-03-10 10:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 10:59:04] Production.INFO: count ==13
[2025-03-10 10: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-03-10 10:59:04] Production.INFO: count ==21
[2025-03-10 10:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 10:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 10:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 10:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 10:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649061') start
[2025-03-10 10:59:04] Production.INFO: Total Charge 0
[2025-03-10 10:59:04] Production.INFO: CreateAllLog End
[2025-03-10 10:59:04] Production.INFO: ==32162== Releasing lock...
[2025-03-10 10:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 10:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649061') end
[2025-03-10 10:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 10:59:04] Production.INFO: 1
[2025-03-10 10:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 10:59:04] Production.INFO: ==32170== Releasing lock...
[2025-03-10 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 10:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 10:59:04] Production.INFO: Account Balance End.
[2025-03-10 10:59:04] Production.ERROR: CronJobId end 12
[2025-03-10 10:59:04] Production.INFO: ==32166== Releasing lock...
[2025-03-10 10:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 10:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 10:59:04] Production.ERROR: done
[2025-03-10 10:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 10:59:05] Production.ERROR: done
[2025-03-10 10:59:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 07:59:06
[end_date_ymd] => 2025-03-10 10:59:06
[RateCDR] => 1
)
[2025-03-10 10:59:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 07:59:06' and `end` < '2025-03-10 10:59:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 10:59:14] Production.ERROR: CronJobId end10
[2025-03-10 10:59:14] Production.INFO: ==32164== Releasing lock...
[2025-03-10 10:59:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 10:59:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 10:59:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 10:59:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 10:59:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 10:59:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 10:59:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 10:59:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 10:59:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 10:59:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 10:59:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 10:59:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 10:59:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 10:59:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 10:59:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 10:59:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 10:59:16] Production.INFO: call_cost start
[2025-03-10 10:59:16] Production.INFO: call_cost end
[2025-03-10 10:59:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 10:59:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 10:59:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 10:59:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 10:59:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 10:59:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 10:59:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 10:59:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 10:59:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 10:59:17] Production.INFO: ==32160== Releasing lock...
[2025-03-10 10:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 10:59:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 10:59:19] Production.INFO: count ==4092
[2025-03-10 10:59:20] Production.ERROR: pbx CDR StartTime 2025-03-10 07:59:06 - End Time 2025-03-10 10:59:06
[2025-03-10 10:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649063', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649063', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649063', 'tblTempVendorCDR_20' ) start
[2025-03-10 10:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649063', 'tblTempVendorCDR_20' ) end
[2025-03-10 10:59:21] Production.INFO: ProcessCDR(1,14649063,1,1,2)
[2025-03-10 10:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:59:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 10:59:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:59:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 10:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649063', 'tblTempUsageDetail_20' ) start
[2025-03-10 10:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649063', 'tblTempUsageDetail_20' ) end
[2025-03-10 10:59:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 10:59:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 10:59:26] Production.INFO: ==32168== Releasing lock...
[2025-03-10 10:59:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 10:59:26] Production.INFO: 58.5 MB #Memory Used#
[2025-03-10 15:00:01] Production.INFO: ==32238== Lock acquired, processing the job...
[2025-03-10 15:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:00:01] Production.INFO: neon service started
[2025-03-10 15:00:01] Production.INFO: neon service started
[2025-03-10 15:00:01] Production.INFO: ==32238== Releasing lock...
[2025-03-10 15:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:00:01] Production.INFO: ==32240== Lock acquired, processing the job...
[2025-03-10 11:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:00:02] Production.INFO: ==32240== Releasing lock...
[2025-03-10 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:00:02] Production.INFO: ==32242== Lock acquired, processing the job...
[2025-03-10 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:00:02] Production.INFO: ==32242== Releasing lock...
[2025-03-10 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:00:03] Production.INFO: ==32244== Lock acquired, processing the job...
[2025-03-10 11:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 11:00:03] Production.INFO: ==32246== Lock acquired, processing the job...
[2025-03-10 11:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:00:04] Production.INFO: ==32250== Lock acquired, processing the job...
[2025-03-10 11:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 11:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:00:04] Production.ERROR: CronJob PID - 32246
[2025-03-10 11:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 11:00:04] Production.ERROR: CronJob ID - 5
[2025-03-10 11:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:00:00
[2025-03-10 11:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 11:00:04] Production.INFO: ==32244== Releasing lock...
[2025-03-10 11:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 11:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 11:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:00:04] Production.INFO: ==32248== Lock acquired, processing the job...
[2025-03-10 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:00:04] Production.INFO: ==32257== Lock acquired, processing the job...
[2025-03-10 11:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:00:04] Production.INFO: ==32255== Lock acquired, processing the job...
[2025-03-10 11:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:00:04] Production.INFO: ==32253== Lock acquired, processing the job...
[2025-03-10 11:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-03-10 11:00:04] Production.INFO: ==32259== Lock acquired, processing the job...
[2025-03-10 11:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 11:00:04] Production.INFO: ==32261== Lock acquired, processing the job...
[2025-03-10 11:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11: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-03-10 11:00:04] Production.INFO: Account Balance Start.
[2025-03-10 11:00:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:00:04] Production.INFO: 117
[2025-03-10 11:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:00:04] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:00:04] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-03-10 11:00:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:00:04] Production.INFO: count ==21
[2025-03-10 11:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-03-10 11:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649067') start
[2025-03-10 11:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:00:04] Production.INFO: Outstanding Amount 43.92
[2025-03-10 11:00:04] Production.INFO: Invoice Full Number INV11672
[2025-03-10 11:00:04] Production.INFO: Transaction start
[2025-03-10 11:00:04] Production.ERROR: done
[2025-03-10 11:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:00:04] Production.INFO: ==32248== Releasing lock...
[2025-03-10 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649067') end
[2025-03-10 11:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:00:05] Production.INFO: 1
[2025-03-10 11:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:00:05] Production.INFO: Total Charge 0
[2025-03-10 11:00:05] Production.INFO: CreateAllLog End
[2025-03-10 11:00:05] Production.INFO: ==32261== Releasing lock...
[2025-03-10 11:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:00:05] Production.ERROR: done
[2025-03-10 11:00:05] Production.ERROR: done
[2025-03-10 11:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 11:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649069', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 11:00:05] Production.INFO: Account Balance End.
[2025-03-10 11:00:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:00:05] Production.INFO: ==32255== Releasing lock...
[2025-03-10 11:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:00:06] Production.INFO: Transaction end
[2025-03-10 11:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:00:06
[end_date_ymd] => 2025-03-10 11:00:06
[RateCDR] => 1
)
[2025-03-10 11:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 08:00:06' and `end` < '2025-03-10 11:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 11:00:08] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-03-10 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:08] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-03-10 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:08] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-03-10 11:00:08] Production.INFO: PaymentPendingInvoice Count - 1
[2025-03-10 11:00:08] Production.INFO: Outstanding Amount 16.39
[2025-03-10 11:00:08] Production.INFO: Invoice Full Number INV11673
[2025-03-10 11:00:08] Production.INFO: Transaction start
[2025-03-10 11:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649069', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 11:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 11:00:10] Production.INFO: ProcessCDR(1,14649069,1,1,2)
[2025-03-10 11:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649069,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649069,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:00:10] Production.INFO: ==32259== Releasing lock...
[2025-03-10 11:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 11:00:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 11:00:10] Production.INFO: Transaction end
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:11] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:11] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-03-10 11:00:11] Production.INFO: PaymentPendingInvoice Count - 1
[2025-03-10 11:00:11] Production.INFO: Outstanding Amount 12.69
[2025-03-10 11:00:11] Production.INFO: Invoice Full Number INV11675
[2025-03-10 11:00:11] Production.INFO: Transaction start
[2025-03-10 11:00:13] Production.INFO: Transaction end
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 5
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 6
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:14] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-03-10 11:00:14] Production.INFO: PaymentPendingInvoice Count - 1
[2025-03-10 11:00:14] Production.INFO: Outstanding Amount 281.62
[2025-03-10 11:00:14] Production.INFO: Invoice Full Number INV11676
[2025-03-10 11:00:14] Production.INFO: Transaction start
[2025-03-10 11:00:15] Production.INFO: Transaction end
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 0
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 1
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 1
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 4
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 19
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 0
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:16] Production.INFO: PaymentMethod - 1
[2025-03-10 11:00:16] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-03-10 11:00:16] Production.INFO: PaymentPendingInvoice Count - 0
[2025-03-10 11:00:17] Production.ERROR: CronJobId end10
[2025-03-10 11:00:17] Production.INFO: ==32250== Releasing lock...
[2025-03-10 11:00:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:00:17] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:00:17] Production.ERROR: CronJobId end11
[2025-03-10 11:00:17] Production.INFO: ==32253== Releasing lock...
[2025-03-10 11:00:17] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-03-10 11:00:17] Production.INFO: 34 MB #Memory Used#
[2025-03-10 11:00:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:00:18] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:00:18] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:00:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:00:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:00:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:00:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:00:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:00:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:00:18] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:00:18] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:00:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:00:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:00:18] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:00:19] Production.INFO: call_cost start
[2025-03-10 11:00:19] Production.INFO: call_cost end
[2025-03-10 11:00:19] Production.INFO: count ==4114
[2025-03-10 11:00:20] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:00:20] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:00:20] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:00:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:00:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:00:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:00:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:00:20] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:00:20] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:00:20] Production.INFO: ==32246== Releasing lock...
[2025-03-10 11:00:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:00:20] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:00:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:00:06 - End Time 2025-03-10 11:00:06
[2025-03-10 11:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649068', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649068', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649068', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649068', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:00:21] Production.INFO: ProcessCDR(1,14649068,1,1,2)
[2025-03-10 11:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:00:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:00:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:00:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649068', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649068', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:00:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:00:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:00:27] Production.INFO: ==32257== Releasing lock...
[2025-03-10 11:00:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:00:27] Production.INFO: 58.75 MB #Memory Used#
[2025-03-10 15:01:02] Production.INFO: ==32378== Lock acquired, processing the job...
[2025-03-10 15:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:01:02] Production.INFO: neon service started
[2025-03-10 15:01:02] Production.INFO: neon service started
[2025-03-10 15:01:02] Production.INFO: ==32378== Releasing lock...
[2025-03-10 15:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:01:02] Production.INFO: ==32382== Lock acquired, processing the job...
[2025-03-10 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:01:02] Production.INFO: ==32382== Releasing lock...
[2025-03-10 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:01:03] Production.INFO: ==32384== Lock acquired, processing the job...
[2025-03-10 15:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:01:03] Production.INFO: ==32384== Releasing lock...
[2025-03-10 15:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:01:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:01:03] Production.INFO: ==32393== Lock acquired, processing the job...
[2025-03-10 11:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:01:03] Production.INFO: ==32389== Lock acquired, processing the job...
[2025-03-10 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:01:03] Production.INFO: Account Balance Start.
[2025-03-10 11:01:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:01:03] Production.INFO: 117
[2025-03-10 11:01:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:01:03] Production.INFO: ==32387== Lock acquired, processing the job...
[2025-03-10 11:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:01:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:01:04] Production.INFO: ==32391== Lock acquired, processing the job...
[2025-03-10 11:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:01:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:01:04] Production.INFO: Total Charge 0
[2025-03-10 11:01:04] Production.INFO: CreateAllLog End
[2025-03-10 11:01:04] Production.INFO: ==32395== Lock acquired, processing the job...
[2025-03-10 11:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:01:04] Production.INFO: ==32397== Lock acquired, processing the job...
[2025-03-10 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:01:04] Production.INFO: ==32389== Releasing lock...
[2025-03-10 11:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:01:04] Production.INFO: Account Balance End.
[2025-03-10 11:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:01:04] Production.INFO: ==32393== Releasing lock...
[2025-03-10 11:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11: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-03-10 11:01:04] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:01:04] Production.INFO: count ==21
[2025-03-10 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649073') start
[2025-03-10 11:01:04] Production.ERROR: done
[2025-03-10 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649073') end
[2025-03-10 11:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:01:04] Production.INFO: 1
[2025-03-10 11:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:01:04] Production.INFO: ==32397== Releasing lock...
[2025-03-10 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:01:05] Production.ERROR: done
[2025-03-10 11:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:01:06
[end_date_ymd] => 2025-03-10 11:01:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:01:06' and `end` < '2025-03-10 11: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-03-10 11:01:14] Production.ERROR: CronJobId end10
[2025-03-10 11:01:14] Production.INFO: ==32391== Releasing lock...
[2025-03-10 11:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:01:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:01:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:01:16] Production.INFO: call_cost start
[2025-03-10 11:01:16] Production.INFO: call_cost end
[2025-03-10 11:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:01:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:01:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:01:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:01:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:01:17] Production.INFO: ==32387== Releasing lock...
[2025-03-10 11:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:01:19] Production.INFO: count ==4200
[2025-03-10 11:01:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:01:06 - End Time 2025-03-10 11:01:06
[2025-03-10 11:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649074', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649074', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649074', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649074', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:01:21] Production.INFO: ProcessCDR(1,14649074,1,1,2)
[2025-03-10 11:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:01:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649074', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649074', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:01:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:01:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:01:26] Production.INFO: ==32395== Releasing lock...
[2025-03-10 11:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:01:26] Production.INFO: 59.5 MB #Memory Used#
[2025-03-10 15:02:01] Production.INFO: ==32495== Lock acquired, processing the job...
[2025-03-10 15:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:02:01] Production.INFO: neon service started
[2025-03-10 15:02:01] Production.INFO: neon service started
[2025-03-10 15:02:01] Production.INFO: ==32495== Releasing lock...
[2025-03-10 15:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:02:01] Production.INFO: ==32497== Lock acquired, processing the job...
[2025-03-10 11:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:02:02] Production.INFO: ==32497== Releasing lock...
[2025-03-10 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:02:02] Production.INFO: ==32499== Lock acquired, processing the job...
[2025-03-10 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:02:02] Production.INFO: ==32499== Releasing lock...
[2025-03-10 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:02:03] Production.INFO: ==32509== Lock acquired, processing the job...
[2025-03-10 11:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:02:03] Production.INFO: ==32505== Lock acquired, processing the job...
[2025-03-10 11:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:02:03] Production.INFO: ==32501== Lock acquired, processing the job...
[2025-03-10 11:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:02:03] Production.INFO: ==32503== Lock acquired, processing the job...
[2025-03-10 11:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:02:03] Production.INFO: ==32507== Lock acquired, processing the job...
[2025-03-10 11:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:02:03] Production.INFO: ==32511== Lock acquired, processing the job...
[2025-03-10 11:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:02:03] Production.INFO: Account Balance Start.
[2025-03-10 11:02:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:02:03] Production.INFO: 117
[2025-03-10 11:02:03] Production.INFO: Date 2025-03-08
[2025-03-10 11: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-03-10 11:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:02:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:02:04] Production.INFO: count ==21
[2025-03-10 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649078') start
[2025-03-10 11:02:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:02:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:02:04] Production.ERROR: done
[2025-03-10 11:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:02:04] Production.INFO: Total Charge 0
[2025-03-10 11:02:04] Production.INFO: ==32503== Releasing lock...
[2025-03-10 11:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649078') end
[2025-03-10 11:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:02:04] Production.INFO: 1
[2025-03-10 11:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:02:04] Production.INFO: CreateAllLog End
[2025-03-10 11:02:04] Production.INFO: ==32511== Releasing lock...
[2025-03-10 11:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:02:04] Production.ERROR: done
[2025-03-10 11:02:04] Production.INFO: Account Balance End.
[2025-03-10 11:02:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:02:04] Production.INFO: ==32507== Releasing lock...
[2025-03-10 11:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:02:05
[end_date_ymd] => 2025-03-10 11:02:05
[RateCDR] => 1
)
[2025-03-10 11:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 08:02:05' and `end` < '2025-03-10 11:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 11:02:14] Production.ERROR: CronJobId end10
[2025-03-10 11:02:14] Production.INFO: ==32505== Releasing lock...
[2025-03-10 11:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:02:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:02:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:02:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:02:16] Production.INFO: call_cost start
[2025-03-10 11:02:16] Production.INFO: call_cost end
[2025-03-10 11:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:02:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:02:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:02:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:02:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:02:17] Production.INFO: ==32501== Releasing lock...
[2025-03-10 11:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:02:18] Production.INFO: count ==4206
[2025-03-10 11:02:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:02:05 - End Time 2025-03-10 11:02:05
[2025-03-10 11:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649079', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649079', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649079', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649079', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:02:20] Production.INFO: ProcessCDR(1,14649079,1,1,2)
[2025-03-10 11:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:02:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:02:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:02:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649079', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649079', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:02:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:02:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:02:26] Production.INFO: ==32509== Releasing lock...
[2025-03-10 11:02:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:02:26] Production.INFO: 59.5 MB #Memory Used#
[2025-03-10 15:03:02] Production.INFO: ==32565== Lock acquired, processing the job...
[2025-03-10 15:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:03:02] Production.INFO: neon service started
[2025-03-10 15:03:02] Production.INFO: neon service started
[2025-03-10 15:03:02] Production.INFO: ==32565== Releasing lock...
[2025-03-10 15:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:03:02] Production.INFO: ==32567== Lock acquired, processing the job...
[2025-03-10 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:03:02] Production.INFO: ==32567== Releasing lock...
[2025-03-10 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:03:03] Production.INFO: ==32569== Lock acquired, processing the job...
[2025-03-10 15:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:03:03] Production.INFO: ==32569== Releasing lock...
[2025-03-10 15:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:03:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:03:03] Production.INFO: ==32575== Lock acquired, processing the job...
[2025-03-10 11:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:03:03] Production.INFO: ==32581== Lock acquired, processing the job...
[2025-03-10 11:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:03:03] Production.INFO: ==32571== Lock acquired, processing the job...
[2025-03-10 11:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:03:04] Production.INFO: ==32573== Lock acquired, processing the job...
[2025-03-10 11:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 11:03:04] Production.INFO: count ==13
[2025-03-10 11:03:04] Production.INFO: ==32579== Lock acquired, processing the job...
[2025-03-10 11:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:03:04] Production.INFO: ==32577== Lock acquired, processing the job...
[2025-03-10 11:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 11:03:04] Production.INFO: count ==21
[2025-03-10 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649080') start
[2025-03-10 11:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:03:04] Production.INFO: Account Balance Start.
[2025-03-10 11:03:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:03:04] Production.INFO: 117
[2025-03-10 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649080') end
[2025-03-10 11:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:03:04] Production.INFO: 1
[2025-03-10 11:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:03:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:03:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:03:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:03:04] Production.INFO: Total Charge 0
[2025-03-10 11:03:04] Production.INFO: ==32581== Releasing lock...
[2025-03-10 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:03:04] Production.INFO: ==32573== Releasing lock...
[2025-03-10 11:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:03:04] Production.INFO: CreateAllLog End
[2025-03-10 11:03:04] Production.ERROR: done
[2025-03-10 11:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:03:04] Production.INFO: Account Balance End.
[2025-03-10 11:03:04] Production.ERROR: done
[2025-03-10 11:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:03:04] Production.INFO: ==32577== Releasing lock...
[2025-03-10 11:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:03:05
[end_date_ymd] => 2025-03-10 11:03:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:03:05' and `end` < '2025-03-10 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-03-10 11:03:13] Production.ERROR: CronJobId end10
[2025-03-10 11:03:13] Production.INFO: ==32575== Releasing lock...
[2025-03-10 11:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:03:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:03:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:03:16] Production.INFO: call_cost start
[2025-03-10 11:03:16] Production.INFO: call_cost end
[2025-03-10 11:03:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:03:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:03:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:03:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:03:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:03:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:03:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:03:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:03:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:03:17] Production.INFO: ==32571== Releasing lock...
[2025-03-10 11:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:03:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:03:18] Production.INFO: count ==4222
[2025-03-10 11:03:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:03:05 - End Time 2025-03-10 11:03:05
[2025-03-10 11:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649084', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649084', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649084', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649084', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:03:21] Production.INFO: ProcessCDR(1,14649084,1,1,2)
[2025-03-10 11:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:03:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649084', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649084', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:03:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:03:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:03:26] Production.INFO: ==32579== Releasing lock...
[2025-03-10 11:03:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:03:26] Production.INFO: 59.5 MB #Memory Used#
[2025-03-10 15:04:01] Production.INFO: ==32636== Lock acquired, processing the job...
[2025-03-10 15:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:04:01] Production.INFO: neon service started
[2025-03-10 15:04:01] Production.INFO: neon service started
[2025-03-10 15:04:01] Production.INFO: ==32636== Releasing lock...
[2025-03-10 15:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:04:01] Production.INFO: ==32638== Lock acquired, processing the job...
[2025-03-10 11:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:04:02] Production.INFO: ==32638== Releasing lock...
[2025-03-10 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:04:02] Production.INFO: ==32640== Lock acquired, processing the job...
[2025-03-10 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:04:02] Production.INFO: ==32640== Releasing lock...
[2025-03-10 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:04:03] Production.INFO: ==32643== Lock acquired, processing the job...
[2025-03-10 11:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:04:03] Production.INFO: ==32653== Lock acquired, processing the job...
[2025-03-10 11:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:04:03] Production.INFO: ==32651== Lock acquired, processing the job...
[2025-03-10 11:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11: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-03-10 11:04:03] Production.INFO: ==32645== Lock acquired, processing the job...
[2025-03-10 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:04:03] Production.INFO: ==32647== Lock acquired, processing the job...
[2025-03-10 11:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:04:03] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:04:03] Production.INFO: count ==21
[2025-03-10 11:04:03] Production.INFO: ==32649== Lock acquired, processing the job...
[2025-03-10 11:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649085') start
[2025-03-10 11:04:03] Production.INFO: Account Balance Start.
[2025-03-10 11:04:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:04:03] Production.INFO: 117
[2025-03-10 11:04:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649085') end
[2025-03-10 11:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:04:03] Production.INFO: 1
[2025-03-10 11:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:04:03] Production.INFO: Date 2025-03-09
[2025-03-10 11:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:04:03] Production.INFO: Date 2025-03-10
[2025-03-10 11:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:04:04] Production.ERROR: done
[2025-03-10 11:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:04:04] Production.INFO: ==32653== Releasing lock...
[2025-03-10 11:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:04:04] Production.INFO: Total Charge 0
[2025-03-10 11:04:04] Production.INFO: CreateAllLog End
[2025-03-10 11:04:04] Production.INFO: ==32645== Releasing lock...
[2025-03-10 11:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:04:04] Production.ERROR: done
[2025-03-10 11:04:04] Production.INFO: Account Balance End.
[2025-03-10 11:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:04:04] Production.INFO: ==32649== Releasing lock...
[2025-03-10 11:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:04:05
[end_date_ymd] => 2025-03-10 11:04:05
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:04:05' and `end` < '2025-03-10 11: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-03-10 11:04:12] Production.ERROR: CronJobId end10
[2025-03-10 11:04:12] Production.INFO: ==32647== Releasing lock...
[2025-03-10 11:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:04:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:04:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:04:15] Production.INFO: call_cost start
[2025-03-10 11:04:15] Production.INFO: call_cost end
[2025-03-10 11:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:04:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:04:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:04:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:04:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:04:16] Production.INFO: ==32643== Releasing lock...
[2025-03-10 11:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:04:18] Production.INFO: count ==4242
[2025-03-10 11:04:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:04:05 - End Time 2025-03-10 11:04:05
[2025-03-10 11:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649089', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649089', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649089', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649089', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:04:20] Production.INFO: ProcessCDR(1,14649089,1,1,2)
[2025-03-10 11:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:04:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649089', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649089', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:04:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:04:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:04:25] Production.INFO: ==32651== Releasing lock...
[2025-03-10 11:04:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:04:25] Production.INFO: 59.75 MB #Memory Used#
[2025-03-10 15:05:02] Production.INFO: ==327== Lock acquired, processing the job...
[2025-03-10 15:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:05:02] Production.INFO: neon service started
[2025-03-10 15:05:02] Production.INFO: neon service started
[2025-03-10 15:05:02] Production.INFO: ==327== Releasing lock...
[2025-03-10 15:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:05:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 11:05:02] Production.INFO: ==329== Lock acquired, processing the job...
[2025-03-10 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:05:02] Production.INFO: ==331== Lock acquired, processing the job...
[2025-03-10 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:05:02] Production.INFO: ==331== Releasing lock...
[2025-03-10 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:05:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:05:03] Production.INFO: ==329== Releasing lock...
[2025-03-10 11:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:05:04] Production.INFO: ==334== Lock acquired, processing the job...
[2025-03-10 11:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:05:04] Production.INFO: ==338== Lock acquired, processing the job...
[2025-03-10 11:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:05:04] Production.INFO: ==354== Lock acquired, processing the job...
[2025-03-10 11:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:05:04] Production.INFO: ==336== Lock acquired, processing the job...
[2025-03-10 11:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:05:04] Production.INFO: ==352== Lock acquired, processing the job...
[2025-03-10 11:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:05:04] Production.INFO: ==356== Lock acquired, processing the job...
[2025-03-10 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:05:04] Production.INFO: Account Balance Start.
[2025-03-10 11:05:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:05:04] Production.ERROR: done
[2025-03-10 11:05:04] Production.INFO: 117
[2025-03-10 11:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:05:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 11:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:05:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:05:04] Production.INFO: count ==21
[2025-03-10 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649093') start
[2025-03-10 11:05:04] Production.ERROR: done
[2025-03-10 11:05:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:05:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:05:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649093') end
[2025-03-10 11:05:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:05:05] Production.INFO: 1
[2025-03-10 11:05:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:05:05] Production.INFO: Total Charge 0
[2025-03-10 11:05:05] Production.INFO: CreateAllLog End
[2025-03-10 11:05:05] Production.INFO: ==356== Releasing lock...
[2025-03-10 11:05:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:05:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:05:05] Production.INFO: ==336== Releasing lock...
[2025-03-10 11:05:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:05:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:05:05] Production.INFO: Account Balance End.
[2025-03-10 11:05:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:05:05] Production.INFO: ==352== Releasing lock...
[2025-03-10 11:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:05:06
[end_date_ymd] => 2025-03-10 11:05:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:05:06' and `end` < '2025-03-10 11: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-03-10 11:05:13] Production.ERROR: CronJobId end10
[2025-03-10 11:05:13] Production.INFO: ==338== Releasing lock...
[2025-03-10 11:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:05:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:05:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:05:16] Production.INFO: call_cost start
[2025-03-10 11:05:16] Production.INFO: call_cost end
[2025-03-10 11:05:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:05:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:05:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:05:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:05:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:05:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:05:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:05:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:05:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:05:17] Production.INFO: ==334== Releasing lock...
[2025-03-10 11:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:05:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:05:19] Production.INFO: count ==4241
[2025-03-10 11:05:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:05:06 - End Time 2025-03-10 11:05:06
[2025-03-10 11:05:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649094', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649094', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649094', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649094', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:05:21] Production.INFO: ProcessCDR(1,14649094,1,1,2)
[2025-03-10 11:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:05:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:05:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:05:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649094', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649094', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:05:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:05:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:05:26] Production.INFO: ==354== Releasing lock...
[2025-03-10 11:05:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:05:26] Production.INFO: 59.75 MB #Memory Used#
[2025-03-10 15:06:01] Production.INFO: ==411== Lock acquired, processing the job...
[2025-03-10 15:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:06:01] Production.INFO: neon service started
[2025-03-10 15:06:01] Production.INFO: neon service started
[2025-03-10 15:06:01] Production.INFO: ==411== Releasing lock...
[2025-03-10 15:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:06:01] Production.INFO: ==415== Lock acquired, processing the job...
[2025-03-10 15:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:06:01] Production.INFO: ==415== Releasing lock...
[2025-03-10 15:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:06:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:06:02] Production.INFO: ==413== Lock acquired, processing the job...
[2025-03-10 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:06:02] Production.INFO: ==413== Releasing lock...
[2025-03-10 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:06:03] Production.INFO: ==418== Lock acquired, processing the job...
[2025-03-10 11:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:06:03] Production.INFO: ==428== Lock acquired, processing the job...
[2025-03-10 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 11:06:03] Production.INFO: count ==13
[2025-03-10 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-03-10 11:06:03] Production.INFO: count ==21
[2025-03-10 11:06:03] Production.INFO: ==420== Lock acquired, processing the job...
[2025-03-10 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649096') start
[2025-03-10 11:06:03] Production.INFO: ==422== Lock acquired, processing the job...
[2025-03-10 11:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:06:03] Production.INFO: ==424== Lock acquired, processing the job...
[2025-03-10 11:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:06:03] Production.INFO: ==426== Lock acquired, processing the job...
[2025-03-10 11:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649096') end
[2025-03-10 11:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:06:03] Production.INFO: 1
[2025-03-10 11:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:06:03] Production.INFO: ==428== Releasing lock...
[2025-03-10 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:06:04] Production.INFO: Account Balance Start.
[2025-03-10 11:06:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:06:04] Production.INFO: 117
[2025-03-10 11:06:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:06:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:06:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:06:04] Production.INFO: Total Charge 0
[2025-03-10 11:06:04] Production.INFO: ==420== Releasing lock...
[2025-03-10 11:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:06:04] Production.INFO: CreateAllLog End
[2025-03-10 11:06:04] Production.ERROR: done
[2025-03-10 11:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:06:04] Production.INFO: Account Balance End.
[2025-03-10 11:06:04] Production.ERROR: done
[2025-03-10 11:06:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:06:04] Production.INFO: ==424== Releasing lock...
[2025-03-10 11:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:06:05
[end_date_ymd] => 2025-03-10 11:06:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:06:05' and `end` < '2025-03-10 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-03-10 11:06:13] Production.ERROR: CronJobId end10
[2025-03-10 11:06:13] Production.INFO: ==422== Releasing lock...
[2025-03-10 11:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:06:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:06:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:06:15] Production.INFO: call_cost start
[2025-03-10 11:06:15] Production.INFO: call_cost end
[2025-03-10 11:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:06:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:06:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:06:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:06:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:06:16] Production.INFO: ==418== Releasing lock...
[2025-03-10 11:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:06:19] Production.INFO: count ==4246
[2025-03-10 11:06:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:06:05 - End Time 2025-03-10 11:06:05
[2025-03-10 11:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649099', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649099', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649099', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649099', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:06:21] Production.INFO: ProcessCDR(1,14649099,1,1,2)
[2025-03-10 11:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:06:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:06:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649099', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649099', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:06:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:06:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:06:26] Production.INFO: ==426== Releasing lock...
[2025-03-10 11:06:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:06:26] Production.INFO: 59.75 MB #Memory Used#
[2025-03-10 15:07:02] Production.INFO: ==484== Lock acquired, processing the job...
[2025-03-10 15:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:07:02] Production.INFO: neon service started
[2025-03-10 15:07:02] Production.INFO: neon service started
[2025-03-10 15:07:02] Production.INFO: ==484== Releasing lock...
[2025-03-10 15:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:07:02] Production.INFO: ==486== Lock acquired, processing the job...
[2025-03-10 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:07:02] Production.INFO: ==486== Releasing lock...
[2025-03-10 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:07:02] Production.INFO: ==488== Lock acquired, processing the job...
[2025-03-10 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:07:03] Production.INFO: ==488== Releasing lock...
[2025-03-10 15:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:07:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:07:03] Production.INFO: ==497== Lock acquired, processing the job...
[2025-03-10 11:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:07:03] Production.INFO: ==499== Lock acquired, processing the job...
[2025-03-10 11:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:07:03] Production.INFO: Account Balance Start.
[2025-03-10 11:07:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:07:03] Production.INFO: 117
[2025-03-10 11:07:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:07:04] Production.INFO: ==490== Lock acquired, processing the job...
[2025-03-10 11:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:07:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:07:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:07:04] Production.INFO: ==492== Lock acquired, processing the job...
[2025-03-10 11:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:07:04] Production.INFO: Total Charge 0
[2025-03-10 11:07:04] Production.INFO: ==495== Lock acquired, processing the job...
[2025-03-10 11:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:07:04] Production.INFO: CreateAllLog End
[2025-03-10 11:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:07:04] Production.INFO: ==502== Lock acquired, processing the job...
[2025-03-10 11:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:07:04] Production.INFO: Account Balance End.
[2025-03-10 11:07:04] Production.ERROR: done
[2025-03-10 11:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:07:04] Production.INFO: ==497== Releasing lock...
[2025-03-10 11:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11: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-03-10 11:07:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:07:04] Production.INFO: count ==21
[2025-03-10 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649103') start
[2025-03-10 11:07:04] Production.INFO: ==492== Releasing lock...
[2025-03-10 11:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:07:04] Production.ERROR: done
[2025-03-10 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649103') end
[2025-03-10 11:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:07:04] Production.INFO: 1
[2025-03-10 11:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:07:04] Production.INFO: ==502== Releasing lock...
[2025-03-10 11:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:07:05
[end_date_ymd] => 2025-03-10 11:07:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:07:05' and `end` < '2025-03-10 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-03-10 11:07:14] Production.ERROR: CronJobId end10
[2025-03-10 11:07:14] Production.INFO: ==495== Releasing lock...
[2025-03-10 11:07:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:07:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:07:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:07:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:07:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:07:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:07:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:07:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:07:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:07:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:07:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:07:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:07:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:07:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:07:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:07:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:07:16] Production.INFO: call_cost start
[2025-03-10 11:07:16] Production.INFO: call_cost end
[2025-03-10 11:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:07:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:07:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:07:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:07:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:07:17] Production.INFO: ==490== Releasing lock...
[2025-03-10 11:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:07:19] Production.INFO: count ==4234
[2025-03-10 11:07:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:07:05 - End Time 2025-03-10 11:07:05
[2025-03-10 11:07:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649104', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649104', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649104', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649104', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:07:21] Production.INFO: ProcessCDR(1,14649104,1,1,2)
[2025-03-10 11:07:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:07:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:07:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:07:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649104', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649104', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:07:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:07:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:07:26] Production.INFO: ==499== Releasing lock...
[2025-03-10 11:07:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:07:26] Production.INFO: 59.75 MB #Memory Used#
[2025-03-10 15:08:01] Production.INFO: ==644== Lock acquired, processing the job...
[2025-03-10 15:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:08:01] Production.INFO: neon service started
[2025-03-10 15:08:01] Production.INFO: neon service started
[2025-03-10 15:08:01] Production.INFO: ==644== Releasing lock...
[2025-03-10 15:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:08:01] Production.INFO: ==648== Lock acquired, processing the job...
[2025-03-10 15:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:08:01] Production.INFO: ==648== Releasing lock...
[2025-03-10 15:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:08:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:08:02] Production.INFO: ==646== Lock acquired, processing the job...
[2025-03-10 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:08:02] Production.INFO: ==646== Releasing lock...
[2025-03-10 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:08:03] Production.INFO: ==655== Lock acquired, processing the job...
[2025-03-10 11:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:08:03] Production.INFO: ==653== Lock acquired, processing the job...
[2025-03-10 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:08:03] Production.INFO: ==664== Lock acquired, processing the job...
[2025-03-10 11:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:08:03] Production.INFO: ==651== Lock acquired, processing the job...
[2025-03-10 11:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:08:03] Production.INFO: ==668== Lock acquired, processing the job...
[2025-03-10 11:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:08:03] Production.INFO: ==662== Lock acquired, processing the job...
[2025-03-10 11:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:08:03] Production.ERROR: done
[2025-03-10 11:08:03] Production.INFO: ==653== Releasing lock...
[2025-03-10 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 11:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:08:04] Production.INFO: count ==13
[2025-03-10 11:08:04] Production.INFO: Account Balance Start.
[2025-03-10 11:08:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:08:04] Production.INFO: 117
[2025-03-10 11: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-03-10 11:08:04] Production.INFO: count ==21
[2025-03-10 11:08:04] Production.ERROR: done
[2025-03-10 11:08:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649106') start
[2025-03-10 11:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:08:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:08:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649106') end
[2025-03-10 11:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:08:04] Production.INFO: 1
[2025-03-10 11:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:08:04] Production.INFO: Total Charge 0
[2025-03-10 11:08:04] Production.INFO: CreateAllLog End
[2025-03-10 11:08:04] Production.INFO: ==668== Releasing lock...
[2025-03-10 11:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:08:04] Production.INFO: Account Balance End.
[2025-03-10 11:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:08:04] Production.INFO: ==662== Releasing lock...
[2025-03-10 11:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:08:05
[end_date_ymd] => 2025-03-10 11:08:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:08:05' and `end` < '2025-03-10 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-03-10 11:08:12] Production.ERROR: CronJobId end10
[2025-03-10 11:08:12] Production.INFO: ==655== Releasing lock...
[2025-03-10 11:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:08:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:08:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:08:15] Production.INFO: call_cost start
[2025-03-10 11:08:15] Production.INFO: call_cost end
[2025-03-10 11:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:08:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:08:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:08:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:08:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:08:16] Production.INFO: ==651== Releasing lock...
[2025-03-10 11:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:08:18] Production.INFO: count ==4234
[2025-03-10 11:08:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:08:05 - End Time 2025-03-10 11:08:05
[2025-03-10 11:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649109', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649109', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649109', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649109', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:08:20] Production.INFO: ProcessCDR(1,14649109,1,1,2)
[2025-03-10 11:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:08:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:08:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:08:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649109', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649109', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:08:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:08:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:08:26] Production.INFO: ==664== Releasing lock...
[2025-03-10 11:08:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:08:26] Production.INFO: 59.75 MB #Memory Used#
[2025-03-10 15:09:02] Production.INFO: ==737== Lock acquired, processing the job...
[2025-03-10 15:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:09:02] Production.INFO: neon service started
[2025-03-10 15:09:02] Production.INFO: neon service started
[2025-03-10 15:09:02] Production.INFO: ==737== Releasing lock...
[2025-03-10 15:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:09:02] Production.INFO: ==742== Lock acquired, processing the job...
[2025-03-10 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:09:02] Production.INFO: ==742== Releasing lock...
[2025-03-10 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:09:02] Production.INFO: ==740== Lock acquired, processing the job...
[2025-03-10 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:09:03] Production.INFO: ==740== Releasing lock...
[2025-03-10 11:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:09:03] Production.INFO: ==747== Lock acquired, processing the job...
[2025-03-10 11:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:09:04] Production.INFO: ==752== Lock acquired, processing the job...
[2025-03-10 11:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:09:04] Production.INFO: ==756== Lock acquired, processing the job...
[2025-03-10 11:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:09:04] Production.INFO: ==749== Lock acquired, processing the job...
[2025-03-10 11:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:09:04] Production.INFO: ==754== Lock acquired, processing the job...
[2025-03-10 11:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:09:04] Production.INFO: ==758== Lock acquired, processing the job...
[2025-03-10 11:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:09:04] Production.INFO: Account Balance Start.
[2025-03-10 11:09:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:09:04] Production.INFO: 117
[2025-03-10 11:09:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:09:04] Production.ERROR: done
[2025-03-10 11:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:09:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 11:09:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:09:04] Production.INFO: count ==21
[2025-03-10 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649113') start
[2025-03-10 11:09:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:09:05] Production.INFO: Reseller ==> 0
[2025-03-10 11:09:05] Production.INFO: Total Charge 0
[2025-03-10 11:09:05] Production.INFO: CreateAllLog End
[2025-03-10 11:09:05] Production.INFO: ==749== Releasing lock...
[2025-03-10 11:09:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:09:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:09:05] Production.ERROR: done
[2025-03-10 11:09:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649113') end
[2025-03-10 11:09:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:09:05] Production.INFO: 1
[2025-03-10 11:09:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:09:05] Production.INFO: ==758== Releasing lock...
[2025-03-10 11:09:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:09:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:09:05] Production.INFO: Account Balance End.
[2025-03-10 11:09:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:09:05] Production.INFO: ==754== Releasing lock...
[2025-03-10 11:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:09:06
[end_date_ymd] => 2025-03-10 11:09:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:09:06' and `end` < '2025-03-10 11: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-03-10 11:09:13] Production.ERROR: CronJobId end10
[2025-03-10 11:09:13] Production.INFO: ==752== Releasing lock...
[2025-03-10 11:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:09:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:09:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:09:16] Production.INFO: call_cost start
[2025-03-10 11:09:16] Production.INFO: call_cost end
[2025-03-10 11:09:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:09:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:09:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:09:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:09:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:09:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:09:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:09:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:09:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:09:17] Production.INFO: ==747== Releasing lock...
[2025-03-10 11:09:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:09:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:09:19] Production.INFO: count ==4247
[2025-03-10 11:09:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:09:06 - End Time 2025-03-10 11:09:06
[2025-03-10 11:09:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649114', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649114', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649114', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649114', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:09:21] Production.INFO: ProcessCDR(1,14649114,1,1,2)
[2025-03-10 11:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:09:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:09:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649114', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649114', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:09:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:09:27] Production.INFO: ==756== Releasing lock...
[2025-03-10 11:09:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:09:27] Production.INFO: 59.75 MB #Memory Used#
[2025-03-10 15:10:01] Production.INFO: ==812== Lock acquired, processing the job...
[2025-03-10 15:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:10:01] Production.INFO: neon service started
[2025-03-10 15:10:01] Production.INFO: neon service started
[2025-03-10 15:10:01] Production.INFO: ==812== Releasing lock...
[2025-03-10 15:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:10:02] Production.INFO: ==815== Lock acquired, processing the job...
[2025-03-10 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:10:02] Production.INFO: ==815== Releasing lock...
[2025-03-10 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:10:02] Production.INFO: ==817== Lock acquired, processing the job...
[2025-03-10 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:10:02] Production.INFO: ==817== Releasing lock...
[2025-03-10 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:10:04] Production.INFO: ==827== Lock acquired, processing the job...
[2025-03-10 11:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:10:04] Production.INFO: ==833== Lock acquired, processing the job...
[2025-03-10 11:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 11:10:04] Production.INFO: ==821== Lock acquired, processing the job...
[2025-03-10 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 11:10:04] Production.INFO: ==835== Lock acquired, processing the job...
[2025-03-10 11:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:10:04] Production.INFO: ==823== Lock acquired, processing the job...
[2025-03-10 11:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:10:04] Production.INFO: ==825== Lock acquired, processing the job...
[2025-03-10 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 11:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:10:04] Production.ERROR: CronJob PID - 827
[2025-03-10 11:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 11:10:04] Production.ERROR: CronJob ID - 10
[2025-03-10 11:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:10:00
[2025-03-10 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:10:04] Production.ERROR: CronJob PID - 833
[2025-03-10 11:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 11:10:04] Production.ERROR: CronJob ID - 17
[2025-03-10 11:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:10:00
[2025-03-10 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:10:04] Production.ERROR: CronJob PID - 835
[2025-03-10 11:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 11:10:04] Production.ERROR: CronJob ID - 19
[2025-03-10 11:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:10:00
[2025-03-10 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:10:04] Production.INFO: ==831== Lock acquired, processing the job...
[2025-03-10 11:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 11:10:04] Production.INFO: ==829== Lock acquired, processing the job...
[2025-03-10 11:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:10:04] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:10:04] Production.INFO: count ==21
[2025-03-10 11:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 11:10:04] Production.INFO: ==821== Releasing lock...
[2025-03-10 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 11:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649115') start
[2025-03-10 11:10:04] Production.INFO: Account Balance Start.
[2025-03-10 11:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:10:04] Production.INFO: 117
[2025-03-10 11:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649115') end
[2025-03-10 11:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:10:04] Production.INFO: 1
[2025-03-10 11:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:10:04] Production.ERROR: done
[2025-03-10 11:10:04] Production.INFO: ==825== Releasing lock...
[2025-03-10 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 11:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649119', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 11:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:10:04] Production.INFO: ==835== Releasing lock...
[2025-03-10 11:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:10:04] Production.ERROR: done
[2025-03-10 11:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:10:04] Production.INFO: Total Charge 0
[2025-03-10 11:10:05] Production.INFO: CreateAllLog End
[2025-03-10 11:10:05] Production.ERROR: done
[2025-03-10 11:10:05] Production.INFO: Account Balance End.
[2025-03-10 11:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:10:05] Production.INFO: ==829== Releasing lock...
[2025-03-10 11:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:10:06
[end_date_ymd] => 2025-03-10 11:10:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:10:06' and `end` < '2025-03-10 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-03-10 11:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649119', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 11:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 11:10:09] Production.INFO: ProcessCDR(1,14649119,1,1,2)
[2025-03-10 11:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649119,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649119,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:10:10] Production.INFO: ==833== Releasing lock...
[2025-03-10 11:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 11:10:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 11:10:16] Production.ERROR: CronJobId end10
[2025-03-10 11:10:16] Production.INFO: ==827== Releasing lock...
[2025-03-10 11:10:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:10:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:10:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:10:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:10:17] Production.INFO: call_cost start
[2025-03-10 11:10:17] Production.INFO: call_cost end
[2025-03-10 11:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:10:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:10:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:10:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:10:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:10:19] Production.INFO: ==823== Releasing lock...
[2025-03-10 11:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:10:19] Production.INFO: count ==4246
[2025-03-10 11:10:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:10:06 - End Time 2025-03-10 11:10:06
[2025-03-10 11:10:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649120', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649120', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649120', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649120', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:10:21] Production.INFO: ProcessCDR(1,14649120,1,1,2)
[2025-03-10 11:10:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:10:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:10:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:10:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649120', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649120', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:10:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:10:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:10:26] Production.INFO: ==831== Releasing lock...
[2025-03-10 11:10:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:10:26] Production.INFO: 59.75 MB #Memory Used#
[2025-03-10 15:11:02] Production.INFO: ==892== Lock acquired, processing the job...
[2025-03-10 15:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:11:02] Production.INFO: neon service started
[2025-03-10 15:11:02] Production.INFO: neon service started
[2025-03-10 15:11:02] Production.INFO: ==892== Releasing lock...
[2025-03-10 15:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:11:02] Production.INFO: ==895== Lock acquired, processing the job...
[2025-03-10 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:11:03] Production.INFO: ==895== Releasing lock...
[2025-03-10 11:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:11:03] Production.INFO: ==897== Lock acquired, processing the job...
[2025-03-10 15:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:11:03] Production.INFO: ==897== Releasing lock...
[2025-03-10 15:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:11:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:11:04] Production.INFO: ==899== Lock acquired, processing the job...
[2025-03-10 11:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:11:04] Production.INFO: ==901== Lock acquired, processing the job...
[2025-03-10 11:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:11:04] Production.INFO: ==903== Lock acquired, processing the job...
[2025-03-10 11:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:11:04] Production.INFO: ==905== Lock acquired, processing the job...
[2025-03-10 11:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:11:04] Production.INFO: ==909== Lock acquired, processing the job...
[2025-03-10 11:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:11:04] Production.INFO: ==907== Lock acquired, processing the job...
[2025-03-10 11:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:11:04] Production.INFO: ==901== Releasing lock...
[2025-03-10 11:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:11:04] Production.INFO: Account Balance Start.
[2025-03-10 11:11:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:11:04] Production.INFO: 117
[2025-03-10 11:11:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 11:11:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:11:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:11:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:11:04] Production.INFO: count ==21
[2025-03-10 11:11:04] Production.INFO: Total Charge 0
[2025-03-10 11:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649124') start
[2025-03-10 11:11:04] Production.INFO: CreateAllLog End
[2025-03-10 11:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649124') end
[2025-03-10 11:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:11:04] Production.INFO: 1
[2025-03-10 11:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:11:05] Production.INFO: ==909== Releasing lock...
[2025-03-10 11:11:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:11:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:11:05] Production.ERROR: done
[2025-03-10 11:11:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:11:05] Production.INFO: Account Balance End.
[2025-03-10 11:11:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:11:05] Production.INFO: ==905== Releasing lock...
[2025-03-10 11:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:11:05] Production.ERROR: done
[2025-03-10 11:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:11:06
[end_date_ymd] => 2025-03-10 11:11:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:11:06' and `end` < '2025-03-10 11: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-03-10 11:11:13] Production.ERROR: CronJobId end10
[2025-03-10 11:11:13] Production.INFO: ==903== Releasing lock...
[2025-03-10 11:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:11:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:11:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:11:15] Production.INFO: call_cost start
[2025-03-10 11:11:15] Production.INFO: call_cost end
[2025-03-10 11:11:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:11:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:11:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:11:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:11:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:11:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:11:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:11:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:11:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:11:17] Production.INFO: ==899== Releasing lock...
[2025-03-10 11:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:11:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:11:19] Production.INFO: count ==4338
[2025-03-10 11:11:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:11:06 - End Time 2025-03-10 11:11:06
[2025-03-10 11:11:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649125', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649125', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649125', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649125', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:11:21] Production.INFO: ProcessCDR(1,14649125,1,1,2)
[2025-03-10 11:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:11:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:11:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:11:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649125', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649125', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:11:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:11:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:11:26] Production.INFO: ==907== Releasing lock...
[2025-03-10 11:11:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:11:26] Production.INFO: 60.5 MB #Memory Used#
[2025-03-10 15:12:01] Production.INFO: ==1042== Lock acquired, processing the job...
[2025-03-10 15:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:12:01] Production.INFO: neon service started
[2025-03-10 15:12:01] Production.INFO: neon service started
[2025-03-10 15:12:01] Production.INFO: ==1042== Releasing lock...
[2025-03-10 15:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:12:02] Production.INFO: ==1047== Lock acquired, processing the job...
[2025-03-10 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:12:02] Production.INFO: ==1047== Releasing lock...
[2025-03-10 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:12:02] Production.INFO: ==1045== Lock acquired, processing the job...
[2025-03-10 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:12:02] Production.INFO: ==1045== Releasing lock...
[2025-03-10 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:12:03] Production.INFO: ==1057== Lock acquired, processing the job...
[2025-03-10 11:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:12:03] Production.INFO: ==1049== Lock acquired, processing the job...
[2025-03-10 11:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:12:03] Production.INFO: ==1051== Lock acquired, processing the job...
[2025-03-10 11:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:12:03] Production.INFO: ==1053== Lock acquired, processing the job...
[2025-03-10 11:12:03] Production.INFO: ==1059== Lock acquired, processing the job...
[2025-03-10 11:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:12:04] Production.INFO: ==1055== Lock acquired, processing the job...
[2025-03-10 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:12:04] Production.INFO: Account Balance Start.
[2025-03-10 11:12:04] Production.INFO: CreateAllLog Start
[2025-03-10 11: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-03-10 11:12:04] Production.INFO: 117
[2025-03-10 11:12:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:12:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:12:04] Production.INFO: count ==21
[2025-03-10 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649127') start
[2025-03-10 11:12:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:12:04] Production.ERROR: done
[2025-03-10 11:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:12:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:12:04] Production.INFO: ==1051== Releasing lock...
[2025-03-10 11:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:12:04] Production.ERROR: done
[2025-03-10 11:12:04] Production.INFO: Total Charge 0
[2025-03-10 11:12:04] Production.INFO: CreateAllLog End
[2025-03-10 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649127') end
[2025-03-10 11:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:12:04] Production.INFO: 1
[2025-03-10 11:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:12:04] Production.INFO: ==1059== Releasing lock...
[2025-03-10 11:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:12:04] Production.INFO: Account Balance End.
[2025-03-10 11:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:12:04] Production.INFO: ==1055== Releasing lock...
[2025-03-10 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:12:05
[end_date_ymd] => 2025-03-10 11:12:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:12:05' and `end` < '2025-03-10 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-03-10 11:12:13] Production.ERROR: CronJobId end10
[2025-03-10 11:12:13] Production.INFO: ==1053== Releasing lock...
[2025-03-10 11:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:12:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:12:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:12:15] Production.INFO: call_cost start
[2025-03-10 11:12:15] Production.INFO: call_cost end
[2025-03-10 11:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:12:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:12:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:12:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:12:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:12:16] Production.INFO: ==1049== Releasing lock...
[2025-03-10 11:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:12:18] Production.INFO: count ==4383
[2025-03-10 11:12:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:12:05 - End Time 2025-03-10 11:12:05
[2025-03-10 11:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649130', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649130', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649130', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649130', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:12:20] Production.INFO: ProcessCDR(1,14649130,1,1,2)
[2025-03-10 11:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:12:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:12:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:12:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649130', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649130', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:12:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:12:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:12:26] Production.INFO: ==1057== Releasing lock...
[2025-03-10 11:12:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:12:26] Production.INFO: 60.75 MB #Memory Used#
[2025-03-10 15:13:02] Production.INFO: ==1159== Lock acquired, processing the job...
[2025-03-10 15:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:13:02] Production.INFO: neon service started
[2025-03-10 15:13:02] Production.INFO: neon service started
[2025-03-10 15:13:02] Production.INFO: ==1159== Releasing lock...
[2025-03-10 15:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:13:02] Production.INFO: ==1164== Lock acquired, processing the job...
[2025-03-10 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:13:02] Production.INFO: ==1164== Releasing lock...
[2025-03-10 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:13:02] Production.INFO: ==1162== Lock acquired, processing the job...
[2025-03-10 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:13:03] Production.INFO: ==1162== Releasing lock...
[2025-03-10 11:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:13:03] Production.INFO: ==1170== Lock acquired, processing the job...
[2025-03-10 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:13:04] Production.INFO: ==1168== Lock acquired, processing the job...
[2025-03-10 11:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:13:04] Production.INFO: ==1178== Lock acquired, processing the job...
[2025-03-10 11:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:13:04] Production.INFO: ==1174== Lock acquired, processing the job...
[2025-03-10 11:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:13:04] Production.INFO: ==1180== Lock acquired, processing the job...
[2025-03-10 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:13:04] Production.INFO: ==1176== Lock acquired, processing the job...
[2025-03-10 11:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:13:04] Production.INFO: ==1170== Releasing lock...
[2025-03-10 11:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:13:04] Production.INFO: Account Balance Start.
[2025-03-10 11:13:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:13:04] Production.INFO: 117
[2025-03-10 11:13:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 11:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:13:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:13:04] Production.INFO: count ==21
[2025-03-10 11:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649134') start
[2025-03-10 11:13:04] Production.ERROR: done
[2025-03-10 11:13:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649134') end
[2025-03-10 11:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:13:04] Production.INFO: 1
[2025-03-10 11:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:13:04] Production.INFO: Total Charge 0
[2025-03-10 11:13:04] Production.INFO: CreateAllLog End
[2025-03-10 11:13:04] Production.INFO: ==1180== Releasing lock...
[2025-03-10 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:13:04] Production.ERROR: done
[2025-03-10 11:13:04] Production.INFO: Account Balance End.
[2025-03-10 11:13:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:13:05] Production.INFO: ==1176== Releasing lock...
[2025-03-10 11:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:13:05
[end_date_ymd] => 2025-03-10 11:13:05
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:13:05' and `end` < '2025-03-10 11: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-03-10 11:13:13] Production.ERROR: CronJobId end10
[2025-03-10 11:13:13] Production.INFO: ==1174== Releasing lock...
[2025-03-10 11:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:13:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:13:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:13:15] Production.INFO: call_cost start
[2025-03-10 11:13:15] Production.INFO: call_cost end
[2025-03-10 11:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:13:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:13:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:13:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:13:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:13:16] Production.INFO: ==1168== Releasing lock...
[2025-03-10 11:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:13:18] Production.INFO: count ==4394
[2025-03-10 11:13:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:13:05 - End Time 2025-03-10 11:13:05
[2025-03-10 11:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649135', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649135', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649135', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649135', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:13:21] Production.INFO: ProcessCDR(1,14649135,1,1,2)
[2025-03-10 11:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:13:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649135', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649135', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:13:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:13:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:13:26] Production.INFO: ==1178== Releasing lock...
[2025-03-10 11:13:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:13:26] Production.INFO: 60.75 MB #Memory Used#
[2025-03-10 15:14:01] Production.INFO: ==1234== Lock acquired, processing the job...
[2025-03-10 15:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:14:01] Production.INFO: neon service started
[2025-03-10 15:14:01] Production.INFO: neon service started
[2025-03-10 15:14:01] Production.INFO: ==1234== Releasing lock...
[2025-03-10 15:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:14:02] Production.INFO: ==1239== Lock acquired, processing the job...
[2025-03-10 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:14:02] Production.INFO: ==1239== Releasing lock...
[2025-03-10 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:14:02] Production.INFO: ==1243== Lock acquired, processing the job...
[2025-03-10 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:14:02] Production.INFO: ==1243== Releasing lock...
[2025-03-10 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:14:03] Production.INFO: ==1248== Lock acquired, processing the job...
[2025-03-10 11:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:14:03] Production.INFO: ==1260== Lock acquired, processing the job...
[2025-03-10 11:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:14:03] Production.INFO: ==1262== Lock acquired, processing the job...
[2025-03-10 11:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:14:03] Production.INFO: ==1246== Lock acquired, processing the job...
[2025-03-10 11:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:14:03] Production.INFO: ==1254== Lock acquired, processing the job...
[2025-03-10 11:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:14:03] Production.INFO: ==1256== Lock acquired, processing the job...
[2025-03-10 11:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:14:03] Production.INFO: ==1248== Releasing lock...
[2025-03-10 11:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11: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-03-10 11:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:14:03] Production.ERROR: done
[2025-03-10 11:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:14:03] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:14:03] Production.INFO: count ==21
[2025-03-10 11:14:03] Production.INFO: Account Balance Start.
[2025-03-10 11:14:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:14:03] Production.INFO: 117
[2025-03-10 11:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649138') start
[2025-03-10 11:14:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649138') end
[2025-03-10 11:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:14:04] Production.INFO: 1
[2025-03-10 11:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:14:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:14:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:14:04] Production.INFO: ==1262== Releasing lock...
[2025-03-10 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:14:04] Production.INFO: Total Charge 0
[2025-03-10 11:14:04] Production.ERROR: done
[2025-03-10 11:14:04] Production.INFO: CreateAllLog End
[2025-03-10 11:14:04] Production.INFO: Account Balance End.
[2025-03-10 11:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:14:04] Production.INFO: ==1256== Releasing lock...
[2025-03-10 11:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:14:05
[end_date_ymd] => 2025-03-10 11:14:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:14:05' and `end` < '2025-03-10 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-03-10 11:14:13] Production.ERROR: CronJobId end10
[2025-03-10 11:14:13] Production.INFO: ==1254== Releasing lock...
[2025-03-10 11:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:14:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:14:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:14:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:14:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:14:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:14:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:14:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:14:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:14:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:14:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:14:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:14:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:14:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:14:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:14:15] Production.INFO: call_cost start
[2025-03-10 11:14:15] Production.INFO: call_cost end
[2025-03-10 11:14:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:14:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:14:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:14:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:14:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:14:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:14:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:14:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:14:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:14:17] Production.INFO: ==1246== Releasing lock...
[2025-03-10 11:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:14:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:14:18] Production.INFO: count ==4398
[2025-03-10 11:14:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:14:05 - End Time 2025-03-10 11:14:05
[2025-03-10 11:14:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649140', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649140', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649140', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649140', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:14:20] Production.INFO: ProcessCDR(1,14649140,1,1,2)
[2025-03-10 11:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:14:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:14:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:14:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649140', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649140', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:14:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:14:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:14:25] Production.INFO: ==1260== Releasing lock...
[2025-03-10 11:14:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:14:25] Production.INFO: 61 MB #Memory Used#
[2025-03-10 15:15:02] Production.INFO: ==1403== Lock acquired, processing the job...
[2025-03-10 15:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:15:02] Production.INFO: neon service started
[2025-03-10 15:15:02] Production.INFO: neon service started
[2025-03-10 15:15:02] Production.INFO: ==1403== Releasing lock...
[2025-03-10 15:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:15:02] Production.INFO: ==1405== Lock acquired, processing the job...
[2025-03-10 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:15:02] Production.INFO: ==1407== Lock acquired, processing the job...
[2025-03-10 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:15:02] Production.INFO: ==1407== Releasing lock...
[2025-03-10 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:15:03] Production.INFO: ==1405== Releasing lock...
[2025-03-10 11:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:15:03] Production.INFO: ==1416== Lock acquired, processing the job...
[2025-03-10 11:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:15:03] Production.INFO: Account Balance Start.
[2025-03-10 11:15:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:15:03] Production.INFO: 117
[2025-03-10 11:15:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:15:03] Production.INFO: Date 2025-03-09
[2025-03-10 11:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:15:03] Production.INFO: Date 2025-03-10
[2025-03-10 11:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:15:03] Production.INFO: Total Charge 0
[2025-03-10 11:15:04] Production.INFO: CreateAllLog End
[2025-03-10 11:15:04] Production.INFO: Account Balance End.
[2025-03-10 11:15:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:15:04] Production.INFO: ==1416== Releasing lock...
[2025-03-10 11:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:15:04] Production.INFO: ==1410== Lock acquired, processing the job...
[2025-03-10 11:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:15:04] Production.INFO: ==1418== Lock acquired, processing the job...
[2025-03-10 11:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:15:04] Production.INFO: ==1414== Lock acquired, processing the job...
[2025-03-10 11:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:15:04] Production.INFO: ==1412== Lock acquired, processing the job...
[2025-03-10 11:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:15:04] Production.INFO: ==1420== Lock acquired, processing the job...
[2025-03-10 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 11:15:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:15:04] Production.INFO: count ==21
[2025-03-10 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649144') start
[2025-03-10 11:15:04] Production.ERROR: done
[2025-03-10 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649144') end
[2025-03-10 11:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:15:04] Production.INFO: 1
[2025-03-10 11:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:15:04] Production.INFO: ==1420== Releasing lock...
[2025-03-10 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:15:05] Production.INFO: ==1412== Releasing lock...
[2025-03-10 11:15:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:15:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:15:05] Production.ERROR: done
[2025-03-10 11:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:15:06
[end_date_ymd] => 2025-03-10 11:15:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:15:06' and `end` < '2025-03-10 11: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-03-10 11:15:13] Production.ERROR: CronJobId end10
[2025-03-10 11:15:13] Production.INFO: ==1414== Releasing lock...
[2025-03-10 11:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:15:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:15:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:15:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:15:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:15:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:15:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:15:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:15:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:15:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:15:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:15:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:15:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:15:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:15:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:15:16] Production.INFO: call_cost start
[2025-03-10 11:15:16] Production.INFO: call_cost end
[2025-03-10 11:15:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:15:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:15:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:15:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:15:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:15:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:15:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:15:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:15:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:15:17] Production.INFO: ==1410== Releasing lock...
[2025-03-10 11:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:15:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:15:19] Production.INFO: count ==4419
[2025-03-10 11:15:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:15:06 - End Time 2025-03-10 11:15:06
[2025-03-10 11:15:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649145', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649145', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649145', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649145', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:15:21] Production.INFO: ProcessCDR(1,14649145,1,1,2)
[2025-03-10 11:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:15:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:15:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:15:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649145', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649145', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:15:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:15:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:15:26] Production.INFO: ==1418== Releasing lock...
[2025-03-10 11:15:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:15:26] Production.INFO: 61 MB #Memory Used#
[2025-03-10 15:16:01] Production.INFO: ==1473== Lock acquired, processing the job...
[2025-03-10 15:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:16:01] Production.INFO: neon service started
[2025-03-10 15:16:01] Production.INFO: neon service started
[2025-03-10 15:16:01] Production.INFO: ==1473== Releasing lock...
[2025-03-10 15:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:16:02] Production.INFO: ==1475== Lock acquired, processing the job...
[2025-03-10 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:16:02] Production.INFO: ==1477== Lock acquired, processing the job...
[2025-03-10 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:16:02] Production.INFO: ==1475== Releasing lock...
[2025-03-10 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:16:02] Production.INFO: ==1477== Releasing lock...
[2025-03-10 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:16:03] Production.INFO: ==1486== Lock acquired, processing the job...
[2025-03-10 11:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:16:03] Production.INFO: ==1490== Lock acquired, processing the job...
[2025-03-10 11:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:16:03] Production.INFO: ==1480== Lock acquired, processing the job...
[2025-03-10 11:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:16:03] Production.INFO: Account Balance Start.
[2025-03-10 11:16:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:16:03] Production.INFO: 117
[2025-03-10 11:16:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11: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-03-10 11:16:03] Production.INFO: Date 2025-03-09
[2025-03-10 11:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:16:03] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:16:03] Production.INFO: Date 2025-03-10
[2025-03-10 11:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:16:03] Production.INFO: count ==21
[2025-03-10 11:16:03] Production.INFO: ==1482== Lock acquired, processing the job...
[2025-03-10 11:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:16:03] Production.INFO: ==1484== Lock acquired, processing the job...
[2025-03-10 11:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:16:03] Production.INFO: Total Charge 0
[2025-03-10 11:16:03] Production.INFO: CreateAllLog End
[2025-03-10 11:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649147') start
[2025-03-10 11:16:03] Production.INFO: ==1488== Lock acquired, processing the job...
[2025-03-10 11:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649147') end
[2025-03-10 11:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:16:04] Production.INFO: 1
[2025-03-10 11:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:16:04] Production.INFO: Account Balance End.
[2025-03-10 11:16:04] Production.INFO: ==1490== Releasing lock...
[2025-03-10 11:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:16:04] Production.INFO: ==1486== Releasing lock...
[2025-03-10 11:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:16:04] Production.INFO: ==1482== Releasing lock...
[2025-03-10 11:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:16:04] Production.ERROR: done
[2025-03-10 11:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:16:04] Production.ERROR: done
[2025-03-10 11:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:16:05
[end_date_ymd] => 2025-03-10 11:16:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:16:05' and `end` < '2025-03-10 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-03-10 11:16:13] Production.ERROR: CronJobId end10
[2025-03-10 11:16:13] Production.INFO: ==1484== Releasing lock...
[2025-03-10 11:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:16:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:16:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:16:16] Production.INFO: call_cost start
[2025-03-10 11:16:16] Production.INFO: call_cost end
[2025-03-10 11:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:16:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:16:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:16:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:16:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:16:17] Production.INFO: ==1480== Releasing lock...
[2025-03-10 11:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:16:19] Production.INFO: count ==4436
[2025-03-10 11:16:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:16:05 - End Time 2025-03-10 11:16:05
[2025-03-10 11:16:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649150', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649150', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649150', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649150', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:16:21] Production.INFO: ProcessCDR(1,14649150,1,1,2)
[2025-03-10 11:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:16:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:16:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:16:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649150', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649150', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:16:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:16:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:16:26] Production.INFO: ==1488== Releasing lock...
[2025-03-10 11:16:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:16:26] Production.INFO: 61.25 MB #Memory Used#
[2025-03-10 15:17:02] Production.INFO: ==1582== Lock acquired, processing the job...
[2025-03-10 15:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:17:02] Production.INFO: neon service started
[2025-03-10 15:17:02] Production.INFO: neon service started
[2025-03-10 15:17:02] Production.INFO: ==1582== Releasing lock...
[2025-03-10 15:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:17:02] Production.INFO: ==1586== Lock acquired, processing the job...
[2025-03-10 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:17:02] Production.INFO: ==1586== Releasing lock...
[2025-03-10 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:17:02] Production.INFO: ==1584== Lock acquired, processing the job...
[2025-03-10 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:17:03] Production.INFO: ==1584== Releasing lock...
[2025-03-10 11:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:17:04] Production.INFO: ==1599== Lock acquired, processing the job...
[2025-03-10 11:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:17:04] Production.INFO: ==1597== Lock acquired, processing the job...
[2025-03-10 11:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:17:04] Production.INFO: ==1588== Lock acquired, processing the job...
[2025-03-10 11: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-03-10 11:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:17:04] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:17:04] Production.INFO: count ==21
[2025-03-10 11:17:04] Production.INFO: ==1590== Lock acquired, processing the job...
[2025-03-10 11:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649151') start
[2025-03-10 11:17:04] Production.INFO: ==1592== Lock acquired, processing the job...
[2025-03-10 11:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:17:04] Production.INFO: ==1595== Lock acquired, processing the job...
[2025-03-10 11:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649151') end
[2025-03-10 11:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:17:04] Production.INFO: 1
[2025-03-10 11:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:17:04] Production.INFO: Account Balance Start.
[2025-03-10 11:17:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:17:04] Production.INFO: 117
[2025-03-10 11:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:17:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:17:04] Production.ERROR: done
[2025-03-10 11:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:17:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:17:04] Production.INFO: ==1599== Releasing lock...
[2025-03-10 11:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:17:04] Production.INFO: Total Charge 0
[2025-03-10 11:17:04] Production.INFO: CreateAllLog End
[2025-03-10 11:17:04] Production.INFO: ==1590== Releasing lock...
[2025-03-10 11:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:17:04] Production.ERROR: done
[2025-03-10 11:17:05] Production.INFO: Account Balance End.
[2025-03-10 11:17:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:17:05] Production.INFO: ==1595== Releasing lock...
[2025-03-10 11:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:17:06
[end_date_ymd] => 2025-03-10 11:17:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:17:06' and `end` < '2025-03-10 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-03-10 11:17:14] Production.ERROR: CronJobId end10
[2025-03-10 11:17:14] Production.INFO: ==1592== Releasing lock...
[2025-03-10 11:17:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:17:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:17:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:17:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:17:16] Production.INFO: call_cost start
[2025-03-10 11:17:16] Production.INFO: call_cost end
[2025-03-10 11:17:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:17:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:17:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:17:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:17:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:17:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:17:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:17:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:17:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:17:17] Production.INFO: ==1588== Releasing lock...
[2025-03-10 11:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:17:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:17:18] Production.INFO: count ==4452
[2025-03-10 11:17:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:17:06 - End Time 2025-03-10 11:17:06
[2025-03-10 11:17:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649155', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649155', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649155', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649155', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:17:21] Production.INFO: ProcessCDR(1,14649155,1,1,2)
[2025-03-10 11:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:17:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:17:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:17:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649155', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649155', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:17:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:17:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:17:27] Production.INFO: ==1597== Releasing lock...
[2025-03-10 11:17:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:17:27] Production.INFO: 61.25 MB #Memory Used#
[2025-03-10 15:18:01] Production.INFO: ==1651== Lock acquired, processing the job...
[2025-03-10 15:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:18:01] Production.INFO: neon service started
[2025-03-10 15:18:01] Production.INFO: neon service started
[2025-03-10 15:18:01] Production.INFO: ==1651== Releasing lock...
[2025-03-10 15:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:18:02] Production.INFO: ==1653== Lock acquired, processing the job...
[2025-03-10 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:18:02] Production.INFO: ==1653== Releasing lock...
[2025-03-10 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:18:02] Production.INFO: ==1655== Lock acquired, processing the job...
[2025-03-10 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:18:02] Production.INFO: ==1655== Releasing lock...
[2025-03-10 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:18:03] Production.INFO: ==1658== Lock acquired, processing the job...
[2025-03-10 11:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:18:03] Production.INFO: ==1666== Lock acquired, processing the job...
[2025-03-10 11:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:18:03] Production.INFO: ==1660== Lock acquired, processing the job...
[2025-03-10 11:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:18:03] Production.INFO: ==1662== Lock acquired, processing the job...
[2025-03-10 11:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:18:03] Production.INFO: ==1668== Lock acquired, processing the job...
[2025-03-10 11:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:18:03] Production.INFO: ==1664== Lock acquired, processing the job...
[2025-03-10 11:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:18:03] Production.INFO: Account Balance Start.
[2025-03-10 11:18:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:18:03] Production.INFO: 117
[2025-03-10 11:18:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 11:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:18:03] Production.INFO: count ==13
[2025-03-10 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-03-10 11:18:04] Production.INFO: count ==21
[2025-03-10 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649159') start
[2025-03-10 11:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:18:04] Production.INFO: Total Charge 0
[2025-03-10 11:18:04] Production.INFO: CreateAllLog End
[2025-03-10 11:18:04] Production.ERROR: done
[2025-03-10 11:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:18:04] Production.INFO: ==1660== Releasing lock...
[2025-03-10 11:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649159') end
[2025-03-10 11:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:18:04] Production.INFO: 1
[2025-03-10 11:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:18:04] Production.INFO: Account Balance End.
[2025-03-10 11:18:04] Production.INFO: ==1668== Releasing lock...
[2025-03-10 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:18:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:18:04] Production.INFO: ==1664== Releasing lock...
[2025-03-10 11:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:18:04] Production.ERROR: done
[2025-03-10 11:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:18:05
[end_date_ymd] => 2025-03-10 11:18:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:18:05' and `end` < '2025-03-10 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-03-10 11:18: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-03-10 11:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:18:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:18:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:18:12] Production.INFO: call_cost start
[2025-03-10 11:18:12] Production.INFO: call_cost end
[2025-03-10 11:18:13] Production.ERROR: CronJobId end10
[2025-03-10 11:18:13] Production.INFO: ==1662== Releasing lock...
[2025-03-10 11:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:18:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:18:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:18:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:18:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:18:14] Production.INFO: ==1658== Releasing lock...
[2025-03-10 11:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:18:18] Production.INFO: count ==4464
[2025-03-10 11:18:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:18:05 - End Time 2025-03-10 11:18:05
[2025-03-10 11:18:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649160', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649160', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649160', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649160', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:18:21] Production.INFO: ProcessCDR(1,14649160,1,1,2)
[2025-03-10 11:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:18:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:18:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:18:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649160', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649160', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:18:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:18:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:18:26] Production.INFO: ==1666== Releasing lock...
[2025-03-10 11:18:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:18:26] Production.INFO: 61.5 MB #Memory Used#
[2025-03-10 15:19:02] Production.INFO: ==1723== Lock acquired, processing the job...
[2025-03-10 15:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:19:02] Production.INFO: neon service started
[2025-03-10 15:19:02] Production.INFO: neon service started
[2025-03-10 15:19:02] Production.INFO: ==1723== Releasing lock...
[2025-03-10 15:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:19:02] Production.INFO: ==1725== Lock acquired, processing the job...
[2025-03-10 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:19:03] Production.INFO: ==1725== Releasing lock...
[2025-03-10 11:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:19:03] Production.INFO: ==1727== Lock acquired, processing the job...
[2025-03-10 15:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:19:03] Production.INFO: ==1727== Releasing lock...
[2025-03-10 15:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:19:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:19:03] Production.INFO: ==1732== Lock acquired, processing the job...
[2025-03-10 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:19:04] Production.INFO: ==1734== Lock acquired, processing the job...
[2025-03-10 11:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:19:04] Production.INFO: ==1738== Lock acquired, processing the job...
[2025-03-10 11:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:19:04] Production.INFO: ==1732== Releasing lock...
[2025-03-10 11:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:19:04] Production.INFO: ==1730== Lock acquired, processing the job...
[2025-03-10 11:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:19:04] Production.INFO: ==1740== Lock acquired, processing the job...
[2025-03-10 11:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:19:04] Production.INFO: ==1736== Lock acquired, processing the job...
[2025-03-10 11:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 11:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:19:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:19:04] Production.INFO: Account Balance Start.
[2025-03-10 11:19:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:19:04] Production.INFO: count ==21
[2025-03-10 11:19:04] Production.INFO: 117
[2025-03-10 11:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649162') start
[2025-03-10 11:19:04] Production.ERROR: done
[2025-03-10 11:19:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649162') end
[2025-03-10 11:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:19:04] Production.INFO: 1
[2025-03-10 11:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:19:04] Production.INFO: ==1740== Releasing lock...
[2025-03-10 11:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:19:04] Production.ERROR: done
[2025-03-10 11:19:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:19:05] Production.INFO: Date 2025-03-10
[2025-03-10 11:19:05] Production.INFO: Reseller ==> 0
[2025-03-10 11:19:05] Production.INFO: Total Charge 0
[2025-03-10 11:19:05] Production.INFO: CreateAllLog End
[2025-03-10 11:19:05] Production.INFO: Account Balance End.
[2025-03-10 11:19:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:19:05] Production.INFO: ==1736== Releasing lock...
[2025-03-10 11:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:19:06
[end_date_ymd] => 2025-03-10 11:19:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:19:06' and `end` < '2025-03-10 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-03-10 11:19:13] Production.ERROR: CronJobId end10
[2025-03-10 11:19:13] Production.INFO: ==1734== Releasing lock...
[2025-03-10 11:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:19:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:19:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:19:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:19:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:19:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:19:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:19:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:19:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:19:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:19:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:19:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:19:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:19:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:19:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:19:16] Production.INFO: call_cost start
[2025-03-10 11:19:16] Production.INFO: call_cost end
[2025-03-10 11:19:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:19:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:19:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:19:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:19:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:19:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:19:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:19:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:19:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:19:17] Production.INFO: ==1730== Releasing lock...
[2025-03-10 11:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:19:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:19:19] Production.INFO: count ==4479
[2025-03-10 11:19:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:19:06 - End Time 2025-03-10 11:19:06
[2025-03-10 11:19:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649165', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649165', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649165', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649165', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:19:21] Production.INFO: ProcessCDR(1,14649165,1,1,2)
[2025-03-10 11:19:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:19:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:19:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:19:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649165', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649165', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:19:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:19:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:19:27] Production.INFO: ==1738== Releasing lock...
[2025-03-10 11:19:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:19:27] Production.INFO: 61.5 MB #Memory Used#
[2025-03-10 15:20:01] Production.INFO: ==1792== Lock acquired, processing the job...
[2025-03-10 15:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:20:01] Production.INFO: neon service started
[2025-03-10 15:20:01] Production.INFO: neon service started
[2025-03-10 15:20:01] Production.INFO: ==1792== Releasing lock...
[2025-03-10 15:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:20:02] Production.INFO: ==1794== Lock acquired, processing the job...
[2025-03-10 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:20:02] Production.INFO: ==1796== Lock acquired, processing the job...
[2025-03-10 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:20:02] Production.INFO: ==1794== Releasing lock...
[2025-03-10 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:20:02] Production.INFO: ==1796== Releasing lock...
[2025-03-10 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:20:03] Production.INFO: ==1801== Lock acquired, processing the job...
[2025-03-10 11:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:20:04] Production.INFO: ==1805== Lock acquired, processing the job...
[2025-03-10 11:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:20:04] Production.INFO: ==1811== Lock acquired, processing the job...
[2025-03-10 11:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 11:20:04] Production.INFO: ==1799== Lock acquired, processing the job...
[2025-03-10 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 11:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:20:04] Production.INFO: ==1803== Lock acquired, processing the job...
[2025-03-10 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:20:04] Production.ERROR: CronJob PID - 1801
[2025-03-10 11:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 11:20:04] Production.ERROR: CronJob ID - 5
[2025-03-10 11:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:20:00
[2025-03-10 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:20:04] Production.ERROR: CronJob PID - 1805
[2025-03-10 11:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 11:20:04] Production.ERROR: CronJob ID - 10
[2025-03-10 11:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:20:00
[2025-03-10 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:20:04] Production.ERROR: CronJob PID - 1811
[2025-03-10 11:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 11:20:04] Production.ERROR: CronJob ID - 17
[2025-03-10 11:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:20:00
[2025-03-10 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:20:04] Production.INFO: ==1807== Lock acquired, processing the job...
[2025-03-10 11:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:20:04] Production.INFO: ==1809== Lock acquired, processing the job...
[2025-03-10 11:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 11:20:04] Production.INFO: ==1799== Releasing lock...
[2025-03-10 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 11:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 11:20:04] Production.INFO: ==1813== Lock acquired, processing the job...
[2025-03-10 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:20:04] Production.INFO: Account Balance Start.
[2025-03-10 11:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:20:04] Production.INFO: 117
[2025-03-10 11:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:20:04] Production.INFO: Total Charge 0
[2025-03-10 11:20:04] Production.INFO: CreateAllLog End
[2025-03-10 11:20:04] Production.ERROR: done
[2025-03-10 11:20:04] Production.INFO: ==1803== Releasing lock...
[2025-03-10 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 11:20:05] Production.INFO: count ==13
[2025-03-10 11:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 11: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-03-10 11:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649170', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 11:20:05] Production.INFO: count ==21
[2025-03-10 11:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649169') start
[2025-03-10 11:20:05] Production.ERROR: done
[2025-03-10 11:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:20:05] Production.INFO: Account Balance End.
[2025-03-10 11:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649169') end
[2025-03-10 11:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:20:05] Production.INFO: 1
[2025-03-10 11:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:20:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:20:05] Production.INFO: ==1807== Releasing lock...
[2025-03-10 11:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:20:05] Production.INFO: ==1813== Releasing lock...
[2025-03-10 11:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:20:05] Production.ERROR: done
[2025-03-10 11:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:20:06
[end_date_ymd] => 2025-03-10 11:20:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:20:06' and `end` < '2025-03-10 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-03-10 11:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649170', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 11:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 11:20:10] Production.INFO: ProcessCDR(1,14649170,1,1,2)
[2025-03-10 11:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649170,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649170,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:20:10] Production.INFO: ==1811== Releasing lock...
[2025-03-10 11:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 11:20:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 11:20:15] Production.ERROR: CronJobId end10
[2025-03-10 11:20:15] Production.INFO: ==1805== Releasing lock...
[2025-03-10 11:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:20:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:20:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:20:18] Production.INFO: call_cost start
[2025-03-10 11:20:18] Production.INFO: call_cost end
[2025-03-10 11:20:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:20:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:20:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:20:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:20:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:20:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:20:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:20:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:20:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:20:19] Production.INFO: ==1801== Releasing lock...
[2025-03-10 11:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:20:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:20:19] Production.INFO: count ==4494
[2025-03-10 11:20:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:20:06 - End Time 2025-03-10 11:20:06
[2025-03-10 11:20:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649171', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649171', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649171', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649171', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:20:21] Production.INFO: ProcessCDR(1,14649171,1,1,2)
[2025-03-10 11:20:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:20:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:20:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:20:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649171', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649171', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:20:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:20:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:20:27] Production.INFO: ==1809== Releasing lock...
[2025-03-10 11:20:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:20:27] Production.INFO: 61.5 MB #Memory Used#
[2025-03-10 15:21:02] Production.INFO: ==1874== Lock acquired, processing the job...
[2025-03-10 15:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:21:02] Production.INFO: neon service started
[2025-03-10 15:21:02] Production.INFO: neon service started
[2025-03-10 15:21:02] Production.INFO: ==1874== Releasing lock...
[2025-03-10 15:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:21:02] Production.INFO: ==1876== Lock acquired, processing the job...
[2025-03-10 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:21:02] Production.INFO: ==1878== Lock acquired, processing the job...
[2025-03-10 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:21:03] Production.INFO: ==1878== Releasing lock...
[2025-03-10 15:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:21:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:21:03] Production.INFO: ==1876== Releasing lock...
[2025-03-10 11:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:21:03] Production.INFO: ==1881== Lock acquired, processing the job...
[2025-03-10 11:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:21:04] Production.INFO: ==1883== Lock acquired, processing the job...
[2025-03-10 11:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:21:04] Production.INFO: ==1887== Lock acquired, processing the job...
[2025-03-10 11:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:21:04] Production.INFO: ==1885== Lock acquired, processing the job...
[2025-03-10 11:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:21:04] Production.INFO: Account Balance Start.
[2025-03-10 11:21:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:21:04] Production.INFO: 117
[2025-03-10 11:21:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:21:04] Production.INFO: ==1889== Lock acquired, processing the job...
[2025-03-10 11:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:21:04] Production.INFO: ==1883== Releasing lock...
[2025-03-10 11:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:21:04] Production.INFO: ==1891== Lock acquired, processing the job...
[2025-03-10 11:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:21:04] Production.INFO: Total Charge 0
[2025-03-10 11:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:21:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 11:21:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:21:04] Production.INFO: count ==21
[2025-03-10 11:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649175') start
[2025-03-10 11:21:04] Production.ERROR: done
[2025-03-10 11:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649175') end
[2025-03-10 11:21:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:21:05] Production.INFO: 1
[2025-03-10 11:21:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:21:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:21:05] Production.INFO: Account Balance End.
[2025-03-10 11:21:05] Production.INFO: ==1891== Releasing lock...
[2025-03-10 11:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:21:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:21:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:21:05] Production.INFO: ==1887== Releasing lock...
[2025-03-10 11:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:21:05] Production.ERROR: done
[2025-03-10 11:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:21:06
[end_date_ymd] => 2025-03-10 11:21:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:21:06' and `end` < '2025-03-10 11: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-03-10 11:21:12] Production.ERROR: CronJobId end10
[2025-03-10 11:21:12] Production.INFO: ==1885== Releasing lock...
[2025-03-10 11:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:21:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:21:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:21:15] Production.INFO: call_cost start
[2025-03-10 11:21:15] Production.INFO: call_cost end
[2025-03-10 11:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:21:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:21:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:21:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:21:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:21:16] Production.INFO: ==1881== Releasing lock...
[2025-03-10 11:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:21:19] Production.INFO: count ==4573
[2025-03-10 11:21:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:21:06 - End Time 2025-03-10 11:21:06
[2025-03-10 11:21:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649176', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649176', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649176', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649176', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:21:21] Production.INFO: ProcessCDR(1,14649176,1,1,2)
[2025-03-10 11:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:21:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:21:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:21:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649176', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:21:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649176', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:21:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:21:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:21:27] Production.INFO: ==1889== Releasing lock...
[2025-03-10 11:21:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:21:27] Production.INFO: 62.25 MB #Memory Used#
[2025-03-10 15:22:01] Production.INFO: ==1947== Lock acquired, processing the job...
[2025-03-10 15:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:22:01] Production.INFO: neon service started
[2025-03-10 15:22:01] Production.INFO: neon service started
[2025-03-10 15:22:01] Production.INFO: ==1947== Releasing lock...
[2025-03-10 15:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:22:02] Production.INFO: ==1949== Lock acquired, processing the job...
[2025-03-10 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:22:02] Production.INFO: ==1951== Lock acquired, processing the job...
[2025-03-10 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:22:02] Production.INFO: ==1951== Releasing lock...
[2025-03-10 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:22:02] Production.INFO: ==1949== Releasing lock...
[2025-03-10 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:22:03] Production.INFO: ==1954== Lock acquired, processing the job...
[2025-03-10 11:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:22:03] Production.INFO: ==1956== Lock acquired, processing the job...
[2025-03-10 11:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:22:03] Production.INFO: ==1962== Lock acquired, processing the job...
[2025-03-10 11:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:22:04] Production.INFO: ==1958== Lock acquired, processing the job...
[2025-03-10 11:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:22:04] Production.INFO: ==1964== Lock acquired, processing the job...
[2025-03-10 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:22:04] Production.INFO: ==1960== Lock acquired, processing the job...
[2025-03-10 11:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:22:04] Production.INFO: Account Balance Start.
[2025-03-10 11:22:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:22:04] Production.INFO: 117
[2025-03-10 11:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:22:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:22:04] Production.INFO: ==1956== Releasing lock...
[2025-03-10 11:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:22:04] Production.ERROR: done
[2025-03-10 11:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 11: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-03-10 11:22:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:22:04] Production.INFO: count ==13
[2025-03-10 11:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 11: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-03-10 11:22:04] Production.INFO: count ==21
[2025-03-10 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649179') start
[2025-03-10 11:22:04] Production.INFO: Total Charge 0
[2025-03-10 11:22:04] Production.INFO: CreateAllLog End
[2025-03-10 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649179') end
[2025-03-10 11:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:22:04] Production.INFO: 1
[2025-03-10 11:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:22:04] Production.ERROR: done
[2025-03-10 11:22:04] Production.INFO: ==1964== Releasing lock...
[2025-03-10 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:22:04] Production.INFO: Account Balance End.
[2025-03-10 11:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:22:04] Production.INFO: ==1960== Releasing lock...
[2025-03-10 11:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:22:05
[end_date_ymd] => 2025-03-10 11:22:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:22:05' and `end` < '2025-03-10 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-03-10 11:22:13] Production.ERROR: CronJobId end10
[2025-03-10 11:22:13] Production.INFO: ==1958== Releasing lock...
[2025-03-10 11:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:22:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:22:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:22:15] Production.INFO: call_cost start
[2025-03-10 11:22:15] Production.INFO: call_cost end
[2025-03-10 11:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:22:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:22:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:22:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:22:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:22:16] Production.INFO: ==1954== Releasing lock...
[2025-03-10 11:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:22:19] Production.INFO: count ==4581
[2025-03-10 11:22:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:22:05 - End Time 2025-03-10 11:22:05
[2025-03-10 11:22:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649181', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649181', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649181', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649181', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:22:21] Production.INFO: ProcessCDR(1,14649181,1,1,2)
[2025-03-10 11:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:22:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:22:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649181', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649181', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:22:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:22:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:22:27] Production.INFO: ==1962== Releasing lock...
[2025-03-10 11:22:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:22:27] Production.INFO: 62.25 MB #Memory Used#
[2025-03-10 15:23:02] Production.INFO: ==2020== Lock acquired, processing the job...
[2025-03-10 15:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:23:02] Production.INFO: neon service started
[2025-03-10 15:23:02] Production.INFO: neon service started
[2025-03-10 15:23:02] Production.INFO: ==2020== Releasing lock...
[2025-03-10 15:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:23:02] Production.INFO: ==2022== Lock acquired, processing the job...
[2025-03-10 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:23:03] Production.INFO: ==2024== Lock acquired, processing the job...
[2025-03-10 15:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:23:03] Production.INFO: ==2022== Releasing lock...
[2025-03-10 11:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:23:03] Production.INFO: ==2024== Releasing lock...
[2025-03-10 15:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:23:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:23:04] Production.INFO: ==2027== Lock acquired, processing the job...
[2025-03-10 11:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:23:04] Production.INFO: ==2035== Lock acquired, processing the job...
[2025-03-10 11:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:23:04] Production.INFO: ==2029== Lock acquired, processing the job...
[2025-03-10 11:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:23:04] Production.INFO: ==2031== Lock acquired, processing the job...
[2025-03-10 11:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:23:04] Production.INFO: ==2037== Lock acquired, processing the job...
[2025-03-10 11:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:23:04] Production.INFO: ==2033== Lock acquired, processing the job...
[2025-03-10 11:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 11:23:04] Production.INFO: Account Balance Start.
[2025-03-10 11:23:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:23:04] Production.INFO: 117
[2025-03-10 11:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:23:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:23:04] Production.INFO: count ==13
[2025-03-10 11:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 11:23:04] Production.INFO: count ==21
[2025-03-10 11:23:04] Production.ERROR: done
[2025-03-10 11:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649185') start
[2025-03-10 11:23:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649185') end
[2025-03-10 11:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:23:04] Production.INFO: 1
[2025-03-10 11:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:23:04] Production.INFO: ==2029== Releasing lock...
[2025-03-10 11:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:23:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:23:04] Production.INFO: Total Charge 0
[2025-03-10 11:23:04] Production.INFO: CreateAllLog End
[2025-03-10 11:23:04] Production.INFO: ==2037== Releasing lock...
[2025-03-10 11:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:23:04] Production.ERROR: done
[2025-03-10 11:23:05] Production.INFO: Account Balance End.
[2025-03-10 11:23:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:23:05] Production.INFO: ==2033== Releasing lock...
[2025-03-10 11:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:23:06
[end_date_ymd] => 2025-03-10 11:23:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:23:06' and `end` < '2025-03-10 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-03-10 11:23:14] Production.ERROR: CronJobId end10
[2025-03-10 11:23:14] Production.INFO: ==2031== Releasing lock...
[2025-03-10 11:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:23:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:23:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:23:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:23:15] Production.INFO: call_cost start
[2025-03-10 11:23:15] Production.INFO: call_cost end
[2025-03-10 11:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:23:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:23:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:23:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:23:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:23:16] Production.INFO: ==2027== Releasing lock...
[2025-03-10 11:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:23:19] Production.INFO: count ==4626
[2025-03-10 11:23:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:23:06 - End Time 2025-03-10 11:23:06
[2025-03-10 11:23:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649186', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649186', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649186', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649186', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:23:21] Production.INFO: ProcessCDR(1,14649186,1,1,2)
[2025-03-10 11:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:23:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:23:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:23:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649186', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649186', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:23:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:23:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:23:26] Production.INFO: ==2035== Releasing lock...
[2025-03-10 11:23:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:23:26] Production.INFO: 62.5 MB #Memory Used#
[2025-03-10 15:24:01] Production.INFO: ==2092== Lock acquired, processing the job...
[2025-03-10 15:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:24:01] Production.INFO: neon service started
[2025-03-10 15:24:01] Production.INFO: neon service started
[2025-03-10 15:24:01] Production.INFO: ==2092== Releasing lock...
[2025-03-10 15:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:24:02] Production.INFO: ==2096== Lock acquired, processing the job...
[2025-03-10 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:24:02] Production.INFO: ==2096== Releasing lock...
[2025-03-10 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:24:02] Production.INFO: ==2094== Lock acquired, processing the job...
[2025-03-10 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:24:02] Production.INFO: ==2094== Releasing lock...
[2025-03-10 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:24:03] Production.INFO: ==2103== Lock acquired, processing the job...
[2025-03-10 11:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:24:03] Production.INFO: ==2099== Lock acquired, processing the job...
[2025-03-10 11:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:24:03] Production.INFO: ==2107== Lock acquired, processing the job...
[2025-03-10 11:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:24:03] Production.INFO: ==2101== Lock acquired, processing the job...
[2025-03-10 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:24:04] Production.INFO: ==2105== Lock acquired, processing the job...
[2025-03-10 11:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:24:04] Production.INFO: ==2109== Lock acquired, processing the job...
[2025-03-10 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:24:04] Production.INFO: Account Balance Start.
[2025-03-10 11:24:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:24:04] Production.INFO: 117
[2025-03-10 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-03-10 11:24:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:24:04] Production.ERROR: done
[2025-03-10 11:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:24:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:24:04] Production.INFO: count ==21
[2025-03-10 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649189') start
[2025-03-10 11:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:24:04] Production.ERROR: done
[2025-03-10 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649189') end
[2025-03-10 11:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:24:04] Production.INFO: 1
[2025-03-10 11:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:24:04] Production.INFO: ==2109== Releasing lock...
[2025-03-10 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:24:04] Production.INFO: ==2101== Releasing lock...
[2025-03-10 11:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:24:04] Production.INFO: Total Charge 0
[2025-03-10 11:24:04] Production.INFO: CreateAllLog End
[2025-03-10 11:24:04] Production.INFO: Account Balance End.
[2025-03-10 11:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:24:04] Production.INFO: ==2105== Releasing lock...
[2025-03-10 11:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:24:05
[end_date_ymd] => 2025-03-10 11:24:05
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:24:05' and `end` < '2025-03-10 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-03-10 11:24:11] Production.ERROR: CronJobId end10
[2025-03-10 11:24:11] Production.INFO: ==2103== Releasing lock...
[2025-03-10 11:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:24:14] Production.INFO: call_cost start
[2025-03-10 11:24:14] Production.INFO: call_cost end
[2025-03-10 11:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:24:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:24:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:24:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:24:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:24:15] Production.INFO: ==2099== Releasing lock...
[2025-03-10 11:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:24:18] Production.INFO: count ==4639
[2025-03-10 11:24:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:24:05 - End Time 2025-03-10 11:24:05
[2025-03-10 11:24:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649191', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649191', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649191', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649191', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:24:21] Production.INFO: ProcessCDR(1,14649191,1,1,2)
[2025-03-10 11:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:24:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:24:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649191', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649191', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:24:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:24:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:24:26] Production.INFO: ==2107== Releasing lock...
[2025-03-10 11:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:24:26] Production.INFO: 62.75 MB #Memory Used#
[2025-03-10 15:25:02] Production.INFO: ==2164== Lock acquired, processing the job...
[2025-03-10 15:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:25:02] Production.INFO: neon service started
[2025-03-10 15:25:02] Production.INFO: neon service started
[2025-03-10 15:25:02] Production.INFO: ==2164== Releasing lock...
[2025-03-10 15:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:25:02] Production.INFO: ==2166== Lock acquired, processing the job...
[2025-03-10 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:25:02] Production.INFO: ==2168== Lock acquired, processing the job...
[2025-03-10 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:25:03] Production.INFO: ==2168== Releasing lock...
[2025-03-10 15:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:25:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:25:03] Production.INFO: ==2166== Releasing lock...
[2025-03-10 11:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:25:04] Production.INFO: ==2175== Lock acquired, processing the job...
[2025-03-10 11:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:25:04] Production.INFO: ==2171== Lock acquired, processing the job...
[2025-03-10 11:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:25:04] Production.INFO: ==2181== Lock acquired, processing the job...
[2025-03-10 11:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:25:04] Production.INFO: ==2173== Lock acquired, processing the job...
[2025-03-10 11:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:25:04] Production.INFO: ==2177== Lock acquired, processing the job...
[2025-03-10 11:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 11:25:04] Production.INFO: ==2179== Lock acquired, processing the job...
[2025-03-10 11:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:25:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:25:04] Production.INFO: count ==21
[2025-03-10 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649193') start
[2025-03-10 11:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:25:04] Production.INFO: Account Balance Start.
[2025-03-10 11:25:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:25:04] Production.INFO: 117
[2025-03-10 11:25:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649193') end
[2025-03-10 11:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:25:04] Production.INFO: 1
[2025-03-10 11:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:25:05] Production.INFO: Date 2025-03-09
[2025-03-10 11:25:05] Production.INFO: ==2173== Releasing lock...
[2025-03-10 11:25:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:25:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:25:05] Production.INFO: ==2181== Releasing lock...
[2025-03-10 11:25:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:25:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:25:05] Production.INFO: Reseller ==> 0
[2025-03-10 11:25:05] Production.INFO: Date 2025-03-10
[2025-03-10 11:25:05] Production.INFO: Reseller ==> 0
[2025-03-10 11:25:05] Production.INFO: Total Charge 0
[2025-03-10 11:25:05] Production.INFO: CreateAllLog End
[2025-03-10 11:25:05] Production.ERROR: done
[2025-03-10 11:25:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:25:05] Production.ERROR: done
[2025-03-10 11:25:05] Production.INFO: Account Balance End.
[2025-03-10 11:25:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:25:05] Production.INFO: ==2177== Releasing lock...
[2025-03-10 11:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:25:06
[end_date_ymd] => 2025-03-10 11:25:06
[RateCDR] => 1
)
[2025-03-10 11:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 08:25:06' and `end` < '2025-03-10 11:25:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 11:25:15] Production.ERROR: CronJobId end10
[2025-03-10 11:25:15] Production.INFO: ==2175== Releasing lock...
[2025-03-10 11:25:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:25:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:25:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:25:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:25:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:25:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:25:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:25:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:25:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:25:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:25:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:25:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:25:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:25:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:25:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:25:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:25:17] Production.INFO: call_cost start
[2025-03-10 11:25:17] Production.INFO: call_cost end
[2025-03-10 11:25:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:25:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:25:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:25:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:25:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:25:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:25:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:25:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:25:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:25:18] Production.INFO: ==2171== Releasing lock...
[2025-03-10 11:25:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:25:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:25:19] Production.INFO: count ==4657
[2025-03-10 11:25:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:25:06 - End Time 2025-03-10 11:25:06
[2025-03-10 11:25:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649196', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649196', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649196', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649196', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:25:22] Production.INFO: ProcessCDR(1,14649196,1,1,2)
[2025-03-10 11:25:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:25:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:25:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:25:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649196', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649196', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:25:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:25:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:25:27] Production.INFO: ==2179== Releasing lock...
[2025-03-10 11:25:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:25:27] Production.INFO: 62.75 MB #Memory Used#
[2025-03-10 15:26:01] Production.INFO: ==2236== Lock acquired, processing the job...
[2025-03-10 15:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:26:01] Production.INFO: neon service started
[2025-03-10 15:26:01] Production.INFO: neon service started
[2025-03-10 15:26:01] Production.INFO: ==2236== Releasing lock...
[2025-03-10 15:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:26:02] Production.INFO: ==2238== Lock acquired, processing the job...
[2025-03-10 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:26:02] Production.INFO: ==2238== Releasing lock...
[2025-03-10 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:26:02] Production.INFO: ==2240== Lock acquired, processing the job...
[2025-03-10 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:26:02] Production.INFO: ==2240== Releasing lock...
[2025-03-10 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:26:03] Production.INFO: ==2242== Lock acquired, processing the job...
[2025-03-10 11:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:26:03] Production.INFO: ==2251== Lock acquired, processing the job...
[2025-03-10 11:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:26:03] Production.INFO: ==2246== Lock acquired, processing the job...
[2025-03-10 11:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:26:03] Production.INFO: ==2244== Lock acquired, processing the job...
[2025-03-10 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:26:03] Production.INFO: ==2249== Lock acquired, processing the job...
[2025-03-10 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:26:03] Production.INFO: ==2253== Lock acquired, processing the job...
[2025-03-10 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:26:04] Production.ERROR: done
[2025-03-10 11:26:04] Production.INFO: Account Balance Start.
[2025-03-10 11:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:26:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:26:04] Production.INFO: 117
[2025-03-10 11:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:26:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:26:04] Production.INFO: Date 2025-03-09
[2025-03-10 11: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-03-10 11:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:26:04] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:26:04] Production.INFO: count ==21
[2025-03-10 11:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649199') start
[2025-03-10 11:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:26:04] Production.ERROR: done
[2025-03-10 11:26:04] Production.INFO: Total Charge 0
[2025-03-10 11:26:04] Production.INFO: CreateAllLog End
[2025-03-10 11:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649199') end
[2025-03-10 11:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:26:04] Production.INFO: 1
[2025-03-10 11:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:26:04] Production.INFO: ==2253== Releasing lock...
[2025-03-10 11:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:26:04] Production.INFO: ==2244== Releasing lock...
[2025-03-10 11:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:26:04] Production.INFO: Account Balance End.
[2025-03-10 11:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:26:04] Production.INFO: ==2249== Releasing lock...
[2025-03-10 11:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:26:05
[end_date_ymd] => 2025-03-10 11:26:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:26:05' and `end` < '2025-03-10 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-03-10 11:26:12] Production.ERROR: CronJobId end10
[2025-03-10 11:26:12] Production.INFO: ==2246== Releasing lock...
[2025-03-10 11:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:26:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:26:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:26:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:26:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:26:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:26:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:26:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:26:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:26:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:26:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:26:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:26:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:26:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:26:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:26:16] Production.INFO: call_cost start
[2025-03-10 11:26:16] Production.INFO: call_cost end
[2025-03-10 11:26:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:26:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:26:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:26:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:26:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:26:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:26:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:26:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:26:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:26:17] Production.INFO: ==2242== Releasing lock...
[2025-03-10 11:26:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:26:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:26:18] Production.INFO: count ==4672
[2025-03-10 11:26:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:26:05 - End Time 2025-03-10 11:26:05
[2025-03-10 11:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649201', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649201', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649201', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649201', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:26:20] Production.INFO: ProcessCDR(1,14649201,1,1,2)
[2025-03-10 11:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:26:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:26:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:26:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649201', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649201', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:26:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:26:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:26:26] Production.INFO: ==2251== Releasing lock...
[2025-03-10 11:26:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:26:26] Production.INFO: 63 MB #Memory Used#
[2025-03-10 15:27:02] Production.INFO: ==2309== Lock acquired, processing the job...
[2025-03-10 15:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:27:02] Production.INFO: neon service started
[2025-03-10 15:27:02] Production.INFO: neon service started
[2025-03-10 15:27:02] Production.INFO: ==2309== Releasing lock...
[2025-03-10 15:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:27:02] Production.INFO: ==2311== Lock acquired, processing the job...
[2025-03-10 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:27:02] Production.INFO: ==2313== Lock acquired, processing the job...
[2025-03-10 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:27:02] Production.INFO: ==2313== Releasing lock...
[2025-03-10 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:27:03] Production.INFO: ==2311== Releasing lock...
[2025-03-10 11:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:27:03] Production.INFO: ==2315== Lock acquired, processing the job...
[2025-03-10 11:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:27:03] Production.INFO: ==2317== Lock acquired, processing the job...
[2025-03-10 11:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:27:03] Production.INFO: ==2321== Lock acquired, processing the job...
[2025-03-10 11:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:27:04] Production.INFO: Account Balance Start.
[2025-03-10 11:27:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:27:04] Production.INFO: 117
[2025-03-10 11:27:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:27:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:27:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:27:04] Production.INFO: ==2324== Lock acquired, processing the job...
[2025-03-10 11:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:27:04] Production.INFO: Total Charge 0
[2025-03-10 11:27:04] Production.INFO: CreateAllLog End
[2025-03-10 11:27:04] Production.INFO: ==2319== Lock acquired, processing the job...
[2025-03-10 11:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:27:04] Production.INFO: ==2326== Lock acquired, processing the job...
[2025-03-10 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:27:04] Production.INFO: ==2317== Releasing lock...
[2025-03-10 11:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:27:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 11:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:27:04] Production.INFO: count ==13
[2025-03-10 11:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:27:04] Production.INFO: ==2321== Releasing lock...
[2025-03-10 11:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 11:27:04] Production.INFO: count ==21
[2025-03-10 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649205') start
[2025-03-10 11:27:04] Production.ERROR: done
[2025-03-10 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649205') end
[2025-03-10 11:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:27:04] Production.INFO: 1
[2025-03-10 11:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:27:04] Production.INFO: ==2326== Releasing lock...
[2025-03-10 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:27:05] Production.ERROR: done
[2025-03-10 11:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:27:06
[end_date_ymd] => 2025-03-10 11:27:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:27:06' and `end` < '2025-03-10 11: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-03-10 11:27:13] Production.ERROR: CronJobId end10
[2025-03-10 11:27:13] Production.INFO: ==2319== Releasing lock...
[2025-03-10 11:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:27:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:27:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:27:15] Production.INFO: call_cost start
[2025-03-10 11:27:15] Production.INFO: call_cost end
[2025-03-10 11:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:27:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:27:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:27:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:27:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:27:16] Production.INFO: ==2315== Releasing lock...
[2025-03-10 11:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:27:19] Production.INFO: count ==4707
[2025-03-10 11:27:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:27:06 - End Time 2025-03-10 11:27:06
[2025-03-10 11:27:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649206', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649206', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649206', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649206', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:27:21] Production.INFO: ProcessCDR(1,14649206,1,1,2)
[2025-03-10 11:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:27:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:27:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:27:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649206', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649206', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:27:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:27:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:27:27] Production.INFO: ==2324== Releasing lock...
[2025-03-10 11:27:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:27:27] Production.INFO: 63.25 MB #Memory Used#
[2025-03-10 15:28:01] Production.INFO: ==2419== Lock acquired, processing the job...
[2025-03-10 15:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:28:01] Production.INFO: neon service started
[2025-03-10 15:28:01] Production.INFO: neon service started
[2025-03-10 15:28:01] Production.INFO: ==2419== Releasing lock...
[2025-03-10 15:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:28:02] Production.INFO: ==2421== Lock acquired, processing the job...
[2025-03-10 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:28:02] Production.INFO: ==2423== Lock acquired, processing the job...
[2025-03-10 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:28:02] Production.INFO: ==2423== Releasing lock...
[2025-03-10 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:28:02] Production.INFO: ==2421== Releasing lock...
[2025-03-10 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:28:03] Production.INFO: ==2426== Lock acquired, processing the job...
[2025-03-10 11:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:28:03] Production.INFO: ==2430== Lock acquired, processing the job...
[2025-03-10 11:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:28:03] Production.INFO: ==2432== Lock acquired, processing the job...
[2025-03-10 11:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:28:04] Production.INFO: ==2428== Lock acquired, processing the job...
[2025-03-10 11:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:28:04] Production.INFO: Account Balance Start.
[2025-03-10 11:28:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:28:04] Production.INFO: 117
[2025-03-10 11:28:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:28:04] Production.INFO: ==2434== Lock acquired, processing the job...
[2025-03-10 11:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:28:04] Production.INFO: ==2428== Releasing lock...
[2025-03-10 11:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:28:04] Production.INFO: Total Charge 0
[2025-03-10 11:28:04] Production.INFO: CreateAllLog End
[2025-03-10 11:28:04] Production.INFO: ==2436== Lock acquired, processing the job...
[2025-03-10 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11: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-03-10 11:28:04] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:28:04] Production.ERROR: done
[2025-03-10 11:28:04] Production.INFO: count ==21
[2025-03-10 11:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:28:04] Production.INFO: Account Balance End.
[2025-03-10 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649210') start
[2025-03-10 11:28:04] Production.ERROR: done
[2025-03-10 11:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:28:04] Production.INFO: ==2432== Releasing lock...
[2025-03-10 11:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649210') end
[2025-03-10 11:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:28:04] Production.INFO: 1
[2025-03-10 11:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:28:05] Production.INFO: ==2436== Releasing lock...
[2025-03-10 11:28:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:28:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:28:06
[end_date_ymd] => 2025-03-10 11:28:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:28:06' and `end` < '2025-03-10 11: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-03-10 11:28:14] Production.ERROR: CronJobId end10
[2025-03-10 11:28:14] Production.INFO: ==2430== Releasing lock...
[2025-03-10 11:28:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:28:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:28:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:28:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:28:16] Production.INFO: call_cost start
[2025-03-10 11:28:16] Production.INFO: call_cost end
[2025-03-10 11:28:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:28:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:28:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:28:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:28:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:28:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:28:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:28:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:28:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:28:17] Production.INFO: ==2426== Releasing lock...
[2025-03-10 11:28:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:28:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:28:19] Production.INFO: count ==4735
[2025-03-10 11:28:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:28:06 - End Time 2025-03-10 11:28:06
[2025-03-10 11:28:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649211', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649211', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649211', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649211', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:28:21] Production.INFO: ProcessCDR(1,14649211,1,1,2)
[2025-03-10 11:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:28:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:28:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:28:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649211', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649211', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:28:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:28:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:28:27] Production.INFO: ==2434== Releasing lock...
[2025-03-10 11:28:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:28:27] Production.INFO: 63.5 MB #Memory Used#
[2025-03-10 15:29:02] Production.INFO: ==2494== Lock acquired, processing the job...
[2025-03-10 15:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:29:02] Production.INFO: neon service started
[2025-03-10 15:29:02] Production.INFO: neon service started
[2025-03-10 15:29:02] Production.INFO: ==2494== Releasing lock...
[2025-03-10 15:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:29:02] Production.INFO: ==2496== Lock acquired, processing the job...
[2025-03-10 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:29:02] Production.INFO: ==2496== Releasing lock...
[2025-03-10 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:29:03] Production.INFO: ==2498== Lock acquired, processing the job...
[2025-03-10 15:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:29:03] Production.INFO: ==2498== Releasing lock...
[2025-03-10 15:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:29:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:29:04] Production.INFO: ==2503== Lock acquired, processing the job...
[2025-03-10 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:29:04] Production.INFO: ==2507== Lock acquired, processing the job...
[2025-03-10 11:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:29:04] Production.INFO: ==2509== Lock acquired, processing the job...
[2025-03-10 11:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:29:04] Production.INFO: Account Balance Start.
[2025-03-10 11:29:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:29:04] Production.INFO: 117
[2025-03-10 11:29:04] Production.INFO: ==2501== Lock acquired, processing the job...
[2025-03-10 11:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:29:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:29:04] Production.INFO: ==2505== Lock acquired, processing the job...
[2025-03-10 11:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:29:04] Production.INFO: ==2511== Lock acquired, processing the job...
[2025-03-10 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:29:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11: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-03-10 11:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:29:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:29:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:29:04] Production.INFO: count ==21
[2025-03-10 11:29:04] Production.INFO: ==2503== Releasing lock...
[2025-03-10 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:29:04] Production.INFO: Total Charge 0
[2025-03-10 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649214') start
[2025-03-10 11:29:04] Production.ERROR: done
[2025-03-10 11:29:04] Production.INFO: CreateAllLog End
[2025-03-10 11:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649214') end
[2025-03-10 11:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:29:04] Production.INFO: 1
[2025-03-10 11:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:29:04] Production.ERROR: done
[2025-03-10 11:29:04] Production.INFO: ==2511== Releasing lock...
[2025-03-10 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:29:04] Production.INFO: Account Balance End.
[2025-03-10 11:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:29:04] Production.INFO: ==2507== Releasing lock...
[2025-03-10 11:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:29:05
[end_date_ymd] => 2025-03-10 11:29:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:29:05' and `end` < '2025-03-10 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-03-10 11:29:13] Production.ERROR: CronJobId end10
[2025-03-10 11:29:13] Production.INFO: ==2505== Releasing lock...
[2025-03-10 11:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:29:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:29:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:29:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:29:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:29:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:29:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:29:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:29:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:29:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:29:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:29:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:29:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:29:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:29:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:29:16] Production.INFO: call_cost start
[2025-03-10 11:29:16] Production.INFO: call_cost end
[2025-03-10 11:29:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:29:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:29:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:29:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:29:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:29:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:29:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:29:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:29:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:29:17] Production.INFO: ==2501== Releasing lock...
[2025-03-10 11:29:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:29:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:29:18] Production.INFO: count ==4755
[2025-03-10 11:29:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:29:05 - End Time 2025-03-10 11:29:05
[2025-03-10 11:29:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649216', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649216', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649216', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649216', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:29:21] Production.INFO: ProcessCDR(1,14649216,1,1,2)
[2025-03-10 11:29:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:29:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:29:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:29:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649216', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649216', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:29:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:29:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:29:26] Production.INFO: ==2509== Releasing lock...
[2025-03-10 11:29:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:29:26] Production.INFO: 63.5 MB #Memory Used#
[2025-03-10 15:30:01] Production.INFO: ==2567== Lock acquired, processing the job...
[2025-03-10 15:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:30:01] Production.INFO: neon service started
[2025-03-10 15:30:01] Production.INFO: neon service started
[2025-03-10 15:30:01] Production.INFO: ==2567== Releasing lock...
[2025-03-10 15:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:30:02] Production.INFO: ==2569== Lock acquired, processing the job...
[2025-03-10 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:30:02] Production.INFO: ==2571== Lock acquired, processing the job...
[2025-03-10 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:30:02] Production.INFO: ==2571== Releasing lock...
[2025-03-10 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:30:02] Production.INFO: ==2569== Releasing lock...
[2025-03-10 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:30:03] Production.INFO: ==2578== Lock acquired, processing the job...
[2025-03-10 11:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:30:04] Production.INFO: ==2588== Lock acquired, processing the job...
[2025-03-10 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:30:04] Production.INFO: ==2586== Lock acquired, processing the job...
[2025-03-10 11:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 11:30:04] Production.INFO: ==2576== Lock acquired, processing the job...
[2025-03-10 11:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:30:04] Production.INFO: ==2574== Lock acquired, processing the job...
[2025-03-10 11:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 11:30:04] Production.INFO: ==2580== Lock acquired, processing the job...
[2025-03-10 11:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11: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-03-10 11:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:30:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:30:04] Production.INFO: count ==21
[2025-03-10 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649218') start
[2025-03-10 11:30:04] Production.INFO: ==2582== Lock acquired, processing the job...
[2025-03-10 11:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:30:04] Production.INFO: ==2578== Releasing lock...
[2025-03-10 11:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:30:04] Production.INFO: ==2584== Lock acquired, processing the job...
[2025-03-10 11:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:30:04] Production.ERROR: CronJob PID - 2576
[2025-03-10 11:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 11:30:04] Production.ERROR: CronJob ID - 5
[2025-03-10 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:30:00
[2025-03-10 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:30:04] Production.ERROR: CronJob PID - 2580
[2025-03-10 11:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 11:30:04] Production.ERROR: CronJob ID - 10
[2025-03-10 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:30:00
[2025-03-10 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:30:04] Production.ERROR: CronJob PID - 2582
[2025-03-10 11:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 11:30:04] Production.ERROR: CronJob ID - 12
[2025-03-10 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:30:00
[2025-03-10 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:30:04] Production.ERROR: CronJob PID - 2584
[2025-03-10 11:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 11:30:04] Production.ERROR: CronJob ID - 16
[2025-03-10 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:30:00
[2025-03-10 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:30:04] Production.ERROR: CronJob PID - 2586
[2025-03-10 11:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 11:30:04] Production.ERROR: CronJob ID - 17
[2025-03-10 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:30:00
[2025-03-10 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:30:04] Production.ERROR: CronJob PID - 2588
[2025-03-10 11:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 11:30:04] Production.ERROR: CronJob ID - 19
[2025-03-10 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:30:00
[2025-03-10 11:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 11:30:04] Production.INFO: ==2574== Releasing lock...
[2025-03-10 11:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 11:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 11:30:04] Production.ERROR: done
[2025-03-10 11:30:04] Production.INFO: Account Balance Start.
[2025-03-10 11:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:30:04] Production.INFO: 117
[2025-03-10 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649218') end
[2025-03-10 11:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:30:04] Production.INFO: 1
[2025-03-10 11:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 11:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649221', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 11:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:30:04] Production.INFO: ==2588== Releasing lock...
[2025-03-10 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:30:04] Production.ERROR: done
[2025-03-10 11:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:30:05] Production.INFO: Date 2025-03-09
[2025-03-10 11:30:05] Production.INFO: Reseller ==> 0
[2025-03-10 11:30:05] Production.INFO: Date 2025-03-10
[2025-03-10 11:30:05] Production.INFO: Reseller ==> 0
[2025-03-10 11:30:05] Production.INFO: Total Charge 0
[2025-03-10 11:30:05] Production.ERROR: done
[2025-03-10 11:30:05] Production.INFO: CreateAllLog End
[2025-03-10 11:30:05] Production.INFO: Account Balance End.
[2025-03-10 11:30:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:30:05] Production.INFO: ==2582== Releasing lock...
[2025-03-10 11:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:30:06
[end_date_ymd] => 2025-03-10 11:30:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:30:06' and `end` < '2025-03-10 11: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-03-10 11:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649221', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 11:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 11:30:09] Production.INFO: ProcessCDR(1,14649221,1,1,2)
[2025-03-10 11:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649221,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649221,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:30:09] Production.INFO: ==2586== Releasing lock...
[2025-03-10 11:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 11:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 11:30:15] Production.ERROR: CronJobId end10
[2025-03-10 11:30:15] Production.INFO: ==2580== Releasing lock...
[2025-03-10 11:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:30:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:30:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:30:17] Production.INFO: call_cost start
[2025-03-10 11:30:17] Production.INFO: call_cost end
[2025-03-10 11:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:30:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:30:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:30:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:30:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:30:18] Production.INFO: ==2576== Releasing lock...
[2025-03-10 11:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:30:19] Production.INFO: count ==4756
[2025-03-10 11:30:22] Production.ERROR: pbx CDR StartTime 2025-03-10 08:30:06 - End Time 2025-03-10 11:30:06
[2025-03-10 11:30:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649222', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649222', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649222', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649222', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:30:22] Production.INFO: ProcessCDR(1,14649222,1,1,2)
[2025-03-10 11:30:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:30:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:30:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:30:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649222', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649222', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:30:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:30:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:30:27] Production.INFO: ==2584== Releasing lock...
[2025-03-10 11:30:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:30:27] Production.INFO: 63.5 MB #Memory Used#
[2025-03-10 15:31:02] Production.INFO: ==2642== Lock acquired, processing the job...
[2025-03-10 15:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:31:02] Production.INFO: neon service started
[2025-03-10 15:31:02] Production.INFO: neon service started
[2025-03-10 15:31:02] Production.INFO: ==2642== Releasing lock...
[2025-03-10 15:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:31:02] Production.INFO: ==2644== Lock acquired, processing the job...
[2025-03-10 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:31:02] Production.INFO: ==2644== Releasing lock...
[2025-03-10 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:31:03] Production.INFO: ==2646== Lock acquired, processing the job...
[2025-03-10 15:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:31:03] Production.INFO: ==2646== Releasing lock...
[2025-03-10 15:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:31:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:31:03] Production.INFO: ==2655== Lock acquired, processing the job...
[2025-03-10 11:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:31:03] Production.INFO: Account Balance Start.
[2025-03-10 11:31:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:31:03] Production.INFO: 117
[2025-03-10 11:31:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:31:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:31:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:31:04] Production.INFO: ==2659== Lock acquired, processing the job...
[2025-03-10 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:31:04] Production.INFO: ==2651== Lock acquired, processing the job...
[2025-03-10 11:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:31:04] Production.INFO: ==2649== Lock acquired, processing the job...
[2025-03-10 11:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:31:04] Production.INFO: ==2653== Lock acquired, processing the job...
[2025-03-10 11:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:31:04] Production.INFO: Total Charge 0
[2025-03-10 11:31:04] Production.INFO: ==2657== Lock acquired, processing the job...
[2025-03-10 11:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:31:04] Production.INFO: CreateAllLog End
[2025-03-10 11:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 11:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:31:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:31:04] Production.INFO: count ==21
[2025-03-10 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649224') start
[2025-03-10 11:31:04] Production.INFO: ==2651== Releasing lock...
[2025-03-10 11:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649224') end
[2025-03-10 11:31:04] Production.INFO: Account Balance End.
[2025-03-10 11:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:31:04] Production.INFO: 1
[2025-03-10 11:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:31:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:31:04] Production.INFO: ==2655== Releasing lock...
[2025-03-10 11:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:31:04] Production.ERROR: done
[2025-03-10 11:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:31:04] Production.INFO: ==2659== Releasing lock...
[2025-03-10 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:31:04] Production.ERROR: done
[2025-03-10 11:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:31:06
[end_date_ymd] => 2025-03-10 11:31:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:31:06' and `end` < '2025-03-10 11: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-03-10 11:31:13] Production.ERROR: CronJobId end10
[2025-03-10 11:31:13] Production.INFO: ==2653== Releasing lock...
[2025-03-10 11:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:31:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:31:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:31:16] Production.INFO: call_cost start
[2025-03-10 11:31:16] Production.INFO: call_cost end
[2025-03-10 11:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:31:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:31:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:31:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:31:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:31:16] Production.INFO: ==2649== Releasing lock...
[2025-03-10 11:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:31:18] Production.INFO: count ==4825
[2025-03-10 11:31:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:31:06 - End Time 2025-03-10 11:31:06
[2025-03-10 11:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649227', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649227', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649227', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649227', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:31:21] Production.INFO: ProcessCDR(1,14649227,1,1,2)
[2025-03-10 11:31:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:31:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:31:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649227', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649227', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:31:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:31:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:31:26] Production.INFO: ==2657== Releasing lock...
[2025-03-10 11:31:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:31:26] Production.INFO: 64 MB #Memory Used#
[2025-03-10 15:32:01] Production.INFO: ==2711== Lock acquired, processing the job...
[2025-03-10 15:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:32:01] Production.INFO: neon service started
[2025-03-10 15:32:01] Production.INFO: neon service started
[2025-03-10 15:32:01] Production.INFO: ==2711== Releasing lock...
[2025-03-10 15:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:32:02] Production.INFO: ==2714== Lock acquired, processing the job...
[2025-03-10 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:32:02] Production.INFO: ==2716== Lock acquired, processing the job...
[2025-03-10 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:32:02] Production.INFO: ==2716== Releasing lock...
[2025-03-10 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:32:02] Production.INFO: ==2714== Releasing lock...
[2025-03-10 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:32:03] Production.INFO: ==2728== Lock acquired, processing the job...
[2025-03-10 11:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 11:32:03] Production.INFO: ==2726== Lock acquired, processing the job...
[2025-03-10 11:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:32:03] Production.INFO: count ==13
[2025-03-10 11:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:32:04] Production.INFO: ==2718== Lock acquired, processing the job...
[2025-03-10 11:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11: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-03-10 11:32:04] Production.INFO: count ==21
[2025-03-10 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649228') start
[2025-03-10 11:32:04] Production.INFO: ==2720== Lock acquired, processing the job...
[2025-03-10 11:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:32:04] Production.INFO: ==2722== Lock acquired, processing the job...
[2025-03-10 11:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:32:04] Production.INFO: ==2724== Lock acquired, processing the job...
[2025-03-10 11:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:32:04] Production.INFO: Account Balance Start.
[2025-03-10 11:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:32:04] Production.INFO: 117
[2025-03-10 11:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649228') end
[2025-03-10 11:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:32:04] Production.INFO: 1
[2025-03-10 11:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:32:04] Production.INFO: ==2728== Releasing lock...
[2025-03-10 11:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:32:04] Production.ERROR: done
[2025-03-10 11:32:04] Production.INFO: Total Charge 0
[2025-03-10 11:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:32:04] Production.INFO: CreateAllLog End
[2025-03-10 11:32:04] Production.INFO: ==2720== Releasing lock...
[2025-03-10 11:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:32:04] Production.ERROR: done
[2025-03-10 11:32:04] Production.INFO: Account Balance End.
[2025-03-10 11:32:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:32:04] Production.INFO: ==2724== Releasing lock...
[2025-03-10 11:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:32:05
[end_date_ymd] => 2025-03-10 11:32:05
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:32:05' and `end` < '2025-03-10 11: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-03-10 11:32:13] Production.ERROR: CronJobId end10
[2025-03-10 11:32:13] Production.INFO: ==2722== Releasing lock...
[2025-03-10 11:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:32:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:32:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:32:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:32:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:32:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:32:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:32:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:32:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:32:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:32:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:32:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:32:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:32:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:32:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:32:16] Production.INFO: call_cost start
[2025-03-10 11:32:16] Production.INFO: call_cost end
[2025-03-10 11:32:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:32:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:32:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:32:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:32:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:32:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:32:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:32:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:32:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:32:17] Production.INFO: ==2718== Releasing lock...
[2025-03-10 11:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:32:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:32:19] Production.INFO: count ==4839
[2025-03-10 11:32:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:32:05 - End Time 2025-03-10 11:32:05
[2025-03-10 11:32:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649232', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649232', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649232', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649232', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:32:21] Production.INFO: ProcessCDR(1,14649232,1,1,2)
[2025-03-10 11:32:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:32:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:32:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:32:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649232', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649232', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:32:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:32:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:32:27] Production.INFO: ==2726== Releasing lock...
[2025-03-10 11:32:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:32:27] Production.INFO: 64.25 MB #Memory Used#
[2025-03-10 15:33:02] Production.INFO: ==2783== Lock acquired, processing the job...
[2025-03-10 15:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:33:02] Production.INFO: neon service started
[2025-03-10 15:33:02] Production.INFO: neon service started
[2025-03-10 15:33:02] Production.INFO: ==2783== Releasing lock...
[2025-03-10 15:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:33:02] Production.INFO: ==2785== Lock acquired, processing the job...
[2025-03-10 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:33:03] Production.INFO: ==2785== Releasing lock...
[2025-03-10 11:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:33:03] Production.INFO: ==2787== Lock acquired, processing the job...
[2025-03-10 15:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:33:03] Production.INFO: ==2787== Releasing lock...
[2025-03-10 15:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:33:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:33:03] Production.INFO: ==2789== Lock acquired, processing the job...
[2025-03-10 11:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:33:03] Production.INFO: ==2793== Lock acquired, processing the job...
[2025-03-10 11:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:33:03] Production.INFO: ==2795== Lock acquired, processing the job...
[2025-03-10 11:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:33:04] Production.INFO: Account Balance Start.
[2025-03-10 11:33:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:33:04] Production.INFO: 117
[2025-03-10 11:33:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:33:04] Production.INFO: ==2791== Lock acquired, processing the job...
[2025-03-10 11:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:33:04] Production.INFO: Total Charge 0
[2025-03-10 11:33:04] Production.INFO: CreateAllLog End
[2025-03-10 11:33:04] Production.INFO: ==2797== Lock acquired, processing the job...
[2025-03-10 11:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:33:04] Production.INFO: ==2799== Lock acquired, processing the job...
[2025-03-10 11:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 11:33:04] Production.INFO: ==2791== Releasing lock...
[2025-03-10 11:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:33:04] Production.INFO: Account Balance End.
[2025-03-10 11:33:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:33:04] Production.INFO: count ==21
[2025-03-10 11:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:33:04] Production.INFO: ==2795== Releasing lock...
[2025-03-10 11:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649236') start
[2025-03-10 11:33:04] Production.ERROR: done
[2025-03-10 11:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649236') end
[2025-03-10 11:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:33:04] Production.INFO: 1
[2025-03-10 11:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:33:05] Production.INFO: ==2799== Releasing lock...
[2025-03-10 11:33:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:33:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:33:05] Production.ERROR: done
[2025-03-10 11:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:33:06
[end_date_ymd] => 2025-03-10 11:33:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:33:06' and `end` < '2025-03-10 11: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-03-10 11:33: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,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-03-10 11:33:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:33:11] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:33:11] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:33:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:33:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:33:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:33:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:33:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:33:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:33:11] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:33:11] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:33:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:33:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:33:11] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:33:12] Production.INFO: call_cost start
[2025-03-10 11:33:12] Production.INFO: call_cost end
[2025-03-10 11:33:13] Production.ERROR: CronJobId end10
[2025-03-10 11:33:13] Production.INFO: ==2793== Releasing lock...
[2025-03-10 11:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:33:13] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:33:13] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:33:13] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:33:13] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:33:13] Production.INFO: ==2789== Releasing lock...
[2025-03-10 11:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:33:20] Production.INFO: count ==4851
[2025-03-10 11:33:22] Production.ERROR: pbx CDR StartTime 2025-03-10 08:33:06 - End Time 2025-03-10 11:33:06
[2025-03-10 11:33:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649237', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649237', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649237', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649237', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:33:22] Production.INFO: ProcessCDR(1,14649237,1,1,2)
[2025-03-10 11:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:33:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:33:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:33:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649237', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649237', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:33:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:33:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:33:27] Production.INFO: ==2797== Releasing lock...
[2025-03-10 11:33:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:33:27] Production.INFO: 64.25 MB #Memory Used#
[2025-03-10 15:34:01] Production.INFO: ==2857== Lock acquired, processing the job...
[2025-03-10 15:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:34:01] Production.INFO: neon service started
[2025-03-10 15:34:01] Production.INFO: neon service started
[2025-03-10 15:34:01] Production.INFO: ==2857== Releasing lock...
[2025-03-10 15:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:34:02] Production.INFO: ==2860== Lock acquired, processing the job...
[2025-03-10 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:34:02] Production.INFO: ==2860== Releasing lock...
[2025-03-10 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:34:02] Production.INFO: ==2862== Lock acquired, processing the job...
[2025-03-10 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:34:02] Production.INFO: ==2862== Releasing lock...
[2025-03-10 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:34:03] Production.INFO: ==2868== Lock acquired, processing the job...
[2025-03-10 11:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:34:03] Production.INFO: ==2870== Lock acquired, processing the job...
[2025-03-10 11:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:34:03] Production.INFO: ==2866== Lock acquired, processing the job...
[2025-03-10 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:34:03] Production.INFO: Account Balance Start.
[2025-03-10 11:34:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:34:03] Production.INFO: 117
[2025-03-10 11:34:03] Production.INFO: ==2864== Lock acquired, processing the job...
[2025-03-10 11:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:34:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:34:03] Production.INFO: Date 2025-03-09
[2025-03-10 11:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:34:03] Production.INFO: Date 2025-03-10
[2025-03-10 11:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:34:03] Production.INFO: Total Charge 0
[2025-03-10 11:34:03] Production.INFO: CreateAllLog End
[2025-03-10 11:34:03] Production.INFO: ==2872== Lock acquired, processing the job...
[2025-03-10 11:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:34:04] Production.INFO: ==2874== Lock acquired, processing the job...
[2025-03-10 11:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:34:04] Production.INFO: ==2866== Releasing lock...
[2025-03-10 11:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 11:34:04] Production.INFO: Account Balance End.
[2025-03-10 11:34:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:34:04] Production.INFO: count ==21
[2025-03-10 11:34:04] Production.ERROR: done
[2025-03-10 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649241') start
[2025-03-10 11:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:34:04] Production.INFO: ==2870== Releasing lock...
[2025-03-10 11:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649241') end
[2025-03-10 11:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:34:04] Production.INFO: 1
[2025-03-10 11:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:34:04] Production.INFO: ==2874== Releasing lock...
[2025-03-10 11:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:34:04] Production.ERROR: done
[2025-03-10 11:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:34:05
[end_date_ymd] => 2025-03-10 11:34:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:34:05' and `end` < '2025-03-10 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-03-10 11:34:12] Production.ERROR: CronJobId end10
[2025-03-10 11:34:12] Production.INFO: ==2868== Releasing lock...
[2025-03-10 11:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:34:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:34:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:34:14] Production.INFO: call_cost start
[2025-03-10 11:34:14] Production.INFO: call_cost end
[2025-03-10 11:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:34:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:34:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:34:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:34:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:34:15] Production.INFO: ==2864== Releasing lock...
[2025-03-10 11:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:34:19] Production.INFO: count ==4863
[2025-03-10 11:34:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:34:05 - End Time 2025-03-10 11:34:05
[2025-03-10 11:34:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649242', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649242', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649242', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649242', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:34:21] Production.INFO: ProcessCDR(1,14649242,1,1,2)
[2025-03-10 11:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:34:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:34:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:34:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649242', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649242', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:34:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:34:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:34:26] Production.INFO: ==2872== Releasing lock...
[2025-03-10 11:34:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:34:26] Production.INFO: 64.25 MB #Memory Used#
[2025-03-10 15:35:02] Production.INFO: ==2927== Lock acquired, processing the job...
[2025-03-10 15:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:35:02] Production.INFO: neon service started
[2025-03-10 15:35:02] Production.INFO: neon service started
[2025-03-10 15:35:02] Production.INFO: ==2927== Releasing lock...
[2025-03-10 15:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:35:02] Production.INFO: ==2929== Lock acquired, processing the job...
[2025-03-10 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:35:02] Production.INFO: ==2929== Releasing lock...
[2025-03-10 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:35:03] Production.INFO: ==2931== Lock acquired, processing the job...
[2025-03-10 15:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:35:03] Production.INFO: ==2931== Releasing lock...
[2025-03-10 15:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:35:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:35:03] Production.INFO: ==2944== Lock acquired, processing the job...
[2025-03-10 11:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:35:03] Production.INFO: ==2940== Lock acquired, processing the job...
[2025-03-10 11:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:35:03] Production.INFO: ==2934== Lock acquired, processing the job...
[2025-03-10 11:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:35:04] Production.INFO: Account Balance Start.
[2025-03-10 11:35:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:35:04] Production.INFO: 117
[2025-03-10 11:35:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 11: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-03-10 11:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:35:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:35:04] Production.INFO: count ==21
[2025-03-10 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649244') start
[2025-03-10 11:35:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:35:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:35:04] Production.INFO: Total Charge 0
[2025-03-10 11:35:04] Production.INFO: CreateAllLog End
[2025-03-10 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649244') end
[2025-03-10 11:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:35:04] Production.INFO: 1
[2025-03-10 11:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:35:04] Production.INFO: ==2936== Lock acquired, processing the job...
[2025-03-10 11:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:35:04] Production.INFO: ==2938== Lock acquired, processing the job...
[2025-03-10 11:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:35:04] Production.INFO: ==2944== Releasing lock...
[2025-03-10 11:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:35:04] Production.INFO: ==2942== Lock acquired, processing the job...
[2025-03-10 11:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:35:04] Production.INFO: Account Balance End.
[2025-03-10 11:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:35:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:35:04] Production.INFO: ==2940== Releasing lock...
[2025-03-10 11:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:35:04] Production.INFO: ==2936== Releasing lock...
[2025-03-10 11:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:35:04] Production.ERROR: done
[2025-03-10 11:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:35:05] Production.ERROR: done
[2025-03-10 11:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:35:05
[end_date_ymd] => 2025-03-10 11:35:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:35:05' and `end` < '2025-03-10 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-03-10 11:35:12] Production.ERROR: CronJobId end10
[2025-03-10 11:35:12] Production.INFO: ==2938== Releasing lock...
[2025-03-10 11:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:35:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:35:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:35:15] Production.INFO: call_cost start
[2025-03-10 11:35:15] Production.INFO: call_cost end
[2025-03-10 11:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:35:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:35:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:35:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:35:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:35:15] Production.INFO: ==2934== Releasing lock...
[2025-03-10 11:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:35:21] Production.INFO: count ==4874
[2025-03-10 11:35:23] Production.ERROR: pbx CDR StartTime 2025-03-10 08:35:05 - End Time 2025-03-10 11:35:05
[2025-03-10 11:35:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649247', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649247', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649247', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649247', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:35:23] Production.INFO: ProcessCDR(1,14649247,1,1,2)
[2025-03-10 11:35:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:35:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:35:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:35:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649247', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649247', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:35:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:35:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:35:28] Production.INFO: ==2942== Releasing lock...
[2025-03-10 11:35:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:35:28] Production.INFO: 64.5 MB #Memory Used#
[2025-03-10 15:36:01] Production.INFO: ==2997== Lock acquired, processing the job...
[2025-03-10 15:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:36:01] Production.INFO: neon service started
[2025-03-10 15:36:01] Production.INFO: neon service started
[2025-03-10 15:36:01] Production.INFO: ==2997== Releasing lock...
[2025-03-10 15:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:36:02] Production.INFO: ==2999== Lock acquired, processing the job...
[2025-03-10 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:36:02] Production.INFO: ==2999== Releasing lock...
[2025-03-10 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:36:02] Production.INFO: ==3001== Lock acquired, processing the job...
[2025-03-10 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:36:02] Production.INFO: ==3001== Releasing lock...
[2025-03-10 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:36:03] Production.INFO: ==3004== Lock acquired, processing the job...
[2025-03-10 11:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:36:03] Production.INFO: ==3006== Lock acquired, processing the job...
[2025-03-10 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:36:03] Production.INFO: ==3014== Lock acquired, processing the job...
[2025-03-10 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 11:36:03] Production.INFO: ==3008== Lock acquired, processing the job...
[2025-03-10 11:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:36:03] Production.INFO: count ==13
[2025-03-10 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-03-10 11:36:03] Production.INFO: count ==21
[2025-03-10 11:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649250') start
[2025-03-10 11:36:03] Production.INFO: ==3006== Releasing lock...
[2025-03-10 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:36:03] Production.INFO: ==3010== Lock acquired, processing the job...
[2025-03-10 11:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649250') end
[2025-03-10 11:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:36:03] Production.INFO: 1
[2025-03-10 11:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:36:03] Production.INFO: ==3012== Lock acquired, processing the job...
[2025-03-10 11:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:36:04] Production.INFO: ==3014== Releasing lock...
[2025-03-10 11:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:36:04] Production.INFO: Account Balance Start.
[2025-03-10 11:36:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:36:04] Production.INFO: 117
[2025-03-10 11:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:36:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:36:04] Production.INFO: Total Charge 0
[2025-03-10 11:36:04] Production.INFO: CreateAllLog End
[2025-03-10 11:36:04] Production.ERROR: done
[2025-03-10 11:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:36:04] Production.INFO: Account Balance End.
[2025-03-10 11:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:36:04] Production.INFO: ==3010== Releasing lock...
[2025-03-10 11:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:36:04] Production.ERROR: done
[2025-03-10 11:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:36:05
[end_date_ymd] => 2025-03-10 11:36:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:36:05' and `end` < '2025-03-10 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-03-10 11:36:11] Production.ERROR: CronJobId end10
[2025-03-10 11:36:11] Production.INFO: ==3008== Releasing lock...
[2025-03-10 11:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:36:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:36:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:36:14] Production.INFO: call_cost start
[2025-03-10 11:36:14] Production.INFO: call_cost end
[2025-03-10 11:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:36:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:36:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:36:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:36:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:36:15] Production.INFO: ==3004== Releasing lock...
[2025-03-10 11:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:36:18] Production.INFO: count ==4897
[2025-03-10 11:36:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:36:05 - End Time 2025-03-10 11:36:05
[2025-03-10 11:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649252', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649252', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649252', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649252', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:36:20] Production.INFO: ProcessCDR(1,14649252,1,1,2)
[2025-03-10 11:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:36:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:36:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:36:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:36:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649252', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649252', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:36:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:36:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:36:26] Production.INFO: ==3012== Releasing lock...
[2025-03-10 11:36:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:36:26] Production.INFO: 64.5 MB #Memory Used#
[2025-03-10 15:37:02] Production.INFO: ==3069== Lock acquired, processing the job...
[2025-03-10 15:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:37:02] Production.INFO: neon service started
[2025-03-10 15:37:02] Production.INFO: neon service started
[2025-03-10 15:37:02] Production.INFO: ==3069== Releasing lock...
[2025-03-10 15:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:37:02] Production.INFO: ==3071== Lock acquired, processing the job...
[2025-03-10 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:37:03] Production.INFO: ==3071== Releasing lock...
[2025-03-10 11:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:37:03] Production.INFO: ==3073== Lock acquired, processing the job...
[2025-03-10 15:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:37:03] Production.INFO: ==3073== Releasing lock...
[2025-03-10 15:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:37:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:37:03] Production.INFO: ==3077== Lock acquired, processing the job...
[2025-03-10 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:37:04] Production.INFO: ==3086== Lock acquired, processing the job...
[2025-03-10 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:37:04] Production.INFO: ==3075== Lock acquired, processing the job...
[2025-03-10 11:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:37:04] Production.INFO: ==3077== Releasing lock...
[2025-03-10 11:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 11:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:37:04] Production.INFO: ==3079== Lock acquired, processing the job...
[2025-03-10 11:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:37:04] Production.INFO: count ==13
[2025-03-10 11:37:04] Production.INFO: ==3081== Lock acquired, processing the job...
[2025-03-10 11:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 11:37:04] Production.INFO: count ==21
[2025-03-10 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649254') start
[2025-03-10 11:37:04] Production.INFO: ==3083== Lock acquired, processing the job...
[2025-03-10 11:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649254') end
[2025-03-10 11:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:37:04] Production.INFO: 1
[2025-03-10 11:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:37:04] Production.INFO: Account Balance Start.
[2025-03-10 11:37:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:37:04] Production.INFO: 117
[2025-03-10 11:37:04] Production.INFO: ==3086== Releasing lock...
[2025-03-10 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:37:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:37:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:37:04] Production.ERROR: done
[2025-03-10 11:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:37:04] Production.ERROR: done
[2025-03-10 11:37:05] Production.INFO: Date 2025-03-10
[2025-03-10 11:37:05] Production.INFO: Reseller ==> 0
[2025-03-10 11:37:05] Production.INFO: Total Charge 0
[2025-03-10 11:37:05] Production.INFO: CreateAllLog End
[2025-03-10 11:37:05] Production.INFO: Account Balance End.
[2025-03-10 11:37:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:37:05] Production.INFO: ==3081== Releasing lock...
[2025-03-10 11:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:37:05
[end_date_ymd] => 2025-03-10 11:37:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:37:05' and `end` < '2025-03-10 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-03-10 11:37:13] Production.ERROR: CronJobId end10
[2025-03-10 11:37:13] Production.INFO: ==3079== Releasing lock...
[2025-03-10 11:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:37:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:37:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:37:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:37:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:37:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:37:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:37:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:37:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:37:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:37:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:37:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:37:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:37:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:37:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:37:16] Production.INFO: call_cost start
[2025-03-10 11:37:16] Production.INFO: call_cost end
[2025-03-10 11:37:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:37:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:37:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:37:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:37:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:37:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:37:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:37:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:37:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:37:17] Production.INFO: ==3075== Releasing lock...
[2025-03-10 11:37:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:37:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:37:19] Production.INFO: count ==4907
[2025-03-10 11:37:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:37:05 - End Time 2025-03-10 11:37:05
[2025-03-10 11:37:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649257', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649257', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649257', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649257', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:37:21] Production.INFO: ProcessCDR(1,14649257,1,1,2)
[2025-03-10 11:37:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:37:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:37:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:37:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649257', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649257', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:37:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:37:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:37:27] Production.INFO: ==3083== Releasing lock...
[2025-03-10 11:37:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:37:27] Production.INFO: 64.75 MB #Memory Used#
[2025-03-10 15:38:01] Production.INFO: ==3142== Lock acquired, processing the job...
[2025-03-10 15:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:38:01] Production.INFO: neon service started
[2025-03-10 15:38:01] Production.INFO: neon service started
[2025-03-10 15:38:01] Production.INFO: ==3142== Releasing lock...
[2025-03-10 15:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:38:02] Production.INFO: ==3144== Lock acquired, processing the job...
[2025-03-10 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:38:02] Production.INFO: ==3144== Releasing lock...
[2025-03-10 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:38:02] Production.INFO: ==3146== Lock acquired, processing the job...
[2025-03-10 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:38:02] Production.INFO: ==3146== Releasing lock...
[2025-03-10 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:38:03] Production.INFO: ==3149== Lock acquired, processing the job...
[2025-03-10 11:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:38:03] Production.INFO: ==3159== Lock acquired, processing the job...
[2025-03-10 11:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11: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-03-10 11:38:03] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:38:03] Production.INFO: count ==21
[2025-03-10 11:38:03] Production.INFO: ==3151== Lock acquired, processing the job...
[2025-03-10 11:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649259') start
[2025-03-10 11:38:04] Production.INFO: ==3153== Lock acquired, processing the job...
[2025-03-10 11:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:38:04] Production.INFO: ==3155== Lock acquired, processing the job...
[2025-03-10 11:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:38:04] Production.INFO: ==3157== Lock acquired, processing the job...
[2025-03-10 11:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649259') end
[2025-03-10 11:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:38:04] Production.INFO: 1
[2025-03-10 11:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:38:04] Production.INFO: Account Balance Start.
[2025-03-10 11:38:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:38:04] Production.INFO: 117
[2025-03-10 11:38:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:38:04] Production.INFO: ==3159== Releasing lock...
[2025-03-10 11:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:38:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:38:04] Production.INFO: ==3151== Releasing lock...
[2025-03-10 11:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:38:04] Production.INFO: Total Charge 0
[2025-03-10 11:38:04] Production.INFO: CreateAllLog End
[2025-03-10 11:38:04] Production.ERROR: done
[2025-03-10 11:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:38:04] Production.INFO: Account Balance End.
[2025-03-10 11:38:04] Production.ERROR: done
[2025-03-10 11:38:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:38:04] Production.INFO: ==3155== Releasing lock...
[2025-03-10 11:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:38:05
[end_date_ymd] => 2025-03-10 11:38:05
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:38:05' and `end` < '2025-03-10 11: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-03-10 11:38:13] Production.ERROR: CronJobId end10
[2025-03-10 11:38:13] Production.INFO: ==3153== Releasing lock...
[2025-03-10 11:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:38:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:38:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:38:15] Production.INFO: call_cost start
[2025-03-10 11:38:15] Production.INFO: call_cost end
[2025-03-10 11:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:38:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:38:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:38:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:38:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:38:16] Production.INFO: ==3149== Releasing lock...
[2025-03-10 11:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:38:18] Production.INFO: count ==4914
[2025-03-10 11:38:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:38:05 - End Time 2025-03-10 11:38:05
[2025-03-10 11:38:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649262', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649262', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649262', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649262', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:38:21] Production.INFO: ProcessCDR(1,14649262,1,1,2)
[2025-03-10 11:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:38:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:38:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649262', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649262', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:38:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:38:26] Production.INFO: ==3157== Releasing lock...
[2025-03-10 11:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:38:26] Production.INFO: 64.75 MB #Memory Used#
[2025-03-10 15:39:01] Production.INFO: ==3214== Lock acquired, processing the job...
[2025-03-10 15:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:39:01] Production.INFO: neon service started
[2025-03-10 15:39:01] Production.INFO: neon service started
[2025-03-10 15:39:01] Production.INFO: ==3214== Releasing lock...
[2025-03-10 15:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:39:01] Production.INFO: ==3216== Lock acquired, processing the job...
[2025-03-10 11:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:39:02] Production.INFO: ==3216== Releasing lock...
[2025-03-10 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:39:02] Production.INFO: ==3218== Lock acquired, processing the job...
[2025-03-10 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:39:02] Production.INFO: ==3218== Releasing lock...
[2025-03-10 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:39:03] Production.INFO: ==3225== Lock acquired, processing the job...
[2025-03-10 11:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:39:03] Production.INFO: ==3221== Lock acquired, processing the job...
[2025-03-10 11:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:39:03] Production.INFO: ==3223== Lock acquired, processing the job...
[2025-03-10 11:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:39:03] Production.INFO: ==3231== Lock acquired, processing the job...
[2025-03-10 11:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:39:03] Production.INFO: ==3227== Lock acquired, processing the job...
[2025-03-10 11:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 11:39:03] Production.INFO: ==3229== Lock acquired, processing the job...
[2025-03-10 11:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:39:03] Production.INFO: count ==13
[2025-03-10 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-03-10 11:39:03] Production.INFO: count ==21
[2025-03-10 11:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:39:03] Production.INFO: Account Balance Start.
[2025-03-10 11:39:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:39:03] Production.INFO: 117
[2025-03-10 11:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649264') start
[2025-03-10 11:39:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:39:03] Production.INFO: Date 2025-03-09
[2025-03-10 11:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:39:03] Production.INFO: Date 2025-03-10
[2025-03-10 11:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:39:03] Production.INFO: Total Charge 0
[2025-03-10 11:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649264') end
[2025-03-10 11:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:39:03] Production.INFO: 1
[2025-03-10 11:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:39:03] Production.INFO: ==3223== Releasing lock...
[2025-03-10 11:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:39:03] Production.INFO: CreateAllLog End
[2025-03-10 11:39:03] Production.ERROR: done
[2025-03-10 11:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:39:03] Production.INFO: ==3231== Releasing lock...
[2025-03-10 11:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:39:04] Production.ERROR: done
[2025-03-10 11:39:04] Production.INFO: Account Balance End.
[2025-03-10 11:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:39:04] Production.INFO: ==3227== Releasing lock...
[2025-03-10 11:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:39:04
[end_date_ymd] => 2025-03-10 11:39:04
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:39:04' and `end` < '2025-03-10 11: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-03-10 11:39:12] Production.ERROR: CronJobId end10
[2025-03-10 11:39:12] Production.INFO: ==3225== Releasing lock...
[2025-03-10 11:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:39:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:39:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:39:14] Production.INFO: call_cost start
[2025-03-10 11:39:14] Production.INFO: call_cost end
[2025-03-10 11:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:39:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:39:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:39:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:39:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:39:15] Production.INFO: ==3221== Releasing lock...
[2025-03-10 11:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:39:17] Production.INFO: count ==4918
[2025-03-10 11:39:19] Production.ERROR: pbx CDR StartTime 2025-03-10 08:39:04 - End Time 2025-03-10 11:39:04
[2025-03-10 11:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649267', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649267', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649267', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649267', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:39:20] Production.INFO: ProcessCDR(1,14649267,1,1,2)
[2025-03-10 11:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649267', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649267', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:39:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:39:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:39:25] Production.INFO: ==3229== Releasing lock...
[2025-03-10 11:39:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:39:25] Production.INFO: 64.75 MB #Memory Used#
[2025-03-10 15:40:01] Production.INFO: ==3288== Lock acquired, processing the job...
[2025-03-10 15:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:40:01] Production.INFO: neon service started
[2025-03-10 15:40:02] Production.INFO: neon service started
[2025-03-10 15:40:02] Production.INFO: ==3288== Releasing lock...
[2025-03-10 15:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:40:02] Production.INFO: ==3290== Lock acquired, processing the job...
[2025-03-10 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:40:02] Production.INFO: ==3292== Lock acquired, processing the job...
[2025-03-10 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:40:02] Production.INFO: ==3292== Releasing lock...
[2025-03-10 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:40:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:40:02] Production.INFO: ==3290== Releasing lock...
[2025-03-10 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:40:03] Production.INFO: ==3301== Lock acquired, processing the job...
[2025-03-10 11:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:40:03] Production.INFO: ==3305== Lock acquired, processing the job...
[2025-03-10 11:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:40:04] Production.INFO: ==3307== Lock acquired, processing the job...
[2025-03-10 11:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 11:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:40:04] Production.ERROR: done
[2025-03-10 11:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:40:04] Production.INFO: ==3295== Lock acquired, processing the job...
[2025-03-10 11:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 11:40:04] Production.INFO: ==3299== Lock acquired, processing the job...
[2025-03-10 11:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:40:04] Production.INFO: ==3297== Lock acquired, processing the job...
[2025-03-10 11:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:40:04] Production.INFO: ==3303== Lock acquired, processing the job...
[2025-03-10 11:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:40:04] Production.INFO: ==3309== Lock acquired, processing the job...
[2025-03-10 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:40:04] Production.ERROR: done
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:40:04] Production.ERROR: CronJob PID - 3297
[2025-03-10 11:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 11:40:04] Production.ERROR: CronJob ID - 5
[2025-03-10 11:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:40:00
[2025-03-10 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:40:04] Production.ERROR: CronJob PID - 3299
[2025-03-10 11:40:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 11:40:04] Production.ERROR: CronJob ID - 7
[2025-03-10 11:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:40:00
[2025-03-10 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:40:04] Production.ERROR: CronJob PID - 3301
[2025-03-10 11:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 11:40:04] Production.ERROR: CronJob ID - 10
[2025-03-10 11:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:40:00
[2025-03-10 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:40:04] Production.ERROR: CronJob PID - 3303
[2025-03-10 11:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 11:40:04] Production.ERROR: CronJob ID - 12
[2025-03-10 11:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:40:00
[2025-03-10 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:40:04] Production.ERROR: CronJob PID - 3305
[2025-03-10 11:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 11:40:04] Production.ERROR: CronJob ID - 16
[2025-03-10 11:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:40:00
[2025-03-10 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:40:04] Production.ERROR: CronJob PID - 3307
[2025-03-10 11:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 11:40:04] Production.ERROR: CronJob ID - 17
[2025-03-10 11:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:40:00
[2025-03-10 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 11:40:04] Production.ERROR: CronJob PID - 3309
[2025-03-10 11:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 11:40:04] Production.ERROR: CronJob ID - 19
[2025-03-10 11:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 11:40:00
[2025-03-10 11:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 11:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 11:40:04] Production.INFO: ==3295== Releasing lock...
[2025-03-10 11:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 11:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 11:40:05] Production.INFO: Account Balance Start.
[2025-03-10 11:40:05] Production.INFO: CreateAllLog Start
[2025-03-10 11:40:05] Production.INFO: 117
[2025-03-10 11: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-03-10 11:40:05] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:40:05] Production.INFO: Date 2025-03-08
[2025-03-10 11:40:05] Production.INFO: count ==21
[2025-03-10 11:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 11:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649271') start
[2025-03-10 11:40:05] Production.ERROR: done
[2025-03-10 11:40:05] Production.INFO: Date 2025-03-09
[2025-03-10 11:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 11:40:05] Production.INFO: Date 2025-03-10
[2025-03-10 11:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 11:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 11:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649273', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 11:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649271') end
[2025-03-10 11:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:40:05] Production.INFO: 1
[2025-03-10 11:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:40:05] Production.INFO: Total Charge 0
[2025-03-10 11:40:05] Production.INFO: ==3309== Releasing lock...
[2025-03-10 11:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:40:05] Production.INFO: CreateAllLog End
[2025-03-10 11:40:05] Production.INFO: ==3299== Releasing lock...
[2025-03-10 11:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:40:05] Production.INFO: Account Balance End.
[2025-03-10 11:40:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:40:05] Production.INFO: ==3303== Releasing lock...
[2025-03-10 11:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:40:05
[end_date_ymd] => 2025-03-10 11:40:05
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:40:05' and `end` < '2025-03-10 11: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-03-10 11:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649273', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 11:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 11:40:10] Production.INFO: ProcessCDR(1,14649273,1,1,2)
[2025-03-10 11:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649273,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649273,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:40:10] Production.INFO: ==3307== Releasing lock...
[2025-03-10 11:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 11:40:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 11:40:14] Production.ERROR: CronJobId end10
[2025-03-10 11:40:14] Production.INFO: ==3301== Releasing lock...
[2025-03-10 11:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:40:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:40:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:40:17] Production.INFO: call_cost start
[2025-03-10 11:40:17] Production.INFO: call_cost end
[2025-03-10 11:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:40:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:40:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:40:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:40:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:40:18] Production.INFO: ==3297== Releasing lock...
[2025-03-10 11:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:40:19] Production.INFO: count ==4943
[2025-03-10 11:40:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:40:05 - End Time 2025-03-10 11:40:05
[2025-03-10 11:40:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649268', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649268', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649268', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649268', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:40:21] Production.INFO: ProcessCDR(1,14649268,1,1,2)
[2025-03-10 11:40:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:40:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:40:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:40:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649268', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649268', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:40:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:40:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:40:26] Production.INFO: ==3305== Releasing lock...
[2025-03-10 11:40:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:40:26] Production.INFO: 65 MB #Memory Used#
[2025-03-10 15:41:01] Production.INFO: ==3366== Lock acquired, processing the job...
[2025-03-10 15:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:41:01] Production.INFO: neon service started
[2025-03-10 15:41:01] Production.INFO: neon service started
[2025-03-10 15:41:01] Production.INFO: ==3366== Releasing lock...
[2025-03-10 15:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:41:01] Production.INFO: ==3368== Lock acquired, processing the job...
[2025-03-10 11:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:41:02] Production.INFO: ==3368== Releasing lock...
[2025-03-10 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:41:02] Production.INFO: ==3370== Lock acquired, processing the job...
[2025-03-10 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:41:02] Production.INFO: ==3370== Releasing lock...
[2025-03-10 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:41:03] Production.INFO: ==3372== Lock acquired, processing the job...
[2025-03-10 11:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:41:03] Production.INFO: ==3374== Lock acquired, processing the job...
[2025-03-10 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:41:03] Production.INFO: ==3376== Lock acquired, processing the job...
[2025-03-10 11:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:41:03] Production.INFO: ==3380== Lock acquired, processing the job...
[2025-03-10 11:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:41:03] Production.INFO: ==3378== Lock acquired, processing the job...
[2025-03-10 11:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:41:03] Production.INFO: ==3382== Lock acquired, processing the job...
[2025-03-10 11:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:41:03] Production.INFO: ==3374== Releasing lock...
[2025-03-10 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:41:03] Production.ERROR: done
[2025-03-10 11:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:41:03] Production.INFO: Account Balance Start.
[2025-03-10 11:41:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:41:03] Production.INFO: 117
[2025-03-10 11:41:03] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 11:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:41:03] Production.INFO: count ==13
[2025-03-10 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-03-10 11:41:03] Production.INFO: count ==21
[2025-03-10 11:41:03] Production.INFO: Date 2025-03-09
[2025-03-10 11:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:41:03] Production.ERROR: done
[2025-03-10 11:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649276') start
[2025-03-10 11:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649276') end
[2025-03-10 11:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:41:04] Production.INFO: 1
[2025-03-10 11:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:41:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:41:04] Production.INFO: Total Charge 0
[2025-03-10 11:41:04] Production.INFO: ==3382== Releasing lock...
[2025-03-10 11:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:41:04] Production.INFO: CreateAllLog End
[2025-03-10 11:41:04] Production.INFO: Account Balance End.
[2025-03-10 11:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:41:04] Production.INFO: ==3378== Releasing lock...
[2025-03-10 11:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:41:05
[end_date_ymd] => 2025-03-10 11:41:05
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:41:05' and `end` < '2025-03-10 11: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-03-10 11:41:11] Production.ERROR: CronJobId end10
[2025-03-10 11:41:11] Production.INFO: ==3376== Releasing lock...
[2025-03-10 11:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:41:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:41:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:41:15] Production.INFO: call_cost start
[2025-03-10 11:41:15] Production.INFO: call_cost end
[2025-03-10 11:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:41:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:41:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:41:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:41:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:41:16] Production.INFO: ==3372== Releasing lock...
[2025-03-10 11:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:41:18] Production.INFO: count ==4955
[2025-03-10 11:41:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:41:05 - End Time 2025-03-10 11:41:05
[2025-03-10 11:41:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649278', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649278', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649278', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649278', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:41:20] Production.INFO: ProcessCDR(1,14649278,1,1,2)
[2025-03-10 11:41:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:41:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:41:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:41:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649278', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649278', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:41:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:41:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:41:25] Production.INFO: ==3380== Releasing lock...
[2025-03-10 11:41:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:41:25] Production.INFO: 65 MB #Memory Used#
[2025-03-10 15:42:01] Production.INFO: ==3443== Lock acquired, processing the job...
[2025-03-10 15:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:42:01] Production.INFO: neon service started
[2025-03-10 15:42:01] Production.INFO: neon service started
[2025-03-10 15:42:01] Production.INFO: ==3443== Releasing lock...
[2025-03-10 15:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:42:02] Production.INFO: ==3445== Lock acquired, processing the job...
[2025-03-10 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:42:02] Production.INFO: ==3445== Releasing lock...
[2025-03-10 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:42:02] Production.INFO: ==3447== Lock acquired, processing the job...
[2025-03-10 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:42:02] Production.INFO: ==3447== Releasing lock...
[2025-03-10 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:42:03] Production.INFO: ==3453== Lock acquired, processing the job...
[2025-03-10 11:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:42:03] Production.INFO: ==3449== Lock acquired, processing the job...
[2025-03-10 11:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:42:03] Production.INFO: ==3457== Lock acquired, processing the job...
[2025-03-10 11:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:42:03] Production.INFO: ==3451== Lock acquired, processing the job...
[2025-03-10 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:42:03] Production.INFO: ==3455== Lock acquired, processing the job...
[2025-03-10 11:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:42:03] Production.INFO: ==3459== Lock acquired, processing the job...
[2025-03-10 11:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:42:04] Production.INFO: Account Balance Start.
[2025-03-10 11:42:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:42:04] Production.INFO: 117
[2025-03-10 11:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 11: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-03-10 11:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:42:04] Production.INFO: ==3451== Releasing lock...
[2025-03-10 11:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:42:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:42:04] Production.ERROR: done
[2025-03-10 11:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:42:04] Production.INFO: count ==21
[2025-03-10 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649282') start
[2025-03-10 11:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:42:04] Production.INFO: Total Charge 0
[2025-03-10 11:42:04] Production.INFO: CreateAllLog End
[2025-03-10 11:42:04] Production.ERROR: done
[2025-03-10 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649282') end
[2025-03-10 11:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:42:04] Production.INFO: 1
[2025-03-10 11:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:42:04] Production.INFO: ==3459== Releasing lock...
[2025-03-10 11:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:42:04] Production.INFO: Account Balance End.
[2025-03-10 11:42:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:42:04] Production.INFO: ==3455== Releasing lock...
[2025-03-10 11:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:42:05
[end_date_ymd] => 2025-03-10 11:42:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:42:05' and `end` < '2025-03-10 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-03-10 11:42:12] Production.ERROR: CronJobId end10
[2025-03-10 11:42:12] Production.INFO: ==3453== Releasing lock...
[2025-03-10 11:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:42:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:42:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:42:15] Production.INFO: call_cost start
[2025-03-10 11:42:15] Production.INFO: call_cost end
[2025-03-10 11:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:42:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:42:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:42:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:42:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:42:16] Production.INFO: ==3449== Releasing lock...
[2025-03-10 11:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:42:18] Production.INFO: count ==4968
[2025-03-10 11:42:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:42:05 - End Time 2025-03-10 11:42:05
[2025-03-10 11:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649283', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649283', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649283', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649283', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:42:20] Production.INFO: ProcessCDR(1,14649283,1,1,2)
[2025-03-10 11:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:42:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:42:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:42:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649283', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649283', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:42:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:42:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:42:25] Production.INFO: ==3457== Releasing lock...
[2025-03-10 11:42:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:42:25] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 15:43:01] Production.INFO: ==3516== Lock acquired, processing the job...
[2025-03-10 15:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:43:01] Production.INFO: neon service started
[2025-03-10 15:43:01] Production.INFO: neon service started
[2025-03-10 15:43:01] Production.INFO: ==3516== Releasing lock...
[2025-03-10 15:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:43:01] Production.INFO: ==3518== Lock acquired, processing the job...
[2025-03-10 11:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:43:02] Production.INFO: ==3518== Releasing lock...
[2025-03-10 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:43:02] Production.INFO: ==3520== Lock acquired, processing the job...
[2025-03-10 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:43:02] Production.INFO: ==3520== Releasing lock...
[2025-03-10 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:43:02] Production.INFO: ==3533== Lock acquired, processing the job...
[2025-03-10 11:43:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:43:03] Production.INFO: ==3522== Lock acquired, processing the job...
[2025-03-10 11:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 11:43:03] Production.INFO: count ==13
[2025-03-10 11:43:03] Production.INFO: ==3530== Lock acquired, processing the job...
[2025-03-10 11:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 11:43:03] Production.INFO: count ==21
[2025-03-10 11:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649284') start
[2025-03-10 11:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:43:03] Production.INFO: ==3526== Lock acquired, processing the job...
[2025-03-10 11:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:43:03] Production.INFO: ==3528== Lock acquired, processing the job...
[2025-03-10 11:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:43:03] Production.INFO: ==3524== Lock acquired, processing the job...
[2025-03-10 11:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:43:03] Production.INFO: Account Balance Start.
[2025-03-10 11:43:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:43:03] Production.INFO: 117
[2025-03-10 11:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649284') end
[2025-03-10 11:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:43:03] Production.INFO: 1
[2025-03-10 11:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:43:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:43:03] Production.INFO: ==3533== Releasing lock...
[2025-03-10 11:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:43:03] Production.INFO: Date 2025-03-09
[2025-03-10 11:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:43:03] Production.ERROR: done
[2025-03-10 11:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:43:03] Production.INFO: Date 2025-03-10
[2025-03-10 11:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:43:03] Production.INFO: Total Charge 0
[2025-03-10 11:43:03] Production.INFO: CreateAllLog End
[2025-03-10 11:43:03] Production.INFO: ==3524== Releasing lock...
[2025-03-10 11:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:43:03] Production.ERROR: done
[2025-03-10 11:43:03] Production.INFO: Account Balance End.
[2025-03-10 11:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:43:04] Production.INFO: ==3528== Releasing lock...
[2025-03-10 11:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:43:05
[end_date_ymd] => 2025-03-10 11:43:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:43:05' and `end` < '2025-03-10 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-03-10 11:43:12] Production.ERROR: CronJobId end10
[2025-03-10 11:43:12] Production.INFO: ==3526== Releasing lock...
[2025-03-10 11:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:43:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:43:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:43:14] Production.INFO: call_cost start
[2025-03-10 11:43:14] Production.INFO: call_cost end
[2025-03-10 11:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:43:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:43:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:43:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:43:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:43:15] Production.INFO: ==3522== Releasing lock...
[2025-03-10 11:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:43:18] Production.INFO: count ==4971
[2025-03-10 11:43:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:43:05 - End Time 2025-03-10 11:43:05
[2025-03-10 11:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649288', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649288', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649288', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649288', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:43:20] Production.INFO: ProcessCDR(1,14649288,1,1,2)
[2025-03-10 11:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:43:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:43:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:43:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649288', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649288', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:43:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:43:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:43:25] Production.INFO: ==3530== Releasing lock...
[2025-03-10 11:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:43:25] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 15:44:01] Production.INFO: ==3625== Lock acquired, processing the job...
[2025-03-10 15:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:44:01] Production.INFO: neon service started
[2025-03-10 15:44:01] Production.INFO: neon service started
[2025-03-10 15:44:01] Production.INFO: ==3625== Releasing lock...
[2025-03-10 15:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:44:02] Production.INFO: ==3629== Lock acquired, processing the job...
[2025-03-10 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:44:02] Production.INFO: ==3629== Releasing lock...
[2025-03-10 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:44:02] Production.INFO: ==3627== Lock acquired, processing the job...
[2025-03-10 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:44:02] Production.INFO: ==3627== Releasing lock...
[2025-03-10 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:44:03] Production.INFO: ==3634== Lock acquired, processing the job...
[2025-03-10 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:44:03] Production.INFO: ==3638== Lock acquired, processing the job...
[2025-03-10 11:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:44:03] Production.INFO: ==3640== Lock acquired, processing the job...
[2025-03-10 11:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:44:03] Production.INFO: Account Balance Start.
[2025-03-10 11:44:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:44:03] Production.INFO: 117
[2025-03-10 11:44:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:44:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:44:03] Production.INFO: ==3632== Lock acquired, processing the job...
[2025-03-10 11:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:44:03] Production.INFO: Date 2025-03-09
[2025-03-10 11:44:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:44:03] Production.INFO: ==3636== Lock acquired, processing the job...
[2025-03-10 11:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:44:03] Production.INFO: Date 2025-03-10
[2025-03-10 11:44:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:44:03] Production.INFO: Total Charge 0
[2025-03-10 11:44:03] Production.INFO: CreateAllLog End
[2025-03-10 11:44:03] Production.INFO: ==3642== Lock acquired, processing the job...
[2025-03-10 11:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:44:03] Production.INFO: ==3634== Releasing lock...
[2025-03-10 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11: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-03-10 11:44:04] Production.INFO: Account Balance End.
[2025-03-10 11:44:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:44:04] Production.INFO: count ==21
[2025-03-10 11:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:44:04] Production.INFO: ==3638== Releasing lock...
[2025-03-10 11:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649291') start
[2025-03-10 11:44:04] Production.ERROR: done
[2025-03-10 11:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649291') end
[2025-03-10 11:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:44:04] Production.INFO: 1
[2025-03-10 11:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:44:04] Production.ERROR: done
[2025-03-10 11:44:04] Production.INFO: ==3642== Releasing lock...
[2025-03-10 11:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:44:05
[end_date_ymd] => 2025-03-10 11:44:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:44:05' and `end` < '2025-03-10 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-03-10 11:44:12] Production.ERROR: CronJobId end10
[2025-03-10 11:44:12] Production.INFO: ==3636== Releasing lock...
[2025-03-10 11:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:44:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:44:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:44:15] Production.INFO: call_cost start
[2025-03-10 11:44:15] Production.INFO: call_cost end
[2025-03-10 11:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:44:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:44:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:44:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:44:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:44:15] Production.INFO: ==3632== Releasing lock...
[2025-03-10 11:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:44:18] Production.INFO: count ==4987
[2025-03-10 11:44:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:44:05 - End Time 2025-03-10 11:44:05
[2025-03-10 11:44:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649293', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649293', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649293', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649293', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:44:21] Production.INFO: ProcessCDR(1,14649293,1,1,2)
[2025-03-10 11:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:44:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:44:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:44:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:44:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649293', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649293', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:44:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:44:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:44:26] Production.INFO: ==3640== Releasing lock...
[2025-03-10 11:44:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:44:26] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 15:45:02] Production.INFO: ==3701== Lock acquired, processing the job...
[2025-03-10 15:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:45:02] Production.INFO: neon service started
[2025-03-10 15:45:02] Production.INFO: neon service started
[2025-03-10 15:45:02] Production.INFO: ==3701== Releasing lock...
[2025-03-10 15:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:45:02] Production.INFO: ==3705== Lock acquired, processing the job...
[2025-03-10 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:45:02] Production.INFO: ==3705== Releasing lock...
[2025-03-10 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:45:02] Production.INFO: ==3703== Lock acquired, processing the job...
[2025-03-10 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:45:03] Production.INFO: ==3703== Releasing lock...
[2025-03-10 11:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:45:03] Production.INFO: ==3714== Lock acquired, processing the job...
[2025-03-10 11:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:45:04] Production.INFO: ==3716== Lock acquired, processing the job...
[2025-03-10 11:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:45:04] Production.INFO: Account Balance Start.
[2025-03-10 11:45:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:45:04] Production.INFO: 117
[2025-03-10 11:45:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:45:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:45:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:45:04] Production.INFO: Total Charge 0
[2025-03-10 11:45:04] Production.INFO: CreateAllLog End
[2025-03-10 11:45:04] Production.INFO: ==3708== Lock acquired, processing the job...
[2025-03-10 11:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:45:04] Production.INFO: ==3710== Lock acquired, processing the job...
[2025-03-10 11:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:45:04] Production.INFO: ==3712== Lock acquired, processing the job...
[2025-03-10 11:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:45:04] Production.INFO: ==3718== Lock acquired, processing the job...
[2025-03-10 11:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11: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-03-10 11:45:04] Production.INFO: count ==13
[2025-03-10 11:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:45:04] Production.ERROR: done
[2025-03-10 11:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11: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-03-10 11:45:04] Production.INFO: Account Balance End.
[2025-03-10 11:45:04] Production.INFO: count ==21
[2025-03-10 11:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649295') start
[2025-03-10 11:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:45:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:45:04] Production.INFO: ==3714== Releasing lock...
[2025-03-10 11:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649295') end
[2025-03-10 11:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:45:04] Production.INFO: 1
[2025-03-10 11:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:45:04] Production.INFO: ==3718== Releasing lock...
[2025-03-10 11:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:45:04] Production.INFO: ==3710== Releasing lock...
[2025-03-10 11:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:45:04] Production.ERROR: done
[2025-03-10 11:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:45:05
[end_date_ymd] => 2025-03-10 11:45:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:45:05' and `end` < '2025-03-10 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-03-10 11:45:13] Production.ERROR: CronJobId end10
[2025-03-10 11:45:13] Production.INFO: ==3712== Releasing lock...
[2025-03-10 11:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:45:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:45:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:45:14] Production.INFO: call_cost start
[2025-03-10 11:45:14] Production.INFO: call_cost end
[2025-03-10 11:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:45:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:45:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:45:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:45:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:45:15] Production.INFO: ==3708== Releasing lock...
[2025-03-10 11:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:45:18] Production.INFO: count ==4993
[2025-03-10 11:45:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:45:05 - End Time 2025-03-10 11:45:05
[2025-03-10 11:45:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649298', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649298', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649298', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649298', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:45:20] Production.INFO: ProcessCDR(1,14649298,1,1,2)
[2025-03-10 11:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:45:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:45:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:45:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649298', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649298', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:45:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:45:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:45:25] Production.INFO: ==3716== Releasing lock...
[2025-03-10 11:45:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:45:25] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 15:46:01] Production.INFO: ==3773== Lock acquired, processing the job...
[2025-03-10 15:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:46:01] Production.INFO: neon service started
[2025-03-10 15:46:01] Production.INFO: neon service started
[2025-03-10 15:46:01] Production.INFO: ==3773== Releasing lock...
[2025-03-10 15:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:46:02] Production.INFO: ==3778== Lock acquired, processing the job...
[2025-03-10 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:46:02] Production.INFO: ==3778== Releasing lock...
[2025-03-10 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:46:02] Production.INFO: ==3776== Lock acquired, processing the job...
[2025-03-10 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:46:03] Production.INFO: ==3776== Releasing lock...
[2025-03-10 11:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:46:04] Production.INFO: ==3780== Lock acquired, processing the job...
[2025-03-10 11:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:46:04] Production.INFO: ==3782== Lock acquired, processing the job...
[2025-03-10 11:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:46:04] Production.INFO: ==3784== Lock acquired, processing the job...
[2025-03-10 11:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:46:04] Production.INFO: ==3786== Lock acquired, processing the job...
[2025-03-10 11:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:46:04] Production.INFO: ==3789== Lock acquired, processing the job...
[2025-03-10 11:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:46:04] Production.INFO: ==3791== Lock acquired, processing the job...
[2025-03-10 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 11:46:04] Production.INFO: Account Balance Start.
[2025-03-10 11:46:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:46:04] Production.INFO: ==3782== Releasing lock...
[2025-03-10 11:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:46:04] Production.INFO: 117
[2025-03-10 11:46:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:46:04] Production.INFO: count ==21
[2025-03-10 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649302') start
[2025-03-10 11:46:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:46:04] Production.ERROR: done
[2025-03-10 11:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649302') end
[2025-03-10 11:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:46:04] Production.INFO: 1
[2025-03-10 11:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:46:04] Production.INFO: ==3791== Releasing lock...
[2025-03-10 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:46:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:46:04] Production.INFO: Total Charge 0
[2025-03-10 11:46:05] Production.INFO: CreateAllLog End
[2025-03-10 11:46:05] Production.ERROR: done
[2025-03-10 11:46:05] Production.INFO: Account Balance End.
[2025-03-10 11:46:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:46:05] Production.INFO: ==3786== Releasing lock...
[2025-03-10 11:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:46:06
[end_date_ymd] => 2025-03-10 11:46:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:46:06' and `end` < '2025-03-10 11: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-03-10 11:46:14] Production.ERROR: CronJobId end10
[2025-03-10 11:46:14] Production.INFO: ==3784== Releasing lock...
[2025-03-10 11:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:46:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:46:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:46:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:46:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:46:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:46:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:46:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:46:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:46:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:46:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:46:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:46:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:46:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:46:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:46:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:46:16] Production.INFO: call_cost start
[2025-03-10 11:46:16] Production.INFO: call_cost end
[2025-03-10 11:46:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:46:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:46:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:46:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:46:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:46:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:46:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:46:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:46:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:46:17] Production.INFO: ==3780== Releasing lock...
[2025-03-10 11:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:46:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:46:19] Production.INFO: count ==4983
[2025-03-10 11:46:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:46:06 - End Time 2025-03-10 11:46:06
[2025-03-10 11:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649303', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649303', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649303', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649303', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:46:21] Production.INFO: ProcessCDR(1,14649303,1,1,2)
[2025-03-10 11:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:46:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649303', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649303', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:46:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:46:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:46:25] Production.INFO: ==3789== Releasing lock...
[2025-03-10 11:46:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:46:25] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 15:47:01] Production.INFO: ==3854== Lock acquired, processing the job...
[2025-03-10 15:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:47:01] Production.INFO: neon service started
[2025-03-10 15:47:01] Production.INFO: neon service started
[2025-03-10 15:47:01] Production.INFO: ==3854== Releasing lock...
[2025-03-10 15:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:47:01] Production.INFO: ==3856== Lock acquired, processing the job...
[2025-03-10 11:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:47:02] Production.INFO: ==3856== Releasing lock...
[2025-03-10 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:47:02] Production.INFO: ==3858== Lock acquired, processing the job...
[2025-03-10 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:47:02] Production.INFO: ==3858== Releasing lock...
[2025-03-10 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:47:03] Production.INFO: ==3864== Lock acquired, processing the job...
[2025-03-10 11:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:47:03] Production.INFO: ==3871== Lock acquired, processing the job...
[2025-03-10 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:47:03] Production.INFO: ==3862== Lock acquired, processing the job...
[2025-03-10 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:47:03] Production.INFO: ==3860== Lock acquired, processing the job...
[2025-03-10 11:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 11:47:03] Production.INFO: ==3866== Lock acquired, processing the job...
[2025-03-10 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:47:03] Production.INFO: count ==13
[2025-03-10 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-03-10 11:47:03] Production.INFO: count ==21
[2025-03-10 11:47:03] Production.INFO: ==3868== Lock acquired, processing the job...
[2025-03-10 11:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649304') start
[2025-03-10 11:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:47:03] Production.INFO: Account Balance Start.
[2025-03-10 11:47:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:47:03] Production.INFO: 117
[2025-03-10 11:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:47:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649304') end
[2025-03-10 11:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:47:03] Production.INFO: 1
[2025-03-10 11:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:47:03] Production.INFO: Date 2025-03-09
[2025-03-10 11:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:47:03] Production.INFO: Date 2025-03-10
[2025-03-10 11:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:47:03] Production.INFO: Total Charge 0
[2025-03-10 11:47:03] Production.INFO: CreateAllLog End
[2025-03-10 11:47:03] Production.INFO: ==3871== Releasing lock...
[2025-03-10 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:47:03] Production.INFO: ==3862== Releasing lock...
[2025-03-10 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:47:03] Production.INFO: Account Balance End.
[2025-03-10 11:47:03] Production.ERROR: done
[2025-03-10 11:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:47:03] Production.ERROR: CronJobId end 12
[2025-03-10 11:47:03] Production.INFO: ==3866== Releasing lock...
[2025-03-10 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:47:04] Production.ERROR: done
[2025-03-10 11:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:47:05
[end_date_ymd] => 2025-03-10 11:47:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:47:05' and `end` < '2025-03-10 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-03-10 11:47:12] Production.ERROR: CronJobId end10
[2025-03-10 11:47:12] Production.INFO: ==3864== Releasing lock...
[2025-03-10 11:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:47:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:47:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:47:14] Production.INFO: call_cost start
[2025-03-10 11:47:14] Production.INFO: call_cost end
[2025-03-10 11:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:47:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:47:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:47:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:47:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:47:15] Production.INFO: ==3860== Releasing lock...
[2025-03-10 11:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:47:18] Production.INFO: count ==4997
[2025-03-10 11:47:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:47:05 - End Time 2025-03-10 11:47:05
[2025-03-10 11:47:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649308', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649308', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649308', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649308', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:47:20] Production.INFO: ProcessCDR(1,14649308,1,1,2)
[2025-03-10 11:47:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:47:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649308', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649308', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:47:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:47:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:47:26] Production.INFO: ==3868== Releasing lock...
[2025-03-10 11:47:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:47:26] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 15:48:01] Production.INFO: ==3932== Lock acquired, processing the job...
[2025-03-10 15:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:48:01] Production.INFO: neon service started
[2025-03-10 15:48:01] Production.INFO: neon service started
[2025-03-10 15:48:01] Production.INFO: ==3932== Releasing lock...
[2025-03-10 15:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:48:02] Production.INFO: ==3935== Lock acquired, processing the job...
[2025-03-10 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:48:02] Production.INFO: ==3935== Releasing lock...
[2025-03-10 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:48:02] Production.INFO: ==3937== Lock acquired, processing the job...
[2025-03-10 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:48:02] Production.INFO: ==3937== Releasing lock...
[2025-03-10 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:48:03] Production.INFO: ==3949== Lock acquired, processing the job...
[2025-03-10 11:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:48:03] Production.INFO: ==3943== Lock acquired, processing the job...
[2025-03-10 11:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 11:48:03] Production.INFO: ==3939== Lock acquired, processing the job...
[2025-03-10 11:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:48:03] Production.INFO: ==3941== Lock acquired, processing the job...
[2025-03-10 11:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:48:03] Production.INFO: count ==13
[2025-03-10 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-03-10 11:48:03] Production.INFO: count ==21
[2025-03-10 11:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649309') start
[2025-03-10 11:48:03] Production.INFO: ==3945== Lock acquired, processing the job...
[2025-03-10 11:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:48:03] Production.INFO: ==3947== Lock acquired, processing the job...
[2025-03-10 11:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649309') end
[2025-03-10 11:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:48:03] Production.INFO: 1
[2025-03-10 11:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:48:03] Production.INFO: ==3949== Releasing lock...
[2025-03-10 11:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:48:03] Production.INFO: Account Balance Start.
[2025-03-10 11:48:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:48:03] Production.INFO: 117
[2025-03-10 11:48:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:48:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:48:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:48:04] Production.INFO: ==3941== Releasing lock...
[2025-03-10 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:48:04] Production.INFO: Total Charge 0
[2025-03-10 11:48:04] Production.INFO: CreateAllLog End
[2025-03-10 11:48:04] Production.ERROR: done
[2025-03-10 11:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:48:04] Production.ERROR: done
[2025-03-10 11:48:04] Production.INFO: Account Balance End.
[2025-03-10 11:48:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:48:04] Production.INFO: ==3945== Releasing lock...
[2025-03-10 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:48:04
[end_date_ymd] => 2025-03-10 11:48:04
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:48:04' and `end` < '2025-03-10 11: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-03-10 11:48:12] Production.ERROR: CronJobId end10
[2025-03-10 11:48:12] Production.INFO: ==3943== Releasing lock...
[2025-03-10 11:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:48:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:48:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:48:15] Production.INFO: call_cost start
[2025-03-10 11:48:15] Production.INFO: call_cost end
[2025-03-10 11:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:48:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:48:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:48:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:48:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:48:16] Production.INFO: ==3939== Releasing lock...
[2025-03-10 11:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:48:18] Production.INFO: count ==5039
[2025-03-10 11:48:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:48:04 - End Time 2025-03-10 11:48:04
[2025-03-10 11:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649313', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649313', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649313', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649313', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:48:20] Production.INFO: ProcessCDR(1,14649313,1,1,2)
[2025-03-10 11:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:48:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649313', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649313', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:48:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:48:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:48:25] Production.INFO: ==3947== Releasing lock...
[2025-03-10 11:48:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:48:25] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 15:49:02] Production.INFO: ==4019== Lock acquired, processing the job...
[2025-03-10 15:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:49:02] Production.INFO: neon service started
[2025-03-10 15:49:02] Production.INFO: neon service started
[2025-03-10 15:49:02] Production.INFO: ==4019== Releasing lock...
[2025-03-10 15:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:49:02] Production.INFO: ==4021== Lock acquired, processing the job...
[2025-03-10 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:49:02] Production.INFO: ==4021== Releasing lock...
[2025-03-10 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:49:03] Production.INFO: ==4024== Lock acquired, processing the job...
[2025-03-10 15:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:49:03] Production.INFO: ==4024== Releasing lock...
[2025-03-10 15:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:49:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:49:03] Production.INFO: ==4027== Lock acquired, processing the job...
[2025-03-10 11:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:49:03] Production.INFO: ==4029== Lock acquired, processing the job...
[2025-03-10 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:49:04] Production.INFO: ==4031== Lock acquired, processing the job...
[2025-03-10 11:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:49:04] Production.INFO: ==4037== Lock acquired, processing the job...
[2025-03-10 11:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:49:04] Production.INFO: ==4033== Lock acquired, processing the job...
[2025-03-10 11:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11: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-03-10 11:49:04] Production.INFO: ==4035== Lock acquired, processing the job...
[2025-03-10 11:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:49:04] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:49:04] Production.INFO: count ==21
[2025-03-10 11:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649316') start
[2025-03-10 11:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649316') end
[2025-03-10 11:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:49:04] Production.INFO: 1
[2025-03-10 11:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:49:04] Production.INFO: Account Balance Start.
[2025-03-10 11:49:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:49:04] Production.INFO: 117
[2025-03-10 11:49:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:49:04] Production.INFO: ==4037== Releasing lock...
[2025-03-10 11:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:49:04] Production.INFO: ==4029== Releasing lock...
[2025-03-10 11:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:49:04] Production.INFO: Total Charge 0
[2025-03-10 11:49:04] Production.INFO: CreateAllLog End
[2025-03-10 11:49:04] Production.ERROR: done
[2025-03-10 11:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:49:04] Production.ERROR: done
[2025-03-10 11:49:04] Production.INFO: Account Balance End.
[2025-03-10 11:49:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:49:04] Production.INFO: ==4033== Releasing lock...
[2025-03-10 11:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:49:05
[end_date_ymd] => 2025-03-10 11:49:05
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:49:05' and `end` < '2025-03-10 11: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-03-10 11:49:13] Production.ERROR: CronJobId end10
[2025-03-10 11:49:13] Production.INFO: ==4031== Releasing lock...
[2025-03-10 11:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:49:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:49:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:49:16] Production.INFO: call_cost start
[2025-03-10 11:49:16] Production.INFO: call_cost end
[2025-03-10 11:49:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:49:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:49:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:49:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:49:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:49:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:49:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:49:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:49:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:49:17] Production.INFO: ==4027== Releasing lock...
[2025-03-10 11:49:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:49:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:49:18] Production.INFO: count ==5056
[2025-03-10 11:49:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:49:05 - End Time 2025-03-10 11:49:05
[2025-03-10 11:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649318', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649318', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649318', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649318', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:49:21] Production.INFO: ProcessCDR(1,14649318,1,1,2)
[2025-03-10 11:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:49:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:49:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649318', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649318', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:49:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:49:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:49:26] Production.INFO: ==4035== Releasing lock...
[2025-03-10 11:49:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:49:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 15:50:01] Production.INFO: ==4102== Lock acquired, processing the job...
[2025-03-10 15:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:50:01] Production.INFO: neon service started
[2025-03-10 15:50:01] Production.INFO: neon service started
[2025-03-10 15:50:01] Production.INFO: ==4102== Releasing lock...
[2025-03-10 15:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:50:02] Production.INFO: ==4106== Lock acquired, processing the job...
[2025-03-10 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:50:02] Production.INFO: ==4106== Releasing lock...
[2025-03-10 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:50:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:50:02] Production.INFO: ==4104== Lock acquired, processing the job...
[2025-03-10 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:50:02] Production.INFO: ==4104== Releasing lock...
[2025-03-10 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:50:03] Production.INFO: ==4108== Lock acquired, processing the job...
[2025-03-10 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 11:50:03] Production.INFO: ==4110== Lock acquired, processing the job...
[2025-03-10 11:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 11:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 11:50:03] Production.INFO: ==4108== Releasing lock...
[2025-03-10 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 11:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 11:50:03] Production.INFO: ==4112== Lock acquired, processing the job...
[2025-03-10 11:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:50:04] Production.INFO: ==4119== Lock acquired, processing the job...
[2025-03-10 11:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:50:04] Production.INFO: ==4115== Lock acquired, processing the job...
[2025-03-10 11:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:50:04] Production.INFO: ==4117== Lock acquired, processing the job...
[2025-03-10 11:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:50:04] Production.INFO: ==4121== Lock acquired, processing the job...
[2025-03-10 11:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 11:50:04] Production.INFO: ==4123== Lock acquired, processing the job...
[2025-03-10 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:50:04] Production.INFO: ==4112== Releasing lock...
[2025-03-10 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:50:04] Production.INFO: Account Balance Start.
[2025-03-10 11:50:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:50:04] Production.INFO: 117
[2025-03-10 11:50:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 11:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:50:04] Production.ERROR: done
[2025-03-10 11:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:50:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:50:04] Production.INFO: count ==21
[2025-03-10 11:50:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649322') start
[2025-03-10 11:50:04] Production.ERROR: done
[2025-03-10 11:50:04] Production.ERROR: done
[2025-03-10 11:50:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649322') end
[2025-03-10 11:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:50:04] Production.INFO: 1
[2025-03-10 11:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 11:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649323', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 11:50:04] Production.INFO: Total Charge 0
[2025-03-10 11:50:04] Production.INFO: ==4123== Releasing lock...
[2025-03-10 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:50:04] Production.INFO: CreateAllLog End
[2025-03-10 11:50:05] Production.INFO: Account Balance End.
[2025-03-10 11:50:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:50:05] Production.INFO: ==4117== Releasing lock...
[2025-03-10 11:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:50:06
[end_date_ymd] => 2025-03-10 11:50:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:50:06' and `end` < '2025-03-10 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-03-10 11:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649323', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 11:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 11:50:09] Production.INFO: ProcessCDR(1,14649323,1,1,2)
[2025-03-10 11:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649323,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649323,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:50:09] Production.INFO: ==4121== Releasing lock...
[2025-03-10 11:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 11:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 11:50:14] Production.ERROR: CronJobId end10
[2025-03-10 11:50:14] Production.INFO: ==4115== Releasing lock...
[2025-03-10 11:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:50:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:50:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:50:17] Production.INFO: call_cost start
[2025-03-10 11:50:17] Production.INFO: call_cost end
[2025-03-10 11:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:50:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:50:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:50:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:50:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:50:17] Production.INFO: ==4110== Releasing lock...
[2025-03-10 11:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:50:20] Production.INFO: count ==5053
[2025-03-10 11:50:22] Production.ERROR: pbx CDR StartTime 2025-03-10 08:50:06 - End Time 2025-03-10 11:50:06
[2025-03-10 11:50:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649324', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649324', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649324', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649324', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:50:22] Production.INFO: ProcessCDR(1,14649324,1,1,2)
[2025-03-10 11:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:50:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:50:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:50:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649324', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649324', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:50:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:50:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:50:27] Production.INFO: ==4119== Releasing lock...
[2025-03-10 11:50:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:50:27] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 15:51:02] Production.INFO: ==4190== Lock acquired, processing the job...
[2025-03-10 15:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:51:02] Production.INFO: neon service started
[2025-03-10 15:51:02] Production.INFO: neon service started
[2025-03-10 15:51:02] Production.INFO: ==4190== Releasing lock...
[2025-03-10 15:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:51:02] Production.INFO: ==4192== Lock acquired, processing the job...
[2025-03-10 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:51:02] Production.INFO: ==4194== Lock acquired, processing the job...
[2025-03-10 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:51:03] Production.INFO: ==4194== Releasing lock...
[2025-03-10 15:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:51:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:51:03] Production.INFO: ==4192== Releasing lock...
[2025-03-10 11:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:51:03] Production.INFO: ==4206== Lock acquired, processing the job...
[2025-03-10 11:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 11:51:04] Production.INFO: ==4202== Lock acquired, processing the job...
[2025-03-10 11:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:51:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:51:04] Production.INFO: count ==21
[2025-03-10 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649325') start
[2025-03-10 11:51:04] Production.INFO: ==4196== Lock acquired, processing the job...
[2025-03-10 11:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649325') end
[2025-03-10 11:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:51:04] Production.INFO: 1
[2025-03-10 11:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:51:04] Production.INFO: ==4198== Lock acquired, processing the job...
[2025-03-10 11:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:51:04] Production.INFO: Account Balance Start.
[2025-03-10 11:51:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:51:04] Production.INFO: 117
[2025-03-10 11:51:04] Production.INFO: ==4206== Releasing lock...
[2025-03-10 11:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:51:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:51:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:51:04] Production.INFO: ==4200== Lock acquired, processing the job...
[2025-03-10 11:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:51:04] Production.INFO: ==4204== Lock acquired, processing the job...
[2025-03-10 11:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:51:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:51:04] Production.INFO: Total Charge 0
[2025-03-10 11:51:04] Production.INFO: CreateAllLog End
[2025-03-10 11:51:04] Production.INFO: ==4198== Releasing lock...
[2025-03-10 11:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:51:05] Production.ERROR: done
[2025-03-10 11:51:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:51:05] Production.INFO: Account Balance End.
[2025-03-10 11:51:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:51:05] Production.INFO: ==4202== Releasing lock...
[2025-03-10 11:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:51:05] Production.ERROR: done
[2025-03-10 11:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:51:06
[end_date_ymd] => 2025-03-10 11:51:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:51:06' and `end` < '2025-03-10 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-03-10 11:51:13] Production.ERROR: CronJobId end10
[2025-03-10 11:51:13] Production.INFO: ==4200== Releasing lock...
[2025-03-10 11:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:51:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:51:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:51:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:51:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:51:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:51:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:51:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:51:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:51:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:51:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:51:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:51:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:51:16] Production.INFO: call_cost start
[2025-03-10 11:51:16] Production.INFO: call_cost end
[2025-03-10 11:51:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:51:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:51:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:51:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:51:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:51:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:51:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:51:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:51:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:51:17] Production.INFO: ==4196== Releasing lock...
[2025-03-10 11:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:51:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:51:19] Production.INFO: count ==5099
[2025-03-10 11:51:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:51:06 - End Time 2025-03-10 11:51:06
[2025-03-10 11:51:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649329', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649329', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649329', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649329', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:51:21] Production.INFO: ProcessCDR(1,14649329,1,1,2)
[2025-03-10 11:51:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:51:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:51:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649329', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649329', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:51:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:51:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:51:26] Production.INFO: ==4204== Releasing lock...
[2025-03-10 11:51:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:51:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 15:52:01] Production.INFO: ==4265== Lock acquired, processing the job...
[2025-03-10 15:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:52:01] Production.INFO: neon service started
[2025-03-10 15:52:01] Production.INFO: neon service started
[2025-03-10 15:52:01] Production.INFO: ==4265== Releasing lock...
[2025-03-10 15:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:52:02] Production.INFO: ==4267== Lock acquired, processing the job...
[2025-03-10 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:52:02] Production.INFO: ==4269== Lock acquired, processing the job...
[2025-03-10 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 11:52:02] Production.INFO: ==4267== Releasing lock...
[2025-03-10 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:52:02] Production.INFO: ==4269== Releasing lock...
[2025-03-10 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:52:03] Production.INFO: ==4275== Lock acquired, processing the job...
[2025-03-10 11:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:52:03] Production.INFO: ==4271== Lock acquired, processing the job...
[2025-03-10 11:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:52:03] Production.INFO: ==4278== Lock acquired, processing the job...
[2025-03-10 11:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:52:03] Production.INFO: ==4273== Lock acquired, processing the job...
[2025-03-10 11:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:52:03] Production.INFO: ==4280== Lock acquired, processing the job...
[2025-03-10 11:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:52:03] Production.INFO: Account Balance Start.
[2025-03-10 11:52:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:52:03] Production.INFO: 117
[2025-03-10 11:52:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:52:04] Production.INFO: ==4282== Lock acquired, processing the job...
[2025-03-10 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:52:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:52:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:52:04] Production.INFO: Total Charge 0
[2025-03-10 11:52:04] Production.INFO: CreateAllLog End
[2025-03-10 11:52:04] Production.INFO: ==4273== Releasing lock...
[2025-03-10 11:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11: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-03-10 11:52:04] Production.ERROR: done
[2025-03-10 11:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:52:04] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:52:04] Production.INFO: count ==21
[2025-03-10 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649333') start
[2025-03-10 11:52:04] Production.ERROR: done
[2025-03-10 11:52:04] Production.INFO: Account Balance End.
[2025-03-10 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649333') end
[2025-03-10 11:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:52:04] Production.INFO: 1
[2025-03-10 11:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:52:04] Production.INFO: ==4282== Releasing lock...
[2025-03-10 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:52:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:52:04] Production.INFO: ==4278== Releasing lock...
[2025-03-10 11:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:52:05
[end_date_ymd] => 2025-03-10 11:52:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:52:05' and `end` < '2025-03-10 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-03-10 11:52:13] Production.ERROR: CronJobId end10
[2025-03-10 11:52:13] Production.INFO: ==4275== Releasing lock...
[2025-03-10 11:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:52:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:52:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:52:16] Production.INFO: call_cost start
[2025-03-10 11:52:16] Production.INFO: call_cost end
[2025-03-10 11:52:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:52:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:52:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:52:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:52:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:52:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:52:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:52:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:52:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:52:17] Production.INFO: ==4271== Releasing lock...
[2025-03-10 11:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:52:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:52:18] Production.INFO: count ==5112
[2025-03-10 11:52:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:52:05 - End Time 2025-03-10 11:52:05
[2025-03-10 11:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649334', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649334', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649334', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649334', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:52:21] Production.INFO: ProcessCDR(1,14649334,1,1,2)
[2025-03-10 11:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:52:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:52:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:52:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649334', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649334', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:52:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:52:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:52:27] Production.INFO: ==4280== Releasing lock...
[2025-03-10 11:52:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:52:27] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 15:53:02] Production.INFO: ==4347== Lock acquired, processing the job...
[2025-03-10 15:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:53:02] Production.INFO: neon service started
[2025-03-10 15:53:02] Production.INFO: neon service started
[2025-03-10 15:53:02] Production.INFO: ==4347== Releasing lock...
[2025-03-10 15:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:53:02] Production.INFO: ==4349== Lock acquired, processing the job...
[2025-03-10 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:53:03] Production.INFO: ==4349== Releasing lock...
[2025-03-10 11:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:53:03] Production.INFO: ==4351== Lock acquired, processing the job...
[2025-03-10 15:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:53:03] Production.INFO: ==4351== Releasing lock...
[2025-03-10 15:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:53:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:53:03] Production.INFO: ==4353== Lock acquired, processing the job...
[2025-03-10 11:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:53:04] Production.INFO: ==4359== Lock acquired, processing the job...
[2025-03-10 11:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:53:04] Production.INFO: ==4355== Lock acquired, processing the job...
[2025-03-10 11:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:53:04] Production.INFO: ==4364== Lock acquired, processing the job...
[2025-03-10 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:53:04] Production.INFO: ==4357== Lock acquired, processing the job...
[2025-03-10 11:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:53:04] Production.INFO: Account Balance Start.
[2025-03-10 11:53:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:53:04] Production.INFO: 117
[2025-03-10 11:53:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:53:04] Production.INFO: ==4361== Lock acquired, processing the job...
[2025-03-10 11:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:53:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 11: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-03-10 11:53:04] Production.INFO: count ==13
[2025-03-10 11: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-03-10 11:53:04] Production.INFO: count ==21
[2025-03-10 11:53:04] Production.INFO: Total Charge 0
[2025-03-10 11:53:04] Production.INFO: ==4355== Releasing lock...
[2025-03-10 11:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649338') start
[2025-03-10 11:53:04] Production.INFO: CreateAllLog End
[2025-03-10 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649338') end
[2025-03-10 11:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:53:04] Production.INFO: 1
[2025-03-10 11:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:53:04] Production.INFO: ==4364== Releasing lock...
[2025-03-10 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:53:04] Production.INFO: Account Balance End.
[2025-03-10 11:53:04] Production.ERROR: done
[2025-03-10 11:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:53:04] Production.INFO: ==4359== Releasing lock...
[2025-03-10 11:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:53:05] Production.ERROR: done
[2025-03-10 11:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:53:05
[end_date_ymd] => 2025-03-10 11:53:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:53:05' and `end` < '2025-03-10 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-03-10 11:53: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-03-10 11:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:53:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:53:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:53:14] Production.INFO: call_cost start
[2025-03-10 11:53:14] Production.INFO: call_cost end
[2025-03-10 11:53:14] Production.ERROR: CronJobId end10
[2025-03-10 11:53:14] Production.INFO: ==4357== Releasing lock...
[2025-03-10 11:53:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:53:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:53:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:53:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:53:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:53:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:53:15] Production.INFO: ==4353== Releasing lock...
[2025-03-10 11:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:53:18] Production.INFO: count ==5130
[2025-03-10 11:53:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:53:05 - End Time 2025-03-10 11:53:05
[2025-03-10 11:53:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649339', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649339', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649339', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649339', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:53:21] Production.INFO: ProcessCDR(1,14649339,1,1,2)
[2025-03-10 11:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:53:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:53:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:53:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649339', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649339', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:53:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:53:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:53:26] Production.INFO: ==4361== Releasing lock...
[2025-03-10 11:53:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:53:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 15:54:01] Production.INFO: ==4437== Lock acquired, processing the job...
[2025-03-10 15:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:54:01] Production.INFO: neon service started
[2025-03-10 15:54:01] Production.INFO: neon service started
[2025-03-10 15:54:01] Production.INFO: ==4437== Releasing lock...
[2025-03-10 15:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:54:02] Production.INFO: ==4441== Lock acquired, processing the job...
[2025-03-10 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:54:02] Production.INFO: ==4441== Releasing lock...
[2025-03-10 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:54:02] Production.INFO: ==4439== Lock acquired, processing the job...
[2025-03-10 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:54:02] Production.INFO: ==4439== Releasing lock...
[2025-03-10 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:54:03] Production.INFO: ==4444== Lock acquired, processing the job...
[2025-03-10 11:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:54:03] Production.INFO: ==4450== Lock acquired, processing the job...
[2025-03-10 11:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:54:03] Production.INFO: ==4446== Lock acquired, processing the job...
[2025-03-10 11:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:54:03] Production.INFO: ==4454== Lock acquired, processing the job...
[2025-03-10 11:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:54:03] Production.INFO: Account Balance Start.
[2025-03-10 11:54:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:54:03] Production.INFO: ==4448== Lock acquired, processing the job...
[2025-03-10 11:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:54:03] Production.INFO: 117
[2025-03-10 11:54:03] Production.INFO: Date 2025-03-08
[2025-03-10 11:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:54:03] Production.INFO: ==4452== Lock acquired, processing the job...
[2025-03-10 11:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:54:03] Production.INFO: Date 2025-03-09
[2025-03-10 11:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 11:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:54:03] Production.INFO: Date 2025-03-10
[2025-03-10 11:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 11:54:03] Production.INFO: count ==13
[2025-03-10 11:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 11:54:03] Production.INFO: count ==21
[2025-03-10 11:54:03] Production.INFO: Total Charge 0
[2025-03-10 11:54:03] Production.INFO: CreateAllLog End
[2025-03-10 11:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649342') start
[2025-03-10 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649342') end
[2025-03-10 11:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:54:04] Production.INFO: 1
[2025-03-10 11:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:54:04] Production.INFO: ==4446== Releasing lock...
[2025-03-10 11:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:54:04] Production.INFO: ==4454== Releasing lock...
[2025-03-10 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:54:04] Production.ERROR: done
[2025-03-10 11:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:54:04] Production.INFO: Account Balance End.
[2025-03-10 11:54:04] Production.ERROR: done
[2025-03-10 11:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:54:04] Production.INFO: ==4450== Releasing lock...
[2025-03-10 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:54:05
[end_date_ymd] => 2025-03-10 11:54:05
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:54:05' and `end` < '2025-03-10 11: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-03-10 11:54:13] Production.ERROR: CronJobId end10
[2025-03-10 11:54:13] Production.INFO: ==4448== Releasing lock...
[2025-03-10 11:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:54:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:54:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:54:15] Production.INFO: call_cost start
[2025-03-10 11:54:15] Production.INFO: call_cost end
[2025-03-10 11:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:54:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:54:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:54:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:54:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:54:16] Production.INFO: ==4444== Releasing lock...
[2025-03-10 11:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:54:18] Production.INFO: count ==5128
[2025-03-10 11:54:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:54:05 - End Time 2025-03-10 11:54:05
[2025-03-10 11:54:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649344', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649344', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649344', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649344', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:54:20] Production.INFO: ProcessCDR(1,14649344,1,1,2)
[2025-03-10 11:54:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:54:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:54:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:54:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649344', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649344', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:54:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:54:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:54:24] Production.INFO: ==4452== Releasing lock...
[2025-03-10 11:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:54:24] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 15:55:02] Production.INFO: ==4515== Lock acquired, processing the job...
[2025-03-10 15:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:55:02] Production.INFO: neon service started
[2025-03-10 15:55:02] Production.INFO: neon service started
[2025-03-10 15:55:02] Production.INFO: ==4515== Releasing lock...
[2025-03-10 15:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:55:02] Production.INFO: ==4517== Lock acquired, processing the job...
[2025-03-10 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:55:02] Production.INFO: ==4519== Lock acquired, processing the job...
[2025-03-10 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:55:02] Production.INFO: ==4519== Releasing lock...
[2025-03-10 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:55:03] Production.INFO: ==4517== Releasing lock...
[2025-03-10 11:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:55:04] Production.INFO: ==4532== Lock acquired, processing the job...
[2025-03-10 11:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:55:04] Production.INFO: ==4528== Lock acquired, processing the job...
[2025-03-10 11:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:55:04] Production.INFO: ==4522== Lock acquired, processing the job...
[2025-03-10 11:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:55:04] Production.INFO: Account Balance Start.
[2025-03-10 11:55:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:55:04] Production.INFO: 117
[2025-03-10 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-03-10 11:55:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:55:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:55:04] Production.INFO: count ==21
[2025-03-10 11:55:04] Production.INFO: ==4524== Lock acquired, processing the job...
[2025-03-10 11:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:55:04] Production.INFO: ==4526== Lock acquired, processing the job...
[2025-03-10 11:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:55:04] Production.INFO: ==4530== Lock acquired, processing the job...
[2025-03-10 11:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649345') start
[2025-03-10 11:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:55:04] Production.INFO: Total Charge 0
[2025-03-10 11:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649345') end
[2025-03-10 11:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:55:04] Production.INFO: 1
[2025-03-10 11:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:55:04] Production.INFO: CreateAllLog End
[2025-03-10 11:55:04] Production.INFO: ==4532== Releasing lock...
[2025-03-10 11:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:55:04] Production.INFO: Account Balance End.
[2025-03-10 11:55:04] Production.ERROR: done
[2025-03-10 11:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:55:04] Production.INFO: ==4524== Releasing lock...
[2025-03-10 11:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:55:05] Production.ERROR: CronJobId end 12
[2025-03-10 11:55:05] Production.INFO: ==4528== Releasing lock...
[2025-03-10 11:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:55:05] Production.ERROR: done
[2025-03-10 11:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:55:06
[end_date_ymd] => 2025-03-10 11:55:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:55:06' and `end` < '2025-03-10 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-03-10 11:55:12] Production.ERROR: CronJobId end10
[2025-03-10 11:55:12] Production.INFO: ==4526== Releasing lock...
[2025-03-10 11:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:55:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:55:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:55:15] Production.INFO: call_cost start
[2025-03-10 11:55:15] Production.INFO: call_cost end
[2025-03-10 11:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:55:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:55:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:55:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:55:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:55:16] Production.INFO: ==4522== Releasing lock...
[2025-03-10 11:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:55:19] Production.INFO: count ==5133
[2025-03-10 11:55:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:55:06 - End Time 2025-03-10 11:55:06
[2025-03-10 11:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649349', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649349', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649349', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649349', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:55:21] Production.INFO: ProcessCDR(1,14649349,1,1,2)
[2025-03-10 11:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:55:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649349', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649349', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:55:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:55:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:55:26] Production.INFO: ==4530== Releasing lock...
[2025-03-10 11:55:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:55:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 15:56:01] Production.INFO: ==4602== Lock acquired, processing the job...
[2025-03-10 15:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:56:01] Production.INFO: neon service started
[2025-03-10 15:56:01] Production.INFO: neon service started
[2025-03-10 15:56:01] Production.INFO: ==4602== Releasing lock...
[2025-03-10 15:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:56:02] Production.INFO: ==4606== Lock acquired, processing the job...
[2025-03-10 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:56:02] Production.INFO: ==4606== Releasing lock...
[2025-03-10 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:56:02] Production.INFO: ==4604== Lock acquired, processing the job...
[2025-03-10 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:56:02] Production.INFO: ==4604== Releasing lock...
[2025-03-10 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:56:03] Production.INFO: ==4608== Lock acquired, processing the job...
[2025-03-10 11:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:56:03] Production.INFO: ==4612== Lock acquired, processing the job...
[2025-03-10 11:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:56:03] Production.INFO: ==4617== Lock acquired, processing the job...
[2025-03-10 11:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:56:03] Production.INFO: ==4610== Lock acquired, processing the job...
[2025-03-10 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:56:03] Production.INFO: ==4614== Lock acquired, processing the job...
[2025-03-10 11:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:56:03] Production.INFO: ==4619== Lock acquired, processing the job...
[2025-03-10 11:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:56:03] Production.ERROR: done
[2025-03-10 11:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:56:04] Production.INFO: Account Balance Start.
[2025-03-10 11:56:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:56:04] Production.INFO: 117
[2025-03-10 11:56:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 11:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:56:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:56:04] Production.INFO: count ==21
[2025-03-10 11:56:04] Production.ERROR: done
[2025-03-10 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649352') start
[2025-03-10 11:56:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649352') end
[2025-03-10 11:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:56:04] Production.INFO: 1
[2025-03-10 11:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:56:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:56:04] Production.INFO: ==4610== Releasing lock...
[2025-03-10 11:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:56:04] Production.INFO: ==4619== Releasing lock...
[2025-03-10 11:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:56:04] Production.INFO: Total Charge 0
[2025-03-10 11:56:04] Production.INFO: CreateAllLog End
[2025-03-10 11:56:04] Production.INFO: Account Balance End.
[2025-03-10 11:56:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:56:04] Production.INFO: ==4614== Releasing lock...
[2025-03-10 11:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:56:05
[end_date_ymd] => 2025-03-10 11:56:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:56:05' and `end` < '2025-03-10 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-03-10 11:56:13] Production.ERROR: CronJobId end10
[2025-03-10 11:56:13] Production.INFO: ==4612== Releasing lock...
[2025-03-10 11:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:56:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:56:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:56:15] Production.INFO: call_cost start
[2025-03-10 11:56:15] Production.INFO: call_cost end
[2025-03-10 11:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:56:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:56:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:56:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:56:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:56:16] Production.INFO: ==4608== Releasing lock...
[2025-03-10 11:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:56:18] Production.INFO: count ==5122
[2025-03-10 11:56:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:56:05 - End Time 2025-03-10 11:56:05
[2025-03-10 11:56:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649354', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649354', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649354', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649354', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:56:20] Production.INFO: ProcessCDR(1,14649354,1,1,2)
[2025-03-10 11:56:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:56:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:56:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:56:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649354', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649354', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:56:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:56:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:56:25] Production.INFO: ==4617== Releasing lock...
[2025-03-10 11:56:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:56:25] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 15:57:02] Production.INFO: ==4690== Lock acquired, processing the job...
[2025-03-10 15:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:57:02] Production.INFO: neon service started
[2025-03-10 15:57:02] Production.INFO: neon service started
[2025-03-10 15:57:02] Production.INFO: ==4690== Releasing lock...
[2025-03-10 15:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:57:02] Production.INFO: ==4694== Lock acquired, processing the job...
[2025-03-10 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:57:02] Production.INFO: ==4694== Releasing lock...
[2025-03-10 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:57:02] Production.INFO: ==4692== Lock acquired, processing the job...
[2025-03-10 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:57:02] Production.INFO: ==4692== Releasing lock...
[2025-03-10 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:57:03] Production.INFO: ==4703== Lock acquired, processing the job...
[2025-03-10 11:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:57:03] Production.INFO: ==4701== Lock acquired, processing the job...
[2025-03-10 11:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:57:03] Production.INFO: ==4697== Lock acquired, processing the job...
[2025-03-10 11:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:57:03] Production.INFO: Account Balance Start.
[2025-03-10 11:57:03] Production.INFO: CreateAllLog Start
[2025-03-10 11:57:03] Production.INFO: 117
[2025-03-10 11:57:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:57:04] Production.INFO: ==4699== Lock acquired, processing the job...
[2025-03-10 11:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:57:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:57:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:57:04] Production.INFO: Total Charge 0
[2025-03-10 11:57:04] Production.INFO: ==4705== Lock acquired, processing the job...
[2025-03-10 11:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:57:04] Production.INFO: CreateAllLog End
[2025-03-10 11:57:04] Production.INFO: ==4707== Lock acquired, processing the job...
[2025-03-10 11:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:57:04] Production.INFO: ==4699== Releasing lock...
[2025-03-10 11:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11: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-03-10 11:57:04] Production.INFO: count ==13
[2025-03-10 11:57:04] Production.INFO: Account Balance End.
[2025-03-10 11: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-03-10 11:57:04] Production.INFO: count ==21
[2025-03-10 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649358') start
[2025-03-10 11:57:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:57:04] Production.INFO: ==4703== Releasing lock...
[2025-03-10 11:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649358') end
[2025-03-10 11:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:57:04] Production.INFO: 1
[2025-03-10 11:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:57:04] Production.ERROR: done
[2025-03-10 11:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:57:05] Production.INFO: ==4707== Releasing lock...
[2025-03-10 11:57:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:57:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:57:05] Production.ERROR: done
[2025-03-10 11:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:57:06
[end_date_ymd] => 2025-03-10 11:57:06
[RateCDR] => 1
)
[2025-03-10 11: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-03-10 08:57:06' and `end` < '2025-03-10 11: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-03-10 11:57:12] Production.ERROR: CronJobId end10
[2025-03-10 11:57:12] Production.INFO: ==4701== Releasing lock...
[2025-03-10 11:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:57:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:57:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:57:14] Production.INFO: call_cost start
[2025-03-10 11:57:14] Production.INFO: call_cost end
[2025-03-10 11:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:57:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:57:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:57:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:57:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:57:15] Production.INFO: ==4697== Releasing lock...
[2025-03-10 11:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:57:19] Production.INFO: count ==5148
[2025-03-10 11:57:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:57:06 - End Time 2025-03-10 11:57:06
[2025-03-10 11:57:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649359', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649359', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649359', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649359', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:57:21] Production.INFO: ProcessCDR(1,14649359,1,1,2)
[2025-03-10 11:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:57:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649359', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649359', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:57:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:57:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:57:26] Production.INFO: ==4705== Releasing lock...
[2025-03-10 11:57:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:57:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 15:58:01] Production.INFO: ==4771== Lock acquired, processing the job...
[2025-03-10 15:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:58:01] Production.INFO: neon service started
[2025-03-10 15:58:01] Production.INFO: neon service started
[2025-03-10 15:58:01] Production.INFO: ==4771== Releasing lock...
[2025-03-10 15:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:58:02] Production.INFO: ==4773== Lock acquired, processing the job...
[2025-03-10 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 11:58:02] Production.INFO: ==4773== Releasing lock...
[2025-03-10 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:58:02] Production.INFO: ==4775== Lock acquired, processing the job...
[2025-03-10 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:58:02] Production.INFO: ==4775== Releasing lock...
[2025-03-10 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:58:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:58:03] Production.INFO: ==4786== Lock acquired, processing the job...
[2025-03-10 11:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:58:03] Production.INFO: ==4777== Lock acquired, processing the job...
[2025-03-10 11:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:58:03] Production.INFO: ==4788== Lock acquired, processing the job...
[2025-03-10 11:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:58:03] Production.INFO: ==4779== Lock acquired, processing the job...
[2025-03-10 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 11:58:03] Production.INFO: ==4781== Lock acquired, processing the job...
[2025-03-10 11:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 11:58:03] Production.INFO: count ==13
[2025-03-10 11:58:03] Production.INFO: ==4783== Lock acquired, processing the job...
[2025-03-10 11:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 11:58:03] Production.INFO: count ==21
[2025-03-10 11:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649360') start
[2025-03-10 11:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:58:04] Production.INFO: Account Balance Start.
[2025-03-10 11:58:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649360') end
[2025-03-10 11:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:58:04] Production.INFO: 1
[2025-03-10 11:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:58:04] Production.INFO: 117
[2025-03-10 11:58:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:58:04] Production.INFO: ==4788== Releasing lock...
[2025-03-10 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:58:04] Production.ERROR: done
[2025-03-10 11:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:58:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:58:04] Production.INFO: ==4779== Releasing lock...
[2025-03-10 11:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:58:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:58:04] Production.INFO: Total Charge 0
[2025-03-10 11:58:04] Production.INFO: CreateAllLog End
[2025-03-10 11:58:04] Production.ERROR: done
[2025-03-10 11:58:04] Production.INFO: Account Balance End.
[2025-03-10 11:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:58:04] Production.INFO: ==4783== Releasing lock...
[2025-03-10 11:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:58:05
[end_date_ymd] => 2025-03-10 11:58:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:58:05' and `end` < '2025-03-10 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-03-10 11:58:14] Production.ERROR: CronJobId end10
[2025-03-10 11:58:14] Production.INFO: ==4781== Releasing lock...
[2025-03-10 11:58:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:58:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:58:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:58:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:58:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:58:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:58:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:58:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:58:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:58:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:58:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:58:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:58:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:58:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:58:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:58:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:58:16] Production.INFO: call_cost start
[2025-03-10 11:58:16] Production.INFO: call_cost end
[2025-03-10 11:58:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:58:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:58:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:58:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:58:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:58:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:58:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:58:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:58:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:58:17] Production.INFO: ==4777== Releasing lock...
[2025-03-10 11:58:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:58:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:58:18] Production.INFO: count ==5149
[2025-03-10 11:58:21] Production.ERROR: pbx CDR StartTime 2025-03-10 08:58:05 - End Time 2025-03-10 11:58:05
[2025-03-10 11:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649364', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649364', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649364', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649364', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:58:21] Production.INFO: ProcessCDR(1,14649364,1,1,2)
[2025-03-10 11:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:58:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:58:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649364', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649364', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:58:26] Production.INFO: ==4786== Releasing lock...
[2025-03-10 11:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:58:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 15:59:02] Production.INFO: ==4887== Lock acquired, processing the job...
[2025-03-10 15:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 15:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 15:59:02] Production.INFO: neon service started
[2025-03-10 15:59:02] Production.INFO: neon service started
[2025-03-10 15:59:02] Production.INFO: ==4887== Releasing lock...
[2025-03-10 15:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 15:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 11:59:02] Production.INFO: ==4890== Lock acquired, processing the job...
[2025-03-10 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:59:02] Production.INFO: ==4892== Lock acquired, processing the job...
[2025-03-10 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:59:02] Production.INFO: ==4892== Releasing lock...
[2025-03-10 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 15:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 11:59:03] Production.INFO: ==4890== Releasing lock...
[2025-03-10 11:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 11:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 11:59:03] Production.INFO: ==4902== Lock acquired, processing the job...
[2025-03-10 11:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 11:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 11:59:04] Production.INFO: ==4894== Lock acquired, processing the job...
[2025-03-10 11:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 11:59:04] Production.INFO: ==4904== Lock acquired, processing the job...
[2025-03-10 11:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 11:59:04] Production.INFO: ==4900== Lock acquired, processing the job...
[2025-03-10 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 11:59:04] Production.INFO: ==4896== Lock acquired, processing the job...
[2025-03-10 11:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 11:59:04] Production.INFO: ==4898== Lock acquired, processing the job...
[2025-03-10 11:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 11:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 11:59:04] Production.INFO: count ==13
[2025-03-10 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-03-10 11:59:04] Production.INFO: count ==21
[2025-03-10 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649365') start
[2025-03-10 11:59:04] Production.ERROR: done
[2025-03-10 11:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 11:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 11:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 11:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 11:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 11:59:04] Production.INFO: Account Balance Start.
[2025-03-10 11:59:04] Production.INFO: CreateAllLog Start
[2025-03-10 11:59:04] Production.INFO: 117
[2025-03-10 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649365') end
[2025-03-10 11:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 11:59:04] Production.INFO: 1
[2025-03-10 11:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 11:59:04] Production.INFO: Date 2025-03-08
[2025-03-10 11:59:04] Production.ERROR: done
[2025-03-10 11:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:59:04] Production.INFO: ==4904== Releasing lock...
[2025-03-10 11:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 11:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 11:59:04] Production.INFO: Date 2025-03-09
[2025-03-10 11:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:59:04] Production.INFO: Date 2025-03-10
[2025-03-10 11:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 11:59:04] Production.INFO: Total Charge 0
[2025-03-10 11:59:04] Production.INFO: CreateAllLog End
[2025-03-10 11:59:04] Production.INFO: ==4896== Releasing lock...
[2025-03-10 11:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 11:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 11:59:04] Production.INFO: Account Balance End.
[2025-03-10 11:59:04] Production.ERROR: CronJobId end 12
[2025-03-10 11:59:04] Production.INFO: ==4900== Releasing lock...
[2025-03-10 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 11:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 11:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 08:59:05
[end_date_ymd] => 2025-03-10 11:59:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 08:59:05' and `end` < '2025-03-10 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-03-10 11:59:12] Production.ERROR: CronJobId end10
[2025-03-10 11:59:12] Production.INFO: ==4898== Releasing lock...
[2025-03-10 11:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 11:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 11:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 11:59:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 11:59:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 11:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 11:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 11:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 11:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 11:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 11:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 11:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 11:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 11:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 11:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 11:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 11:59:15] Production.INFO: call_cost start
[2025-03-10 11:59:15] Production.INFO: call_cost end
[2025-03-10 11:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 11:59:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 11:59:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 11:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 11:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 11:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 11:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 11:59:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 11:59:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 11:59:16] Production.INFO: ==4894== Releasing lock...
[2025-03-10 11:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 11:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 11:59:18] Production.INFO: count ==5168
[2025-03-10 11:59:20] Production.ERROR: pbx CDR StartTime 2025-03-10 08:59:05 - End Time 2025-03-10 11:59:05
[2025-03-10 11:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 11:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649369', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649369', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649369', 'tblTempVendorCDR_20' ) start
[2025-03-10 11:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649369', 'tblTempVendorCDR_20' ) end
[2025-03-10 11:59:21] Production.INFO: ProcessCDR(1,14649369,1,1,2)
[2025-03-10 11:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:59:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 11:59:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:59:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 11:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649369', 'tblTempUsageDetail_20' ) start
[2025-03-10 11:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649369', 'tblTempUsageDetail_20' ) end
[2025-03-10 11:59:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 11:59:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 11:59:25] Production.INFO: ==4902== Releasing lock...
[2025-03-10 11:59:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 11:59:25] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 16:00:01] Production.INFO: ==4968== Lock acquired, processing the job...
[2025-03-10 16:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:00:01] Production.INFO: neon service started
[2025-03-10 16:00:01] Production.INFO: neon service started
[2025-03-10 16:00:01] Production.INFO: ==4968== Releasing lock...
[2025-03-10 16:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:00:01] Production.INFO: ==4970== Lock acquired, processing the job...
[2025-03-10 12:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:00:02] Production.INFO: ==4972== Lock acquired, processing the job...
[2025-03-10 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:00:02] Production.INFO: ==4970== Releasing lock...
[2025-03-10 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:00:02] Production.INFO: ==4972== Releasing lock...
[2025-03-10 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:00:03] Production.INFO: ==4981== Lock acquired, processing the job...
[2025-03-10 12:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:00:03] Production.INFO: ==4989== Lock acquired, processing the job...
[2025-03-10 12:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12: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-03-10 12:00:03] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:00:03] Production.INFO: count ==21
[2025-03-10 12:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649370') start
[2025-03-10 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649370') end
[2025-03-10 12:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:00:04] Production.INFO: 1
[2025-03-10 12:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:00:04] Production.INFO: ==4975== Lock acquired, processing the job...
[2025-03-10 12:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 12:00:04] Production.INFO: ==4989== Releasing lock...
[2025-03-10 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:00:04] Production.INFO: ==4987== Lock acquired, processing the job...
[2025-03-10 12:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 12:00:04] Production.INFO: ==4977== Lock acquired, processing the job...
[2025-03-10 12:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 12:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:00:04] Production.ERROR: CronJob PID - 4981
[2025-03-10 12:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 12:00:04] Production.ERROR: CronJob ID - 10
[2025-03-10 12:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:00:00
[2025-03-10 12:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:00:04] Production.ERROR: CronJob PID - 4987
[2025-03-10 12:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 12:00:04] Production.ERROR: CronJob ID - 17
[2025-03-10 12:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:00:00
[2025-03-10 12:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:00:04] Production.INFO: ==4979== Lock acquired, processing the job...
[2025-03-10 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 12:00:04] Production.INFO: ==4975== Releasing lock...
[2025-03-10 12:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 12:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:00:04] Production.INFO: ==4983== Lock acquired, processing the job...
[2025-03-10 12:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:00:04] Production.INFO: ==4985== Lock acquired, processing the job...
[2025-03-10 12:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:00:04] Production.INFO: Account Balance Start.
[2025-03-10 12:00:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:00:04] Production.INFO: 117
[2025-03-10 12:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:00:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:00:04] Production.ERROR: done
[2025-03-10 12:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:00:04] Production.INFO: Total Charge 0
[2025-03-10 12:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 12:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649374', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 12:00:04] Production.INFO: CreateAllLog End
[2025-03-10 12:00:05] Production.INFO: ==4979== Releasing lock...
[2025-03-10 12:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:00:05] Production.ERROR: done
[2025-03-10 12:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:00:05] Production.INFO: Account Balance End.
[2025-03-10 12:00:05] Production.ERROR: done
[2025-03-10 12:00:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:00:05] Production.INFO: ==4983== Releasing lock...
[2025-03-10 12:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:00:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:00:06
[end_date_ymd] => 2025-03-10 12:00:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:00:06' and `end` < '2025-03-10 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-03-10 12:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649374', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 12:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 12:00:09] Production.INFO: ProcessCDR(1,14649374,1,1,2)
[2025-03-10 12:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649374,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649374,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:00:09] Production.INFO: ==4987== Releasing lock...
[2025-03-10 12:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 12:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 12:00:14] Production.ERROR: CronJobId end10
[2025-03-10 12:00:14] Production.INFO: ==4981== Releasing lock...
[2025-03-10 12:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:00:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:00:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:00:17] Production.INFO: call_cost start
[2025-03-10 12:00:17] Production.INFO: call_cost end
[2025-03-10 12:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:00:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:00:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:00:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:00:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:00:18] Production.INFO: ==4977== Releasing lock...
[2025-03-10 12:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:00:20] Production.INFO: count ==5163
[2025-03-10 12:00:22] Production.ERROR: pbx CDR StartTime 2025-03-10 09:00:06 - End Time 2025-03-10 12:00:06
[2025-03-10 12:00:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649375', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649375', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649375', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649375', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:00:22] Production.INFO: ProcessCDR(1,14649375,1,1,2)
[2025-03-10 12:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:00:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:00:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:00:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649375', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649375', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:00:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:00:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:00:28] Production.INFO: ==4985== Releasing lock...
[2025-03-10 12:00:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:00:28] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 16:01:02] Production.INFO: ==5051== Lock acquired, processing the job...
[2025-03-10 16:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:01:02] Production.INFO: neon service started
[2025-03-10 16:01:02] Production.INFO: neon service started
[2025-03-10 16:01:02] Production.INFO: ==5051== Releasing lock...
[2025-03-10 16:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:01:02] Production.INFO: ==5065== Lock acquired, processing the job...
[2025-03-10 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:01:02] Production.INFO: ==5067== Lock acquired, processing the job...
[2025-03-10 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:01:02] Production.INFO: ==5067== Releasing lock...
[2025-03-10 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:01:03] Production.INFO: ==5065== Releasing lock...
[2025-03-10 12:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:01:04] Production.INFO: ==5078== Lock acquired, processing the job...
[2025-03-10 12:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:01:04] Production.INFO: ==5076== Lock acquired, processing the job...
[2025-03-10 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:01:04] Production.INFO: ==5070== Lock acquired, processing the job...
[2025-03-10 12:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:01:04] Production.INFO: Account Balance Start.
[2025-03-10 12:01:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:01:04] Production.INFO: ==5072== Lock acquired, processing the job...
[2025-03-10 12:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:01:04] Production.INFO: 117
[2025-03-10 12:01:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:01:04] Production.INFO: ==5074== Lock acquired, processing the job...
[2025-03-10 12:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:01:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:01:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:01:04] Production.INFO: Total Charge 0
[2025-03-10 12:01:04] Production.INFO: ==5080== Lock acquired, processing the job...
[2025-03-10 12:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:01:04] Production.INFO: CreateAllLog End
[2025-03-10 12:01:04] Production.ERROR: done
[2025-03-10 12:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 12:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:01:04] Production.INFO: count ==13
[2025-03-10 12:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 12:01:04] Production.INFO: count ==21
[2025-03-10 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649378') start
[2025-03-10 12:01:04] Production.ERROR: done
[2025-03-10 12:01:04] Production.INFO: Account Balance End.
[2025-03-10 12:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:01:04] Production.INFO: ==5076== Releasing lock...
[2025-03-10 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649378') end
[2025-03-10 12:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:01:04] Production.INFO: 1
[2025-03-10 12:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:01:05] Production.INFO: ==5080== Releasing lock...
[2025-03-10 12:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:01:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:01:05] Production.INFO: ==5072== Releasing lock...
[2025-03-10 12:01:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:01:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:01:05
[end_date_ymd] => 2025-03-10 12:01:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:01:05' and `end` < '2025-03-10 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-03-10 12:01:12] Production.ERROR: CronJobId end10
[2025-03-10 12:01:12] Production.INFO: ==5074== Releasing lock...
[2025-03-10 12:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:01:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:01:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:01:15] Production.INFO: call_cost start
[2025-03-10 12:01:15] Production.INFO: call_cost end
[2025-03-10 12:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:01:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:01:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:01:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:01:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:01:16] Production.INFO: ==5070== Releasing lock...
[2025-03-10 12:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:01:18] Production.INFO: count ==5215
[2025-03-10 12:01:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:01:05 - End Time 2025-03-10 12:01:05
[2025-03-10 12:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649380', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649380', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649380', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649380', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:01:21] Production.INFO: ProcessCDR(1,14649380,1,1,2)
[2025-03-10 12:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649380', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649380', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:01:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:01:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:01:26] Production.INFO: ==5078== Releasing lock...
[2025-03-10 12:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:01:26] Production.INFO: 67 MB #Memory Used#
[2025-03-10 16:02:01] Production.INFO: ==5146== Lock acquired, processing the job...
[2025-03-10 16:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:02:01] Production.INFO: neon service started
[2025-03-10 16:02:01] Production.INFO: neon service started
[2025-03-10 16:02:01] Production.INFO: ==5146== Releasing lock...
[2025-03-10 16:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:02:02] Production.INFO: ==5148== Lock acquired, processing the job...
[2025-03-10 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:02:02] Production.INFO: ==5150== Lock acquired, processing the job...
[2025-03-10 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:02:02] Production.INFO: ==5150== Releasing lock...
[2025-03-10 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:02:02] Production.INFO: ==5148== Releasing lock...
[2025-03-10 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:02:03] Production.INFO: ==5153== Lock acquired, processing the job...
[2025-03-10 12:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:02:03] Production.INFO: ==5159== Lock acquired, processing the job...
[2025-03-10 12:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:02:03] Production.INFO: ==5157== Lock acquired, processing the job...
[2025-03-10 12:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:02:03] Production.INFO: Account Balance Start.
[2025-03-10 12:02:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:02:03] Production.INFO: 117
[2025-03-10 12:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:02:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:02:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:02:03] Production.INFO: ==5155== Lock acquired, processing the job...
[2025-03-10 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:02:03] Production.INFO: Date 2025-03-10
[2025-03-10 12:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:02:03] Production.INFO: Total Charge 0
[2025-03-10 12:02:03] Production.INFO: CreateAllLog End
[2025-03-10 12:02:03] Production.INFO: ==5161== Lock acquired, processing the job...
[2025-03-10 12:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:02:03] Production.INFO: ==5163== Lock acquired, processing the job...
[2025-03-10 12:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:02:03] Production.INFO: Account Balance End.
[2025-03-10 12: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-03-10 12:02:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:02:04] Production.INFO: ==5159== Releasing lock...
[2025-03-10 12:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:02:04] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:02:04] Production.INFO: ==5155== Releasing lock...
[2025-03-10 12:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:02:04] Production.INFO: count ==21
[2025-03-10 12:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649384') start
[2025-03-10 12:02:04] Production.ERROR: done
[2025-03-10 12:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649384') end
[2025-03-10 12:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:02:04] Production.INFO: 1
[2025-03-10 12:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:02:04] Production.INFO: ==5163== Releasing lock...
[2025-03-10 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:02:04] Production.ERROR: done
[2025-03-10 12:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:02:05
[end_date_ymd] => 2025-03-10 12:02:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:02:05' and `end` < '2025-03-10 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-03-10 12:02:12] Production.ERROR: CronJobId end10
[2025-03-10 12:02:12] Production.INFO: ==5157== Releasing lock...
[2025-03-10 12:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:02:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:02:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:02:14] Production.INFO: call_cost start
[2025-03-10 12:02:14] Production.INFO: call_cost end
[2025-03-10 12:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:02:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:02:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:02:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:02:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:02:15] Production.INFO: ==5153== Releasing lock...
[2025-03-10 12:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:02:18] Production.INFO: count ==5207
[2025-03-10 12:02:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:02:05 - End Time 2025-03-10 12:02:05
[2025-03-10 12:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649385', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649385', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649385', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649385', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:02:21] Production.INFO: ProcessCDR(1,14649385,1,1,2)
[2025-03-10 12:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:02:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:02:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:02:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649385', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649385', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:02:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:02:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:02:25] Production.INFO: ==5161== Releasing lock...
[2025-03-10 12:02:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:02:25] Production.INFO: 67 MB #Memory Used#
[2025-03-10 16:03:02] Production.INFO: ==5230== Lock acquired, processing the job...
[2025-03-10 16:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:03:02] Production.INFO: neon service started
[2025-03-10 16:03:02] Production.INFO: neon service started
[2025-03-10 16:03:02] Production.INFO: ==5230== Releasing lock...
[2025-03-10 16:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:03:02] Production.INFO: ==5232== Lock acquired, processing the job...
[2025-03-10 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:03:02] Production.INFO: ==5232== Releasing lock...
[2025-03-10 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:03:02] Production.INFO: ==5234== Lock acquired, processing the job...
[2025-03-10 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:03:03] Production.INFO: ==5234== Releasing lock...
[2025-03-10 16:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:03:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:03:03] Production.INFO: ==5242== Lock acquired, processing the job...
[2025-03-10 12:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:03:03] Production.INFO: ==5236== Lock acquired, processing the job...
[2025-03-10 12:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:03:03] Production.INFO: ==5247== Lock acquired, processing the job...
[2025-03-10 12:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:03:04] Production.INFO: Account Balance Start.
[2025-03-10 12:03:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:03:04] Production.INFO: 117
[2025-03-10 12:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:03:04] Production.INFO: ==5238== Lock acquired, processing the job...
[2025-03-10 12:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:03:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:03:04] Production.INFO: ==5240== Lock acquired, processing the job...
[2025-03-10 12:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 12:03:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:03:04] Production.INFO: count ==21
[2025-03-10 12:03:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:03:04] Production.INFO: ==5245== Lock acquired, processing the job...
[2025-03-10 12:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649388') start
[2025-03-10 12:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649388') end
[2025-03-10 12:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:03:04] Production.INFO: 1
[2025-03-10 12:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:03:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:03:04] Production.INFO: ==5247== Releasing lock...
[2025-03-10 12:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:03:04] Production.INFO: Total Charge 0
[2025-03-10 12:03:04] Production.INFO: CreateAllLog End
[2025-03-10 12:03:04] Production.INFO: ==5238== Releasing lock...
[2025-03-10 12:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:03:04] Production.ERROR: done
[2025-03-10 12:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:03:05] Production.ERROR: done
[2025-03-10 12:03:05] Production.INFO: Account Balance End.
[2025-03-10 12:03:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:03:05] Production.INFO: ==5242== Releasing lock...
[2025-03-10 12:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:03:06
[end_date_ymd] => 2025-03-10 12:03:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:03:06' and `end` < '2025-03-10 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-03-10 12:03:13] Production.ERROR: CronJobId end10
[2025-03-10 12:03:13] Production.INFO: ==5240== Releasing lock...
[2025-03-10 12:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:03:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:03:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:03:15] Production.INFO: call_cost start
[2025-03-10 12:03:15] Production.INFO: call_cost end
[2025-03-10 12:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:03:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:03:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:03:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:03:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:03:16] Production.INFO: ==5236== Releasing lock...
[2025-03-10 12:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:03:19] Production.INFO: count ==5214
[2025-03-10 12:03:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:03:06 - End Time 2025-03-10 12:03:06
[2025-03-10 12:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649390', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649390', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649390', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649390', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:03:21] Production.INFO: ProcessCDR(1,14649390,1,1,2)
[2025-03-10 12:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:03:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649390', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649390', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:03:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:03:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:03:26] Production.INFO: ==5245== Releasing lock...
[2025-03-10 12:03:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:03:26] Production.INFO: 67 MB #Memory Used#
[2025-03-10 16:04:01] Production.INFO: ==5314== Lock acquired, processing the job...
[2025-03-10 16:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:04:01] Production.INFO: neon service started
[2025-03-10 16:04:01] Production.INFO: neon service started
[2025-03-10 16:04:01] Production.INFO: ==5314== Releasing lock...
[2025-03-10 16:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:04:02] Production.INFO: ==5316== Lock acquired, processing the job...
[2025-03-10 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:04:02] Production.INFO: ==5318== Lock acquired, processing the job...
[2025-03-10 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:04:02] Production.INFO: ==5318== Releasing lock...
[2025-03-10 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:04:02] Production.INFO: ==5316== Releasing lock...
[2025-03-10 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:04:03] Production.INFO: ==5327== Lock acquired, processing the job...
[2025-03-10 12:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:04:03] Production.INFO: ==5331== Lock acquired, processing the job...
[2025-03-10 12:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:04:03] Production.INFO: Account Balance Start.
[2025-03-10 12:04:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:04:03] Production.INFO: 117
[2025-03-10 12:04:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:04:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 12: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-03-10 12:04:03] Production.INFO: Date 2025-03-10
[2025-03-10 12:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:04:03] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:04:03] Production.INFO: count ==21
[2025-03-10 12:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649392') start
[2025-03-10 12:04:03] Production.INFO: ==5321== Lock acquired, processing the job...
[2025-03-10 12:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:04:03] Production.INFO: Total Charge 0
[2025-03-10 12:04:03] Production.INFO: CreateAllLog End
[2025-03-10 12:04:03] Production.INFO: ==5323== Lock acquired, processing the job...
[2025-03-10 12:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:04:03] Production.INFO: ==5325== Lock acquired, processing the job...
[2025-03-10 12:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649392') end
[2025-03-10 12:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:04:03] Production.INFO: 1
[2025-03-10 12:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:04:03] Production.INFO: ==5329== Lock acquired, processing the job...
[2025-03-10 12:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:04:03] Production.INFO: ==5331== Releasing lock...
[2025-03-10 12:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:04:03] Production.INFO: Account Balance End.
[2025-03-10 12:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:04:04] Production.INFO: ==5327== Releasing lock...
[2025-03-10 12:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:04:04] Production.INFO: ==5323== Releasing lock...
[2025-03-10 12:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:04:04] Production.ERROR: done
[2025-03-10 12:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:04:04] Production.ERROR: done
[2025-03-10 12:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:04:05
[end_date_ymd] => 2025-03-10 12:04:05
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:04:05' and `end` < '2025-03-10 12: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-03-10 12:04:12] Production.ERROR: CronJobId end10
[2025-03-10 12:04:12] Production.INFO: ==5325== Releasing lock...
[2025-03-10 12:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:04:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:04:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:04:15] Production.INFO: call_cost start
[2025-03-10 12:04:15] Production.INFO: call_cost end
[2025-03-10 12:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:04:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:04:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:04:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:04:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:04:16] Production.INFO: ==5321== Releasing lock...
[2025-03-10 12:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:04:18] Production.INFO: count ==5191
[2025-03-10 12:04:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:04:05 - End Time 2025-03-10 12:04:05
[2025-03-10 12:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649395', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649395', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649395', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649395', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:04:21] Production.INFO: ProcessCDR(1,14649395,1,1,2)
[2025-03-10 12:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649395', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649395', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:04:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:04:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:04:26] Production.INFO: ==5329== Releasing lock...
[2025-03-10 12:04:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:04:26] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 16:05:02] Production.INFO: ==5393== Lock acquired, processing the job...
[2025-03-10 16:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:05:02] Production.INFO: neon service started
[2025-03-10 16:05:02] Production.INFO: neon service started
[2025-03-10 16:05:02] Production.INFO: ==5393== Releasing lock...
[2025-03-10 16:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:05:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 12:05:02] Production.INFO: ==5395== Lock acquired, processing the job...
[2025-03-10 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:05:02] Production.INFO: ==5395== Releasing lock...
[2025-03-10 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:05:02] Production.INFO: ==5397== Lock acquired, processing the job...
[2025-03-10 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:05:03] Production.INFO: ==5397== Releasing lock...
[2025-03-10 16:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:05:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:05:03] Production.INFO: ==5399== Lock acquired, processing the job...
[2025-03-10 12:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:05:03] Production.INFO: ==5401== Lock acquired, processing the job...
[2025-03-10 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:05:03] Production.INFO: ==5406== Lock acquired, processing the job...
[2025-03-10 12:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:05:03] Production.INFO: Account Balance Start.
[2025-03-10 12:05:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:05:03] Production.INFO: 117
[2025-03-10 12:05:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:05:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:05:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:05:04] Production.INFO: ==5401== Releasing lock...
[2025-03-10 12:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:05:04] Production.INFO: Total Charge 0
[2025-03-10 12:05:04] Production.INFO: CreateAllLog End
[2025-03-10 12:05:04] Production.INFO: ==5403== Lock acquired, processing the job...
[2025-03-10 12:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:05:04] Production.INFO: ==5408== Lock acquired, processing the job...
[2025-03-10 12:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:05:04] Production.INFO: ==5410== Lock acquired, processing the job...
[2025-03-10 12:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:05:04] Production.INFO: Account Balance End.
[2025-03-10 12:05:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:05:04] Production.INFO: ==5406== Releasing lock...
[2025-03-10 12:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 12:05:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:05:04] Production.INFO: count ==21
[2025-03-10 12:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649399') start
[2025-03-10 12:05:04] Production.ERROR: done
[2025-03-10 12:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649399') end
[2025-03-10 12:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:05:04] Production.INFO: 1
[2025-03-10 12:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:05:04] Production.INFO: ==5410== Releasing lock...
[2025-03-10 12:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:05:04] Production.ERROR: done
[2025-03-10 12:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:05:05
[end_date_ymd] => 2025-03-10 12:05:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:05:05' and `end` < '2025-03-10 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-03-10 12:05:13] Production.ERROR: CronJobId end10
[2025-03-10 12:05:13] Production.INFO: ==5403== Releasing lock...
[2025-03-10 12:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:05:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:05:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:05:14] Production.INFO: call_cost start
[2025-03-10 12:05:14] Production.INFO: call_cost end
[2025-03-10 12:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:05:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:05:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:05:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:05:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:05:15] Production.INFO: ==5399== Releasing lock...
[2025-03-10 12:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:05:18] Production.INFO: count ==5154
[2025-03-10 12:05:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:05:05 - End Time 2025-03-10 12:05:05
[2025-03-10 12:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649400', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649400', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649400', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649400', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:05:21] Production.INFO: ProcessCDR(1,14649400,1,1,2)
[2025-03-10 12:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:05:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649400', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649400', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:05:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:05:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:05:26] Production.INFO: ==5408== Releasing lock...
[2025-03-10 12:05:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:05:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 16:06:01] Production.INFO: ==5466== Lock acquired, processing the job...
[2025-03-10 16:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:06:01] Production.INFO: neon service started
[2025-03-10 16:06:01] Production.INFO: neon service started
[2025-03-10 16:06:01] Production.INFO: ==5466== Releasing lock...
[2025-03-10 16:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:06:02] Production.INFO: ==5468== Lock acquired, processing the job...
[2025-03-10 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:06:02] Production.INFO: ==5470== Lock acquired, processing the job...
[2025-03-10 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:06:02] Production.INFO: ==5470== Releasing lock...
[2025-03-10 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:06:02] Production.INFO: ==5468== Releasing lock...
[2025-03-10 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:06:03] Production.INFO: ==5473== Lock acquired, processing the job...
[2025-03-10 12:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:06:03] Production.INFO: ==5479== Lock acquired, processing the job...
[2025-03-10 12:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:06:03] Production.INFO: ==5481== Lock acquired, processing the job...
[2025-03-10 12:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:06:03] Production.INFO: ==5475== Lock acquired, processing the job...
[2025-03-10 12:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:06:03] Production.INFO: Account Balance Start.
[2025-03-10 12:06:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:06:03] Production.INFO: 117
[2025-03-10 12:06:03] Production.INFO: ==5477== Lock acquired, processing the job...
[2025-03-10 12:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:06:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:06:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:06:04] Production.INFO: ==5483== Lock acquired, processing the job...
[2025-03-10 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:06:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:06:04] Production.INFO: Total Charge 0
[2025-03-10 12:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:06:04] Production.INFO: CreateAllLog End
[2025-03-10 12:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:06:04] Production.INFO: ==5475== Releasing lock...
[2025-03-10 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:06:04] Production.ERROR: done
[2025-03-10 12:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:06:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 12:06:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:06:04] Production.INFO: count ==21
[2025-03-10 12:06:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:06:04] Production.INFO: ==5479== Releasing lock...
[2025-03-10 12:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:06:04] Production.ERROR: done
[2025-03-10 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649404') start
[2025-03-10 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649404') end
[2025-03-10 12:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:06:04] Production.INFO: 1
[2025-03-10 12:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:06:04] Production.INFO: ==5483== Releasing lock...
[2025-03-10 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:06:05
[end_date_ymd] => 2025-03-10 12:06:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:06:05' and `end` < '2025-03-10 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-03-10 12:06:13] Production.ERROR: CronJobId end10
[2025-03-10 12:06:13] Production.INFO: ==5477== Releasing lock...
[2025-03-10 12:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:06:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:06:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:06:14] Production.INFO: call_cost start
[2025-03-10 12:06:14] Production.INFO: call_cost end
[2025-03-10 12:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:06:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:06:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:06:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:06:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:06:15] Production.INFO: ==5473== Releasing lock...
[2025-03-10 12:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:06:19] Production.INFO: count ==5136
[2025-03-10 12:06:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:06:05 - End Time 2025-03-10 12:06:05
[2025-03-10 12:06:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649405', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649405', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649405', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649405', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:06:21] Production.INFO: ProcessCDR(1,14649405,1,1,2)
[2025-03-10 12:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:06:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:06:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649405', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649405', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:06:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:06:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:06:26] Production.INFO: ==5481== Releasing lock...
[2025-03-10 12:06:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:06:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 16:07:02] Production.INFO: ==5562== Lock acquired, processing the job...
[2025-03-10 16:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:07:02] Production.INFO: neon service started
[2025-03-10 16:07:02] Production.INFO: neon service started
[2025-03-10 16:07:02] Production.INFO: ==5562== Releasing lock...
[2025-03-10 16:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:07:02] Production.INFO: ==5566== Lock acquired, processing the job...
[2025-03-10 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:07:02] Production.INFO: ==5566== Releasing lock...
[2025-03-10 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:07:03] Production.INFO: ==5568== Lock acquired, processing the job...
[2025-03-10 16:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:07:03] Production.INFO: ==5568== Releasing lock...
[2025-03-10 16:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:07:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:07:03] Production.INFO: ==5570== Lock acquired, processing the job...
[2025-03-10 12:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:07:03] Production.INFO: ==5572== Lock acquired, processing the job...
[2025-03-10 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:07:03] Production.INFO: ==5574== Lock acquired, processing the job...
[2025-03-10 12:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:07:04] Production.INFO: ==5576== Lock acquired, processing the job...
[2025-03-10 12:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:07:04] Production.INFO: ==5572== Releasing lock...
[2025-03-10 12:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:07:04] Production.INFO: ==5578== Lock acquired, processing the job...
[2025-03-10 12:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:07:04] Production.INFO: ==5580== Lock acquired, processing the job...
[2025-03-10 12:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:07:04] Production.INFO: Account Balance Start.
[2025-03-10 12:07:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:07:04] Production.INFO: 117
[2025-03-10 12:07:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:07:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 12: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-03-10 12:07:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:07:04] Production.INFO: Total Charge 0
[2025-03-10 12:07:04] Production.INFO: CreateAllLog End
[2025-03-10 12:07:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:07:04] Production.INFO: count ==21
[2025-03-10 12:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649409') start
[2025-03-10 12:07:04] Production.INFO: Account Balance End.
[2025-03-10 12:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:07:04] Production.INFO: ==5576== Releasing lock...
[2025-03-10 12:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:07:04] Production.ERROR: done
[2025-03-10 12:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649409') end
[2025-03-10 12:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:07:04] Production.INFO: 1
[2025-03-10 12:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:07:04] Production.INFO: ==5580== Releasing lock...
[2025-03-10 12:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:07:05] Production.ERROR: done
[2025-03-10 12:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:07:06
[end_date_ymd] => 2025-03-10 12:07:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:07:06' and `end` < '2025-03-10 12: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-03-10 12:07:13] Production.ERROR: CronJobId end10
[2025-03-10 12:07:13] Production.INFO: ==5574== Releasing lock...
[2025-03-10 12:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:07:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:07:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:07:16] Production.INFO: call_cost start
[2025-03-10 12:07:16] Production.INFO: call_cost end
[2025-03-10 12:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:07:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:07:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:07:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:07:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:07:17] Production.INFO: ==5570== Releasing lock...
[2025-03-10 12:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:07:19] Production.INFO: count ==5131
[2025-03-10 12:07:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:07:06 - End Time 2025-03-10 12:07:06
[2025-03-10 12:07:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649410', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649410', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649410', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649410', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:07:21] Production.INFO: ProcessCDR(1,14649410,1,1,2)
[2025-03-10 12:07:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:07:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:07:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:07:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649410', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649410', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:07:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:07:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:07:26] Production.INFO: ==5578== Releasing lock...
[2025-03-10 12:07:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:07:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 16:08:01] Production.INFO: ==5644== Lock acquired, processing the job...
[2025-03-10 16:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:08:01] Production.INFO: neon service started
[2025-03-10 16:08:01] Production.INFO: neon service started
[2025-03-10 16:08:01] Production.INFO: ==5644== Releasing lock...
[2025-03-10 16:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:08:02] Production.INFO: ==5648== Lock acquired, processing the job...
[2025-03-10 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:08:02] Production.INFO: ==5648== Releasing lock...
[2025-03-10 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:08:02] Production.INFO: ==5646== Lock acquired, processing the job...
[2025-03-10 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:08:02] Production.INFO: ==5646== Releasing lock...
[2025-03-10 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:08:03] Production.INFO: ==5657== Lock acquired, processing the job...
[2025-03-10 12:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:08:03] Production.INFO: ==5651== Lock acquired, processing the job...
[2025-03-10 12:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:08:03] Production.INFO: Account Balance Start.
[2025-03-10 12:08:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:08:03] Production.INFO: 117
[2025-03-10 12:08:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:08:03] Production.INFO: ==5655== Lock acquired, processing the job...
[2025-03-10 12:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:08:03] Production.INFO: ==5653== Lock acquired, processing the job...
[2025-03-10 12:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:08:03] Production.INFO: ==5661== Lock acquired, processing the job...
[2025-03-10 12:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:08:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:08:03] Production.INFO: Date 2025-03-10
[2025-03-10 12:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:08:03] Production.INFO: ==5659== Lock acquired, processing the job...
[2025-03-10 12:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:08:03] Production.INFO: Total Charge 0
[2025-03-10 12:08:03] Production.INFO: CreateAllLog End
[2025-03-10 12:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12: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-03-10 12:08:03] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:08:03] Production.INFO: count ==21
[2025-03-10 12:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649414') start
[2025-03-10 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649414') end
[2025-03-10 12:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:08:04] Production.INFO: 1
[2025-03-10 12:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:08:04] Production.INFO: ==5661== Releasing lock...
[2025-03-10 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:08:04] Production.INFO: Account Balance End.
[2025-03-10 12:08:04] Production.ERROR: done
[2025-03-10 12:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:08:04] Production.INFO: ==5653== Releasing lock...
[2025-03-10 12:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:08:04] Production.INFO: ==5657== Releasing lock...
[2025-03-10 12:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:08:04] Production.ERROR: done
[2025-03-10 12:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:08:05
[end_date_ymd] => 2025-03-10 12:08:05
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:08:05' and `end` < '2025-03-10 12: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-03-10 12:08:12] Production.ERROR: CronJobId end10
[2025-03-10 12:08:12] Production.INFO: ==5655== Releasing lock...
[2025-03-10 12:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:08:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:08:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:08:14] Production.INFO: call_cost start
[2025-03-10 12:08:14] Production.INFO: call_cost end
[2025-03-10 12:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:08:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:08:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:08:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:08:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:08:15] Production.INFO: ==5651== Releasing lock...
[2025-03-10 12:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:08:18] Production.INFO: count ==5132
[2025-03-10 12:08:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:08:05 - End Time 2025-03-10 12:08:05
[2025-03-10 12:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649415', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649415', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649415', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649415', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:08:20] Production.INFO: ProcessCDR(1,14649415,1,1,2)
[2025-03-10 12:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:08:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:08:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649415', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649415', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:08:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:08:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:08:25] Production.INFO: ==5659== Releasing lock...
[2025-03-10 12:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:08:25] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 16:09:02] Production.INFO: ==5725== Lock acquired, processing the job...
[2025-03-10 16:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:09:02] Production.INFO: neon service started
[2025-03-10 16:09:02] Production.INFO: neon service started
[2025-03-10 16:09:02] Production.INFO: ==5725== Releasing lock...
[2025-03-10 16:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:09:02] Production.INFO: ==5727== Lock acquired, processing the job...
[2025-03-10 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:09:02] Production.INFO: ==5729== Lock acquired, processing the job...
[2025-03-10 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:09:02] Production.INFO: ==5729== Releasing lock...
[2025-03-10 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:09:03] Production.INFO: ==5727== Releasing lock...
[2025-03-10 12:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:09:04] Production.INFO: ==5732== Lock acquired, processing the job...
[2025-03-10 12:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:09:04] Production.INFO: ==5734== Lock acquired, processing the job...
[2025-03-10 12:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:09:04] Production.INFO: ==5736== Lock acquired, processing the job...
[2025-03-10 12:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:09:04] Production.INFO: ==5738== Lock acquired, processing the job...
[2025-03-10 12:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:09:04] Production.INFO: ==5740== Lock acquired, processing the job...
[2025-03-10 12:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:09:04] Production.INFO: Account Balance Start.
[2025-03-10 12:09:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:09:04] Production.INFO: 117
[2025-03-10 12:09:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:09:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:09:04] Production.INFO: ==5742== Lock acquired, processing the job...
[2025-03-10 12:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:09:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:09:04] Production.INFO: Total Charge 0
[2025-03-10 12:09:04] Production.INFO: CreateAllLog End
[2025-03-10 12: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-03-10 12:09:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:09:04] Production.INFO: count ==21
[2025-03-10 12:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649419') start
[2025-03-10 12:09:04] Production.INFO: ==5734== Releasing lock...
[2025-03-10 12:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:09:04] Production.INFO: Account Balance End.
[2025-03-10 12:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:09:04] Production.INFO: ==5738== Releasing lock...
[2025-03-10 12:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:09:05] Production.ERROR: done
[2025-03-10 12:09:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:09:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649419') end
[2025-03-10 12:09:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:09:05] Production.INFO: 1
[2025-03-10 12:09:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:09:05] Production.INFO: ==5742== Releasing lock...
[2025-03-10 12:09:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:09:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:09:05] Production.ERROR: done
[2025-03-10 12:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:09:05
[end_date_ymd] => 2025-03-10 12:09:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:09:05' and `end` < '2025-03-10 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-03-10 12:09:13] Production.ERROR: CronJobId end10
[2025-03-10 12:09:13] Production.INFO: ==5736== Releasing lock...
[2025-03-10 12:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:09:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:09:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:09:16] Production.INFO: call_cost start
[2025-03-10 12:09:16] Production.INFO: call_cost end
[2025-03-10 12:09:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:09:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:09:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:09:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:09:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:09:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:09:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:09:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:09:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:09:17] Production.INFO: ==5732== Releasing lock...
[2025-03-10 12:09:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:09:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:09:19] Production.INFO: count ==5131
[2025-03-10 12:09:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:09:05 - End Time 2025-03-10 12:09:05
[2025-03-10 12:09:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649420', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649420', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649420', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649420', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:09:21] Production.INFO: ProcessCDR(1,14649420,1,1,2)
[2025-03-10 12:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:09:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:09:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649420', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649420', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:09:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:09:26] Production.INFO: ==5740== Releasing lock...
[2025-03-10 12:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:09:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 16:10:01] Production.INFO: ==5814== Lock acquired, processing the job...
[2025-03-10 16:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:10:01] Production.INFO: neon service started
[2025-03-10 16:10:01] Production.INFO: neon service started
[2025-03-10 16:10:01] Production.INFO: ==5814== Releasing lock...
[2025-03-10 16:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:10:02] Production.INFO: ==5816== Lock acquired, processing the job...
[2025-03-10 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:10:02] Production.INFO: ==5818== Lock acquired, processing the job...
[2025-03-10 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:10:02] Production.INFO: ==5818== Releasing lock...
[2025-03-10 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:10:02] Production.INFO: ==5816== Releasing lock...
[2025-03-10 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:10:03] Production.INFO: ==5827== Lock acquired, processing the job...
[2025-03-10 12:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:10:03] Production.INFO: ==5825== Lock acquired, processing the job...
[2025-03-10 12:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:10:03] Production.INFO: ==5831== Lock acquired, processing the job...
[2025-03-10 12:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:10:03] Production.INFO: ==5821== Lock acquired, processing the job...
[2025-03-10 12:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 12:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:10:04] Production.INFO: ==5823== Lock acquired, processing the job...
[2025-03-10 12:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:10:04] Production.ERROR: CronJob PID - 5825
[2025-03-10 12:10:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 12:10:04] Production.ERROR: CronJob ID - 7
[2025-03-10 12:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:10:00
[2025-03-10 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:10:04] Production.ERROR: CronJob PID - 5827
[2025-03-10 12:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 12:10:04] Production.ERROR: CronJob ID - 10
[2025-03-10 12:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:10:00
[2025-03-10 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:10:04] Production.ERROR: CronJob PID - 5831
[2025-03-10 12:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 12:10:04] Production.ERROR: CronJob ID - 16
[2025-03-10 12:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:10:00
[2025-03-10 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:10:04] Production.INFO: ==5835== Lock acquired, processing the job...
[2025-03-10 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:10:04] Production.INFO: ==5829== Lock acquired, processing the job...
[2025-03-10 12:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 12:10:04] Production.INFO: ==5821== Releasing lock...
[2025-03-10 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 12:10:04] Production.INFO: ==5825== Releasing lock...
[2025-03-10 12:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:10:04] Production.INFO: Account Balance Start.
[2025-03-10 12:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:10:04] Production.INFO: 117
[2025-03-10 12:10:04] Production.INFO: ==5833== Lock acquired, processing the job...
[2025-03-10 12:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 12:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 12: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-03-10 12:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:10:04] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:10:04] Production.INFO: count ==21
[2025-03-10 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649423') start
[2025-03-10 12:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:10:04] Production.ERROR: done
[2025-03-10 12:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649423') end
[2025-03-10 12:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:10:04] Production.INFO: 1
[2025-03-10 12:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:10:04] Production.INFO: Total Charge 0
[2025-03-10 12:10:04] Production.INFO: ==5835== Releasing lock...
[2025-03-10 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:10:04] Production.INFO: CreateAllLog End
[2025-03-10 12:10:04] Production.ERROR: done
[2025-03-10 12:10:04] Production.ERROR: done
[2025-03-10 12:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 12:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649426', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 12:10:05] Production.INFO: Account Balance End.
[2025-03-10 12:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:10:05] Production.INFO: ==5829== Releasing lock...
[2025-03-10 12:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:10:06
[end_date_ymd] => 2025-03-10 12:10:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:10:06' and `end` < '2025-03-10 12: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-03-10 12:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649426', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 12:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 12:10:09] Production.INFO: ProcessCDR(1,14649426,1,1,2)
[2025-03-10 12:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649426,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649426,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:10:09] Production.INFO: ==5833== Releasing lock...
[2025-03-10 12:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 12:10:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 12:10:13] Production.ERROR: CronJobId end10
[2025-03-10 12:10:13] Production.INFO: ==5827== Releasing lock...
[2025-03-10 12:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:10:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:10:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:10:16] Production.INFO: call_cost start
[2025-03-10 12:10:16] Production.INFO: call_cost end
[2025-03-10 12:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:10:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:10:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:10:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:10:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:10:17] Production.INFO: ==5823== Releasing lock...
[2025-03-10 12:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:10:19] Production.INFO: count ==5121
[2025-03-10 12:10:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:10:06 - End Time 2025-03-10 12:10:06
[2025-03-10 12:10:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649425', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649425', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649425', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649425', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:10:21] Production.INFO: ProcessCDR(1,14649425,1,1,2)
[2025-03-10 12:10:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:10:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:10:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:10:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649425', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649425', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:10:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:10:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:10:26] Production.INFO: ==5831== Releasing lock...
[2025-03-10 12:10:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:10:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 16:11:02] Production.INFO: ==5903== Lock acquired, processing the job...
[2025-03-10 16:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:11:02] Production.INFO: neon service started
[2025-03-10 16:11:02] Production.INFO: neon service started
[2025-03-10 16:11:02] Production.INFO: ==5903== Releasing lock...
[2025-03-10 16:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:11:02] Production.INFO: ==5905== Lock acquired, processing the job...
[2025-03-10 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:11:02] Production.INFO: ==5907== Lock acquired, processing the job...
[2025-03-10 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:11:02] Production.INFO: ==5907== Releasing lock...
[2025-03-10 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:11:03] Production.INFO: ==5905== Releasing lock...
[2025-03-10 12:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:11:04] Production.INFO: ==5912== Lock acquired, processing the job...
[2025-03-10 12:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:11:04] Production.INFO: ==5914== Lock acquired, processing the job...
[2025-03-10 12:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:11:04] Production.INFO: ==5916== Lock acquired, processing the job...
[2025-03-10 12:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:11:04] Production.INFO: ==5910== Lock acquired, processing the job...
[2025-03-10 12:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:11:04] Production.INFO: Account Balance Start.
[2025-03-10 12:11:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:11:04] Production.INFO: 117
[2025-03-10 12:11:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:11:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:11:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:11:04] Production.INFO: ==5920== Lock acquired, processing the job...
[2025-03-10 12:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:11:04] Production.INFO: ==5912== Releasing lock...
[2025-03-10 12:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:11:04] Production.INFO: Total Charge 0
[2025-03-10 12:11:04] Production.INFO: CreateAllLog End
[2025-03-10 12:11:04] Production.INFO: ==5918== Lock acquired, processing the job...
[2025-03-10 12:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12: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-03-10 12:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:11:04] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:11:04] Production.INFO: Account Balance End.
[2025-03-10 12:11:04] Production.INFO: count ==21
[2025-03-10 12:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649430') start
[2025-03-10 12:11:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:11:04] Production.INFO: ==5916== Releasing lock...
[2025-03-10 12:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:11:04] Production.ERROR: done
[2025-03-10 12:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649430') end
[2025-03-10 12:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:11:04] Production.INFO: 1
[2025-03-10 12:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:11:05] Production.ERROR: done
[2025-03-10 12:11:05] Production.INFO: ==5920== Releasing lock...
[2025-03-10 12:11:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:11:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:11:06
[end_date_ymd] => 2025-03-10 12:11:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:11:06' and `end` < '2025-03-10 12: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-03-10 12:11:14] Production.ERROR: CronJobId end10
[2025-03-10 12:11:14] Production.INFO: ==5914== Releasing lock...
[2025-03-10 12:11:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:11:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:11:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:11:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:11:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:11:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:11:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:11:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:11:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:11:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:11:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:11:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:11:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:11:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:11:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:11:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:11:16] Production.INFO: call_cost start
[2025-03-10 12:11:16] Production.INFO: call_cost end
[2025-03-10 12:11:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:11:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:11:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:11:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:11:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:11:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:11:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:11:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:11:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:11:17] Production.INFO: ==5910== Releasing lock...
[2025-03-10 12:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:11:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:11:19] Production.INFO: count ==5086
[2025-03-10 12:11:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:11:06 - End Time 2025-03-10 12:11:06
[2025-03-10 12:11:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649431', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649431', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649431', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649431', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:11:21] Production.INFO: ProcessCDR(1,14649431,1,1,2)
[2025-03-10 12:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:11:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:11:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649431', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649431', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:11:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:11:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:11:25] Production.INFO: ==5918== Releasing lock...
[2025-03-10 12:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:11:25] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:12:01] Production.INFO: ==5983== Lock acquired, processing the job...
[2025-03-10 16:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:12:01] Production.INFO: neon service started
[2025-03-10 16:12:01] Production.INFO: neon service started
[2025-03-10 16:12:01] Production.INFO: ==5983== Releasing lock...
[2025-03-10 16:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:12:02] Production.INFO: ==5985== Lock acquired, processing the job...
[2025-03-10 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:12:02] Production.INFO: ==5985== Releasing lock...
[2025-03-10 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:12:02] Production.INFO: ==5987== Lock acquired, processing the job...
[2025-03-10 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:12:02] Production.INFO: ==5987== Releasing lock...
[2025-03-10 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:12:03] Production.INFO: ==5996== Lock acquired, processing the job...
[2025-03-10 12:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:12:03] Production.INFO: ==5998== Lock acquired, processing the job...
[2025-03-10 12:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:12:03] Production.INFO: Account Balance Start.
[2025-03-10 12:12:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:12:03] Production.INFO: 117
[2025-03-10 12:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:12:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:12:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:12:03] Production.INFO: ==5989== Lock acquired, processing the job...
[2025-03-10 12:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:12:03] Production.INFO: Date 2025-03-10
[2025-03-10 12:12:03] Production.INFO: ==5991== Lock acquired, processing the job...
[2025-03-10 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:12:03] Production.INFO: Total Charge 0
[2025-03-10 12:12:03] Production.INFO: CreateAllLog End
[2025-03-10 12:12:03] Production.INFO: ==6000== Lock acquired, processing the job...
[2025-03-10 12:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:12:03] Production.INFO: ==5994== Lock acquired, processing the job...
[2025-03-10 12:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:12:03] Production.ERROR: done
[2025-03-10 12:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12: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-03-10 12:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:12:03] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:12:03] Production.INFO: count ==21
[2025-03-10 12:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649434') start
[2025-03-10 12:12:03] Production.ERROR: done
[2025-03-10 12:12:04] Production.INFO: Account Balance End.
[2025-03-10 12:12:04] Production.INFO: ==5991== Releasing lock...
[2025-03-10 12:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:12:04] Production.INFO: ==5996== Releasing lock...
[2025-03-10 12:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649434') end
[2025-03-10 12:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:12:04] Production.INFO: 1
[2025-03-10 12:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:12:04] Production.INFO: ==6000== Releasing lock...
[2025-03-10 12:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:12:05
[end_date_ymd] => 2025-03-10 12:12:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:12:05' and `end` < '2025-03-10 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-03-10 12:12:13] Production.ERROR: CronJobId end10
[2025-03-10 12:12:13] Production.INFO: ==5994== Releasing lock...
[2025-03-10 12:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:12:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:12:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:12:15] Production.INFO: call_cost start
[2025-03-10 12:12:15] Production.INFO: call_cost end
[2025-03-10 12:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:12:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:12:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:12:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:12:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:12:16] Production.INFO: ==5989== Releasing lock...
[2025-03-10 12:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:12:18] Production.INFO: count ==5077
[2025-03-10 12:12:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:12:05 - End Time 2025-03-10 12:12:05
[2025-03-10 12:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649436', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649436', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649436', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649436', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:12:20] Production.INFO: ProcessCDR(1,14649436,1,1,2)
[2025-03-10 12:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:12:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:12:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:12:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649436', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649436', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:12:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:12:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:12:25] Production.INFO: ==5998== Releasing lock...
[2025-03-10 12:12:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:12:25] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:13:02] Production.INFO: ==6069== Lock acquired, processing the job...
[2025-03-10 16:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:13:02] Production.INFO: neon service started
[2025-03-10 16:13:02] Production.INFO: neon service started
[2025-03-10 16:13:02] Production.INFO: ==6069== Releasing lock...
[2025-03-10 16:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:13:02] Production.INFO: ==6071== Lock acquired, processing the job...
[2025-03-10 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:13:02] Production.INFO: ==6071== Releasing lock...
[2025-03-10 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:13:02] Production.INFO: ==6073== Lock acquired, processing the job...
[2025-03-10 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:13:02] Production.INFO: ==6073== Releasing lock...
[2025-03-10 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:13:03] Production.INFO: ==6075== Lock acquired, processing the job...
[2025-03-10 12:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:13:03] Production.INFO: ==6081== Lock acquired, processing the job...
[2025-03-10 12:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:13:03] Production.INFO: ==6077== Lock acquired, processing the job...
[2025-03-10 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:13:03] Production.INFO: ==6086== Lock acquired, processing the job...
[2025-03-10 12:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:13:03] Production.INFO: Account Balance Start.
[2025-03-10 12:13:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:13:03] Production.INFO: 117
[2025-03-10 12:13:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:13:03] Production.INFO: ==6079== Lock acquired, processing the job...
[2025-03-10 12:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:13:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 12:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:13:04] Production.INFO: count ==13
[2025-03-10 12:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12: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-03-10 12:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:13:04] Production.INFO: count ==21
[2025-03-10 12:13:04] Production.INFO: Total Charge 0
[2025-03-10 12:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649440') start
[2025-03-10 12:13:04] Production.INFO: ==6083== Lock acquired, processing the job...
[2025-03-10 12:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:13:04] Production.INFO: CreateAllLog End
[2025-03-10 12:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649440') end
[2025-03-10 12:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:13:04] Production.INFO: 1
[2025-03-10 12:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:13:04] Production.INFO: ==6077== Releasing lock...
[2025-03-10 12:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:13:04] Production.INFO: ==6086== Releasing lock...
[2025-03-10 12:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:13:04] Production.INFO: Account Balance End.
[2025-03-10 12:13:04] Production.ERROR: done
[2025-03-10 12:13:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:13:04] Production.INFO: ==6081== Releasing lock...
[2025-03-10 12:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:13:04] Production.ERROR: done
[2025-03-10 12:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:13:05
[end_date_ymd] => 2025-03-10 12:13:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:13:05' and `end` < '2025-03-10 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-03-10 12:13:14] Production.ERROR: CronJobId end10
[2025-03-10 12:13:14] Production.INFO: ==6079== Releasing lock...
[2025-03-10 12:13:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:13:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:13:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:13:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:13:16] Production.INFO: call_cost start
[2025-03-10 12:13:16] Production.INFO: call_cost end
[2025-03-10 12:13:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:13:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:13:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:13:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:13:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:13:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:13:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:13:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:13:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:13:17] Production.INFO: ==6075== Releasing lock...
[2025-03-10 12:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:13:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:13:18] Production.INFO: count ==5064
[2025-03-10 12:13:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:13:05 - End Time 2025-03-10 12:13:05
[2025-03-10 12:13:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649441', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649441', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649441', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649441', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:13:21] Production.INFO: ProcessCDR(1,14649441,1,1,2)
[2025-03-10 12:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649441', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649441', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:13:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:13:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:13:26] Production.INFO: ==6083== Releasing lock...
[2025-03-10 12:13:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:13:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:14:01] Production.INFO: ==6157== Lock acquired, processing the job...
[2025-03-10 16:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:14:01] Production.INFO: neon service started
[2025-03-10 16:14:01] Production.INFO: neon service started
[2025-03-10 16:14:01] Production.INFO: ==6157== Releasing lock...
[2025-03-10 16:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:14:02] Production.INFO: ==6159== Lock acquired, processing the job...
[2025-03-10 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:14:02] Production.INFO: ==6159== Releasing lock...
[2025-03-10 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:14:02] Production.INFO: ==6161== Lock acquired, processing the job...
[2025-03-10 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:14:02] Production.INFO: ==6161== Releasing lock...
[2025-03-10 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:14:03] Production.INFO: ==6165== Lock acquired, processing the job...
[2025-03-10 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:14:03] Production.INFO: ==6163== Lock acquired, processing the job...
[2025-03-10 12:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:14:03] Production.INFO: ==6172== Lock acquired, processing the job...
[2025-03-10 12:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:14:03] Production.INFO: ==6170== Lock acquired, processing the job...
[2025-03-10 12:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:14:03] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-03-10 12:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:14:03] Production.INFO: ==6165== Releasing lock...
[2025-03-10 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:14:03] Production.INFO: ==6174== Lock acquired, processing the job...
[2025-03-10 12:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:14:03] Production.INFO: Account Balance Start.
[2025-03-10 12:14:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:14:03] Production.INFO: 117
[2025-03-10 12:14:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:14:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:14:03] Production.INFO: Date 2025-03-10
[2025-03-10 12:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:14:03] Production.INFO: Total Charge 0
[2025-03-10 12:14:03] Production.INFO: CreateAllLog End
[2025-03-10 12:14:03] Production.ERROR: done
[2025-03-10 12:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 12:14:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:14:04] Production.INFO: count ==21
[2025-03-10 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649445') start
[2025-03-10 12:14:04] Production.ERROR: done
[2025-03-10 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649445') end
[2025-03-10 12:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:14:04] Production.INFO: 1
[2025-03-10 12:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:14:04] Production.INFO: Account Balance End.
[2025-03-10 12:14:04] Production.INFO: ==6174== Releasing lock...
[2025-03-10 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:14:04] Production.INFO: ==6170== Releasing lock...
[2025-03-10 12:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:14:05
[end_date_ymd] => 2025-03-10 12:14:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:14:05' and `end` < '2025-03-10 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-03-10 12:14:12] Production.ERROR: CronJobId end10
[2025-03-10 12:14:12] Production.INFO: ==6167== Releasing lock...
[2025-03-10 12:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:14:15] Production.INFO: call_cost start
[2025-03-10 12:14:15] Production.INFO: call_cost end
[2025-03-10 12:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:14:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:14:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:14:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:14:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:14:16] Production.INFO: ==6163== Releasing lock...
[2025-03-10 12:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:14:18] Production.INFO: count ==5062
[2025-03-10 12:14:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:14:05 - End Time 2025-03-10 12:14:05
[2025-03-10 12:14:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649446', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649446', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649446', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649446', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:14:20] Production.INFO: ProcessCDR(1,14649446,1,1,2)
[2025-03-10 12:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:14:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:14:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:14:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649446', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649446', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:14:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:14:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:14:25] Production.INFO: ==6172== Releasing lock...
[2025-03-10 12:14:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:14:25] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:15:02] Production.INFO: ==6273== Lock acquired, processing the job...
[2025-03-10 16:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:15:02] Production.INFO: neon service started
[2025-03-10 16:15:02] Production.INFO: neon service started
[2025-03-10 16:15:02] Production.INFO: ==6273== Releasing lock...
[2025-03-10 16:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:15:02] Production.INFO: ==6276== Lock acquired, processing the job...
[2025-03-10 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:15:02] Production.INFO: ==6278== Lock acquired, processing the job...
[2025-03-10 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:15:02] Production.INFO: ==6278== Releasing lock...
[2025-03-10 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:15:03] Production.INFO: ==6276== Releasing lock...
[2025-03-10 12:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:15:03] Production.INFO: ==6282== Lock acquired, processing the job...
[2025-03-10 12:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:15:04] Production.INFO: ==6286== Lock acquired, processing the job...
[2025-03-10 12:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:15:04] Production.INFO: ==6288== Lock acquired, processing the job...
[2025-03-10 12:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:15:04] Production.INFO: ==6282== Releasing lock...
[2025-03-10 12:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:15:04] Production.INFO: Account Balance Start.
[2025-03-10 12:15:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:15:04] Production.INFO: 117
[2025-03-10 12:15:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:15:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:15:04] Production.INFO: ==6280== Lock acquired, processing the job...
[2025-03-10 12:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:15:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:15:04] Production.INFO: Total Charge 0
[2025-03-10 12:15:04] Production.INFO: ==6290== Lock acquired, processing the job...
[2025-03-10 12:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:15:04] Production.INFO: CreateAllLog End
[2025-03-10 12:15:04] Production.INFO: ==6284== Lock acquired, processing the job...
[2025-03-10 12:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12: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-03-10 12:15:04] Production.INFO: count ==13
[2025-03-10 12:15:04] Production.ERROR: done
[2025-03-10 12: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-03-10 12:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:15:04] Production.INFO: count ==21
[2025-03-10 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649450') start
[2025-03-10 12:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:15:04] Production.INFO: Account Balance End.
[2025-03-10 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649450') end
[2025-03-10 12:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:15:04] Production.INFO: 1
[2025-03-10 12:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:15:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:15:04] Production.INFO: ==6290== Releasing lock...
[2025-03-10 12:15:04] Production.INFO: ==6286== Releasing lock...
[2025-03-10 12:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:15:04] Production.ERROR: done
[2025-03-10 12:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:15:05
[end_date_ymd] => 2025-03-10 12:15:05
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:15:05' and `end` < '2025-03-10 12: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-03-10 12:15:13] Production.ERROR: CronJobId end10
[2025-03-10 12:15:13] Production.INFO: ==6284== Releasing lock...
[2025-03-10 12:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:15:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:15:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:15:15] Production.INFO: call_cost start
[2025-03-10 12:15:15] Production.INFO: call_cost end
[2025-03-10 12:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:15:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:15:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:15:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:15:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:15:16] Production.INFO: ==6280== Releasing lock...
[2025-03-10 12:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:15:18] Production.INFO: count ==5062
[2025-03-10 12:15:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:15:05 - End Time 2025-03-10 12:15:05
[2025-03-10 12:15:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649451', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649451', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649451', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649451', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:15:21] Production.INFO: ProcessCDR(1,14649451,1,1,2)
[2025-03-10 12:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:15:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:15:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:15:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649451', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649451', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:15:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:15:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:15:26] Production.INFO: ==6288== Releasing lock...
[2025-03-10 12:15:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:15:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:16:01] Production.INFO: ==6350== Lock acquired, processing the job...
[2025-03-10 16:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:16:01] Production.INFO: neon service started
[2025-03-10 16:16:01] Production.INFO: neon service started
[2025-03-10 16:16:01] Production.INFO: ==6350== Releasing lock...
[2025-03-10 16:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:16:02] Production.INFO: ==6352== Lock acquired, processing the job...
[2025-03-10 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:16:02] Production.INFO: ==6352== Releasing lock...
[2025-03-10 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:16:02] Production.INFO: ==6354== Lock acquired, processing the job...
[2025-03-10 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:16:02] Production.INFO: ==6354== Releasing lock...
[2025-03-10 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:16:03] Production.INFO: ==6356== Lock acquired, processing the job...
[2025-03-10 12:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:16:03] Production.INFO: ==6358== Lock acquired, processing the job...
[2025-03-10 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:16:03] Production.INFO: ==6365== Lock acquired, processing the job...
[2025-03-10 12:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:16:03] Production.INFO: ==6358== Releasing lock...
[2025-03-10 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:16:03] Production.INFO: ==6360== Lock acquired, processing the job...
[2025-03-10 12:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:16:03] Production.INFO: ==6362== Lock acquired, processing the job...
[2025-03-10 12:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:16:03] Production.INFO: ==6367== Lock acquired, processing the job...
[2025-03-10 12:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:16:03] Production.INFO: Account Balance Start.
[2025-03-10 12:16:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:16:03] Production.INFO: 117
[2025-03-10 12:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:16:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 12:16:03] Production.INFO: count ==13
[2025-03-10 12:16:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 12:16:03] Production.INFO: count ==21
[2025-03-10 12:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649455') start
[2025-03-10 12:16:03] Production.ERROR: done
[2025-03-10 12:16:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:16:04] Production.INFO: Total Charge 0
[2025-03-10 12:16:04] Production.INFO: CreateAllLog End
[2025-03-10 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649455') end
[2025-03-10 12:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:16:04] Production.INFO: 1
[2025-03-10 12:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:16:04] Production.INFO: ==6367== Releasing lock...
[2025-03-10 12:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:16:04] Production.ERROR: done
[2025-03-10 12:16:04] Production.INFO: Account Balance End.
[2025-03-10 12:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:16:04] Production.INFO: ==6362== Releasing lock...
[2025-03-10 12:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:16:05
[end_date_ymd] => 2025-03-10 12:16:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:16:05' and `end` < '2025-03-10 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-03-10 12:16:13] Production.ERROR: CronJobId end10
[2025-03-10 12:16:13] Production.INFO: ==6360== Releasing lock...
[2025-03-10 12:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:16:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:16:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:16:15] Production.INFO: call_cost start
[2025-03-10 12:16:15] Production.INFO: call_cost end
[2025-03-10 12:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:16:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:16:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:16:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:16:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:16:16] Production.INFO: ==6356== Releasing lock...
[2025-03-10 12:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:16:18] Production.INFO: count ==5058
[2025-03-10 12:16:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:16:05 - End Time 2025-03-10 12:16:05
[2025-03-10 12:16:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649456', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649456', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649456', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649456', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:16:20] Production.INFO: ProcessCDR(1,14649456,1,1,2)
[2025-03-10 12:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:16:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:16:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:16:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649456', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649456', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:16:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:16:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:16:26] Production.INFO: ==6365== Releasing lock...
[2025-03-10 12:16:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:16:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 16:17:02] Production.INFO: ==6432== Lock acquired, processing the job...
[2025-03-10 16:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:17:02] Production.INFO: neon service started
[2025-03-10 16:17:02] Production.INFO: neon service started
[2025-03-10 16:17:02] Production.INFO: ==6432== Releasing lock...
[2025-03-10 16:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:17:02] Production.INFO: ==6435== Lock acquired, processing the job...
[2025-03-10 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:17:02] Production.INFO: ==6437== Lock acquired, processing the job...
[2025-03-10 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:17:02] Production.INFO: ==6437== Releasing lock...
[2025-03-10 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:17:03] Production.INFO: ==6435== Releasing lock...
[2025-03-10 12:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:17:03] Production.INFO: ==6439== Lock acquired, processing the job...
[2025-03-10 12:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:17:04] Production.INFO: ==6441== Lock acquired, processing the job...
[2025-03-10 12:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:17:04] Production.INFO: ==6443== Lock acquired, processing the job...
[2025-03-10 12:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:17:04] Production.INFO: ==6441== Releasing lock...
[2025-03-10 12:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:17:04] Production.INFO: ==6445== Lock acquired, processing the job...
[2025-03-10 12:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:17:04] Production.INFO: Account Balance Start.
[2025-03-10 12:17:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:17:04] Production.INFO: 117
[2025-03-10 12:17:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:17:04] Production.INFO: ==6447== Lock acquired, processing the job...
[2025-03-10 12:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:17:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:17:04] Production.INFO: ==6449== Lock acquired, processing the job...
[2025-03-10 12:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:17:04] Production.INFO: Total Charge 0
[2025-03-10 12:17:04] Production.INFO: CreateAllLog End
[2025-03-10 12: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-03-10 12:17:05] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:17:05] Production.INFO: count ==21
[2025-03-10 12:17:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649460') start
[2025-03-10 12:17:05] Production.ERROR: done
[2025-03-10 12:17:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649460') end
[2025-03-10 12:17:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:17:05] Production.INFO: 1
[2025-03-10 12:17:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:17:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:17:05] Production.INFO: ==6449== Releasing lock...
[2025-03-10 12:17:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:17:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:17:05] Production.INFO: Account Balance End.
[2025-03-10 12:17:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:17:05] Production.INFO: ==6445== Releasing lock...
[2025-03-10 12:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:17:05] Production.ERROR: done
[2025-03-10 12:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:17:06
[end_date_ymd] => 2025-03-10 12:17:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:17:06' and `end` < '2025-03-10 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-03-10 12:17:13] Production.ERROR: CronJobId end10
[2025-03-10 12:17:13] Production.INFO: ==6443== Releasing lock...
[2025-03-10 12:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:17:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:17:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:17:15] Production.INFO: call_cost start
[2025-03-10 12:17:15] Production.INFO: call_cost end
[2025-03-10 12:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:17:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:17:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:17:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:17:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:17:16] Production.INFO: ==6439== Releasing lock...
[2025-03-10 12:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:17:19] Production.INFO: count ==5063
[2025-03-10 12:17:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:17:06 - End Time 2025-03-10 12:17:06
[2025-03-10 12:17:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649461', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649461', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649461', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649461', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:17:22] Production.INFO: ProcessCDR(1,14649461,1,1,2)
[2025-03-10 12:17:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:17:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:17:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:17:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649461', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649461', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:17:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:17:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:17:27] Production.INFO: ==6447== Releasing lock...
[2025-03-10 12:17:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:17:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:18:01] Production.INFO: ==6516== Lock acquired, processing the job...
[2025-03-10 16:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:18:01] Production.INFO: neon service started
[2025-03-10 16:18:01] Production.INFO: neon service started
[2025-03-10 16:18:01] Production.INFO: ==6516== Releasing lock...
[2025-03-10 16:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:18:02] Production.INFO: ==6518== Lock acquired, processing the job...
[2025-03-10 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:18:02] Production.INFO: ==6520== Lock acquired, processing the job...
[2025-03-10 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:18:02] Production.INFO: ==6520== Releasing lock...
[2025-03-10 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:18:02] Production.INFO: ==6518== Releasing lock...
[2025-03-10 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:18:03] Production.INFO: ==6531== Lock acquired, processing the job...
[2025-03-10 12:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:18:03] Production.INFO: ==6533== Lock acquired, processing the job...
[2025-03-10 12:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:18:04] Production.INFO: ==6523== Lock acquired, processing the job...
[2025-03-10 12:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:18:04] Production.INFO: ==6525== Lock acquired, processing the job...
[2025-03-10 12:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:18:04] Production.INFO: ==6527== Lock acquired, processing the job...
[2025-03-10 12:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:18:04] Production.INFO: ==6529== Lock acquired, processing the job...
[2025-03-10 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12: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-03-10 12:18:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:18:04] Production.INFO: count ==21
[2025-03-10 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649462') start
[2025-03-10 12:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:18:04] Production.INFO: Account Balance Start.
[2025-03-10 12:18:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:18:04] Production.INFO: 117
[2025-03-10 12:18:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:18:04] Production.ERROR: done
[2025-03-10 12:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649462') end
[2025-03-10 12:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:18:04] Production.INFO: 1
[2025-03-10 12:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:18:04] Production.INFO: Total Charge 0
[2025-03-10 12:18:04] Production.INFO: CreateAllLog End
[2025-03-10 12:18:04] Production.INFO: ==6533== Releasing lock...
[2025-03-10 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:18:04] Production.ERROR: done
[2025-03-10 12:18:04] Production.INFO: ==6525== Releasing lock...
[2025-03-10 12:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:18:04] Production.INFO: Account Balance End.
[2025-03-10 12:18:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:18:04] Production.INFO: ==6529== Releasing lock...
[2025-03-10 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:18:06
[end_date_ymd] => 2025-03-10 12:18:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:18:06' and `end` < '2025-03-10 12: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-03-10 12:18:14] Production.ERROR: CronJobId end10
[2025-03-10 12:18:14] Production.INFO: ==6527== Releasing lock...
[2025-03-10 12:18:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:18:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:18:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:18:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:18:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:18:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:18:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:18:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:18:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:18:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:18:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:18:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:18:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:18:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:18:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:18:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:18:16] Production.INFO: call_cost start
[2025-03-10 12:18:16] Production.INFO: call_cost end
[2025-03-10 12:18:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:18:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:18:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:18:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:18:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:18:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:18:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:18:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:18:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:18:17] Production.INFO: ==6523== Releasing lock...
[2025-03-10 12:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:18:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:18:19] Production.INFO: count ==5032
[2025-03-10 12:18:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:18:06 - End Time 2025-03-10 12:18:06
[2025-03-10 12:18:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649466', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649466', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649466', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649466', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:18:21] Production.INFO: ProcessCDR(1,14649466,1,1,2)
[2025-03-10 12:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:18:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:18:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:18:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649466', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:18:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649466', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:18:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:18:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:18:27] Production.INFO: ==6531== Releasing lock...
[2025-03-10 12:18:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:18:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:19:02] Production.INFO: ==6594== Lock acquired, processing the job...
[2025-03-10 16:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:19:02] Production.INFO: neon service started
[2025-03-10 16:19:02] Production.INFO: neon service started
[2025-03-10 16:19:02] Production.INFO: ==6594== Releasing lock...
[2025-03-10 16:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:19:02] Production.INFO: ==6597== Lock acquired, processing the job...
[2025-03-10 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:19:02] Production.INFO: ==6597== Releasing lock...
[2025-03-10 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:19:02] Production.INFO: ==6599== Lock acquired, processing the job...
[2025-03-10 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:19:03] Production.INFO: ==6599== Releasing lock...
[2025-03-10 16:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:19:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:19:03] Production.INFO: ==6601== Lock acquired, processing the job...
[2025-03-10 12:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:19:03] Production.INFO: ==6609== Lock acquired, processing the job...
[2025-03-10 12:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:19:03] Production.INFO: ==6603== Lock acquired, processing the job...
[2025-03-10 12:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:19:03] Production.INFO: ==6605== Lock acquired, processing the job...
[2025-03-10 12:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:19:03] Production.INFO: ==6607== Lock acquired, processing the job...
[2025-03-10 12:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:19:03] Production.INFO: ==6611== Lock acquired, processing the job...
[2025-03-10 12:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:19:04] Production.ERROR: done
[2025-03-10 12:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:19:04] Production.INFO: Account Balance Start.
[2025-03-10 12:19:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:19:04] Production.INFO: 117
[2025-03-10 12:19:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 12:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:19:04] Production.INFO: count ==13
[2025-03-10 12:19:04] Production.ERROR: done
[2025-03-10 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-03-10 12:19:04] Production.INFO: count ==21
[2025-03-10 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649470') start
[2025-03-10 12:19:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:19:04] Production.INFO: ==6603== Releasing lock...
[2025-03-10 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:19:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649470') end
[2025-03-10 12:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:19:04] Production.INFO: 1
[2025-03-10 12:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:19:04] Production.INFO: ==6611== Releasing lock...
[2025-03-10 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:19:04] Production.INFO: Total Charge 0
[2025-03-10 12:19:04] Production.INFO: CreateAllLog End
[2025-03-10 12:19:04] Production.INFO: Account Balance End.
[2025-03-10 12:19:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:19:04] Production.INFO: ==6607== Releasing lock...
[2025-03-10 12:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:19:05
[end_date_ymd] => 2025-03-10 12:19:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:19:05' and `end` < '2025-03-10 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-03-10 12:19:12] Production.ERROR: CronJobId end10
[2025-03-10 12:19:12] Production.INFO: ==6605== Releasing lock...
[2025-03-10 12:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:19:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:19:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:19:15] Production.INFO: call_cost start
[2025-03-10 12:19:15] Production.INFO: call_cost end
[2025-03-10 12:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:19:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:19:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:19:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:19:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:19:16] Production.INFO: ==6601== Releasing lock...
[2025-03-10 12:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:19:18] Production.INFO: count ==4997
[2025-03-10 12:19:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:19:05 - End Time 2025-03-10 12:19:05
[2025-03-10 12:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649471', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649471', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649471', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649471', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:19:20] Production.INFO: ProcessCDR(1,14649471,1,1,2)
[2025-03-10 12:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:19:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:19:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:19:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649471', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649471', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:19:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:19:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:19:25] Production.INFO: ==6609== Releasing lock...
[2025-03-10 12:19:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:19:25] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 16:20:01] Production.INFO: ==6680== Lock acquired, processing the job...
[2025-03-10 16:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:20:01] Production.INFO: neon service started
[2025-03-10 16:20:01] Production.INFO: neon service started
[2025-03-10 16:20:01] Production.INFO: ==6680== Releasing lock...
[2025-03-10 16:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:20:02] Production.INFO: ==6682== Lock acquired, processing the job...
[2025-03-10 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:20:02] Production.INFO: ==6684== Lock acquired, processing the job...
[2025-03-10 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:20:02] Production.INFO: ==6684== Releasing lock...
[2025-03-10 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:20:02] Production.INFO: ==6682== Releasing lock...
[2025-03-10 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:20:03] Production.INFO: ==6686== Lock acquired, processing the job...
[2025-03-10 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 12:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 12:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 12:20:03] Production.INFO: ==6686== Releasing lock...
[2025-03-10 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 12:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 12:20:03] Production.INFO: ==6688== Lock acquired, processing the job...
[2025-03-10 12:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:20:03] Production.INFO: ==6693== Lock acquired, processing the job...
[2025-03-10 12:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:20:03] Production.INFO: ==6691== Lock acquired, processing the job...
[2025-03-10 12:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:20:03] Production.INFO: ==6697== Lock acquired, processing the job...
[2025-03-10 12:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:20:03] Production.INFO: ==6695== Lock acquired, processing the job...
[2025-03-10 12:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:20:03] Production.INFO: ==6701== Lock acquired, processing the job...
[2025-03-10 12:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:20:04] Production.INFO: ==6699== Lock acquired, processing the job...
[2025-03-10 12:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 12:20:04] Production.INFO: Account Balance Start.
[2025-03-10 12:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:20:04] Production.INFO: 117
[2025-03-10 12:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 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-03-10 12:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:20:04] Production.INFO: count ==13
[2025-03-10 12:20:04] Production.INFO: Total Charge 0
[2025-03-10 12:20:04] Production.INFO: CreateAllLog End
[2025-03-10 12:20:04] Production.ERROR: done
[2025-03-10 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-03-10 12:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:20:04] Production.INFO: count ==21
[2025-03-10 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649475') start
[2025-03-10 12:20:04] Production.INFO: ==6691== Releasing lock...
[2025-03-10 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649475') end
[2025-03-10 12:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:20:04] Production.INFO: 1
[2025-03-10 12:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:20:04] Production.INFO: ==6701== Releasing lock...
[2025-03-10 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:20:04] Production.ERROR: done
[2025-03-10 12:20:04] Production.ERROR: done
[2025-03-10 12:20:04] Production.INFO: Account Balance End.
[2025-03-10 12:20:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:20:04] Production.INFO: ==6695== Releasing lock...
[2025-03-10 12:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 12:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649476', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 12:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:20:05
[end_date_ymd] => 2025-03-10 12:20:05
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:20:05' and `end` < '2025-03-10 12: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-03-10 12:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649476', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 12:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 12:20:09] Production.INFO: ProcessCDR(1,14649476,1,1,2)
[2025-03-10 12:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649476,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649476,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:20:09] Production.INFO: ==6699== Releasing lock...
[2025-03-10 12:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 12:20:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 12:20:14] Production.ERROR: CronJobId end10
[2025-03-10 12:20:14] Production.INFO: ==6693== Releasing lock...
[2025-03-10 12:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:20:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:20:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:20:18] Production.INFO: call_cost start
[2025-03-10 12:20:18] Production.INFO: call_cost end
[2025-03-10 12:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:20:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:20:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:20:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:20:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:20:18] Production.INFO: ==6688== Releasing lock...
[2025-03-10 12:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:20:19] Production.INFO: count ==4991
[2025-03-10 12:20:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:20:05 - End Time 2025-03-10 12:20:05
[2025-03-10 12:20:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649477', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649477', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649477', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649477', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:20:21] Production.INFO: ProcessCDR(1,14649477,1,1,2)
[2025-03-10 12:20:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:20:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:20:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:20:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649477', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649477', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:20:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:20:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:20:26] Production.INFO: ==6697== Releasing lock...
[2025-03-10 12:20:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:20:26] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 16:21:02] Production.INFO: ==6768== Lock acquired, processing the job...
[2025-03-10 16:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:21:02] Production.INFO: neon service started
[2025-03-10 16:21:02] Production.INFO: neon service started
[2025-03-10 16:21:02] Production.INFO: ==6768== Releasing lock...
[2025-03-10 16:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:21:02] Production.INFO: ==6770== Lock acquired, processing the job...
[2025-03-10 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:21:02] Production.INFO: ==6770== Releasing lock...
[2025-03-10 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:21:02] Production.INFO: ==6772== Lock acquired, processing the job...
[2025-03-10 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:21:02] Production.INFO: ==6772== Releasing lock...
[2025-03-10 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:21:03] Production.INFO: ==6777== Lock acquired, processing the job...
[2025-03-10 12:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:21:03] Production.INFO: ==6783== Lock acquired, processing the job...
[2025-03-10 12:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:21:03] Production.INFO: ==6785== Lock acquired, processing the job...
[2025-03-10 12:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:21:03] Production.INFO: ==6775== Lock acquired, processing the job...
[2025-03-10 12:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:21:03] Production.INFO: ==6781== Lock acquired, processing the job...
[2025-03-10 12:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:21:03] Production.INFO: ==6779== Lock acquired, processing the job...
[2025-03-10 12:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12: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-03-10 12:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:21:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:21:04] Production.INFO: count ==21
[2025-03-10 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649479') start
[2025-03-10 12:21:04] Production.INFO: ==6777== Releasing lock...
[2025-03-10 12:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:21:04] Production.INFO: Account Balance Start.
[2025-03-10 12:21:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649479') end
[2025-03-10 12:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:21:04] Production.INFO: 1
[2025-03-10 12:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:21:04] Production.INFO: 117
[2025-03-10 12:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:21:04] Production.ERROR: done
[2025-03-10 12:21:04] Production.INFO: ==6785== Releasing lock...
[2025-03-10 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:21:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:21:04] Production.ERROR: done
[2025-03-10 12:21:04] Production.INFO: Total Charge 0
[2025-03-10 12:21:04] Production.INFO: CreateAllLog End
[2025-03-10 12:21:04] Production.INFO: Account Balance End.
[2025-03-10 12:21:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:21:04] Production.INFO: ==6781== Releasing lock...
[2025-03-10 12:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:21:05
[end_date_ymd] => 2025-03-10 12:21:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:21:05' and `end` < '2025-03-10 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-03-10 12:21:12] Production.ERROR: CronJobId end10
[2025-03-10 12:21:12] Production.INFO: ==6779== Releasing lock...
[2025-03-10 12:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:21:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:21:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:21:14] Production.INFO: call_cost start
[2025-03-10 12:21:14] Production.INFO: call_cost end
[2025-03-10 12:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:21:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:21:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:21:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:21:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:21:15] Production.INFO: ==6775== Releasing lock...
[2025-03-10 12:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:21:18] Production.INFO: count ==5006
[2025-03-10 12:21:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:21:05 - End Time 2025-03-10 12:21:05
[2025-03-10 12:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649482', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649482', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649482', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649482', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:21:20] Production.INFO: ProcessCDR(1,14649482,1,1,2)
[2025-03-10 12:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:21:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:21:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:21:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649482', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649482', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:21:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:21:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:21:25] Production.INFO: ==6783== Releasing lock...
[2025-03-10 12:21:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:21:25] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 16:22:01] Production.INFO: ==6849== Lock acquired, processing the job...
[2025-03-10 16:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:22:01] Production.INFO: neon service started
[2025-03-10 16:22:01] Production.INFO: neon service started
[2025-03-10 16:22:01] Production.INFO: ==6849== Releasing lock...
[2025-03-10 16:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:22:02] Production.INFO: ==6852== Lock acquired, processing the job...
[2025-03-10 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:22:02] Production.INFO: ==6854== Lock acquired, processing the job...
[2025-03-10 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:22:02] Production.INFO: ==6854== Releasing lock...
[2025-03-10 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:22:02] Production.INFO: ==6852== Releasing lock...
[2025-03-10 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:22:03] Production.INFO: ==6856== Lock acquired, processing the job...
[2025-03-10 12:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:22:03] Production.INFO: ==6858== Lock acquired, processing the job...
[2025-03-10 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:22:03] Production.INFO: ==6866== Lock acquired, processing the job...
[2025-03-10 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:22:03] Production.INFO: ==6860== Lock acquired, processing the job...
[2025-03-10 12:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 12:22:03] Production.INFO: ==6858== Releasing lock...
[2025-03-10 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:22:03] Production.INFO: count ==13
[2025-03-10 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-03-10 12:22:03] Production.INFO: count ==21
[2025-03-10 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649485') start
[2025-03-10 12:22:03] Production.INFO: ==6862== Lock acquired, processing the job...
[2025-03-10 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:22:03] Production.INFO: ==6864== Lock acquired, processing the job...
[2025-03-10 12:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649485') end
[2025-03-10 12:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:22:03] Production.INFO: 1
[2025-03-10 12:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:22:04] Production.INFO: ==6866== Releasing lock...
[2025-03-10 12:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:22:04] Production.INFO: Account Balance Start.
[2025-03-10 12:22:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:22:04] Production.INFO: 117
[2025-03-10 12:22:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:22:04] Production.ERROR: done
[2025-03-10 12:22:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:22:04] Production.INFO: Total Charge 0
[2025-03-10 12:22:04] Production.INFO: CreateAllLog End
[2025-03-10 12:22:04] Production.ERROR: done
[2025-03-10 12:22:04] Production.INFO: Account Balance End.
[2025-03-10 12:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:22:04] Production.INFO: ==6862== Releasing lock...
[2025-03-10 12:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:22:05
[end_date_ymd] => 2025-03-10 12:22:05
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:22:05' and `end` < '2025-03-10 12: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-03-10 12:22:12] Production.ERROR: CronJobId end10
[2025-03-10 12:22:12] Production.INFO: ==6860== Releasing lock...
[2025-03-10 12:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:22:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:22:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:22:14] Production.INFO: call_cost start
[2025-03-10 12:22:14] Production.INFO: call_cost end
[2025-03-10 12:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:22:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:22:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:22:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:22:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:22:15] Production.INFO: ==6856== Releasing lock...
[2025-03-10 12:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:22:19] Production.INFO: count ==5032
[2025-03-10 12:22:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:22:05 - End Time 2025-03-10 12:22:05
[2025-03-10 12:22:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649487', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649487', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649487', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649487', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:22:21] Production.INFO: ProcessCDR(1,14649487,1,1,2)
[2025-03-10 12:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649487', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649487', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:22:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:22:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:22:26] Production.INFO: ==6864== Releasing lock...
[2025-03-10 12:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:22:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 16:23:02] Production.INFO: ==6930== Lock acquired, processing the job...
[2025-03-10 16:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:23:02] Production.INFO: neon service started
[2025-03-10 16:23:02] Production.INFO: neon service started
[2025-03-10 16:23:02] Production.INFO: ==6930== Releasing lock...
[2025-03-10 16:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:23:02] Production.INFO: ==6933== Lock acquired, processing the job...
[2025-03-10 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:23:02] Production.INFO: ==6935== Lock acquired, processing the job...
[2025-03-10 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:23:02] Production.INFO: ==6935== Releasing lock...
[2025-03-10 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:23:03] Production.INFO: ==6933== Releasing lock...
[2025-03-10 12:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:23:03] Production.INFO: ==6937== Lock acquired, processing the job...
[2025-03-10 12:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:23:03] Production.INFO: ==6939== Lock acquired, processing the job...
[2025-03-10 12:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:23:04] Production.INFO: ==6943== Lock acquired, processing the job...
[2025-03-10 12:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:23:04] Production.INFO: Account Balance Start.
[2025-03-10 12:23:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:23:04] Production.INFO: 117
[2025-03-10 12:23:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:23:04] Production.INFO: ==6941== Lock acquired, processing the job...
[2025-03-10 12:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:23:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:23:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:23:04] Production.INFO: ==6945== Lock acquired, processing the job...
[2025-03-10 12:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:23:04] Production.INFO: Total Charge 0
[2025-03-10 12:23:04] Production.INFO: CreateAllLog End
[2025-03-10 12:23:04] Production.INFO: ==6948== Lock acquired, processing the job...
[2025-03-10 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 12:23:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:23:04] Production.INFO: count ==21
[2025-03-10 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649491') start
[2025-03-10 12:23:04] Production.INFO: ==6939== Releasing lock...
[2025-03-10 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649491') end
[2025-03-10 12:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:23:04] Production.INFO: 1
[2025-03-10 12:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:23:04] Production.INFO: ==6948== Releasing lock...
[2025-03-10 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:23:04] Production.ERROR: done
[2025-03-10 12:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:23:04] Production.INFO: Account Balance End.
[2025-03-10 12:23:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:23:04] Production.INFO: ==6943== Releasing lock...
[2025-03-10 12:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:23:04] Production.ERROR: done
[2025-03-10 12:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:23:06
[end_date_ymd] => 2025-03-10 12:23:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:23:06' and `end` < '2025-03-10 12: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-03-10 12:23:14] Production.ERROR: CronJobId end10
[2025-03-10 12:23:14] Production.INFO: ==6941== Releasing lock...
[2025-03-10 12:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:23:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:23:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:23:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:23:15] Production.INFO: call_cost start
[2025-03-10 12:23:15] Production.INFO: call_cost end
[2025-03-10 12:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:23:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:23:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:23:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:23:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:23:16] Production.INFO: ==6937== Releasing lock...
[2025-03-10 12:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:23:19] Production.INFO: count ==5073
[2025-03-10 12:23:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:23:06 - End Time 2025-03-10 12:23:06
[2025-03-10 12:23:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649492', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649492', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649492', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649492', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:23:21] Production.INFO: ProcessCDR(1,14649492,1,1,2)
[2025-03-10 12:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:23:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:23:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:23:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649492', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649492', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:23:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:23:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:23:26] Production.INFO: ==6945== Releasing lock...
[2025-03-10 12:23:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:23:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:24:01] Production.INFO: ==7014== Lock acquired, processing the job...
[2025-03-10 16:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:24:01] Production.INFO: neon service started
[2025-03-10 16:24:01] Production.INFO: neon service started
[2025-03-10 16:24:01] Production.INFO: ==7014== Releasing lock...
[2025-03-10 16:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:24:01] Production.INFO: ==7018== Lock acquired, processing the job...
[2025-03-10 16:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:24:01] Production.INFO: ==7018== Releasing lock...
[2025-03-10 16:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:24:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:24:02] Production.INFO: ==7016== Lock acquired, processing the job...
[2025-03-10 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:24:02] Production.INFO: ==7016== Releasing lock...
[2025-03-10 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:24:03] Production.INFO: ==7021== Lock acquired, processing the job...
[2025-03-10 12:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:24:03] Production.INFO: ==7023== Lock acquired, processing the job...
[2025-03-10 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:24:03] Production.INFO: ==7029== Lock acquired, processing the job...
[2025-03-10 12:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:24:03] Production.INFO: ==7027== Lock acquired, processing the job...
[2025-03-10 12:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:24:03] Production.INFO: ==7025== Lock acquired, processing the job...
[2025-03-10 12:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:24:03] Production.INFO: ==7023== Releasing lock...
[2025-03-10 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:24:03] Production.INFO: Account Balance Start.
[2025-03-10 12:24:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:24:03] Production.INFO: 117
[2025-03-10 12:24:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:24:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:24:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:24:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:24:03] Production.INFO: Date 2025-03-10
[2025-03-10 12:24:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:24:03] Production.INFO: Total Charge 0
[2025-03-10 12:24:03] Production.INFO: ==7031== Lock acquired, processing the job...
[2025-03-10 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:24:03] Production.INFO: CreateAllLog End
[2025-03-10 12:24:03] Production.ERROR: done
[2025-03-10 12:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 12:24:04] Production.ERROR: done
[2025-03-10 12:24:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:24:04] Production.INFO: count ==21
[2025-03-10 12:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649496') start
[2025-03-10 12:24:04] Production.INFO: Account Balance End.
[2025-03-10 12:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:24:04] Production.INFO: ==7027== Releasing lock...
[2025-03-10 12:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649496') end
[2025-03-10 12:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:24:04] Production.INFO: 1
[2025-03-10 12:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:24:04] Production.INFO: ==7031== Releasing lock...
[2025-03-10 12:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:24:05
[end_date_ymd] => 2025-03-10 12:24:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:24:05' and `end` < '2025-03-10 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-03-10 12:24:13] Production.ERROR: CronJobId end10
[2025-03-10 12:24:13] Production.INFO: ==7025== Releasing lock...
[2025-03-10 12:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:24:15] Production.INFO: call_cost start
[2025-03-10 12:24:15] Production.INFO: call_cost end
[2025-03-10 12:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:24:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:24:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:24:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:24:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:24:15] Production.INFO: ==7021== Releasing lock...
[2025-03-10 12:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:24:18] Production.INFO: count ==5072
[2025-03-10 12:24:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:24:05 - End Time 2025-03-10 12:24:05
[2025-03-10 12:24:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649497', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649497', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649497', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649497', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:24:21] Production.INFO: ProcessCDR(1,14649497,1,1,2)
[2025-03-10 12:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:24:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:24:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:24:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649497', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649497', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:24:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:24:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:24:25] Production.INFO: ==7029== Releasing lock...
[2025-03-10 12:24:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:24:25] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:25:01] Production.INFO: ==7090== Lock acquired, processing the job...
[2025-03-10 16:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:25:01] Production.INFO: neon service started
[2025-03-10 16:25:02] Production.INFO: neon service started
[2025-03-10 16:25:02] Production.INFO: ==7090== Releasing lock...
[2025-03-10 16:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:25:02] Production.INFO: ==7092== Lock acquired, processing the job...
[2025-03-10 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:25:02] Production.INFO: ==7094== Lock acquired, processing the job...
[2025-03-10 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:25:02] Production.INFO: ==7094== Releasing lock...
[2025-03-10 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:25:03] Production.INFO: ==7092== Releasing lock...
[2025-03-10 12:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:25:03] Production.INFO: ==7099== Lock acquired, processing the job...
[2025-03-10 12:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:25:03] Production.INFO: ==7103== Lock acquired, processing the job...
[2025-03-10 12:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:25:04] Production.INFO: Account Balance Start.
[2025-03-10 12:25:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:25:04] Production.INFO: 117
[2025-03-10 12:25:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:25:04] Production.INFO: ==7097== Lock acquired, processing the job...
[2025-03-10 12:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:25:04] Production.INFO: ==7101== Lock acquired, processing the job...
[2025-03-10 12:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:25:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:25:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:25:04] Production.INFO: Total Charge 0
[2025-03-10 12:25:04] Production.INFO: ==7105== Lock acquired, processing the job...
[2025-03-10 12:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:25:04] Production.INFO: CreateAllLog End
[2025-03-10 12:25:04] Production.INFO: ==7099== Releasing lock...
[2025-03-10 12:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:25:04] Production.INFO: ==7107== Lock acquired, processing the job...
[2025-03-10 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:25:04] Production.INFO: Account Balance End.
[2025-03-10 12: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-03-10 12:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:25:04] Production.INFO: ==7103== Releasing lock...
[2025-03-10 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:25:04] Production.INFO: count ==13
[2025-03-10 12:25:04] Production.ERROR: done
[2025-03-10 12:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 12:25:04] Production.INFO: count ==21
[2025-03-10 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649501') start
[2025-03-10 12:25:04] Production.ERROR: done
[2025-03-10 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649501') end
[2025-03-10 12:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:25:04] Production.INFO: 1
[2025-03-10 12:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:25:04] Production.INFO: ==7107== Releasing lock...
[2025-03-10 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:25:05
[end_date_ymd] => 2025-03-10 12:25:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:25:05' and `end` < '2025-03-10 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-03-10 12:25:14] Production.ERROR: CronJobId end10
[2025-03-10 12:25:14] Production.INFO: ==7101== Releasing lock...
[2025-03-10 12:25:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:25:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:25:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:25:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:25:15] Production.INFO: call_cost start
[2025-03-10 12:25:15] Production.INFO: call_cost end
[2025-03-10 12:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:25:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:25:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:25:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:25:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:25:16] Production.INFO: ==7097== Releasing lock...
[2025-03-10 12:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:25:19] Production.INFO: count ==5055
[2025-03-10 12:25:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:25:05 - End Time 2025-03-10 12:25:05
[2025-03-10 12:25:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649502', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649502', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649502', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649502', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:25:21] Production.INFO: ProcessCDR(1,14649502,1,1,2)
[2025-03-10 12:25:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:25:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:25:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:25:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:25:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649502', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:25:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649502', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:25:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:25:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:25:26] Production.INFO: ==7105== Releasing lock...
[2025-03-10 12:25:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:25:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 16:26:01] Production.INFO: ==7171== Lock acquired, processing the job...
[2025-03-10 16:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:26:01] Production.INFO: neon service started
[2025-03-10 16:26:01] Production.INFO: neon service started
[2025-03-10 16:26:01] Production.INFO: ==7171== Releasing lock...
[2025-03-10 16:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:26:02] Production.INFO: ==7173== Lock acquired, processing the job...
[2025-03-10 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:26:02] Production.INFO: ==7175== Lock acquired, processing the job...
[2025-03-10 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:26:02] Production.INFO: ==7175== Releasing lock...
[2025-03-10 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:26:02] Production.INFO: ==7173== Releasing lock...
[2025-03-10 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:26:03] Production.INFO: ==7178== Lock acquired, processing the job...
[2025-03-10 12:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:26:03] Production.INFO: ==7180== Lock acquired, processing the job...
[2025-03-10 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:26:03] Production.INFO: ==7182== Lock acquired, processing the job...
[2025-03-10 12:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:26:03] Production.INFO: ==7186== Lock acquired, processing the job...
[2025-03-10 12:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:26:03] Production.INFO: ==7184== Lock acquired, processing the job...
[2025-03-10 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:26:04] Production.INFO: ==7188== Lock acquired, processing the job...
[2025-03-10 12:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:26:04] Production.INFO: Account Balance Start.
[2025-03-10 12:26:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:26:04] Production.INFO: 117
[2025-03-10 12:26:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:26:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 12: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-03-10 12:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:26:04] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:26:04] Production.INFO: count ==21
[2025-03-10 12:26:04] Production.INFO: Total Charge 0
[2025-03-10 12:26:04] Production.INFO: ==7180== Releasing lock...
[2025-03-10 12:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649506') start
[2025-03-10 12:26:04] Production.INFO: CreateAllLog End
[2025-03-10 12:26:04] Production.ERROR: done
[2025-03-10 12:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649506') end
[2025-03-10 12:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:26:04] Production.INFO: 1
[2025-03-10 12:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:26:04] Production.INFO: ==7188== Releasing lock...
[2025-03-10 12:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:26:04] Production.ERROR: done
[2025-03-10 12:26:04] Production.INFO: Account Balance End.
[2025-03-10 12:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:26:04] Production.INFO: ==7184== Releasing lock...
[2025-03-10 12:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:26:05
[end_date_ymd] => 2025-03-10 12:26:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:26:05' and `end` < '2025-03-10 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-03-10 12:26:12] Production.ERROR: CronJobId end10
[2025-03-10 12:26:12] Production.INFO: ==7182== Releasing lock...
[2025-03-10 12:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:26:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:26:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:26:14] Production.INFO: call_cost start
[2025-03-10 12:26:14] Production.INFO: call_cost end
[2025-03-10 12:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:26:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:26:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:26:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:26:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:26:15] Production.INFO: ==7178== Releasing lock...
[2025-03-10 12:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:26:18] Production.INFO: count ==5032
[2025-03-10 12:26:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:26:05 - End Time 2025-03-10 12:26:05
[2025-03-10 12:26:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649507', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649507', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649507', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649507', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:26:21] Production.INFO: ProcessCDR(1,14649507,1,1,2)
[2025-03-10 12:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:26:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:26:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:26:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649507', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649507', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:26:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:26:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:26:26] Production.INFO: ==7186== Releasing lock...
[2025-03-10 12:26:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:26:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 16:27:01] Production.INFO: ==7247== Lock acquired, processing the job...
[2025-03-10 16:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:27:01] Production.INFO: neon service started
[2025-03-10 16:27:01] Production.INFO: neon service started
[2025-03-10 16:27:01] Production.INFO: ==7247== Releasing lock...
[2025-03-10 16:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:27:02] Production.INFO: ==7249== Lock acquired, processing the job...
[2025-03-10 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:27:02] Production.INFO: ==7249== Releasing lock...
[2025-03-10 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:27:02] Production.INFO: ==7251== Lock acquired, processing the job...
[2025-03-10 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:27:02] Production.INFO: ==7251== Releasing lock...
[2025-03-10 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:27:03] Production.INFO: ==7254== Lock acquired, processing the job...
[2025-03-10 12:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:27:03] Production.INFO: ==7256== Lock acquired, processing the job...
[2025-03-10 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:27:03] Production.INFO: ==7262== Lock acquired, processing the job...
[2025-03-10 12:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:27:03] Production.INFO: ==7258== Lock acquired, processing the job...
[2025-03-10 12:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:27:03] Production.INFO: ==7256== Releasing lock...
[2025-03-10 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:27:03] Production.INFO: ==7260== Lock acquired, processing the job...
[2025-03-10 12:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:27:03] Production.ERROR: done
[2025-03-10 12:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:27:03] Production.INFO: ==7264== Lock acquired, processing the job...
[2025-03-10 12:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:27:04] Production.INFO: Account Balance Start.
[2025-03-10 12:27:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:27:04] Production.INFO: 117
[2025-03-10 12:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:27:04] Production.ERROR: done
[2025-03-10 12:27:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 12: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-03-10 12:27:04] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:27:04] Production.INFO: count ==21
[2025-03-10 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649511') start
[2025-03-10 12:27:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649511') end
[2025-03-10 12:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:27:04] Production.INFO: 1
[2025-03-10 12:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:27:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:27:04] Production.INFO: ==7264== Releasing lock...
[2025-03-10 12:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:27:04] Production.INFO: Total Charge 0
[2025-03-10 12:27:04] Production.INFO: CreateAllLog End
[2025-03-10 12:27:04] Production.INFO: Account Balance End.
[2025-03-10 12:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:27:04] Production.INFO: ==7260== Releasing lock...
[2025-03-10 12:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:27:05
[end_date_ymd] => 2025-03-10 12:27:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:27:05' and `end` < '2025-03-10 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-03-10 12:27:13] Production.ERROR: CronJobId end10
[2025-03-10 12:27:13] Production.INFO: ==7258== Releasing lock...
[2025-03-10 12:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:27:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:27:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:27:15] Production.INFO: call_cost start
[2025-03-10 12:27:15] Production.INFO: call_cost end
[2025-03-10 12:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:27:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:27:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:27:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:27:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:27:16] Production.INFO: ==7254== Releasing lock...
[2025-03-10 12:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:27:17] Production.INFO: count ==5023
[2025-03-10 12:27:19] Production.ERROR: pbx CDR StartTime 2025-03-10 09:27:05 - End Time 2025-03-10 12:27:05
[2025-03-10 12:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649512', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649512', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649512', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649512', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:27:20] Production.INFO: ProcessCDR(1,14649512,1,1,2)
[2025-03-10 12:27:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:27:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:27:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649512', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649512', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:27:24] Production.INFO: ==7262== Releasing lock...
[2025-03-10 12:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:27:24] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 16:28:02] Production.INFO: ==7328== Lock acquired, processing the job...
[2025-03-10 16:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:28:02] Production.INFO: neon service started
[2025-03-10 16:28:02] Production.INFO: neon service started
[2025-03-10 16:28:02] Production.INFO: ==7328== Releasing lock...
[2025-03-10 16:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:28:02] Production.INFO: ==7332== Lock acquired, processing the job...
[2025-03-10 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:28:02] Production.INFO: ==7332== Releasing lock...
[2025-03-10 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:28:02] Production.INFO: ==7330== Lock acquired, processing the job...
[2025-03-10 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:28:03] Production.INFO: ==7330== Releasing lock...
[2025-03-10 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:28:04] Production.INFO: ==7335== Lock acquired, processing the job...
[2025-03-10 12:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:28:04] Production.INFO: ==7339== Lock acquired, processing the job...
[2025-03-10 12:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:28:04] Production.INFO: ==7343== Lock acquired, processing the job...
[2025-03-10 12:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:28:04] Production.INFO: ==7337== Lock acquired, processing the job...
[2025-03-10 12:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:28:04] Production.INFO: ==7341== Lock acquired, processing the job...
[2025-03-10 12:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:28:04] Production.INFO: ==7345== Lock acquired, processing the job...
[2025-03-10 12:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:28:04] Production.ERROR: done
[2025-03-10 12:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 12:28:04] Production.INFO: Account Balance Start.
[2025-03-10 12:28:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:28:04] Production.INFO: 117
[2025-03-10 12:28:04] Production.INFO: count ==13
[2025-03-10 12:28:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 12:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:28:04] Production.INFO: count ==21
[2025-03-10 12:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649515') start
[2025-03-10 12:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:28:05] Production.ERROR: done
[2025-03-10 12:28:05] Production.INFO: Total Charge 0
[2025-03-10 12:28:05] Production.INFO: CreateAllLog End
[2025-03-10 12:28:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649515') end
[2025-03-10 12:28:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:28:05] Production.INFO: 1
[2025-03-10 12:28:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:28:05] Production.INFO: ==7337== Releasing lock...
[2025-03-10 12:28:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:28:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:28:05] Production.INFO: ==7345== Releasing lock...
[2025-03-10 12:28:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:28:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:28:05] Production.INFO: Account Balance End.
[2025-03-10 12:28:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:28:05] Production.INFO: ==7341== Releasing lock...
[2025-03-10 12:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:28:06
[end_date_ymd] => 2025-03-10 12:28:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:28:06' and `end` < '2025-03-10 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-03-10 12:28:13] Production.ERROR: CronJobId end10
[2025-03-10 12:28:13] Production.INFO: ==7339== Releasing lock...
[2025-03-10 12:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:28:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:28:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:28:15] Production.INFO: call_cost start
[2025-03-10 12:28:15] Production.INFO: call_cost end
[2025-03-10 12:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:28:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:28:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:28:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:28:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:28:16] Production.INFO: ==7335== Releasing lock...
[2025-03-10 12:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:28:19] Production.INFO: count ==5026
[2025-03-10 12:28:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:28:06 - End Time 2025-03-10 12:28:06
[2025-03-10 12:28:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649517', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649517', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649517', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649517', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:28:21] Production.INFO: ProcessCDR(1,14649517,1,1,2)
[2025-03-10 12:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:28:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:28:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:28:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649517', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649517', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:28:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:28:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:28:26] Production.INFO: ==7343== Releasing lock...
[2025-03-10 12:28:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:28:26] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 16:29:01] Production.INFO: ==7397== Lock acquired, processing the job...
[2025-03-10 16:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:29:01] Production.INFO: neon service started
[2025-03-10 16:29:01] Production.INFO: neon service started
[2025-03-10 16:29:01] Production.INFO: ==7397== Releasing lock...
[2025-03-10 16:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:29:02] Production.INFO: ==7399== Lock acquired, processing the job...
[2025-03-10 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:29:02] Production.INFO: ==7401== Lock acquired, processing the job...
[2025-03-10 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:29:02] Production.INFO: ==7399== Releasing lock...
[2025-03-10 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:29:02] Production.INFO: ==7401== Releasing lock...
[2025-03-10 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:29:03] Production.INFO: ==7403== Lock acquired, processing the job...
[2025-03-10 12:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:29:03] Production.INFO: ==7405== Lock acquired, processing the job...
[2025-03-10 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:29:03] Production.INFO: ==7407== Lock acquired, processing the job...
[2025-03-10 12:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:29:03] Production.INFO: ==7409== Lock acquired, processing the job...
[2025-03-10 12:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:29:03] Production.INFO: Account Balance Start.
[2025-03-10 12:29:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:29:03] Production.INFO: 117
[2025-03-10 12:29:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:29:03] Production.INFO: ==7412== Lock acquired, processing the job...
[2025-03-10 12:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:29:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:29:03] Production.INFO: ==7414== Lock acquired, processing the job...
[2025-03-10 12:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:29:03] Production.INFO: Date 2025-03-10
[2025-03-10 12:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:29:03] Production.INFO: ==7405== Releasing lock...
[2025-03-10 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:29:03] Production.INFO: Total Charge 0
[2025-03-10 12:29:03] Production.INFO: CreateAllLog End
[2025-03-10 12: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-03-10 12:29:04] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:29:04] Production.INFO: count ==21
[2025-03-10 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649521') start
[2025-03-10 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649521') end
[2025-03-10 12:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:29:04] Production.INFO: 1
[2025-03-10 12:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:29:04] Production.INFO: ==7414== Releasing lock...
[2025-03-10 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:29:04] Production.ERROR: done
[2025-03-10 12:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:29:04] Production.INFO: Account Balance End.
[2025-03-10 12:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:29:04] Production.INFO: ==7409== Releasing lock...
[2025-03-10 12:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:29:04] Production.ERROR: done
[2025-03-10 12:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:29:05
[end_date_ymd] => 2025-03-10 12:29:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:29:05' and `end` < '2025-03-10 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-03-10 12:29:13] Production.ERROR: CronJobId end10
[2025-03-10 12:29:13] Production.INFO: ==7407== Releasing lock...
[2025-03-10 12:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:29:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:29:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:29:14] Production.INFO: call_cost start
[2025-03-10 12:29:14] Production.INFO: call_cost end
[2025-03-10 12:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:29:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:29:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:29:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:29:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:29:15] Production.INFO: ==7403== Releasing lock...
[2025-03-10 12:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:29:18] Production.INFO: count ==5040
[2025-03-10 12:29:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:29:05 - End Time 2025-03-10 12:29:05
[2025-03-10 12:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649522', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649522', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649522', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649522', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:29:20] Production.INFO: ProcessCDR(1,14649522,1,1,2)
[2025-03-10 12:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:29:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:29:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:29:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649522', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649522', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:29:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:29:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:29:25] Production.INFO: ==7412== Releasing lock...
[2025-03-10 12:29:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:29:25] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 16:30:02] Production.INFO: ==7508== Lock acquired, processing the job...
[2025-03-10 16:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:30:02] Production.INFO: neon service started
[2025-03-10 16:30:02] Production.INFO: neon service started
[2025-03-10 16:30:02] Production.INFO: ==7508== Releasing lock...
[2025-03-10 16:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:30:02] Production.INFO: ==7512== Lock acquired, processing the job...
[2025-03-10 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:30:02] Production.INFO: ==7512== Releasing lock...
[2025-03-10 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:30:02] Production.INFO: ==7510== Lock acquired, processing the job...
[2025-03-10 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:30:03] Production.INFO: ==7510== Releasing lock...
[2025-03-10 12:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:30:04] Production.INFO: ==7523== Lock acquired, processing the job...
[2025-03-10 12:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:30:04] Production.INFO: ==7527== Lock acquired, processing the job...
[2025-03-10 12:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 12:30:04] Production.INFO: Account Balance Start.
[2025-03-10 12:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:30:04] Production.INFO: 117
[2025-03-10 12:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:30:04] Production.INFO: ==7515== Lock acquired, processing the job...
[2025-03-10 12:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 12:30:04] Production.INFO: Total Charge 0
[2025-03-10 12:30:04] Production.INFO: CreateAllLog End
[2025-03-10 12:30:04] Production.INFO: ==7517== Lock acquired, processing the job...
[2025-03-10 12:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:30:04] Production.INFO: ==7519== Lock acquired, processing the job...
[2025-03-10 12:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:30:04] Production.ERROR: CronJob PID - 7517
[2025-03-10 12:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 12:30:04] Production.ERROR: CronJob ID - 5
[2025-03-10 12:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:30:00
[2025-03-10 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:30:04] Production.ERROR: CronJob PID - 7519
[2025-03-10 12:30:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 12:30:04] Production.ERROR: CronJob ID - 7
[2025-03-10 12:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:30:00
[2025-03-10 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:30:04] Production.ERROR: CronJob PID - 7523
[2025-03-10 12:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 12:30:04] Production.ERROR: CronJob ID - 12
[2025-03-10 12:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:30:00
[2025-03-10 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:30:04] Production.ERROR: CronJob PID - 7527
[2025-03-10 12:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 12:30:04] Production.ERROR: CronJob ID - 17
[2025-03-10 12:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:30:00
[2025-03-10 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:30:04] Production.INFO: ==7525== Lock acquired, processing the job...
[2025-03-10 12:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:30:04] Production.INFO: ==7521== Lock acquired, processing the job...
[2025-03-10 12:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:30:04] Production.INFO: ==7529== Lock acquired, processing the job...
[2025-03-10 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 12:30:04] Production.INFO: ==7515== Releasing lock...
[2025-03-10 12:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 12:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 12:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:30:04] Production.ERROR: done
[2025-03-10 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-03-10 12:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 12:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649527', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 12:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:30:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:30:05] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:30:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:30:05] Production.INFO: count ==13
[2025-03-10 12:30:05] Production.INFO: ==7519== Releasing lock...
[2025-03-10 12:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12: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-03-10 12:30:05] Production.INFO: Account Balance End.
[2025-03-10 12:30:05] Production.INFO: count ==21
[2025-03-10 12:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649526') start
[2025-03-10 12:30:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:30:05] Production.INFO: ==7523== Releasing lock...
[2025-03-10 12:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:30:05] Production.ERROR: done
[2025-03-10 12:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649526') end
[2025-03-10 12:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:30:05] Production.INFO: 1
[2025-03-10 12:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:30:05] Production.INFO: ==7529== Releasing lock...
[2025-03-10 12:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:30:05] Production.ERROR: done
[2025-03-10 12:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:30:06
[end_date_ymd] => 2025-03-10 12:30:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:30:06' and `end` < '2025-03-10 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-03-10 12:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649527', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 12:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 12:30:09] Production.INFO: ProcessCDR(1,14649527,1,1,2)
[2025-03-10 12:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649527,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649527,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:30:09] Production.INFO: ==7527== Releasing lock...
[2025-03-10 12:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 12:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 12:30:15] Production.ERROR: CronJobId end10
[2025-03-10 12:30:15] Production.INFO: ==7521== Releasing lock...
[2025-03-10 12:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:30:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:30:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:30:16] Production.INFO: call_cost start
[2025-03-10 12:30:16] Production.INFO: call_cost end
[2025-03-10 12:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:30:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:30:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:30:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:30:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:30:17] Production.INFO: ==7517== Releasing lock...
[2025-03-10 12:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:30:19] Production.INFO: count ==5025
[2025-03-10 12:30:22] Production.ERROR: pbx CDR StartTime 2025-03-10 09:30:06 - End Time 2025-03-10 12:30:06
[2025-03-10 12:30:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649528', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649528', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649528', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649528', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:30:22] Production.INFO: ProcessCDR(1,14649528,1,1,2)
[2025-03-10 12:30:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:30:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:30:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:30:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649528', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649528', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:30:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:30:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:30:27] Production.INFO: ==7525== Releasing lock...
[2025-03-10 12:30:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:30:27] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 16:31:01] Production.INFO: ==7584== Lock acquired, processing the job...
[2025-03-10 16:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:31:01] Production.INFO: neon service started
[2025-03-10 16:31:01] Production.INFO: neon service started
[2025-03-10 16:31:01] Production.INFO: ==7584== Releasing lock...
[2025-03-10 16:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:31:02] Production.INFO: ==7588== Lock acquired, processing the job...
[2025-03-10 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:31:02] Production.INFO: ==7588== Releasing lock...
[2025-03-10 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:31:02] Production.INFO: ==7586== Lock acquired, processing the job...
[2025-03-10 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:31:02] Production.INFO: ==7586== Releasing lock...
[2025-03-10 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:31:03] Production.INFO: ==7591== Lock acquired, processing the job...
[2025-03-10 12:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:31:03] Production.INFO: ==7595== Lock acquired, processing the job...
[2025-03-10 12:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:31:03] Production.INFO: ==7593== Lock acquired, processing the job...
[2025-03-10 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:31:03] Production.INFO: ==7597== Lock acquired, processing the job...
[2025-03-10 12:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:31:03] Production.INFO: ==7599== Lock acquired, processing the job...
[2025-03-10 12:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:31:03] Production.INFO: Account Balance Start.
[2025-03-10 12:31:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:31:03] Production.INFO: 117
[2025-03-10 12:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:31:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:31:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:31:04] Production.INFO: ==7601== Lock acquired, processing the job...
[2025-03-10 12:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:31:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:31:04] Production.INFO: Total Charge 0
[2025-03-10 12:31:04] Production.INFO: CreateAllLog End
[2025-03-10 12:31:04] Production.INFO: ==7593== Releasing lock...
[2025-03-10 12:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12: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-03-10 12:31:04] Production.ERROR: done
[2025-03-10 12:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:31:04] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:31:04] Production.INFO: count ==21
[2025-03-10 12:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649532') start
[2025-03-10 12:31:04] Production.INFO: Account Balance End.
[2025-03-10 12:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649532') end
[2025-03-10 12:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:31:04] Production.INFO: 1
[2025-03-10 12:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:31:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:31:04] Production.INFO: ==7597== Releasing lock...
[2025-03-10 12:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:31:04] Production.INFO: ==7601== Releasing lock...
[2025-03-10 12:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:31:04] Production.ERROR: done
[2025-03-10 12:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:31:05
[end_date_ymd] => 2025-03-10 12:31:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:31:05' and `end` < '2025-03-10 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-03-10 12:31:13] Production.ERROR: CronJobId end10
[2025-03-10 12:31:13] Production.INFO: ==7595== Releasing lock...
[2025-03-10 12:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:31:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:31:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:31:15] Production.INFO: call_cost start
[2025-03-10 12:31:15] Production.INFO: call_cost end
[2025-03-10 12:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:31:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:31:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:31:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:31:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:31:16] Production.INFO: ==7591== Releasing lock...
[2025-03-10 12:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:31:18] Production.INFO: count ==5010
[2025-03-10 12:31:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:31:05 - End Time 2025-03-10 12:31:05
[2025-03-10 12:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649533', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649533', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649533', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649533', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:31:21] Production.INFO: ProcessCDR(1,14649533,1,1,2)
[2025-03-10 12:31:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:31:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:31:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:31:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649533', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649533', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:31:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:31:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:31:26] Production.INFO: ==7599== Releasing lock...
[2025-03-10 12:31:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:31:26] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 16:32:02] Production.INFO: ==7660== Lock acquired, processing the job...
[2025-03-10 16:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:32:02] Production.INFO: neon service started
[2025-03-10 16:32:02] Production.INFO: neon service started
[2025-03-10 16:32:02] Production.INFO: ==7660== Releasing lock...
[2025-03-10 16:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:32:03] Production.INFO: ==7664== Lock acquired, processing the job...
[2025-03-10 16:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:32:03] Production.INFO: ==7662== Lock acquired, processing the job...
[2025-03-10 12:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:32:03] Production.INFO: ==7664== Releasing lock...
[2025-03-10 16:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:32:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:32:03] Production.INFO: ==7662== Releasing lock...
[2025-03-10 12:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:32:04] Production.INFO: ==7669== Lock acquired, processing the job...
[2025-03-10 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:32:04] Production.INFO: ==7667== Lock acquired, processing the job...
[2025-03-10 12:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:32:04] Production.INFO: ==7671== Lock acquired, processing the job...
[2025-03-10 12:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:32:04] Production.INFO: ==7677== Lock acquired, processing the job...
[2025-03-10 12:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:32:04] Production.INFO: ==7673== Lock acquired, processing the job...
[2025-03-10 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12: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-03-10 12:32:04] Production.INFO: count ==13
[2025-03-10 12:32:04] Production.INFO: ==7669== Releasing lock...
[2025-03-10 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12: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-03-10 12:32:04] Production.INFO: count ==21
[2025-03-10 12:32:04] Production.INFO: Account Balance Start.
[2025-03-10 12:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:32:04] Production.INFO: 117
[2025-03-10 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649536') start
[2025-03-10 12:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:32:04] Production.INFO: ==7675== Lock acquired, processing the job...
[2025-03-10 12:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649536') end
[2025-03-10 12:32:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:32:05] Production.INFO: 1
[2025-03-10 12:32:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:32:05] Production.INFO: Date 2025-03-09
[2025-03-10 12:32:05] Production.INFO: Reseller ==> 0
[2025-03-10 12:32:05] Production.INFO: Date 2025-03-10
[2025-03-10 12:32:05] Production.INFO: Reseller ==> 0
[2025-03-10 12:32:05] Production.INFO: ==7677== Releasing lock...
[2025-03-10 12:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:32:05] Production.INFO: Total Charge 0
[2025-03-10 12:32:05] Production.INFO: CreateAllLog End
[2025-03-10 12:32:05] Production.ERROR: done
[2025-03-10 12:32:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:32:05] Production.INFO: Account Balance End.
[2025-03-10 12:32:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:32:05] Production.INFO: ==7673== Releasing lock...
[2025-03-10 12:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:32:05] Production.ERROR: done
[2025-03-10 12:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:32:06
[end_date_ymd] => 2025-03-10 12:32:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:32:06' and `end` < '2025-03-10 12: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-03-10 12:32:13] Production.ERROR: CronJobId end10
[2025-03-10 12:32:13] Production.INFO: ==7671== Releasing lock...
[2025-03-10 12:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:32:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:32:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:32:15] Production.INFO: call_cost start
[2025-03-10 12:32:15] Production.INFO: call_cost end
[2025-03-10 12:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:32:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:32:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:32:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:32:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:32:16] Production.INFO: ==7667== Releasing lock...
[2025-03-10 12:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:32:19] Production.INFO: count ==5028
[2025-03-10 12:32:22] Production.ERROR: pbx CDR StartTime 2025-03-10 09:32:06 - End Time 2025-03-10 12:32:06
[2025-03-10 12:32:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649538', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649538', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649538', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649538', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:32:22] Production.INFO: ProcessCDR(1,14649538,1,1,2)
[2025-03-10 12:32:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:32:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:32:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:32:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649538', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649538', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:32:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:32:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:32:27] Production.INFO: ==7675== Releasing lock...
[2025-03-10 12:32:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:32:27] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 16:33:01] Production.INFO: ==7731== Lock acquired, processing the job...
[2025-03-10 16:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:33:01] Production.INFO: neon service started
[2025-03-10 16:33:01] Production.INFO: neon service started
[2025-03-10 16:33:01] Production.INFO: ==7731== Releasing lock...
[2025-03-10 16:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:33:02] Production.INFO: ==7733== Lock acquired, processing the job...
[2025-03-10 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:33:02] Production.INFO: ==7733== Releasing lock...
[2025-03-10 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:33:02] Production.INFO: ==7735== Lock acquired, processing the job...
[2025-03-10 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:33:02] Production.INFO: ==7735== Releasing lock...
[2025-03-10 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:33:03] Production.INFO: ==7743== Lock acquired, processing the job...
[2025-03-10 12:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:33:03] Production.INFO: Account Balance Start.
[2025-03-10 12:33:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:33:03] Production.INFO: 117
[2025-03-10 12:33:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:33:03] Production.INFO: ==7737== Lock acquired, processing the job...
[2025-03-10 12:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:33:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:33:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:33:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:33:03] Production.INFO: Date 2025-03-10
[2025-03-10 12:33:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:33:03] Production.INFO: ==7748== Lock acquired, processing the job...
[2025-03-10 12:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:33:03] Production.INFO: ==7739== Lock acquired, processing the job...
[2025-03-10 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:33:03] Production.INFO: ==7741== Lock acquired, processing the job...
[2025-03-10 12:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:33:03] Production.INFO: Total Charge 0
[2025-03-10 12:33:03] Production.INFO: ==7745== Lock acquired, processing the job...
[2025-03-10 12:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:33:03] Production.INFO: CreateAllLog End
[2025-03-10 12:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 12:33:03] Production.INFO: count ==13
[2025-03-10 12:33:03] Production.INFO: ==7739== Releasing lock...
[2025-03-10 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 12:33:03] Production.INFO: count ==21
[2025-03-10 12:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649542') start
[2025-03-10 12:33:04] Production.INFO: Account Balance End.
[2025-03-10 12:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649542') end
[2025-03-10 12:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:33:04] Production.INFO: 1
[2025-03-10 12:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:33:04] Production.INFO: ==7748== Releasing lock...
[2025-03-10 12:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:33:04] Production.INFO: ==7743== Releasing lock...
[2025-03-10 12:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:33:04] Production.ERROR: done
[2025-03-10 12:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:33:04] Production.ERROR: done
[2025-03-10 12:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:33:05
[end_date_ymd] => 2025-03-10 12:33:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:33:05' and `end` < '2025-03-10 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-03-10 12:33:13] Production.ERROR: CronJobId end10
[2025-03-10 12:33:13] Production.INFO: ==7741== Releasing lock...
[2025-03-10 12:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:33:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:33:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:33:14] Production.INFO: call_cost start
[2025-03-10 12:33:14] Production.INFO: call_cost end
[2025-03-10 12:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:33:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:33:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:33:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:33:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:33:15] Production.INFO: ==7737== Releasing lock...
[2025-03-10 12:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:33:18] Production.INFO: count ==5030
[2025-03-10 12:33:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:33:05 - End Time 2025-03-10 12:33:05
[2025-03-10 12:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649543', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649543', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649543', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649543', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:33:21] Production.INFO: ProcessCDR(1,14649543,1,1,2)
[2025-03-10 12:33:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:33:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:33:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:33:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649543', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649543', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:33:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:33:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:33:26] Production.INFO: ==7745== Releasing lock...
[2025-03-10 12:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:33:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 16:34:02] Production.INFO: ==7807== Lock acquired, processing the job...
[2025-03-10 16:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:34:02] Production.INFO: neon service started
[2025-03-10 16:34:02] Production.INFO: neon service started
[2025-03-10 16:34:02] Production.INFO: ==7807== Releasing lock...
[2025-03-10 16:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:34:03] Production.INFO: ==7809== Lock acquired, processing the job...
[2025-03-10 12:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:34:03] Production.INFO: ==7811== Lock acquired, processing the job...
[2025-03-10 16:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:34:03] Production.INFO: ==7811== Releasing lock...
[2025-03-10 16:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:34:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:34:03] Production.INFO: ==7809== Releasing lock...
[2025-03-10 12:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:34:04] Production.INFO: ==7814== Lock acquired, processing the job...
[2025-03-10 12:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:34:04] Production.INFO: ==7816== Lock acquired, processing the job...
[2025-03-10 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:34:04] Production.INFO: ==7820== Lock acquired, processing the job...
[2025-03-10 12:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:34:04] Production.INFO: ==7818== Lock acquired, processing the job...
[2025-03-10 12:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:34:04] Production.INFO: Account Balance Start.
[2025-03-10 12:34:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:34:04] Production.INFO: 117
[2025-03-10 12:34:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:34:04] Production.INFO: ==7822== Lock acquired, processing the job...
[2025-03-10 12:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:34:04] Production.INFO: ==7824== Lock acquired, processing the job...
[2025-03-10 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:34:04] Production.INFO: ==7816== Releasing lock...
[2025-03-10 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:34:04] Production.INFO: Total Charge 0
[2025-03-10 12:34:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 12:34:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:34:04] Production.INFO: count ==21
[2025-03-10 12:34:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649547') start
[2025-03-10 12:34:05] Production.ERROR: done
[2025-03-10 12:34:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:34:05] Production.INFO: Account Balance End.
[2025-03-10 12:34:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649547') end
[2025-03-10 12:34:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:34:05] Production.INFO: 1
[2025-03-10 12:34:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:34:05] Production.INFO: ==7824== Releasing lock...
[2025-03-10 12:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:34:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:34:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:34:05] Production.INFO: ==7820== Releasing lock...
[2025-03-10 12:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:34:05] Production.ERROR: done
[2025-03-10 12:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:34:06
[end_date_ymd] => 2025-03-10 12:34:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:34:06' and `end` < '2025-03-10 12: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-03-10 12:34:13] Production.ERROR: CronJobId end10
[2025-03-10 12:34:13] Production.INFO: ==7818== Releasing lock...
[2025-03-10 12:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:34:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:34:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:34:15] Production.INFO: call_cost start
[2025-03-10 12:34:15] Production.INFO: call_cost end
[2025-03-10 12:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:34:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:34:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:34:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:34:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:34:16] Production.INFO: ==7814== Releasing lock...
[2025-03-10 12:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:34:19] Production.INFO: count ==5012
[2025-03-10 12:34:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:34:06 - End Time 2025-03-10 12:34:06
[2025-03-10 12:34:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649548', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649548', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649548', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649548', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:34:22] Production.INFO: ProcessCDR(1,14649548,1,1,2)
[2025-03-10 12:34:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:34:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:34:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:34:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649548', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649548', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:34:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:34:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:34:27] Production.INFO: ==7822== Releasing lock...
[2025-03-10 12:34:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:34:27] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 16:35:01] Production.INFO: ==7882== Lock acquired, processing the job...
[2025-03-10 16:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:35:01] Production.INFO: neon service started
[2025-03-10 16:35:01] Production.INFO: neon service started
[2025-03-10 16:35:01] Production.INFO: ==7882== Releasing lock...
[2025-03-10 16:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:35:02] Production.INFO: ==7884== Lock acquired, processing the job...
[2025-03-10 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:35:02] Production.INFO: ==7884== Releasing lock...
[2025-03-10 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:35:02] Production.INFO: ==7886== Lock acquired, processing the job...
[2025-03-10 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:35:02] Production.INFO: ==7886== Releasing lock...
[2025-03-10 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:35:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:35:03] Production.INFO: ==7893== Lock acquired, processing the job...
[2025-03-10 12:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:35:03] Production.INFO: ==7897== Lock acquired, processing the job...
[2025-03-10 12:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:35:03] Production.INFO: ==7889== Lock acquired, processing the job...
[2025-03-10 12:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:35:03] Production.INFO: ==7891== Lock acquired, processing the job...
[2025-03-10 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:35:03] Production.INFO: ==7895== Lock acquired, processing the job...
[2025-03-10 12:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:35:03] Production.INFO: ==7899== Lock acquired, processing the job...
[2025-03-10 12:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:35:03] Production.INFO: Account Balance Start.
[2025-03-10 12:35:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:35:03] Production.INFO: 117
[2025-03-10 12:35:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 12:35:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:35:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:35:04] Production.INFO: count ==21
[2025-03-10 12:35:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649551') start
[2025-03-10 12:35:04] Production.ERROR: done
[2025-03-10 12:35:04] Production.INFO: Total Charge 0
[2025-03-10 12:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:35:04] Production.INFO: CreateAllLog End
[2025-03-10 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649551') end
[2025-03-10 12:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:35:04] Production.INFO: 1
[2025-03-10 12:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:35:04] Production.INFO: ==7899== Releasing lock...
[2025-03-10 12:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:35:04] Production.INFO: ==7891== Releasing lock...
[2025-03-10 12:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:35:04] Production.INFO: Account Balance End.
[2025-03-10 12:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:35:04] Production.ERROR: done
[2025-03-10 12:35:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:35:04] Production.INFO: ==7895== Releasing lock...
[2025-03-10 12:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:35:05
[end_date_ymd] => 2025-03-10 12:35:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:35:05' and `end` < '2025-03-10 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-03-10 12:35:13] Production.ERROR: CronJobId end10
[2025-03-10 12:35:13] Production.INFO: ==7893== Releasing lock...
[2025-03-10 12:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:35:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:35:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:35:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:35:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:35:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:35:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:35:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:35:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:35:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:35:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:35:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:35:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:35:16] Production.INFO: call_cost start
[2025-03-10 12:35:16] Production.INFO: call_cost end
[2025-03-10 12:35:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:35:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:35:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:35:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:35:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:35:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:35:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:35:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:35:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:35:17] Production.INFO: ==7889== Releasing lock...
[2025-03-10 12:35:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:35:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:35:18] Production.INFO: count ==4984
[2025-03-10 12:35:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:35:05 - End Time 2025-03-10 12:35:05
[2025-03-10 12:35:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649553', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649553', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649553', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649553', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:35:21] Production.INFO: ProcessCDR(1,14649553,1,1,2)
[2025-03-10 12:35:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:35:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:35:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:35:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649553', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649553', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:35:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:35:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:35:26] Production.INFO: ==7897== Releasing lock...
[2025-03-10 12:35:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:35:26] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 16:36:02] Production.INFO: ==7955== Lock acquired, processing the job...
[2025-03-10 16:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:36:02] Production.INFO: neon service started
[2025-03-10 16:36:02] Production.INFO: neon service started
[2025-03-10 16:36:02] Production.INFO: ==7955== Releasing lock...
[2025-03-10 16:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:36:02] Production.INFO: ==7957== Lock acquired, processing the job...
[2025-03-10 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:36:02] Production.INFO: ==7957== Releasing lock...
[2025-03-10 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:36:03] Production.INFO: ==7959== Lock acquired, processing the job...
[2025-03-10 16:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:36:03] Production.INFO: ==7959== Releasing lock...
[2025-03-10 16:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:36:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:36:03] Production.INFO: ==7967== Lock acquired, processing the job...
[2025-03-10 12:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:36:04] Production.INFO: ==7971== Lock acquired, processing the job...
[2025-03-10 12:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:36:04] Production.INFO: Account Balance Start.
[2025-03-10 12:36:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:36:04] Production.INFO: 117
[2025-03-10 12:36:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:36:04] Production.INFO: ==7961== Lock acquired, processing the job...
[2025-03-10 12:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 12: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-03-10 12:36:04] Production.INFO: Total Charge 0
[2025-03-10 12:36:04] Production.INFO: count ==13
[2025-03-10 12:36:04] Production.INFO: ==7963== Lock acquired, processing the job...
[2025-03-10 12:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:36:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 12:36:04] Production.INFO: count ==21
[2025-03-10 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649555') start
[2025-03-10 12:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:36:04] Production.INFO: ==7965== Lock acquired, processing the job...
[2025-03-10 12:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:36:04] Production.INFO: ==7969== Lock acquired, processing the job...
[2025-03-10 12:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649555') end
[2025-03-10 12:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:36:04] Production.INFO: 1
[2025-03-10 12:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:36:04] Production.INFO: Account Balance End.
[2025-03-10 12:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:36:04] Production.INFO: ==7967== Releasing lock...
[2025-03-10 12:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:36:04] Production.INFO: ==7971== Releasing lock...
[2025-03-10 12:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:36:04] Production.INFO: ==7963== Releasing lock...
[2025-03-10 12:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:36:04] Production.ERROR: done
[2025-03-10 12:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:36:05] Production.ERROR: done
[2025-03-10 12:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:36:06
[end_date_ymd] => 2025-03-10 12:36:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:36:06' and `end` < '2025-03-10 12: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-03-10 12:36:13] Production.ERROR: CronJobId end10
[2025-03-10 12:36:13] Production.INFO: ==7965== Releasing lock...
[2025-03-10 12:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:36:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:36:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:36:15] Production.INFO: call_cost start
[2025-03-10 12:36:15] Production.INFO: call_cost end
[2025-03-10 12:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:36:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:36:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:36:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:36:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:36:16] Production.INFO: ==7961== Releasing lock...
[2025-03-10 12:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:36:19] Production.INFO: count ==4991
[2025-03-10 12:36:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:36:06 - End Time 2025-03-10 12:36:06
[2025-03-10 12:36:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649558', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649558', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649558', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649558', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:36:21] Production.INFO: ProcessCDR(1,14649558,1,1,2)
[2025-03-10 12:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:36:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:36:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:36:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649558', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649558', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:36:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:36:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:36:26] Production.INFO: ==7969== Releasing lock...
[2025-03-10 12:36:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:36:26] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 16:37:01] Production.INFO: ==8027== Lock acquired, processing the job...
[2025-03-10 16:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:37:01] Production.INFO: neon service started
[2025-03-10 16:37:01] Production.INFO: neon service started
[2025-03-10 16:37:01] Production.INFO: ==8027== Releasing lock...
[2025-03-10 16:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:37:02] Production.INFO: ==8031== Lock acquired, processing the job...
[2025-03-10 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:37:02] Production.INFO: ==8029== Lock acquired, processing the job...
[2025-03-10 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:37:02] Production.INFO: ==8031== Releasing lock...
[2025-03-10 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:37:02] Production.INFO: ==8029== Releasing lock...
[2025-03-10 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:37:03] Production.INFO: ==8042== Lock acquired, processing the job...
[2025-03-10 12:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:37:03] Production.INFO: ==8044== Lock acquired, processing the job...
[2025-03-10 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:37:04] Production.INFO: ==8034== Lock acquired, processing the job...
[2025-03-10 12:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:37:04] Production.INFO: ==8038== Lock acquired, processing the job...
[2025-03-10 12:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:37:04] Production.INFO: ==8036== Lock acquired, processing the job...
[2025-03-10 12:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:37:04] Production.INFO: ==8040== Lock acquired, processing the job...
[2025-03-10 12:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 12:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:37:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:37:04] Production.INFO: count ==21
[2025-03-10 12:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649559') start
[2025-03-10 12:37:04] Production.ERROR: done
[2025-03-10 12:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:37:04] Production.INFO: Account Balance Start.
[2025-03-10 12:37:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:37:04] Production.INFO: 117
[2025-03-10 12:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:37:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649559') end
[2025-03-10 12:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:37:04] Production.INFO: 1
[2025-03-10 12:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:37:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:37:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:37:04] Production.INFO: ==8044== Releasing lock...
[2025-03-10 12:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:37:04] Production.INFO: Total Charge 0
[2025-03-10 12:37:04] Production.INFO: CreateAllLog End
[2025-03-10 12:37:04] Production.ERROR: done
[2025-03-10 12:37:04] Production.INFO: ==8036== Releasing lock...
[2025-03-10 12:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:37:04] Production.INFO: Account Balance End.
[2025-03-10 12:37:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:37:04] Production.INFO: ==8040== Releasing lock...
[2025-03-10 12:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:37:05
[end_date_ymd] => 2025-03-10 12:37:05
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:37:05' and `end` < '2025-03-10 12: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-03-10 12:37:13] Production.ERROR: CronJobId end10
[2025-03-10 12:37:13] Production.INFO: ==8038== Releasing lock...
[2025-03-10 12:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:37:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:37:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:37:15] Production.INFO: call_cost start
[2025-03-10 12:37:15] Production.INFO: call_cost end
[2025-03-10 12:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:37:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:37:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:37:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:37:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:37:16] Production.INFO: ==8034== Releasing lock...
[2025-03-10 12:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:37:18] Production.INFO: count ==4993
[2025-03-10 12:37:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:37:05 - End Time 2025-03-10 12:37:05
[2025-03-10 12:37:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649563', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649563', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649563', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649563', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:37:20] Production.INFO: ProcessCDR(1,14649563,1,1,2)
[2025-03-10 12:37:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:37:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:37:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:37:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649563', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649563', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:37:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:37:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:37:26] Production.INFO: ==8042== Releasing lock...
[2025-03-10 12:37:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:37:26] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 16:38:02] Production.INFO: ==8097== Lock acquired, processing the job...
[2025-03-10 16:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:38:02] Production.INFO: neon service started
[2025-03-10 16:38:02] Production.INFO: neon service started
[2025-03-10 16:38:02] Production.INFO: ==8097== Releasing lock...
[2025-03-10 16:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:38:02] Production.INFO: ==8099== Lock acquired, processing the job...
[2025-03-10 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:38:02] Production.INFO: ==8099== Releasing lock...
[2025-03-10 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:38:03] Production.INFO: ==8101== Lock acquired, processing the job...
[2025-03-10 16:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:38:03] Production.INFO: ==8101== Releasing lock...
[2025-03-10 16:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:38:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:38:03] Production.INFO: ==8110== Lock acquired, processing the job...
[2025-03-10 12:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:38:04] Production.INFO: ==8114== Lock acquired, processing the job...
[2025-03-10 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:38:04] Production.INFO: ==8104== Lock acquired, processing the job...
[2025-03-10 12:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:38:04] Production.INFO: Account Balance Start.
[2025-03-10 12:38:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:38:04] Production.INFO: 117
[2025-03-10 12:38:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12: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-03-10 12:38:04] Production.INFO: ==8106== Lock acquired, processing the job...
[2025-03-10 12:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:38:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:38:04] Production.INFO: ==8108== Lock acquired, processing the job...
[2025-03-10 12:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:38:04] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:38:04] Production.INFO: count ==21
[2025-03-10 12:38:04] Production.INFO: ==8112== Lock acquired, processing the job...
[2025-03-10 12:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649565') start
[2025-03-10 12:38:04] Production.INFO: Total Charge 0
[2025-03-10 12:38:04] Production.INFO: CreateAllLog End
[2025-03-10 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649565') end
[2025-03-10 12:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:38:04] Production.INFO: 1
[2025-03-10 12:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:38:04] Production.INFO: ==8114== Releasing lock...
[2025-03-10 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:38:04] Production.INFO: ==8106== Releasing lock...
[2025-03-10 12:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:38:04] Production.INFO: Account Balance End.
[2025-03-10 12:38:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:38:04] Production.INFO: ==8110== Releasing lock...
[2025-03-10 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:38:04] Production.ERROR: done
[2025-03-10 12:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:38:05] Production.ERROR: done
[2025-03-10 12:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:38:06
[end_date_ymd] => 2025-03-10 12:38:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:38:06' and `end` < '2025-03-10 12: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-03-10 12:38:13] Production.ERROR: CronJobId end10
[2025-03-10 12:38:13] Production.INFO: ==8108== Releasing lock...
[2025-03-10 12:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:38:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:38:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:38:15] Production.INFO: call_cost start
[2025-03-10 12:38:15] Production.INFO: call_cost end
[2025-03-10 12:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:38:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:38:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:38:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:38:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:38:16] Production.INFO: ==8104== Releasing lock...
[2025-03-10 12:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:38:19] Production.INFO: count ==4989
[2025-03-10 12:38:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:38:06 - End Time 2025-03-10 12:38:06
[2025-03-10 12:38:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649568', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649568', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649568', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649568', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:38:21] Production.INFO: ProcessCDR(1,14649568,1,1,2)
[2025-03-10 12:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649568', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649568', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:38:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:38:26] Production.INFO: ==8112== Releasing lock...
[2025-03-10 12:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:38:26] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 16:39:01] Production.INFO: ==8169== Lock acquired, processing the job...
[2025-03-10 16:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:39:01] Production.INFO: neon service started
[2025-03-10 16:39:01] Production.INFO: neon service started
[2025-03-10 16:39:01] Production.INFO: ==8169== Releasing lock...
[2025-03-10 16:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:39:02] Production.INFO: ==8173== Lock acquired, processing the job...
[2025-03-10 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:39:02] Production.INFO: ==8173== Releasing lock...
[2025-03-10 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:39:02] Production.INFO: ==8171== Lock acquired, processing the job...
[2025-03-10 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:39:02] Production.INFO: ==8171== Releasing lock...
[2025-03-10 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:39:03] Production.INFO: ==8177== Lock acquired, processing the job...
[2025-03-10 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:39:03] Production.INFO: ==8175== Lock acquired, processing the job...
[2025-03-10 12:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:39:03] Production.INFO: ==8184== Lock acquired, processing the job...
[2025-03-10 12:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:39:03] Production.INFO: ==8180== Lock acquired, processing the job...
[2025-03-10 12:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:39:03] Production.INFO: ==8182== Lock acquired, processing the job...
[2025-03-10 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:39:03] Production.INFO: ==8186== Lock acquired, processing the job...
[2025-03-10 12:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:39:03] Production.ERROR: done
[2025-03-10 12:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:39:04] Production.INFO: ==8177== Releasing lock...
[2025-03-10 12:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:39:04] Production.INFO: Account Balance Start.
[2025-03-10 12:39:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:39:04] Production.INFO: 117
[2025-03-10 12:39:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:39:04] Production.ERROR: done
[2025-03-10 12:39:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 12:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:39:04] Production.INFO: count ==13
[2025-03-10 12:39:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 12:39:04] Production.INFO: count ==21
[2025-03-10 12:39:04] Production.INFO: CreateAllLog End
[2025-03-10 12:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649572') start
[2025-03-10 12:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649572') end
[2025-03-10 12:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:39:04] Production.INFO: 1
[2025-03-10 12:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:39:04] Production.INFO: ==8186== Releasing lock...
[2025-03-10 12:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:39:04] Production.INFO: Account Balance End.
[2025-03-10 12:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:39:04] Production.INFO: ==8182== Releasing lock...
[2025-03-10 12:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:39:05
[end_date_ymd] => 2025-03-10 12:39:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:39:05' and `end` < '2025-03-10 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-03-10 12:39:12] Production.ERROR: CronJobId end10
[2025-03-10 12:39:12] Production.INFO: ==8180== Releasing lock...
[2025-03-10 12:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:39:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:39:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:39:15] Production.INFO: call_cost start
[2025-03-10 12:39:15] Production.INFO: call_cost end
[2025-03-10 12:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:39:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:39:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:39:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:39:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:39:16] Production.INFO: ==8175== Releasing lock...
[2025-03-10 12:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:39:18] Production.INFO: count ==5009
[2025-03-10 12:39:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:39:05 - End Time 2025-03-10 12:39:05
[2025-03-10 12:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649573', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649573', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649573', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649573', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:39:20] Production.INFO: ProcessCDR(1,14649573,1,1,2)
[2025-03-10 12:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649573', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649573', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:39:26] Production.INFO: ==8184== Releasing lock...
[2025-03-10 12:39:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:39:26] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 16:40:02] Production.INFO: ==8244== Lock acquired, processing the job...
[2025-03-10 16:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:40:02] Production.INFO: neon service started
[2025-03-10 16:40:02] Production.INFO: neon service started
[2025-03-10 16:40:02] Production.INFO: ==8244== Releasing lock...
[2025-03-10 16:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:40:02] Production.INFO: ==8246== Lock acquired, processing the job...
[2025-03-10 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:40:03] Production.INFO: ==8248== Lock acquired, processing the job...
[2025-03-10 16:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:40:03] Production.INFO: ==8246== Releasing lock...
[2025-03-10 12:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:40:03] Production.INFO: ==8248== Releasing lock...
[2025-03-10 16:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:40:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:40:04] Production.INFO: ==8253== Lock acquired, processing the job...
[2025-03-10 12:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:40:04] Production.INFO: ==8261== Lock acquired, processing the job...
[2025-03-10 12:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:40:04] Production.INFO: ==8265== Lock acquired, processing the job...
[2025-03-10 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:40:04] Production.INFO: ==8251== Lock acquired, processing the job...
[2025-03-10 12:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 12:40:04] Production.INFO: ==8255== Lock acquired, processing the job...
[2025-03-10 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 12:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:40:04] Production.ERROR: CronJob PID - 8253
[2025-03-10 12:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 12:40:04] Production.ERROR: CronJob ID - 5
[2025-03-10 12:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:40:00
[2025-03-10 12:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:40:04] Production.ERROR: CronJob PID - 8261
[2025-03-10 12:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 12:40:04] Production.ERROR: CronJob ID - 16
[2025-03-10 12:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:40:00
[2025-03-10 12:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 12:40:04] Production.INFO: ==8251== Releasing lock...
[2025-03-10 12:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 12:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 12:40:04] Production.INFO: ==8257== Lock acquired, processing the job...
[2025-03-10 12:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:40:04] Production.INFO: ==8259== Lock acquired, processing the job...
[2025-03-10 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:40:04] Production.INFO: ==8263== Lock acquired, processing the job...
[2025-03-10 12:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 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-03-10 12:40:04] Production.INFO: count ==13
[2025-03-10 12:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 12:40:04] Production.INFO: count ==21
[2025-03-10 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649575') start
[2025-03-10 12:40:04] Production.INFO: Account Balance Start.
[2025-03-10 12:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:40:04] Production.INFO: 117
[2025-03-10 12:40:04] Production.ERROR: done
[2025-03-10 12:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:40:04] Production.INFO: ==8255== Releasing lock...
[2025-03-10 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649575') end
[2025-03-10 12:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:40:04] Production.INFO: 1
[2025-03-10 12:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:40:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:40:05] Production.ERROR: done
[2025-03-10 12:40:05] Production.INFO: ==8265== Releasing lock...
[2025-03-10 12:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:40:05] Production.INFO: Date 2025-03-10
[2025-03-10 12:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 12:40:05] Production.INFO: Total Charge 0
[2025-03-10 12:40:05] Production.INFO: CreateAllLog End
[2025-03-10 12:40:05] Production.ERROR: done
[2025-03-10 12:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 12:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649579', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 12:40:05] Production.INFO: Account Balance End.
[2025-03-10 12:40:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:40:05] Production.INFO: ==8259== Releasing lock...
[2025-03-10 12:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:40:06
[end_date_ymd] => 2025-03-10 12:40:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:40:06' and `end` < '2025-03-10 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-03-10 12:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649579', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 12:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 12:40:09] Production.INFO: ProcessCDR(1,14649579,1,1,2)
[2025-03-10 12:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649579,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649579,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:40:09] Production.INFO: ==8263== Releasing lock...
[2025-03-10 12:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 12:40:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 12:40:15] Production.ERROR: CronJobId end10
[2025-03-10 12:40:15] Production.INFO: ==8257== Releasing lock...
[2025-03-10 12:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:40:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:40:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:40:17] Production.INFO: call_cost start
[2025-03-10 12:40:17] Production.INFO: call_cost end
[2025-03-10 12:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:40:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:40:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:40:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:40:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:40:18] Production.INFO: ==8253== Releasing lock...
[2025-03-10 12:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:40:19] Production.INFO: count ==5007
[2025-03-10 12:40:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:40:06 - End Time 2025-03-10 12:40:06
[2025-03-10 12:40:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649578', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649578', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649578', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649578', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:40:21] Production.INFO: ProcessCDR(1,14649578,1,1,2)
[2025-03-10 12:40:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:40:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:40:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:40:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649578', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649578', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:40:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:40:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:40:26] Production.INFO: ==8261== Releasing lock...
[2025-03-10 12:40:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:40:26] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 16:41:01] Production.INFO: ==8322== Lock acquired, processing the job...
[2025-03-10 16:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:41:01] Production.INFO: neon service started
[2025-03-10 16:41:01] Production.INFO: neon service started
[2025-03-10 16:41:01] Production.INFO: ==8322== Releasing lock...
[2025-03-10 16:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:41:02] Production.INFO: ==8326== Lock acquired, processing the job...
[2025-03-10 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:41:02] Production.INFO: ==8326== Releasing lock...
[2025-03-10 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:41:02] Production.INFO: ==8324== Lock acquired, processing the job...
[2025-03-10 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:41:02] Production.INFO: ==8324== Releasing lock...
[2025-03-10 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:41:03] Production.INFO: ==8333== Lock acquired, processing the job...
[2025-03-10 12:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:41:03] Production.INFO: ==8339== Lock acquired, processing the job...
[2025-03-10 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 12:41:03] Production.INFO: count ==13
[2025-03-10 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-03-10 12:41:03] Production.INFO: count ==21
[2025-03-10 12:41:03] Production.INFO: ==8331== Lock acquired, processing the job...
[2025-03-10 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:41:03] Production.INFO: ==8329== Lock acquired, processing the job...
[2025-03-10 12:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649580') start
[2025-03-10 12:41:03] Production.INFO: ==8335== Lock acquired, processing the job...
[2025-03-10 12:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:41:03] Production.INFO: ==8337== Lock acquired, processing the job...
[2025-03-10 12:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649580') end
[2025-03-10 12:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:41:03] Production.INFO: 1
[2025-03-10 12:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:41:03] Production.INFO: ==8339== Releasing lock...
[2025-03-10 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:41:04] Production.INFO: Account Balance Start.
[2025-03-10 12:41:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:41:04] Production.INFO: 117
[2025-03-10 12:41:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:41:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:41:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:41:04] Production.ERROR: done
[2025-03-10 12:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:41:04] Production.INFO: Total Charge 0
[2025-03-10 12:41:04] Production.INFO: ==8331== Releasing lock...
[2025-03-10 12:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:41:04] Production.INFO: CreateAllLog End
[2025-03-10 12:41:04] Production.ERROR: done
[2025-03-10 12:41:04] Production.INFO: Account Balance End.
[2025-03-10 12:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:41:04] Production.INFO: ==8335== Releasing lock...
[2025-03-10 12:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:41:05
[end_date_ymd] => 2025-03-10 12:41:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:41:05' and `end` < '2025-03-10 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-03-10 12:41:12] Production.ERROR: CronJobId end10
[2025-03-10 12:41:12] Production.INFO: ==8333== Releasing lock...
[2025-03-10 12:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:41:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:41:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:41:15] Production.INFO: call_cost start
[2025-03-10 12:41:15] Production.INFO: call_cost end
[2025-03-10 12:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:41:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:41:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:41:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:41:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:41:16] Production.INFO: ==8329== Releasing lock...
[2025-03-10 12:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:41:18] Production.INFO: count ==5041
[2025-03-10 12:41:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:41:05 - End Time 2025-03-10 12:41:05
[2025-03-10 12:41:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649584', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649584', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649584', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649584', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:41:21] Production.INFO: ProcessCDR(1,14649584,1,1,2)
[2025-03-10 12:41:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:41:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:41:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:41:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649584', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649584', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:41:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:41:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:41:26] Production.INFO: ==8337== Releasing lock...
[2025-03-10 12:41:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:41:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 16:42:02] Production.INFO: ==8392== Lock acquired, processing the job...
[2025-03-10 16:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:42:02] Production.INFO: neon service started
[2025-03-10 16:42:02] Production.INFO: neon service started
[2025-03-10 16:42:02] Production.INFO: ==8392== Releasing lock...
[2025-03-10 16:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:42:03] Production.INFO: ==8394== Lock acquired, processing the job...
[2025-03-10 12:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:42:03] Production.INFO: ==8396== Lock acquired, processing the job...
[2025-03-10 16:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:42:03] Production.INFO: ==8396== Releasing lock...
[2025-03-10 16:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:42:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:42:03] Production.INFO: ==8394== Releasing lock...
[2025-03-10 12:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:42:04] Production.INFO: ==8399== Lock acquired, processing the job...
[2025-03-10 12:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:42:04] Production.INFO: ==8405== Lock acquired, processing the job...
[2025-03-10 12:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:42:04] Production.INFO: Account Balance Start.
[2025-03-10 12:42:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:42:04] Production.INFO: 117
[2025-03-10 12:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:42:04] Production.INFO: ==8401== Lock acquired, processing the job...
[2025-03-10 12:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:42:04] Production.INFO: ==8403== Lock acquired, processing the job...
[2025-03-10 12:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:42:04] Production.INFO: Total Charge 0
[2025-03-10 12:42:04] Production.INFO: CreateAllLog End
[2025-03-10 12:42:04] Production.INFO: ==8407== Lock acquired, processing the job...
[2025-03-10 12:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:42:04] Production.INFO: ==8409== Lock acquired, processing the job...
[2025-03-10 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 12:42:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:42:04] Production.INFO: count ==21
[2025-03-10 12:42:04] Production.INFO: ==8401== Releasing lock...
[2025-03-10 12:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649588') start
[2025-03-10 12:42:05] Production.INFO: Account Balance End.
[2025-03-10 12:42:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:42:05] Production.INFO: ==8405== Releasing lock...
[2025-03-10 12:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:42:05] Production.ERROR: done
[2025-03-10 12:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649588') end
[2025-03-10 12:42:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:42:05] Production.INFO: 1
[2025-03-10 12:42:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:42:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:42:05] Production.INFO: ==8409== Releasing lock...
[2025-03-10 12:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:42:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:42:05] Production.ERROR: done
[2025-03-10 12:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:42:06
[end_date_ymd] => 2025-03-10 12:42:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:42:06' and `end` < '2025-03-10 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-03-10 12:42:14] Production.ERROR: CronJobId end10
[2025-03-10 12:42:14] Production.INFO: ==8403== Releasing lock...
[2025-03-10 12:42:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:42:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:42:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:42:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:42:15] Production.INFO: call_cost start
[2025-03-10 12:42:15] Production.INFO: call_cost end
[2025-03-10 12:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:42:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:42:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:42:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:42:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:42:16] Production.INFO: ==8399== Releasing lock...
[2025-03-10 12:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:42:19] Production.INFO: count ==5060
[2025-03-10 12:42:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:42:06 - End Time 2025-03-10 12:42:06
[2025-03-10 12:42:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649589', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649589', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649589', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649589', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:42:22] Production.INFO: ProcessCDR(1,14649589,1,1,2)
[2025-03-10 12:42:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:42:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:42:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:42:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649589', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649589', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:42:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:42:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:42:27] Production.INFO: ==8407== Releasing lock...
[2025-03-10 12:42:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:42:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:43:01] Production.INFO: ==8461== Lock acquired, processing the job...
[2025-03-10 16:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:43:01] Production.INFO: neon service started
[2025-03-10 16:43:01] Production.INFO: neon service started
[2025-03-10 16:43:01] Production.INFO: ==8461== Releasing lock...
[2025-03-10 16:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:43:02] Production.INFO: ==8465== Lock acquired, processing the job...
[2025-03-10 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:43:02] Production.INFO: ==8465== Releasing lock...
[2025-03-10 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:43:02] Production.INFO: ==8463== Lock acquired, processing the job...
[2025-03-10 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:43:02] Production.INFO: ==8463== Releasing lock...
[2025-03-10 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:43:03] Production.INFO: ==8468== Lock acquired, processing the job...
[2025-03-10 12:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:43:03] Production.INFO: ==8470== Lock acquired, processing the job...
[2025-03-10 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:43:03] Production.INFO: ==8472== Lock acquired, processing the job...
[2025-03-10 12:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:43:03] Production.INFO: ==8470== Releasing lock...
[2025-03-10 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:43:04] Production.INFO: ==8474== Lock acquired, processing the job...
[2025-03-10 12:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:43:04] Production.INFO: ==8476== Lock acquired, processing the job...
[2025-03-10 12:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:43:04] Production.INFO: Account Balance Start.
[2025-03-10 12:43:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:43:04] Production.INFO: 117
[2025-03-10 12:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:43:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:43:04] Production.INFO: ==8478== Lock acquired, processing the job...
[2025-03-10 12:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:43:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:43:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:43:04] Production.INFO: Total Charge 0
[2025-03-10 12: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-03-10 12:43:04] Production.INFO: CreateAllLog End
[2025-03-10 12:43:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:43:04] Production.INFO: count ==21
[2025-03-10 12:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649593') start
[2025-03-10 12:43:04] Production.ERROR: done
[2025-03-10 12:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649593') end
[2025-03-10 12:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:43:04] Production.INFO: 1
[2025-03-10 12:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:43:04] Production.INFO: ==8478== Releasing lock...
[2025-03-10 12:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:43:04] Production.ERROR: done
[2025-03-10 12:43:04] Production.INFO: Account Balance End.
[2025-03-10 12:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:43:04] Production.INFO: ==8474== Releasing lock...
[2025-03-10 12:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:43:05
[end_date_ymd] => 2025-03-10 12:43:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:43:05' and `end` < '2025-03-10 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-03-10 12:43:13] Production.ERROR: CronJobId end10
[2025-03-10 12:43:13] Production.INFO: ==8472== Releasing lock...
[2025-03-10 12:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:43:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:43:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:43:14] Production.INFO: call_cost start
[2025-03-10 12:43:14] Production.INFO: call_cost end
[2025-03-10 12:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:43:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:43:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:43:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:43:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:43:15] Production.INFO: ==8468== Releasing lock...
[2025-03-10 12:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:43:19] Production.INFO: count ==5064
[2025-03-10 12:43:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:43:05 - End Time 2025-03-10 12:43:05
[2025-03-10 12:43:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649594', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649594', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649594', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649594', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:43:21] Production.INFO: ProcessCDR(1,14649594,1,1,2)
[2025-03-10 12:43:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:43:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:43:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:43:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649594', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649594', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:43:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:43:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:43:26] Production.INFO: ==8476== Releasing lock...
[2025-03-10 12:43:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:43:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:44:02] Production.INFO: ==8533== Lock acquired, processing the job...
[2025-03-10 16:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:44:02] Production.INFO: neon service started
[2025-03-10 16:44:02] Production.INFO: neon service started
[2025-03-10 16:44:02] Production.INFO: ==8533== Releasing lock...
[2025-03-10 16:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:44:03] Production.INFO: ==8535== Lock acquired, processing the job...
[2025-03-10 12:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:44:03] Production.INFO: ==8537== Lock acquired, processing the job...
[2025-03-10 16:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:44:03] Production.INFO: ==8537== Releasing lock...
[2025-03-10 16:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:44:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:44:03] Production.INFO: ==8535== Releasing lock...
[2025-03-10 12:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:44:04] Production.INFO: ==8540== Lock acquired, processing the job...
[2025-03-10 12:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:44:04] Production.INFO: ==8542== Lock acquired, processing the job...
[2025-03-10 12:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:44:04] Production.INFO: ==8544== Lock acquired, processing the job...
[2025-03-10 12:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:44:04] Production.INFO: ==8546== Lock acquired, processing the job...
[2025-03-10 12:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:44:04] Production.INFO: ==8548== Lock acquired, processing the job...
[2025-03-10 12:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:44:04] Production.INFO: ==8550== Lock acquired, processing the job...
[2025-03-10 12:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:44:04] Production.INFO: Account Balance Start.
[2025-03-10 12:44:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:44:04] Production.INFO: 117
[2025-03-10 12:44:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 12:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:44:04] Production.INFO: count ==13
[2025-03-10 12:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 12:44:04] Production.INFO: count ==21
[2025-03-10 12:44:04] Production.INFO: ==8542== Releasing lock...
[2025-03-10 12:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:44:04] Production.INFO: Total Charge 0
[2025-03-10 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649598') start
[2025-03-10 12:44:04] Production.INFO: CreateAllLog End
[2025-03-10 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649598') end
[2025-03-10 12:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:44:04] Production.INFO: 1
[2025-03-10 12:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:44:04] Production.INFO: Account Balance End.
[2025-03-10 12:44:04] Production.INFO: ==8550== Releasing lock...
[2025-03-10 12:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:44:04] Production.INFO: ==8546== Releasing lock...
[2025-03-10 12:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:44:05] Production.ERROR: done
[2025-03-10 12:44:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:44:05] Production.ERROR: done
[2025-03-10 12:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:44:06
[end_date_ymd] => 2025-03-10 12:44:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:44:06' and `end` < '2025-03-10 12:44:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 12:44:12] Production.ERROR: CronJobId end10
[2025-03-10 12:44:12] Production.INFO: ==8544== Releasing lock...
[2025-03-10 12:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:44:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:44:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:44:15] Production.INFO: call_cost start
[2025-03-10 12:44:15] Production.INFO: call_cost end
[2025-03-10 12:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:44:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:44:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:44:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:44:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:44:16] Production.INFO: ==8540== Releasing lock...
[2025-03-10 12:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:44:19] Production.INFO: count ==5090
[2025-03-10 12:44:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:44:06 - End Time 2025-03-10 12:44:06
[2025-03-10 12:44:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649599', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649599', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649599', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649599', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:44:21] Production.INFO: ProcessCDR(1,14649599,1,1,2)
[2025-03-10 12:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649599', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649599', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:44:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:44:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:44:27] Production.INFO: ==8548== Releasing lock...
[2025-03-10 12:44:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:44:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:45:01] Production.INFO: ==8605== Lock acquired, processing the job...
[2025-03-10 16:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:45:01] Production.INFO: neon service started
[2025-03-10 16:45:01] Production.INFO: neon service started
[2025-03-10 16:45:01] Production.INFO: ==8605== Releasing lock...
[2025-03-10 16:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:45:02] Production.INFO: ==8607== Lock acquired, processing the job...
[2025-03-10 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:45:02] Production.INFO: ==8609== Lock acquired, processing the job...
[2025-03-10 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:45:02] Production.INFO: ==8609== Releasing lock...
[2025-03-10 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:45:02] Production.INFO: ==8607== Releasing lock...
[2025-03-10 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:45:03] Production.INFO: ==8618== Lock acquired, processing the job...
[2025-03-10 12:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:45:03] Production.INFO: ==8616== Lock acquired, processing the job...
[2025-03-10 12:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:45:03] Production.INFO: Account Balance Start.
[2025-03-10 12:45:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:45:03] Production.INFO: 117
[2025-03-10 12:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:45:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:45:03] Production.INFO: ==8622== Lock acquired, processing the job...
[2025-03-10 12:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:45:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:45:03] Production.INFO: Date 2025-03-10
[2025-03-10 12:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:45:03] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 12:45:03] Production.INFO: CreateAllLog End
[2025-03-10 12:45:03] Production.INFO: ==8612== Lock acquired, processing the job...
[2025-03-10 12:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:45:03] Production.INFO: count ==13
[2025-03-10 12:45:03] Production.INFO: Account Balance End.
[2025-03-10 12: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-03-10 12:45:03] Production.INFO: ==8614== Lock acquired, processing the job...
[2025-03-10 12:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:45:03] Production.INFO: count ==21
[2025-03-10 12:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649601') start
[2025-03-10 12:45:03] Production.ERROR: CronJobId end 12
[2025-03-10 12:45:03] Production.INFO: ==8618== Releasing lock...
[2025-03-10 12:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:45:03] Production.INFO: ==8620== Lock acquired, processing the job...
[2025-03-10 12:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649601') end
[2025-03-10 12:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:45:03] Production.INFO: 1
[2025-03-10 12:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:45:03] Production.INFO: ==8622== Releasing lock...
[2025-03-10 12:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:45:04] Production.ERROR: done
[2025-03-10 12:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:45:04] Production.INFO: ==8614== Releasing lock...
[2025-03-10 12:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:45:04] Production.ERROR: done
[2025-03-10 12:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:45:05
[end_date_ymd] => 2025-03-10 12:45:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:45:05' and `end` < '2025-03-10 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-03-10 12:45:11] Production.ERROR: CronJobId end10
[2025-03-10 12:45:11] Production.INFO: ==8616== Releasing lock...
[2025-03-10 12:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:45:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:45:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:45:14] Production.INFO: call_cost start
[2025-03-10 12:45:14] Production.INFO: call_cost end
[2025-03-10 12:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:45:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:45:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:45:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:45:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:45:15] Production.INFO: ==8612== Releasing lock...
[2025-03-10 12:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:45:18] Production.INFO: count ==5094
[2025-03-10 12:45:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:45:05 - End Time 2025-03-10 12:45:05
[2025-03-10 12:45:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649604', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649604', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649604', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649604', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:45:21] Production.INFO: ProcessCDR(1,14649604,1,1,2)
[2025-03-10 12:45:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:45:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:45:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:45:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649604', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649604', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:45:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:45:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:45:26] Production.INFO: ==8620== Releasing lock...
[2025-03-10 12:45:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:45:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 16:46:02] Production.INFO: ==8716== Lock acquired, processing the job...
[2025-03-10 16:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:46:02] Production.INFO: neon service started
[2025-03-10 16:46:02] Production.INFO: neon service started
[2025-03-10 16:46:02] Production.INFO: ==8716== Releasing lock...
[2025-03-10 16:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:46:02] Production.INFO: ==8721== Lock acquired, processing the job...
[2025-03-10 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:46:02] Production.INFO: ==8721== Releasing lock...
[2025-03-10 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:46:02] Production.INFO: ==8719== Lock acquired, processing the job...
[2025-03-10 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:46:03] Production.INFO: ==8719== Releasing lock...
[2025-03-10 12:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:46:03] Production.INFO: ==8723== Lock acquired, processing the job...
[2025-03-10 12:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:46:03] Production.INFO: ==8725== Lock acquired, processing the job...
[2025-03-10 12:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:46:04] Production.INFO: ==8727== Lock acquired, processing the job...
[2025-03-10 12:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:46:04] Production.INFO: ==8725== Releasing lock...
[2025-03-10 12:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:46:04] Production.INFO: ==8729== Lock acquired, processing the job...
[2025-03-10 12:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:46:04] Production.INFO: ==8731== Lock acquired, processing the job...
[2025-03-10 12:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:46:04] Production.INFO: ==8733== Lock acquired, processing the job...
[2025-03-10 12:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:46:04] Production.INFO: Account Balance Start.
[2025-03-10 12:46:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:46:04] Production.INFO: 117
[2025-03-10 12:46:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 12:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:46:04] Production.INFO: count ==13
[2025-03-10 12:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 12:46:04] Production.INFO: count ==21
[2025-03-10 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649608') start
[2025-03-10 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649608') end
[2025-03-10 12:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:46:04] Production.INFO: 1
[2025-03-10 12:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:46:04] Production.ERROR: done
[2025-03-10 12:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:46:05] Production.INFO: Date 2025-03-10
[2025-03-10 12:46:05] Production.INFO: Reseller ==> 0
[2025-03-10 12:46:05] Production.INFO: ==8733== Releasing lock...
[2025-03-10 12:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:46:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:46:05] Production.INFO: Total Charge 0
[2025-03-10 12:46:05] Production.INFO: CreateAllLog End
[2025-03-10 12:46:05] Production.ERROR: done
[2025-03-10 12:46:05] Production.INFO: Account Balance End.
[2025-03-10 12:46:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:46:05] Production.INFO: ==8729== Releasing lock...
[2025-03-10 12:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:46:06
[end_date_ymd] => 2025-03-10 12:46:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:46:06' and `end` < '2025-03-10 12: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-03-10 12:46:13] Production.ERROR: CronJobId end10
[2025-03-10 12:46:13] Production.INFO: ==8727== Releasing lock...
[2025-03-10 12:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:46:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:46:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:46:15] Production.INFO: call_cost start
[2025-03-10 12:46:15] Production.INFO: call_cost end
[2025-03-10 12:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:46:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:46:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:46:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:46:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:46:16] Production.INFO: ==8723== Releasing lock...
[2025-03-10 12:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:46:19] Production.INFO: count ==5127
[2025-03-10 12:46:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:46:06 - End Time 2025-03-10 12:46:06
[2025-03-10 12:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649609', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649609', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649609', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649609', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:46:21] Production.INFO: ProcessCDR(1,14649609,1,1,2)
[2025-03-10 12:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:46:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:46:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:46:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649609', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649609', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:46:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:46:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:46:27] Production.INFO: ==8731== Releasing lock...
[2025-03-10 12:46:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:46:27] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 16:47:01] Production.INFO: ==8787== Lock acquired, processing the job...
[2025-03-10 16:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:47:01] Production.INFO: neon service started
[2025-03-10 16:47:01] Production.INFO: neon service started
[2025-03-10 16:47:01] Production.INFO: ==8787== Releasing lock...
[2025-03-10 16:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:47:02] Production.INFO: ==8789== Lock acquired, processing the job...
[2025-03-10 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:47:02] Production.INFO: ==8789== Releasing lock...
[2025-03-10 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:47:02] Production.INFO: ==8791== Lock acquired, processing the job...
[2025-03-10 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:47:02] Production.INFO: ==8791== Releasing lock...
[2025-03-10 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:47:03] Production.INFO: ==8798== Lock acquired, processing the job...
[2025-03-10 12:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:47:03] Production.INFO: ==8804== Lock acquired, processing the job...
[2025-03-10 12:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:47:03] Production.INFO: ==8794== Lock acquired, processing the job...
[2025-03-10 12:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 12:47:03] Production.INFO: ==8796== Lock acquired, processing the job...
[2025-03-10 12:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:47:03] Production.INFO: count ==13
[2025-03-10 12:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 12:47:03] Production.INFO: ==8800== Lock acquired, processing the job...
[2025-03-10 12:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:47:03] Production.INFO: count ==21
[2025-03-10 12:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649610') start
[2025-03-10 12:47:03] Production.INFO: ==8802== Lock acquired, processing the job...
[2025-03-10 12:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:47:03] Production.INFO: Account Balance Start.
[2025-03-10 12:47:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:47:03] Production.INFO: 117
[2025-03-10 12:47:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:47:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649610') end
[2025-03-10 12:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:47:03] Production.INFO: 1
[2025-03-10 12:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:47:04] Production.INFO: ==8804== Releasing lock...
[2025-03-10 12:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:47:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:47:04] Production.INFO: ==8796== Releasing lock...
[2025-03-10 12:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:47:04] Production.INFO: Total Charge 0
[2025-03-10 12:47:04] Production.INFO: CreateAllLog End
[2025-03-10 12:47:04] Production.ERROR: done
[2025-03-10 12:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:47:04] Production.ERROR: done
[2025-03-10 12:47:04] Production.INFO: Account Balance End.
[2025-03-10 12:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:47:04] Production.INFO: ==8800== Releasing lock...
[2025-03-10 12:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:47:05
[end_date_ymd] => 2025-03-10 12:47:05
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:47:05' and `end` < '2025-03-10 12: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-03-10 12:47:12] Production.ERROR: CronJobId end10
[2025-03-10 12:47:12] Production.INFO: ==8798== Releasing lock...
[2025-03-10 12:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:47:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:47:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:47:15] Production.INFO: call_cost start
[2025-03-10 12:47:15] Production.INFO: call_cost end
[2025-03-10 12:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:47:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:47:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:47:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:47:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:47:16] Production.INFO: ==8794== Releasing lock...
[2025-03-10 12:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:47:18] Production.INFO: count ==5140
[2025-03-10 12:47:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:47:05 - End Time 2025-03-10 12:47:05
[2025-03-10 12:47:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649614', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649614', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649614', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649614', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:47:20] Production.INFO: ProcessCDR(1,14649614,1,1,2)
[2025-03-10 12:47:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:47:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649614', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649614', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:47:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:47:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:47:26] Production.INFO: ==8802== Releasing lock...
[2025-03-10 12:47:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:47:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 16:48:02] Production.INFO: ==8858== Lock acquired, processing the job...
[2025-03-10 16:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:48:02] Production.INFO: neon service started
[2025-03-10 16:48:02] Production.INFO: neon service started
[2025-03-10 16:48:02] Production.INFO: ==8858== Releasing lock...
[2025-03-10 16:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:48:02] Production.INFO: ==8862== Lock acquired, processing the job...
[2025-03-10 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:48:02] Production.INFO: ==8862== Releasing lock...
[2025-03-10 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:48:02] Production.INFO: ==8860== Lock acquired, processing the job...
[2025-03-10 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:48:03] Production.INFO: ==8860== Releasing lock...
[2025-03-10 12:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:48:04] Production.INFO: ==8867== Lock acquired, processing the job...
[2025-03-10 12:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:48:04] Production.INFO: ==8869== Lock acquired, processing the job...
[2025-03-10 12:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:48:04] Production.INFO: ==8875== Lock acquired, processing the job...
[2025-03-10 12:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:48:04] Production.INFO: ==8865== Lock acquired, processing the job...
[2025-03-10 12:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:48:04] Production.INFO: ==8873== Lock acquired, processing the job...
[2025-03-10 12:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:48:04] Production.INFO: ==8871== Lock acquired, processing the job...
[2025-03-10 12:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 12:48:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:48:04] Production.INFO: count ==21
[2025-03-10 12:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649616') start
[2025-03-10 12:48:04] Production.INFO: ==8867== Releasing lock...
[2025-03-10 12:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649616') end
[2025-03-10 12:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:48:04] Production.INFO: 1
[2025-03-10 12:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:48:04] Production.INFO: Account Balance Start.
[2025-03-10 12:48:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:48:04] Production.INFO: 117
[2025-03-10 12:48:04] Production.ERROR: done
[2025-03-10 12:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:48:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:48:04] Production.INFO: ==8875== Releasing lock...
[2025-03-10 12:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:48:04] Production.ERROR: done
[2025-03-10 12:48:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:48:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:48:04] Production.INFO: Total Charge 0
[2025-03-10 12:48:05] Production.INFO: CreateAllLog End
[2025-03-10 12:48:05] Production.INFO: Account Balance End.
[2025-03-10 12:48:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:48:05] Production.INFO: ==8871== Releasing lock...
[2025-03-10 12:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:48:06
[end_date_ymd] => 2025-03-10 12:48:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:48:06' and `end` < '2025-03-10 12: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-03-10 12:48:12] Production.ERROR: CronJobId end10
[2025-03-10 12:48:12] Production.INFO: ==8869== Releasing lock...
[2025-03-10 12:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:48:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:48:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:48:15] Production.INFO: call_cost start
[2025-03-10 12:48:15] Production.INFO: call_cost end
[2025-03-10 12:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:48:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:48:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:48:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:48:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:48:16] Production.INFO: ==8865== Releasing lock...
[2025-03-10 12:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:48:19] Production.INFO: count ==5130
[2025-03-10 12:48:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:48:06 - End Time 2025-03-10 12:48:06
[2025-03-10 12:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649619', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649619', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649619', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649619', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:48:21] Production.INFO: ProcessCDR(1,14649619,1,1,2)
[2025-03-10 12:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:48:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:48:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:48:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649619', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649619', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:48:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:48:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:48:26] Production.INFO: ==8873== Releasing lock...
[2025-03-10 12:48:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:48:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 16:49:01] Production.INFO: ==8932== Lock acquired, processing the job...
[2025-03-10 16:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:49:01] Production.INFO: neon service started
[2025-03-10 16:49:01] Production.INFO: neon service started
[2025-03-10 16:49:01] Production.INFO: ==8932== Releasing lock...
[2025-03-10 16:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:49:02] Production.INFO: ==8934== Lock acquired, processing the job...
[2025-03-10 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:49:02] Production.INFO: ==8936== Lock acquired, processing the job...
[2025-03-10 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:49:02] Production.INFO: ==8936== Releasing lock...
[2025-03-10 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:49:02] Production.INFO: ==8934== Releasing lock...
[2025-03-10 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:49:03] Production.INFO: ==8943== Lock acquired, processing the job...
[2025-03-10 12:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:49:03] Production.INFO: ==8949== Lock acquired, processing the job...
[2025-03-10 12:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:49:03] Production.INFO: ==8939== Lock acquired, processing the job...
[2025-03-10 12:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 12:49:03] Production.INFO: ==8941== Lock acquired, processing the job...
[2025-03-10 12:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:49:03] Production.INFO: count ==13
[2025-03-10 12:49:03] Production.INFO: ==8945== Lock acquired, processing the job...
[2025-03-10 12:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12: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-03-10 12:49:03] Production.INFO: count ==21
[2025-03-10 12:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649620') start
[2025-03-10 12:49:04] Production.INFO: ==8947== Lock acquired, processing the job...
[2025-03-10 12:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649620') end
[2025-03-10 12:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:49:04] Production.INFO: 1
[2025-03-10 12:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:49:04] Production.INFO: ==8949== Releasing lock...
[2025-03-10 12:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:49:04] Production.INFO: Account Balance Start.
[2025-03-10 12:49:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:49:04] Production.INFO: 117
[2025-03-10 12:49:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:49:04] Production.ERROR: done
[2025-03-10 12:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:49:04] Production.INFO: ==8941== Releasing lock...
[2025-03-10 12:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:49:04] Production.INFO: Total Charge 0
[2025-03-10 12:49:04] Production.INFO: CreateAllLog End
[2025-03-10 12:49:04] Production.ERROR: done
[2025-03-10 12:49:04] Production.INFO: Account Balance End.
[2025-03-10 12:49:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:49:05] Production.INFO: ==8945== Releasing lock...
[2025-03-10 12:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:49:05
[end_date_ymd] => 2025-03-10 12:49:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:49:05' and `end` < '2025-03-10 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-03-10 12:49:12] Production.ERROR: CronJobId end10
[2025-03-10 12:49:12] Production.INFO: ==8943== Releasing lock...
[2025-03-10 12:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:49:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:49:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:49:15] Production.INFO: call_cost start
[2025-03-10 12:49:15] Production.INFO: call_cost end
[2025-03-10 12:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:49:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:49:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:49:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:49:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:49:16] Production.INFO: ==8939== Releasing lock...
[2025-03-10 12:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:49:19] Production.INFO: count ==5163
[2025-03-10 12:49:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:49:05 - End Time 2025-03-10 12:49:05
[2025-03-10 12:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649624', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649624', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649624', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649624', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:49:21] Production.INFO: ProcessCDR(1,14649624,1,1,2)
[2025-03-10 12:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:49:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:49:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649624', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649624', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:49:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:49:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:49:26] Production.INFO: ==8947== Releasing lock...
[2025-03-10 12:49:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:49:26] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 16:50:02] Production.INFO: ==9003== Lock acquired, processing the job...
[2025-03-10 16:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:50:02] Production.INFO: neon service started
[2025-03-10 16:50:02] Production.INFO: neon service started
[2025-03-10 16:50:02] Production.INFO: ==9003== Releasing lock...
[2025-03-10 16:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:50:02] Production.INFO: ==9005== Lock acquired, processing the job...
[2025-03-10 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:50:02] Production.INFO: ==9005== Releasing lock...
[2025-03-10 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:50:03] Production.INFO: ==9007== Lock acquired, processing the job...
[2025-03-10 16:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:50:03] Production.INFO: ==9007== Releasing lock...
[2025-03-10 16:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:50:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:50:04] Production.INFO: ==9012== Lock acquired, processing the job...
[2025-03-10 12:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:50:04] Production.INFO: ==9010== Lock acquired, processing the job...
[2025-03-10 12:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 12:50:04] Production.INFO: ==9016== Lock acquired, processing the job...
[2025-03-10 12:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:50:04] Production.INFO: ==9014== Lock acquired, processing the job...
[2025-03-10 12:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:50:04] Production.INFO: ==9018== Lock acquired, processing the job...
[2025-03-10 12:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:50:04] Production.INFO: ==9020== Lock acquired, processing the job...
[2025-03-10 12:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 12:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:50:04] Production.ERROR: CronJob PID - 9012
[2025-03-10 12:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 12:50:04] Production.ERROR: CronJob ID - 5
[2025-03-10 12:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:50:00
[2025-03-10 12:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:50:04] Production.ERROR: CronJob PID - 9014
[2025-03-10 12:50:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 12:50:04] Production.ERROR: CronJob ID - 7
[2025-03-10 12:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:50:00
[2025-03-10 12:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 12:50:04] Production.ERROR: CronJob PID - 9016
[2025-03-10 12:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 12:50:04] Production.ERROR: CronJob ID - 10
[2025-03-10 12:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 12:50:00
[2025-03-10 12:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 12:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 12:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 12:50:04] Production.INFO: ==9010== Releasing lock...
[2025-03-10 12:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 12:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 12:50:04] Production.INFO: ==9024== Lock acquired, processing the job...
[2025-03-10 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:50:04] Production.INFO: ==9022== Lock acquired, processing the job...
[2025-03-10 12:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 12:50:04] Production.INFO: Account Balance Start.
[2025-03-10 12:50:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:50:04] Production.INFO: 117
[2025-03-10 12:50:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 12:50:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:50:04] Production.INFO: count ==13
[2025-03-10 12:50:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 12:50:04] Production.INFO: count ==21
[2025-03-10 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:50:04] Production.INFO: ==9014== Releasing lock...
[2025-03-10 12:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649628') start
[2025-03-10 12:50:04] Production.INFO: Total Charge 0
[2025-03-10 12:50:04] Production.INFO: CreateAllLog End
[2025-03-10 12:50:04] Production.ERROR: done
[2025-03-10 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649628') end
[2025-03-10 12:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:50:04] Production.INFO: 1
[2025-03-10 12:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:50:04] Production.INFO: ==9024== Releasing lock...
[2025-03-10 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:50:05] Production.ERROR: done
[2025-03-10 12:50:05] Production.ERROR: done
[2025-03-10 12:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 12:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649630', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 12:50:05] Production.INFO: Account Balance End.
[2025-03-10 12:50:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:50:05] Production.INFO: ==9018== Releasing lock...
[2025-03-10 12:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:50:06
[end_date_ymd] => 2025-03-10 12:50:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:50:06' and `end` < '2025-03-10 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-03-10 12:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649630', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 12:50:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 12:50:10] Production.INFO: ProcessCDR(1,14649630,1,1,2)
[2025-03-10 12:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649630,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649630,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:50:10] Production.INFO: ==9022== Releasing lock...
[2025-03-10 12:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 12:50:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 12:50:15] Production.ERROR: CronJobId end10
[2025-03-10 12:50:15] Production.INFO: ==9016== Releasing lock...
[2025-03-10 12:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:50:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:50:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:50:17] Production.INFO: call_cost start
[2025-03-10 12:50:17] Production.INFO: call_cost end
[2025-03-10 12:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:50:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:50:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:50:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:50:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:50:18] Production.INFO: ==9012== Releasing lock...
[2025-03-10 12:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:50:19] Production.INFO: count ==5166
[2025-03-10 12:50:22] Production.ERROR: pbx CDR StartTime 2025-03-10 09:50:06 - End Time 2025-03-10 12:50:06
[2025-03-10 12:50:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649629', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649629', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649629', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649629', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:50:22] Production.INFO: ProcessCDR(1,14649629,1,1,2)
[2025-03-10 12:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:50:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:50:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:50:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649629', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649629', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:50:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:50:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:50:27] Production.INFO: ==9020== Releasing lock...
[2025-03-10 12:50:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:50:27] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 16:51:01] Production.INFO: ==9079== Lock acquired, processing the job...
[2025-03-10 16:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:51:01] Production.INFO: neon service started
[2025-03-10 16:51:01] Production.INFO: neon service started
[2025-03-10 16:51:01] Production.INFO: ==9079== Releasing lock...
[2025-03-10 16:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:51:02] Production.INFO: ==9081== Lock acquired, processing the job...
[2025-03-10 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:51:02] Production.INFO: ==9081== Releasing lock...
[2025-03-10 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:51:02] Production.INFO: ==9083== Lock acquired, processing the job...
[2025-03-10 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:51:02] Production.INFO: ==9083== Releasing lock...
[2025-03-10 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:51:03] Production.INFO: ==9093== Lock acquired, processing the job...
[2025-03-10 12:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:51:03] Production.INFO: ==9095== Lock acquired, processing the job...
[2025-03-10 12:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:51:03] Production.INFO: ==9085== Lock acquired, processing the job...
[2025-03-10 12:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:51:03] Production.INFO: ==9087== Lock acquired, processing the job...
[2025-03-10 12:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12: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-03-10 12:51:03] Production.INFO: ==9089== Lock acquired, processing the job...
[2025-03-10 12:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:51:03] Production.INFO: count ==13
[2025-03-10 12:51:03] Production.INFO: ==9091== Lock acquired, processing the job...
[2025-03-10 12:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12: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-03-10 12:51:03] Production.INFO: count ==21
[2025-03-10 12:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649631') start
[2025-03-10 12:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:51:03] Production.INFO: Account Balance Start.
[2025-03-10 12:51:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:51:03] Production.INFO: 117
[2025-03-10 12:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649631') end
[2025-03-10 12:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:51:03] Production.INFO: 1
[2025-03-10 12:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:51:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:51:04] Production.INFO: ==9095== Releasing lock...
[2025-03-10 12:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:51:04] Production.ERROR: done
[2025-03-10 12:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:51:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:51:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:51:04] Production.INFO: Total Charge 0
[2025-03-10 12:51:04] Production.INFO: CreateAllLog End
[2025-03-10 12:51:04] Production.INFO: ==9087== Releasing lock...
[2025-03-10 12:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:51:04] Production.ERROR: done
[2025-03-10 12:51:04] Production.INFO: Account Balance End.
[2025-03-10 12:51:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:51:04] Production.INFO: ==9091== Releasing lock...
[2025-03-10 12:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:51:05
[end_date_ymd] => 2025-03-10 12:51:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:51:05' and `end` < '2025-03-10 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-03-10 12:51:13] Production.ERROR: CronJobId end10
[2025-03-10 12:51:13] Production.INFO: ==9089== Releasing lock...
[2025-03-10 12:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:51:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:51:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:51:15] Production.INFO: call_cost start
[2025-03-10 12:51:15] Production.INFO: call_cost end
[2025-03-10 12:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:51:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:51:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:51:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:51:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:51:16] Production.INFO: ==9085== Releasing lock...
[2025-03-10 12:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:51:18] Production.INFO: count ==5142
[2025-03-10 12:51:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:51:05 - End Time 2025-03-10 12:51:05
[2025-03-10 12:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649635', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649635', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649635', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649635', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:51:20] Production.INFO: ProcessCDR(1,14649635,1,1,2)
[2025-03-10 12:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:51:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:51:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:51:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:51:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649635', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649635', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:51:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:51:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:51:26] Production.INFO: ==9093== Releasing lock...
[2025-03-10 12:51:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:51:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 16:52:02] Production.INFO: ==9153== Lock acquired, processing the job...
[2025-03-10 16:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:52:02] Production.INFO: neon service started
[2025-03-10 16:52:02] Production.INFO: neon service started
[2025-03-10 16:52:02] Production.INFO: ==9153== Releasing lock...
[2025-03-10 16:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:52:02] Production.INFO: ==9155== Lock acquired, processing the job...
[2025-03-10 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:52:02] Production.INFO: ==9155== Releasing lock...
[2025-03-10 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:52:03] Production.INFO: ==9157== Lock acquired, processing the job...
[2025-03-10 16:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:52:03] Production.INFO: ==9157== Releasing lock...
[2025-03-10 16:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:52:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:52:03] Production.INFO: ==9166== Lock acquired, processing the job...
[2025-03-10 12:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:52:04] Production.INFO: ==9170== Lock acquired, processing the job...
[2025-03-10 12:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12: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-03-10 12:52:04] Production.INFO: count ==13
[2025-03-10 12:52:04] Production.INFO: ==9160== Lock acquired, processing the job...
[2025-03-10 12:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12: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-03-10 12:52:04] Production.INFO: count ==21
[2025-03-10 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649636') start
[2025-03-10 12:52:04] Production.INFO: Account Balance Start.
[2025-03-10 12:52:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:52:04] Production.INFO: 117
[2025-03-10 12:52:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:52:04] Production.INFO: ==9162== Lock acquired, processing the job...
[2025-03-10 12:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:52:04] Production.INFO: ==9164== Lock acquired, processing the job...
[2025-03-10 12:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:52:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649636') end
[2025-03-10 12:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:52:04] Production.INFO: 1
[2025-03-10 12:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:52:04] Production.INFO: ==9168== Lock acquired, processing the job...
[2025-03-10 12:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:52:04] Production.INFO: ==9170== Releasing lock...
[2025-03-10 12:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:52:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:52:04] Production.INFO: Total Charge 0
[2025-03-10 12:52:04] Production.INFO: CreateAllLog End
[2025-03-10 12:52:04] Production.INFO: ==9162== Releasing lock...
[2025-03-10 12:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:52:04] Production.INFO: Account Balance End.
[2025-03-10 12:52:04] Production.ERROR: done
[2025-03-10 12:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:52:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:52:04] Production.INFO: ==9166== Releasing lock...
[2025-03-10 12:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:52:04] Production.ERROR: done
[2025-03-10 12:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:52:05
[end_date_ymd] => 2025-03-10 12:52:05
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:52:05' and `end` < '2025-03-10 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-03-10 12:52:13] Production.ERROR: CronJobId end10
[2025-03-10 12:52:13] Production.INFO: ==9164== Releasing lock...
[2025-03-10 12:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:52:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:52:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:52:15] Production.INFO: call_cost start
[2025-03-10 12:52:15] Production.INFO: call_cost end
[2025-03-10 12:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:52:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:52:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:52:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:52:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:52:16] Production.INFO: ==9160== Releasing lock...
[2025-03-10 12:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:52:19] Production.INFO: count ==5156
[2025-03-10 12:52:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:52:05 - End Time 2025-03-10 12:52:05
[2025-03-10 12:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649640', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649640', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649640', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649640', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:52:21] Production.INFO: ProcessCDR(1,14649640,1,1,2)
[2025-03-10 12:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:52:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:52:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:52:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649640', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649640', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:52:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:52:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:52:26] Production.INFO: ==9168== Releasing lock...
[2025-03-10 12:52:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:52:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 16:53:01] Production.INFO: ==9226== Lock acquired, processing the job...
[2025-03-10 16:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:53:01] Production.INFO: neon service started
[2025-03-10 16:53:01] Production.INFO: neon service started
[2025-03-10 16:53:01] Production.INFO: ==9226== Releasing lock...
[2025-03-10 16:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:53:02] Production.INFO: ==9228== Lock acquired, processing the job...
[2025-03-10 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:53:02] Production.INFO: ==9228== Releasing lock...
[2025-03-10 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:53:02] Production.INFO: ==9230== Lock acquired, processing the job...
[2025-03-10 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:53:02] Production.INFO: ==9230== Releasing lock...
[2025-03-10 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:53:03] Production.INFO: ==9242== Lock acquired, processing the job...
[2025-03-10 12:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12: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-03-10 12:53:03] Production.INFO: ==9240== Lock acquired, processing the job...
[2025-03-10 12:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:53:03] Production.INFO: count ==13
[2025-03-10 12:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12: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-03-10 12:53:03] Production.INFO: count ==21
[2025-03-10 12:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649641') start
[2025-03-10 12:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649641') end
[2025-03-10 12:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:53:03] Production.INFO: 1
[2025-03-10 12:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:53:03] Production.INFO: ==9236== Lock acquired, processing the job...
[2025-03-10 12:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:53:03] Production.INFO: ==9232== Lock acquired, processing the job...
[2025-03-10 12:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:53:03] Production.INFO: ==9234== Lock acquired, processing the job...
[2025-03-10 12:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:53:03] Production.INFO: ==9238== Lock acquired, processing the job...
[2025-03-10 12:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:53:03] Production.INFO: ==9242== Releasing lock...
[2025-03-10 12:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:53:04] Production.INFO: Account Balance Start.
[2025-03-10 12:53:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:53:04] Production.INFO: 117
[2025-03-10 12:53:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:53:04] Production.ERROR: done
[2025-03-10 12:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:53:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:53:04] Production.INFO: Total Charge 0
[2025-03-10 12:53:04] Production.INFO: CreateAllLog End
[2025-03-10 12:53:04] Production.INFO: ==9234== Releasing lock...
[2025-03-10 12:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:53:04] Production.ERROR: done
[2025-03-10 12:53:04] Production.INFO: Account Balance End.
[2025-03-10 12:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:53:04] Production.INFO: ==9238== Releasing lock...
[2025-03-10 12:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:53:05
[end_date_ymd] => 2025-03-10 12:53:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:53:05' and `end` < '2025-03-10 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-03-10 12:53:13] Production.ERROR: CronJobId end10
[2025-03-10 12:53:13] Production.INFO: ==9236== Releasing lock...
[2025-03-10 12:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:53:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:53:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:53:15] Production.INFO: call_cost start
[2025-03-10 12:53:15] Production.INFO: call_cost end
[2025-03-10 12:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:53:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:53:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:53:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:53:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:53:16] Production.INFO: ==9232== Releasing lock...
[2025-03-10 12:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:53:18] Production.INFO: count ==5112
[2025-03-10 12:53:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:53:05 - End Time 2025-03-10 12:53:05
[2025-03-10 12:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649645', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649645', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649645', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649645', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:53:20] Production.INFO: ProcessCDR(1,14649645,1,1,2)
[2025-03-10 12:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:53:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:53:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:53:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649645', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649645', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:53:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:53:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:53:26] Production.INFO: ==9240== Releasing lock...
[2025-03-10 12:53:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:53:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 16:54:02] Production.INFO: ==9296== Lock acquired, processing the job...
[2025-03-10 16:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:54:02] Production.INFO: neon service started
[2025-03-10 16:54:02] Production.INFO: neon service started
[2025-03-10 16:54:02] Production.INFO: ==9296== Releasing lock...
[2025-03-10 16:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:54:02] Production.INFO: ==9300== Lock acquired, processing the job...
[2025-03-10 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:54:02] Production.INFO: ==9300== Releasing lock...
[2025-03-10 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:54:02] Production.INFO: ==9298== Lock acquired, processing the job...
[2025-03-10 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:54:03] Production.INFO: ==9298== Releasing lock...
[2025-03-10 12:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:54:04] Production.INFO: ==9309== Lock acquired, processing the job...
[2025-03-10 12:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:54:04] Production.INFO: ==9311== Lock acquired, processing the job...
[2025-03-10 12:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:54:04] Production.INFO: ==9303== Lock acquired, processing the job...
[2025-03-10 12:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:54:04] Production.INFO: ==9305== Lock acquired, processing the job...
[2025-03-10 12:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:54:04] Production.INFO: ==9307== Lock acquired, processing the job...
[2025-03-10 12:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:54:04] Production.INFO: Account Balance Start.
[2025-03-10 12:54:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:54:04] Production.INFO: 117
[2025-03-10 12:54:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:54:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:54:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:54:04] Production.INFO: ==9313== Lock acquired, processing the job...
[2025-03-10 12:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:54:04] Production.INFO: Total Charge 0
[2025-03-10 12:54:04] Production.INFO: CreateAllLog End
[2025-03-10 12:54:04] Production.INFO: ==9305== Releasing lock...
[2025-03-10 12:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12: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-03-10 12:54:04] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:54:04] Production.INFO: count ==21
[2025-03-10 12:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649649') start
[2025-03-10 12:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:54:04] Production.ERROR: done
[2025-03-10 12:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:54:04] Production.INFO: Account Balance End.
[2025-03-10 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649649') end
[2025-03-10 12:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:54:04] Production.INFO: 1
[2025-03-10 12:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:54:04] Production.INFO: ==9309== Releasing lock...
[2025-03-10 12:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:54:04] Production.ERROR: done
[2025-03-10 12:54:04] Production.INFO: ==9313== Releasing lock...
[2025-03-10 12:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:54:05
[end_date_ymd] => 2025-03-10 12:54:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:54:05' and `end` < '2025-03-10 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-03-10 12:54:13] Production.ERROR: CronJobId end10
[2025-03-10 12:54:13] Production.INFO: ==9307== Releasing lock...
[2025-03-10 12:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:54:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:54:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:54:15] Production.INFO: call_cost start
[2025-03-10 12:54:15] Production.INFO: call_cost end
[2025-03-10 12:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:54:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:54:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:54:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:54:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:54:16] Production.INFO: ==9303== Releasing lock...
[2025-03-10 12:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:54:19] Production.INFO: count ==5088
[2025-03-10 12:54:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:54:05 - End Time 2025-03-10 12:54:05
[2025-03-10 12:54:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649650', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649650', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649650', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649650', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:54:21] Production.INFO: ProcessCDR(1,14649650,1,1,2)
[2025-03-10 12:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:54:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:54:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649650', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649650', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:54:25] Production.INFO: ==9311== Releasing lock...
[2025-03-10 12:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:54:25] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:55:01] Production.INFO: ==9368== Lock acquired, processing the job...
[2025-03-10 16:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:55:01] Production.INFO: neon service started
[2025-03-10 16:55:01] Production.INFO: neon service started
[2025-03-10 16:55:01] Production.INFO: ==9368== Releasing lock...
[2025-03-10 16:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:55:02] Production.INFO: ==9370== Lock acquired, processing the job...
[2025-03-10 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:55:02] Production.INFO: ==9372== Lock acquired, processing the job...
[2025-03-10 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 12:55:02] Production.INFO: ==9370== Releasing lock...
[2025-03-10 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:55:02] Production.INFO: ==9372== Releasing lock...
[2025-03-10 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:55:03] Production.INFO: ==9375== Lock acquired, processing the job...
[2025-03-10 12:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:55:03] Production.INFO: ==9377== Lock acquired, processing the job...
[2025-03-10 12:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:55:03] Production.INFO: ==9379== Lock acquired, processing the job...
[2025-03-10 12:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:55:03] Production.INFO: ==9383== Lock acquired, processing the job...
[2025-03-10 12:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:55:03] Production.INFO: ==9381== Lock acquired, processing the job...
[2025-03-10 12:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:55:03] Production.INFO: ==9385== Lock acquired, processing the job...
[2025-03-10 12:55:03] Production.INFO: ==9377== Releasing lock...
[2025-03-10 12:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:55:03] Production.INFO: Account Balance Start.
[2025-03-10 12:55:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:55:03] Production.INFO: 117
[2025-03-10 12:55:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 12:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:55:04] Production.INFO: Total Charge 0
[2025-03-10 12:55:04] Production.INFO: count ==13
[2025-03-10 12:55:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 12:55:04] Production.INFO: count ==21
[2025-03-10 12:55:04] Production.ERROR: done
[2025-03-10 12:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649654') start
[2025-03-10 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649654') end
[2025-03-10 12:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:55:04] Production.INFO: 1
[2025-03-10 12:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:55:04] Production.ERROR: done
[2025-03-10 12:55:04] Production.INFO: Account Balance End.
[2025-03-10 12:55:04] Production.INFO: ==9385== Releasing lock...
[2025-03-10 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:55:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:55:04] Production.INFO: ==9381== Releasing lock...
[2025-03-10 12:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:55:05
[end_date_ymd] => 2025-03-10 12:55:05
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:55:05' and `end` < '2025-03-10 12: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-03-10 12:55:13] Production.ERROR: CronJobId end10
[2025-03-10 12:55:13] Production.INFO: ==9379== Releasing lock...
[2025-03-10 12:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:55:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:55:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:55:16] Production.INFO: call_cost start
[2025-03-10 12:55:16] Production.INFO: call_cost end
[2025-03-10 12:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:55:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:55:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:55:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:55:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:55:16] Production.INFO: ==9375== Releasing lock...
[2025-03-10 12:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:55:18] Production.INFO: count ==5054
[2025-03-10 12:55:20] Production.ERROR: pbx CDR StartTime 2025-03-10 09:55:05 - End Time 2025-03-10 12:55:05
[2025-03-10 12:55:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649655', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649655', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649655', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649655', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:55:21] Production.INFO: ProcessCDR(1,14649655,1,1,2)
[2025-03-10 12:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:55:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:55:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:55:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649655', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649655', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:55:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:55:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:55:26] Production.INFO: ==9383== Releasing lock...
[2025-03-10 12:55:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:55:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 16:56:02] Production.INFO: ==9440== Lock acquired, processing the job...
[2025-03-10 16:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:56:02] Production.INFO: neon service started
[2025-03-10 16:56:02] Production.INFO: neon service started
[2025-03-10 16:56:02] Production.INFO: ==9440== Releasing lock...
[2025-03-10 16:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:56:02] Production.INFO: ==9444== Lock acquired, processing the job...
[2025-03-10 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:56:02] Production.INFO: ==9444== Releasing lock...
[2025-03-10 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:56:02] Production.INFO: ==9442== Lock acquired, processing the job...
[2025-03-10 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:56:03] Production.INFO: ==9442== Releasing lock...
[2025-03-10 12:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:56:03] Production.INFO: ==9449== Lock acquired, processing the job...
[2025-03-10 12:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:56:04] Production.INFO: ==9453== Lock acquired, processing the job...
[2025-03-10 12:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:56:04] Production.INFO: ==9455== Lock acquired, processing the job...
[2025-03-10 12:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:56:04] Production.INFO: Account Balance Start.
[2025-03-10 12:56:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:56:04] Production.INFO: 117
[2025-03-10 12:56:04] Production.INFO: ==9449== Releasing lock...
[2025-03-10 12:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:56:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:56:04] Production.INFO: ==9447== Lock acquired, processing the job...
[2025-03-10 12:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:56:04] Production.INFO: ==9451== Lock acquired, processing the job...
[2025-03-10 12:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:56:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:56:04] Production.INFO: ==9457== Lock acquired, processing the job...
[2025-03-10 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:56:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:56:04] Production.INFO: Total Charge 0
[2025-03-10 12:56:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 12:56:04] Production.ERROR: done
[2025-03-10 12:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:56:04] Production.INFO: count ==13
[2025-03-10 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-03-10 12:56:04] Production.INFO: count ==21
[2025-03-10 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649659') start
[2025-03-10 12:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649659') end
[2025-03-10 12:56:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:56:05] Production.INFO: 1
[2025-03-10 12:56:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:56:05] Production.ERROR: done
[2025-03-10 12:56:05] Production.INFO: ==9457== Releasing lock...
[2025-03-10 12:56:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:56:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:56:05] Production.INFO: Account Balance End.
[2025-03-10 12:56:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:56:05] Production.INFO: ==9453== Releasing lock...
[2025-03-10 12:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:56:06
[end_date_ymd] => 2025-03-10 12:56:06
[RateCDR] => 1
)
[2025-03-10 12: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-03-10 09:56:06' and `end` < '2025-03-10 12: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-03-10 12:56:14] Production.ERROR: CronJobId end10
[2025-03-10 12:56:14] Production.INFO: ==9451== Releasing lock...
[2025-03-10 12:56:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:56:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:56:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:56:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:56:16] Production.INFO: call_cost start
[2025-03-10 12:56:16] Production.INFO: call_cost end
[2025-03-10 12:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:56:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:56:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:56:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:56:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:56:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:56:17] Production.INFO: ==9447== Releasing lock...
[2025-03-10 12:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:56:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:56:19] Production.INFO: count ==5063
[2025-03-10 12:56:22] Production.ERROR: pbx CDR StartTime 2025-03-10 09:56:06 - End Time 2025-03-10 12:56:06
[2025-03-10 12:56:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649660', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649660', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649660', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649660', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:56:22] Production.INFO: ProcessCDR(1,14649660,1,1,2)
[2025-03-10 12:56:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:56:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649660', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649660', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:56:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:56:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:56:27] Production.INFO: ==9455== Releasing lock...
[2025-03-10 12:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:56:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:57:01] Production.INFO: ==9512== Lock acquired, processing the job...
[2025-03-10 16:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:57:01] Production.INFO: neon service started
[2025-03-10 16:57:01] Production.INFO: neon service started
[2025-03-10 16:57:01] Production.INFO: ==9512== Releasing lock...
[2025-03-10 16:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:57:02] Production.INFO: ==9514== Lock acquired, processing the job...
[2025-03-10 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:57:02] Production.INFO: ==9514== Releasing lock...
[2025-03-10 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:57:02] Production.INFO: ==9516== Lock acquired, processing the job...
[2025-03-10 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:57:02] Production.INFO: ==9516== Releasing lock...
[2025-03-10 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:57:03] Production.INFO: ==9524== Lock acquired, processing the job...
[2025-03-10 12:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:57:03] Production.INFO: ==9527== Lock acquired, processing the job...
[2025-03-10 12:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:57:03] Production.INFO: Account Balance Start.
[2025-03-10 12:57:03] Production.INFO: CreateAllLog Start
[2025-03-10 12:57:03] Production.INFO: 117
[2025-03-10 12:57:03] Production.INFO: Date 2025-03-08
[2025-03-10 12:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:57:03] Production.INFO: ==9518== Lock acquired, processing the job...
[2025-03-10 12:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:57:03] Production.INFO: Date 2025-03-09
[2025-03-10 12:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:57:03] Production.INFO: Date 2025-03-10
[2025-03-10 12:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 12:57:03] Production.INFO: ==9520== Lock acquired, processing the job...
[2025-03-10 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:57:03] Production.INFO: ==9522== Lock acquired, processing the job...
[2025-03-10 12:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:57:03] Production.INFO: Total Charge 0
[2025-03-10 12:57:03] Production.INFO: ==9529== Lock acquired, processing the job...
[2025-03-10 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:57:03] Production.INFO: CreateAllLog End
[2025-03-10 12:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12: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-03-10 12:57:04] Production.INFO: count ==13
[2025-03-10 12:57:04] Production.ERROR: done
[2025-03-10 12: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-03-10 12:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:57:04] Production.INFO: ==9520== Releasing lock...
[2025-03-10 12:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:57:04] Production.INFO: count ==21
[2025-03-10 12:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649664') start
[2025-03-10 12:57:04] Production.ERROR: done
[2025-03-10 12:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649664') end
[2025-03-10 12:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:57:04] Production.INFO: 1
[2025-03-10 12:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:57:04] Production.INFO: Account Balance End.
[2025-03-10 12:57:04] Production.ERROR: CronJobId end 12
[2025-03-10 12:57:04] Production.INFO: ==9524== Releasing lock...
[2025-03-10 12:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:57:04] Production.INFO: ==9529== Releasing lock...
[2025-03-10 12:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:57:05
[end_date_ymd] => 2025-03-10 12:57:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:57:05' and `end` < '2025-03-10 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-03-10 12:57:13] Production.ERROR: CronJobId end10
[2025-03-10 12:57:13] Production.INFO: ==9522== Releasing lock...
[2025-03-10 12:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:57:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:57:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:57:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:57:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:57:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:57:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:57:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:57:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:57:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:57:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:57:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:57:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:57:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:57:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:57:16] Production.INFO: call_cost start
[2025-03-10 12:57:16] Production.INFO: call_cost end
[2025-03-10 12:57:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:57:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:57:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:57:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:57:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:57:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:57:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:57:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:57:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:57:17] Production.INFO: ==9518== Releasing lock...
[2025-03-10 12:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:57:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:57:18] Production.INFO: count ==5082
[2025-03-10 12:57:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:57:05 - End Time 2025-03-10 12:57:05
[2025-03-10 12:57:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649665', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649665', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649665', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649665', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:57:21] Production.INFO: ProcessCDR(1,14649665,1,1,2)
[2025-03-10 12:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:57:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:57:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:57:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649665', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649665', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:57:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:57:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:57:26] Production.INFO: ==9527== Releasing lock...
[2025-03-10 12:57:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:57:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:58:02] Production.INFO: ==9585== Lock acquired, processing the job...
[2025-03-10 16:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:58:02] Production.INFO: neon service started
[2025-03-10 16:58:02] Production.INFO: neon service started
[2025-03-10 16:58:02] Production.INFO: ==9585== Releasing lock...
[2025-03-10 16:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:58:03] Production.INFO: ==9587== Lock acquired, processing the job...
[2025-03-10 12:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:58:03] Production.INFO: ==9589== Lock acquired, processing the job...
[2025-03-10 16:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:58:03] Production.INFO: ==9589== Releasing lock...
[2025-03-10 16:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:58:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:58:03] Production.INFO: ==9587== Releasing lock...
[2025-03-10 12:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 12:58:04] Production.INFO: ==9594== Lock acquired, processing the job...
[2025-03-10 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:58:04] Production.INFO: ==9596== Lock acquired, processing the job...
[2025-03-10 12:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:58:04] Production.INFO: ==9592== Lock acquired, processing the job...
[2025-03-10 12:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:58:04] Production.INFO: ==9600== Lock acquired, processing the job...
[2025-03-10 12:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:58:04] Production.INFO: ==9598== Lock acquired, processing the job...
[2025-03-10 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:58:04] Production.INFO: ==9594== Releasing lock...
[2025-03-10 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:58:04] Production.INFO: ==9602== Lock acquired, processing the job...
[2025-03-10 12:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:58:05] Production.INFO: Account Balance Start.
[2025-03-10 12:58:05] Production.INFO: CreateAllLog Start
[2025-03-10 12:58:05] Production.INFO: 117
[2025-03-10 12:58:05] Production.INFO: Date 2025-03-08
[2025-03-10 12:58:05] Production.INFO: Reseller ==> 0
[2025-03-10 12:58: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-03-10 12:58:05] Production.ERROR: done
[2025-03-10 12:58:05] Production.INFO: count ==13
[2025-03-10 12:58: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-03-10 12:58:05] Production.INFO: Date 2025-03-09
[2025-03-10 12:58:05] Production.INFO: Reseller ==> 0
[2025-03-10 12:58:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:58:05] Production.INFO: count ==21
[2025-03-10 12:58:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649669') start
[2025-03-10 12:58:05] Production.INFO: Date 2025-03-10
[2025-03-10 12:58:05] Production.INFO: Reseller ==> 0
[2025-03-10 12:58:05] Production.ERROR: done
[2025-03-10 12:58:05] Production.INFO: Total Charge 0
[2025-03-10 12:58:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649669') end
[2025-03-10 12:58:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:58:05] Production.INFO: 1
[2025-03-10 12:58:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:58:05] Production.INFO: CreateAllLog End
[2025-03-10 12:58:05] Production.INFO: ==9602== Releasing lock...
[2025-03-10 12:58:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:58:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:58:05] Production.INFO: Account Balance End.
[2025-03-10 12:58:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:58:05] Production.INFO: ==9598== Releasing lock...
[2025-03-10 12:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:58:06
[end_date_ymd] => 2025-03-10 12:58:06
[RateCDR] => 1
)
[2025-03-10 12:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 09:58:06' and `end` < '2025-03-10 12:58:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 12:58:13] Production.ERROR: CronJobId end10
[2025-03-10 12:58:13] Production.INFO: ==9596== Releasing lock...
[2025-03-10 12:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:58:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:58:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:58:16] Production.INFO: call_cost start
[2025-03-10 12:58:16] Production.INFO: call_cost end
[2025-03-10 12:58:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:58:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:58:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:58:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:58:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:58:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:58:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:58:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:58:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:58:17] Production.INFO: ==9592== Releasing lock...
[2025-03-10 12:58:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:58:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:58:19] Production.INFO: count ==5086
[2025-03-10 12:58:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:58:06 - End Time 2025-03-10 12:58:06
[2025-03-10 12:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649670', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649670', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649670', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649670', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:58:21] Production.INFO: ProcessCDR(1,14649670,1,1,2)
[2025-03-10 12:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:58:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649670', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649670', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:58:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:58:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:58:27] Production.INFO: ==9600== Releasing lock...
[2025-03-10 12:58:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:58:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 16:59:01] Production.INFO: ==9655== Lock acquired, processing the job...
[2025-03-10 16:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 16:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 16:59:01] Production.INFO: neon service started
[2025-03-10 16:59:01] Production.INFO: neon service started
[2025-03-10 16:59:01] Production.INFO: ==9655== Releasing lock...
[2025-03-10 16:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 16:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 12:59:02] Production.INFO: ==9657== Lock acquired, processing the job...
[2025-03-10 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 12:59:02] Production.INFO: ==9657== Releasing lock...
[2025-03-10 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 12:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:59:02] Production.INFO: ==9659== Lock acquired, processing the job...
[2025-03-10 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:59:02] Production.INFO: ==9659== Releasing lock...
[2025-03-10 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 16:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 12:59:03] Production.INFO: ==9665== Lock acquired, processing the job...
[2025-03-10 12:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 12:59:03] Production.INFO: ==9670== Lock acquired, processing the job...
[2025-03-10 12:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 12:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 12:59:03] Production.INFO: ==9661== Lock acquired, processing the job...
[2025-03-10 12:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 12:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 12:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 12:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 12:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 12:59:03] Production.INFO: ==9663== Lock acquired, processing the job...
[2025-03-10 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 12:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 12:59:04] Production.INFO: ==9668== Lock acquired, processing the job...
[2025-03-10 12:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 12:59:04] Production.INFO: ==9672== Lock acquired, processing the job...
[2025-03-10 12:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 12:59:04] Production.ERROR: done
[2025-03-10 12:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 12:59:04] Production.ERROR: done
[2025-03-10 12:59:04] Production.INFO: ==9663== Releasing lock...
[2025-03-10 12:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 12:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 12:59:04] Production.INFO: Account Balance Start.
[2025-03-10 12:59:04] Production.INFO: CreateAllLog Start
[2025-03-10 12:59:04] Production.INFO: 117
[2025-03-10 12:59:04] Production.INFO: Date 2025-03-08
[2025-03-10 12:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 12: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-03-10 12:59:04] Production.INFO: count ==13
[2025-03-10 12: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-03-10 12:59:04] Production.INFO: count ==21
[2025-03-10 12:59:04] Production.INFO: Date 2025-03-09
[2025-03-10 12:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649674') start
[2025-03-10 12:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649674') end
[2025-03-10 12:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 12:59:04] Production.INFO: 1
[2025-03-10 12:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 12:59:04] Production.INFO: Date 2025-03-10
[2025-03-10 12:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 12:59:04] Production.INFO: ==9672== Releasing lock...
[2025-03-10 12:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 12:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 12:59:04] Production.INFO: Total Charge 0
[2025-03-10 12:59:04] Production.INFO: CreateAllLog End
[2025-03-10 12:59:05] Production.INFO: Account Balance End.
[2025-03-10 12:59:05] Production.ERROR: CronJobId end 12
[2025-03-10 12:59:05] Production.INFO: ==9668== Releasing lock...
[2025-03-10 12:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 12:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 12:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 09:59:05
[end_date_ymd] => 2025-03-10 12:59:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 09:59:05' and `end` < '2025-03-10 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-03-10 12:59:13] Production.ERROR: CronJobId end10
[2025-03-10 12:59:13] Production.INFO: ==9665== Releasing lock...
[2025-03-10 12:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 12:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 12:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 12:59:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 12:59:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 12:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 12:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 12:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 12:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 12:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 12:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 12:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 12:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 12:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 12:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 12:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 12:59:16] Production.INFO: call_cost start
[2025-03-10 12:59:16] Production.INFO: call_cost end
[2025-03-10 12:59:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 12:59:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 12:59:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 12:59:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 12:59:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 12:59:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 12:59:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 12:59:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 12:59:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 12:59:17] Production.INFO: ==9661== Releasing lock...
[2025-03-10 12:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 12:59:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 12:59:18] Production.INFO: count ==5099
[2025-03-10 12:59:21] Production.ERROR: pbx CDR StartTime 2025-03-10 09:59:05 - End Time 2025-03-10 12:59:05
[2025-03-10 12:59:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 12:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649675', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649675', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649675', 'tblTempVendorCDR_20' ) start
[2025-03-10 12:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649675', 'tblTempVendorCDR_20' ) end
[2025-03-10 12:59:21] Production.INFO: ProcessCDR(1,14649675,1,1,2)
[2025-03-10 12:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:59:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 12:59:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:59:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 12:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649675', 'tblTempUsageDetail_20' ) start
[2025-03-10 12:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649675', 'tblTempUsageDetail_20' ) end
[2025-03-10 12:59:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 12:59:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 12:59:26] Production.INFO: ==9670== Releasing lock...
[2025-03-10 12:59:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 12:59:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:00:02] Production.INFO: ==9728== Lock acquired, processing the job...
[2025-03-10 17:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:00:02] Production.INFO: neon service started
[2025-03-10 17:00:02] Production.INFO: neon service started
[2025-03-10 17:00:02] Production.INFO: ==9728== Releasing lock...
[2025-03-10 17:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:00:02] Production.INFO: ==9731== Lock acquired, processing the job...
[2025-03-10 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:00:03] Production.INFO: ==9731== Releasing lock...
[2025-03-10 13:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:00:03] Production.INFO: ==9733== Lock acquired, processing the job...
[2025-03-10 17:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:00:03] Production.INFO: ==9733== Releasing lock...
[2025-03-10 17:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:00:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:00:04] Production.INFO: ==9735== Lock acquired, processing the job...
[2025-03-10 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 13:00:04] Production.INFO: ==9737== Lock acquired, processing the job...
[2025-03-10 13:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 13:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 13:00:04] Production.INFO: ==9735== Releasing lock...
[2025-03-10 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 13:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 13:00:04] Production.INFO: ==9739== Lock acquired, processing the job...
[2025-03-10 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:00:04] Production.INFO: ==9745== Lock acquired, processing the job...
[2025-03-10 13:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:00:04] Production.INFO: ==9741== Lock acquired, processing the job...
[2025-03-10 13:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:00:04] Production.INFO: ==9743== Lock acquired, processing the job...
[2025-03-10 13:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:00:04] Production.INFO: ==9747== Lock acquired, processing the job...
[2025-03-10 13:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 13:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:00:04] Production.INFO: ==9749== Lock acquired, processing the job...
[2025-03-10 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:00:04] Production.INFO: ==9739== Releasing lock...
[2025-03-10 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:00:04] Production.INFO: Account Balance Start.
[2025-03-10 13:00:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:00:04] Production.INFO: 117
[2025-03-10 13:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:00:04] Production.ERROR: done
[2025-03-10 13:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:00:05] Production.INFO: Date 2025-03-09
[2025-03-10 13: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-03-10 13:00:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:00:05] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:00:05] Production.INFO: count ==21
[2025-03-10 13:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649679') start
[2025-03-10 13:00:05] Production.ERROR: done
[2025-03-10 13:00:05] Production.ERROR: done
[2025-03-10 13:00:05] Production.INFO: Date 2025-03-10
[2025-03-10 13:00:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:00:05] Production.INFO: Total Charge 0
[2025-03-10 13:00:05] Production.INFO: CreateAllLog End
[2025-03-10 13:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649679') end
[2025-03-10 13:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:00:05] Production.INFO: 1
[2025-03-10 13:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 13:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649680', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 13:00:05] Production.INFO: ==9749== Releasing lock...
[2025-03-10 13:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:00:05] Production.INFO: Account Balance End.
[2025-03-10 13:00:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:00:05] Production.INFO: ==9743== Releasing lock...
[2025-03-10 13:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:00:06
[end_date_ymd] => 2025-03-10 13:00:06
[RateCDR] => 1
)
[2025-03-10 13:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 10:00:06' and `end` < '2025-03-10 13:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 13:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649680', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 13:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 13:00:09] Production.INFO: ProcessCDR(1,14649680,1,1,2)
[2025-03-10 13:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649680,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649680,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:00:10] Production.INFO: ==9747== Releasing lock...
[2025-03-10 13:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 13:00:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 13:00:15] Production.ERROR: CronJobId end10
[2025-03-10 13:00:15] Production.INFO: ==9741== Releasing lock...
[2025-03-10 13:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:00:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:00:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:00:18] Production.INFO: call_cost start
[2025-03-10 13:00:18] Production.INFO: call_cost end
[2025-03-10 13:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:00:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:00:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:00:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:00:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:00:18] Production.INFO: ==9737== Releasing lock...
[2025-03-10 13:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:00:19] Production.INFO: count ==5094
[2025-03-10 13:00:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:00:06 - End Time 2025-03-10 13:00:06
[2025-03-10 13:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649681', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649681', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649681', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649681', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:00:21] Production.INFO: ProcessCDR(1,14649681,1,1,2)
[2025-03-10 13:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:00:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:00:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:00:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:00:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649681', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:00:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649681', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:00:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:00:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:00:27] Production.INFO: ==9745== Releasing lock...
[2025-03-10 13:00:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:00:27] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:01:01] Production.INFO: ==9849== Lock acquired, processing the job...
[2025-03-10 17:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:01:01] Production.INFO: neon service started
[2025-03-10 17:01:01] Production.INFO: neon service started
[2025-03-10 17:01:01] Production.INFO: ==9849== Releasing lock...
[2025-03-10 17:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:01:02] Production.INFO: ==9863== Lock acquired, processing the job...
[2025-03-10 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:01:02] Production.INFO: ==9863== Releasing lock...
[2025-03-10 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:01:02] Production.INFO: ==9861== Lock acquired, processing the job...
[2025-03-10 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:01:02] Production.INFO: ==9861== Releasing lock...
[2025-03-10 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:01:03] Production.INFO: ==9866== Lock acquired, processing the job...
[2025-03-10 13:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:01:03] Production.INFO: ==9874== Lock acquired, processing the job...
[2025-03-10 13:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:01:04] Production.INFO: ==9868== Lock acquired, processing the job...
[2025-03-10 13:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:01:04] Production.INFO: ==9870== Lock acquired, processing the job...
[2025-03-10 13:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:01:04] Production.INFO: ==9872== Lock acquired, processing the job...
[2025-03-10 13:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:01:04] Production.INFO: ==9876== Lock acquired, processing the job...
[2025-03-10 13:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:01:04] Production.INFO: Account Balance Start.
[2025-03-10 13:01:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:01:04] Production.INFO: 117
[2025-03-10 13:01:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:01:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:01:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:01:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:01:04] Production.INFO: Total Charge 0
[2025-03-10 13:01:04] Production.ERROR: done
[2025-03-10 13:01:04] Production.INFO: CreateAllLog End
[2025-03-10 13:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 13:01:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:01:04] Production.INFO: count ==21
[2025-03-10 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649685') start
[2025-03-10 13:01:04] Production.ERROR: done
[2025-03-10 13:01:04] Production.INFO: ==9868== Releasing lock...
[2025-03-10 13:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:01:04] Production.INFO: Account Balance End.
[2025-03-10 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649685') end
[2025-03-10 13:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:01:04] Production.INFO: 1
[2025-03-10 13:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:01:04] Production.INFO: ==9872== Releasing lock...
[2025-03-10 13:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:01:04] Production.INFO: ==9876== Releasing lock...
[2025-03-10 13:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:01:05
[end_date_ymd] => 2025-03-10 13:01:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:01:05' and `end` < '2025-03-10 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-03-10 13:01:14] Production.ERROR: CronJobId end10
[2025-03-10 13:01:14] Production.INFO: ==9870== Releasing lock...
[2025-03-10 13:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:01:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:01:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:01:15] Production.INFO: call_cost start
[2025-03-10 13:01:15] Production.INFO: call_cost end
[2025-03-10 13:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:01:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:01:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:01:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:01:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:01:16] Production.INFO: ==9866== Releasing lock...
[2025-03-10 13:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:01:18] Production.INFO: count ==5118
[2025-03-10 13:01:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:01:05 - End Time 2025-03-10 13:01:05
[2025-03-10 13:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649686', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649686', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649686', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649686', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:01:21] Production.INFO: ProcessCDR(1,14649686,1,1,2)
[2025-03-10 13:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:01:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649686', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649686', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:01:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:01:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:01:26] Production.INFO: ==9874== Releasing lock...
[2025-03-10 13:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:01:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:02:02] Production.INFO: ==9929== Lock acquired, processing the job...
[2025-03-10 17:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:02:02] Production.INFO: neon service started
[2025-03-10 17:02:02] Production.INFO: neon service started
[2025-03-10 17:02:02] Production.INFO: ==9929== Releasing lock...
[2025-03-10 17:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:02:03] Production.INFO: ==9931== Lock acquired, processing the job...
[2025-03-10 13:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:02:03] Production.INFO: ==9933== Lock acquired, processing the job...
[2025-03-10 17:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:02:03] Production.INFO: ==9933== Releasing lock...
[2025-03-10 17:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:02:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:02:03] Production.INFO: ==9931== Releasing lock...
[2025-03-10 13:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:02:04] Production.INFO: ==9936== Lock acquired, processing the job...
[2025-03-10 13:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:02:04] Production.INFO: ==9940== Lock acquired, processing the job...
[2025-03-10 13:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:02:04] Production.INFO: ==9938== Lock acquired, processing the job...
[2025-03-10 13:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:02:04] Production.INFO: ==9944== Lock acquired, processing the job...
[2025-03-10 13:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:02:04] Production.INFO: ==9942== Lock acquired, processing the job...
[2025-03-10 13:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:02:04] Production.INFO: ==9946== Lock acquired, processing the job...
[2025-03-10 13:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:02:04] Production.INFO: Account Balance Start.
[2025-03-10 13:02:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:02:04] Production.INFO: 117
[2025-03-10 13:02:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:02:04] Production.INFO: ==9938== Releasing lock...
[2025-03-10 13:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:02:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 13:02:05] Production.INFO: count ==13
[2025-03-10 13:02: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-03-10 13:02:05] Production.INFO: count ==21
[2025-03-10 13:02:05] Production.INFO: Date 2025-03-10
[2025-03-10 13:02:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:02:05] Production.ERROR: done
[2025-03-10 13:02:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649690') start
[2025-03-10 13:02:05] Production.INFO: Total Charge 0
[2025-03-10 13:02:05] Production.INFO: CreateAllLog End
[2025-03-10 13:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649690') end
[2025-03-10 13:02:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:02:05] Production.INFO: 1
[2025-03-10 13:02:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:02:05] Production.INFO: ==9946== Releasing lock...
[2025-03-10 13:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:02:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:02:05] Production.ERROR: done
[2025-03-10 13:02:05] Production.INFO: Account Balance End.
[2025-03-10 13:02:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:02:05] Production.INFO: ==9942== Releasing lock...
[2025-03-10 13:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:02:06
[end_date_ymd] => 2025-03-10 13:02:06
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:02:06' and `end` < '2025-03-10 13: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-03-10 13:02:14] Production.ERROR: CronJobId end10
[2025-03-10 13:02:14] Production.INFO: ==9940== Releasing lock...
[2025-03-10 13:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:02:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:02:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:02:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:02:16] Production.INFO: call_cost start
[2025-03-10 13:02:16] Production.INFO: call_cost end
[2025-03-10 13:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:02:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:02:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:02:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:02:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:02:17] Production.INFO: ==9936== Releasing lock...
[2025-03-10 13:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:02:19] Production.INFO: count ==5113
[2025-03-10 13:02:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:02:06 - End Time 2025-03-10 13:02:06
[2025-03-10 13:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649691', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649691', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649691', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649691', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:02:21] Production.INFO: ProcessCDR(1,14649691,1,1,2)
[2025-03-10 13:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:02:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:02:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:02:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649691', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649691', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:02:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:02:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:02:27] Production.INFO: ==9944== Releasing lock...
[2025-03-10 13:02:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:02:27] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:03:01] Production.INFO: ==10001== Lock acquired, processing the job...
[2025-03-10 17:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:03:01] Production.INFO: neon service started
[2025-03-10 17:03:01] Production.INFO: neon service started
[2025-03-10 17:03:01] Production.INFO: ==10001== Releasing lock...
[2025-03-10 17:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:03:02] Production.INFO: ==10004== Lock acquired, processing the job...
[2025-03-10 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:03:02] Production.INFO: ==10006== Lock acquired, processing the job...
[2025-03-10 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:03:02] Production.INFO: ==10006== Releasing lock...
[2025-03-10 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:03:03] Production.INFO: ==10004== Releasing lock...
[2025-03-10 13:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:03:03] Production.INFO: ==10008== Lock acquired, processing the job...
[2025-03-10 13:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:03:03] Production.INFO: ==10010== Lock acquired, processing the job...
[2025-03-10 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:03:03] Production.INFO: ==10017== Lock acquired, processing the job...
[2025-03-10 13:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:03:04] Production.INFO: ==10019== Lock acquired, processing the job...
[2025-03-10 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:03:04] Production.INFO: ==10012== Lock acquired, processing the job...
[2025-03-10 13:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:03:04] Production.INFO: ==10014== Lock acquired, processing the job...
[2025-03-10 13:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:03:04] Production.INFO: ==10010== Releasing lock...
[2025-03-10 13:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:03:04] Production.ERROR: done
[2025-03-10 13:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 13:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:03:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:03:04] Production.INFO: count ==21
[2025-03-10 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649694') start
[2025-03-10 13:03:04] Production.INFO: Account Balance Start.
[2025-03-10 13:03:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:03:04] Production.INFO: 117
[2025-03-10 13:03:04] Production.ERROR: done
[2025-03-10 13:03:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649694') end
[2025-03-10 13:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:03:04] Production.INFO: 1
[2025-03-10 13:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:03:04] Production.INFO: ==10019== Releasing lock...
[2025-03-10 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:03:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:03:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:03:04] Production.INFO: Total Charge 0
[2025-03-10 13:03:04] Production.INFO: CreateAllLog End
[2025-03-10 13:03:04] Production.INFO: Account Balance End.
[2025-03-10 13:03:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:03:05] Production.INFO: ==10014== Releasing lock...
[2025-03-10 13:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:03:05
[end_date_ymd] => 2025-03-10 13:03:05
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:03:05' and `end` < '2025-03-10 13: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-03-10 13:03:13] Production.ERROR: CronJobId end10
[2025-03-10 13:03:13] Production.INFO: ==10012== Releasing lock...
[2025-03-10 13:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:03:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:03:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:03:15] Production.INFO: call_cost start
[2025-03-10 13:03:15] Production.INFO: call_cost end
[2025-03-10 13:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:03:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:03:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:03:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:03:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:03:16] Production.INFO: ==10008== Releasing lock...
[2025-03-10 13:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:03:18] Production.INFO: count ==5109
[2025-03-10 13:03:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:03:05 - End Time 2025-03-10 13:03:05
[2025-03-10 13:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649696', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649696', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649696', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649696', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:03:21] Production.INFO: ProcessCDR(1,14649696,1,1,2)
[2025-03-10 13:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:03:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649696', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649696', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:03:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:03:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:03:26] Production.INFO: ==10017== Releasing lock...
[2025-03-10 13:03:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:03:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:04:01] Production.INFO: ==10074== Lock acquired, processing the job...
[2025-03-10 17:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:04:01] Production.INFO: neon service started
[2025-03-10 17:04:01] Production.INFO: neon service started
[2025-03-10 17:04:01] Production.INFO: ==10074== Releasing lock...
[2025-03-10 17:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:04:02] Production.INFO: ==10076== Lock acquired, processing the job...
[2025-03-10 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:04:02] Production.INFO: ==10078== Lock acquired, processing the job...
[2025-03-10 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:04:02] Production.INFO: ==10078== Releasing lock...
[2025-03-10 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:04:02] Production.INFO: ==10076== Releasing lock...
[2025-03-10 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:04:03] Production.INFO: ==10085== Lock acquired, processing the job...
[2025-03-10 13:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:04:03] Production.INFO: ==10088== Lock acquired, processing the job...
[2025-03-10 13:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:04:03] Production.INFO: Account Balance Start.
[2025-03-10 13:04:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:04:03] Production.INFO: 117
[2025-03-10 13:04:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:04:03] Production.INFO: Date 2025-03-09
[2025-03-10 13:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:04:03] Production.INFO: ==10081== Lock acquired, processing the job...
[2025-03-10 13:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:04:03] Production.INFO: Date 2025-03-10
[2025-03-10 13:04:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:04:03] Production.INFO: ==10083== Lock acquired, processing the job...
[2025-03-10 13:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:04:03] Production.INFO: Total Charge 0
[2025-03-10 13:04:04] Production.INFO: CreateAllLog End
[2025-03-10 13:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:04:04] Production.INFO: ==10092== Lock acquired, processing the job...
[2025-03-10 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:04:04] Production.INFO: ==10090== Lock acquired, processing the job...
[2025-03-10 13:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 13:04:04] Production.INFO: Account Balance End.
[2025-03-10 13:04:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:04:04] Production.INFO: count ==21
[2025-03-10 13:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:04:04] Production.INFO: ==10088== Releasing lock...
[2025-03-10 13:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649700') start
[2025-03-10 13:04:04] Production.INFO: ==10083== Releasing lock...
[2025-03-10 13:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649700') end
[2025-03-10 13:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:04:04] Production.INFO: 1
[2025-03-10 13:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:04:04] Production.ERROR: done
[2025-03-10 13:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:04:04] Production.INFO: ==10092== Releasing lock...
[2025-03-10 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:04:04] Production.ERROR: done
[2025-03-10 13:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:04:05
[end_date_ymd] => 2025-03-10 13:04:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:04:05' and `end` < '2025-03-10 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-03-10 13:04:12] Production.ERROR: CronJobId end10
[2025-03-10 13:04:12] Production.INFO: ==10085== Releasing lock...
[2025-03-10 13:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:04:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:04:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:04:15] Production.INFO: call_cost start
[2025-03-10 13:04:15] Production.INFO: call_cost end
[2025-03-10 13:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:04:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:04:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:04:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:04:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:04:16] Production.INFO: ==10081== Releasing lock...
[2025-03-10 13:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:04:19] Production.INFO: count ==5101
[2025-03-10 13:04:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:04:05 - End Time 2025-03-10 13:04:05
[2025-03-10 13:04:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649701', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649701', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649701', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649701', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:04:21] Production.INFO: ProcessCDR(1,14649701,1,1,2)
[2025-03-10 13:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:04:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649701', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649701', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:04:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:04:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:04:27] Production.INFO: ==10090== Releasing lock...
[2025-03-10 13:04:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:04:27] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:05:01] Production.INFO: ==10145== Lock acquired, processing the job...
[2025-03-10 17:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:05:01] Production.INFO: neon service started
[2025-03-10 17:05:01] Production.INFO: neon service started
[2025-03-10 17:05:01] Production.INFO: ==10145== Releasing lock...
[2025-03-10 17:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:05:02] Production.INFO: ==10147== Lock acquired, processing the job...
[2025-03-10 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:05:02] Production.INFO: ==10149== Lock acquired, processing the job...
[2025-03-10 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:05:02] Production.INFO: ==10149== Releasing lock...
[2025-03-10 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:05:02] Production.INFO: 26 MB #Memory Used#
[2025-03-10 13:05:03] Production.INFO: ==10147== Releasing lock...
[2025-03-10 13:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:05:03] Production.INFO: ==10152== Lock acquired, processing the job...
[2025-03-10 13:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:05:04] Production.INFO: ==10154== Lock acquired, processing the job...
[2025-03-10 13:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:05:04] Production.INFO: ==10160== Lock acquired, processing the job...
[2025-03-10 13:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:05:04] Production.INFO: ==10158== Lock acquired, processing the job...
[2025-03-10 13:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:05:04] Production.INFO: ==10154== Releasing lock...
[2025-03-10 13:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:05:04] Production.INFO: ==10156== Lock acquired, processing the job...
[2025-03-10 13:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:05:04] Production.INFO: ==10162== Lock acquired, processing the job...
[2025-03-10 13:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:05:04] Production.INFO: Account Balance Start.
[2025-03-10 13:05:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:05:04] Production.INFO: 117
[2025-03-10 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-03-10 13:05:04] Production.ERROR: done
[2025-03-10 13:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:05:04] Production.INFO: count ==13
[2025-03-10 13:05:04] Production.INFO: Date 2025-03-08
[2025-03-10 13: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-03-10 13:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:05:04] Production.INFO: count ==21
[2025-03-10 13:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649704') start
[2025-03-10 13:05:04] Production.ERROR: done
[2025-03-10 13:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649704') end
[2025-03-10 13:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:05:04] Production.INFO: 1
[2025-03-10 13:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:05:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:05:04] Production.INFO: ==10162== Releasing lock...
[2025-03-10 13:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:05:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:05:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:05:05] Production.INFO: Total Charge 0
[2025-03-10 13:05:05] Production.INFO: CreateAllLog End
[2025-03-10 13:05:05] Production.INFO: Account Balance End.
[2025-03-10 13:05:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:05:05] Production.INFO: ==10158== Releasing lock...
[2025-03-10 13:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:05:06
[end_date_ymd] => 2025-03-10 13:05:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:05:06' and `end` < '2025-03-10 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-03-10 13:05:14] Production.ERROR: CronJobId end10
[2025-03-10 13:05:14] Production.INFO: ==10156== Releasing lock...
[2025-03-10 13:05:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:05:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:05:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:05:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:05:16] Production.INFO: call_cost start
[2025-03-10 13:05:16] Production.INFO: call_cost end
[2025-03-10 13:05:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:05:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:05:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:05:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:05:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:05:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:05:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:05:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:05:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:05:17] Production.INFO: ==10152== Releasing lock...
[2025-03-10 13:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:05:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:05:19] Production.INFO: count ==5110
[2025-03-10 13:05:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:05:06 - End Time 2025-03-10 13:05:06
[2025-03-10 13:05:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649706', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649706', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649706', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649706', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:05:21] Production.INFO: ProcessCDR(1,14649706,1,1,2)
[2025-03-10 13:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:05:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:05:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:05:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649706', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649706', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:05:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:05:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:05:27] Production.INFO: ==10160== Releasing lock...
[2025-03-10 13:05:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:05:27] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:06:01] Production.INFO: ==10222== Lock acquired, processing the job...
[2025-03-10 17:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:06:01] Production.INFO: neon service started
[2025-03-10 17:06:01] Production.INFO: neon service started
[2025-03-10 17:06:01] Production.INFO: ==10222== Releasing lock...
[2025-03-10 17:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:06:01] Production.INFO: ==10224== Lock acquired, processing the job...
[2025-03-10 13:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:06:02] Production.INFO: ==10224== Releasing lock...
[2025-03-10 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:06:02] Production.INFO: ==10226== Lock acquired, processing the job...
[2025-03-10 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:06:02] Production.INFO: ==10226== Releasing lock...
[2025-03-10 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:06:03] Production.INFO: ==10228== Lock acquired, processing the job...
[2025-03-10 13:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:06:03] Production.INFO: ==10234== Lock acquired, processing the job...
[2025-03-10 13:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:06:03] Production.INFO: ==10232== Lock acquired, processing the job...
[2025-03-10 13:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:06:03] Production.INFO: ==10230== Lock acquired, processing the job...
[2025-03-10 13:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:06:03] Production.INFO: ==10236== Lock acquired, processing the job...
[2025-03-10 13:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:06:03] Production.INFO: Account Balance Start.
[2025-03-10 13:06:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:06:03] Production.INFO: 117
[2025-03-10 13:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:06:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:06:03] Production.INFO: ==10238== Lock acquired, processing the job...
[2025-03-10 13:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:06:03] Production.INFO: Date 2025-03-09
[2025-03-10 13:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:06:03] Production.INFO: Date 2025-03-10
[2025-03-10 13:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:06:03] Production.INFO: Total Charge 0
[2025-03-10 13:06:03] Production.INFO: CreateAllLog End
[2025-03-10 13: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-03-10 13:06:03] Production.INFO: count ==13
[2025-03-10 13:06:04] Production.ERROR: done
[2025-03-10 13:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 13:06:04] Production.INFO: count ==21
[2025-03-10 13:06:04] Production.INFO: Account Balance End.
[2025-03-10 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649710') start
[2025-03-10 13:06:04] Production.INFO: ==10230== Releasing lock...
[2025-03-10 13:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:06:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:06:04] Production.INFO: ==10234== Releasing lock...
[2025-03-10 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:06:04] Production.ERROR: done
[2025-03-10 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649710') end
[2025-03-10 13:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:06:04] Production.INFO: 1
[2025-03-10 13:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:06:04] Production.INFO: ==10238== Releasing lock...
[2025-03-10 13:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:06:05
[end_date_ymd] => 2025-03-10 13:06:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:06:05' and `end` < '2025-03-10 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-03-10 13:06:12] Production.ERROR: CronJobId end10
[2025-03-10 13:06:12] Production.INFO: ==10232== Releasing lock...
[2025-03-10 13:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:06:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:06:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:06:15] Production.INFO: call_cost start
[2025-03-10 13:06:15] Production.INFO: call_cost end
[2025-03-10 13:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:06:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:06:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:06:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:06:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:06:16] Production.INFO: ==10228== Releasing lock...
[2025-03-10 13:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:06:18] Production.INFO: count ==5109
[2025-03-10 13:06:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:06:05 - End Time 2025-03-10 13:06:05
[2025-03-10 13:06:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649711', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649711', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649711', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649711', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:06:21] Production.INFO: ProcessCDR(1,14649711,1,1,2)
[2025-03-10 13:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:06:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:06:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649711', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:06:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649711', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:06:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:06:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:06:27] Production.INFO: ==10236== Releasing lock...
[2025-03-10 13:06:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:06:27] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:07:01] Production.INFO: ==10298== Lock acquired, processing the job...
[2025-03-10 17:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:07:01] Production.INFO: neon service started
[2025-03-10 17:07:01] Production.INFO: neon service started
[2025-03-10 17:07:01] Production.INFO: ==10298== Releasing lock...
[2025-03-10 17:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:07:02] Production.INFO: ==10302== Lock acquired, processing the job...
[2025-03-10 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:07:02] Production.INFO: ==10302== Releasing lock...
[2025-03-10 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:07:02] Production.INFO: ==10300== Lock acquired, processing the job...
[2025-03-10 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:07:02] Production.INFO: ==10300== Releasing lock...
[2025-03-10 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:07:03] Production.INFO: ==10305== Lock acquired, processing the job...
[2025-03-10 13:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:07:03] Production.INFO: ==10309== Lock acquired, processing the job...
[2025-03-10 13:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:07:03] Production.INFO: ==10315== Lock acquired, processing the job...
[2025-03-10 13:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 13:07:04] Production.INFO: count ==13
[2025-03-10 13:07:04] Production.INFO: ==10307== Lock acquired, processing the job...
[2025-03-10 13:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 13:07:04] Production.INFO: count ==21
[2025-03-10 13:07:04] Production.INFO: ==10313== Lock acquired, processing the job...
[2025-03-10 13:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649713') start
[2025-03-10 13:07:04] Production.INFO: ==10311== Lock acquired, processing the job...
[2025-03-10 13:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649713') end
[2025-03-10 13:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:07:04] Production.INFO: 1
[2025-03-10 13:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:07:04] Production.INFO: Account Balance Start.
[2025-03-10 13:07:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:07:04] Production.INFO: 117
[2025-03-10 13:07:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:07:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:07:04] Production.INFO: ==10315== Releasing lock...
[2025-03-10 13:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:07:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:07:04] Production.INFO: Total Charge 0
[2025-03-10 13:07:04] Production.INFO: CreateAllLog End
[2025-03-10 13:07:04] Production.ERROR: done
[2025-03-10 13:07:04] Production.INFO: ==10307== Releasing lock...
[2025-03-10 13:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:07:05] Production.ERROR: done
[2025-03-10 13:07:05] Production.INFO: Account Balance End.
[2025-03-10 13:07:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:07:05] Production.INFO: ==10311== Releasing lock...
[2025-03-10 13:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:07:06
[end_date_ymd] => 2025-03-10 13:07:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:07:06' and `end` < '2025-03-10 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-03-10 13:07:13] Production.ERROR: CronJobId end10
[2025-03-10 13:07:13] Production.INFO: ==10309== Releasing lock...
[2025-03-10 13:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:07:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:07:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:07:16] Production.INFO: call_cost start
[2025-03-10 13:07:16] Production.INFO: call_cost end
[2025-03-10 13:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:07:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:07:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:07:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:07:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:07:17] Production.INFO: ==10305== Releasing lock...
[2025-03-10 13:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:07:19] Production.INFO: count ==5091
[2025-03-10 13:07:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:07:06 - End Time 2025-03-10 13:07:06
[2025-03-10 13:07:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649716', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649716', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649716', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649716', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:07:21] Production.INFO: ProcessCDR(1,14649716,1,1,2)
[2025-03-10 13:07:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:07:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:07:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:07:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649716', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649716', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:07:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:07:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:07:27] Production.INFO: ==10313== Releasing lock...
[2025-03-10 13:07:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:07:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 17:08:01] Production.INFO: ==10370== Lock acquired, processing the job...
[2025-03-10 17:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:08:01] Production.INFO: neon service started
[2025-03-10 17:08:01] Production.INFO: neon service started
[2025-03-10 17:08:01] Production.INFO: ==10370== Releasing lock...
[2025-03-10 17:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:08:01] Production.INFO: ==10372== Lock acquired, processing the job...
[2025-03-10 13:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:08:02] Production.INFO: ==10372== Releasing lock...
[2025-03-10 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:08:02] Production.INFO: ==10374== Lock acquired, processing the job...
[2025-03-10 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:08:02] Production.INFO: ==10374== Releasing lock...
[2025-03-10 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:08:03] Production.INFO: ==10378== Lock acquired, processing the job...
[2025-03-10 13:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:08:03] Production.INFO: ==10380== Lock acquired, processing the job...
[2025-03-10 13:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:08:03] Production.INFO: ==10376== Lock acquired, processing the job...
[2025-03-10 13:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:08:03] Production.INFO: ==10382== Lock acquired, processing the job...
[2025-03-10 13:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:08:03] Production.INFO: ==10384== Lock acquired, processing the job...
[2025-03-10 13:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:08:03] Production.INFO: Account Balance Start.
[2025-03-10 13:08:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:08:03] Production.INFO: 117
[2025-03-10 13:08:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:08:03] Production.INFO: ==10378== Releasing lock...
[2025-03-10 13:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:08:03] Production.INFO: Date 2025-03-09
[2025-03-10 13:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:08:03] Production.INFO: ==10386== Lock acquired, processing the job...
[2025-03-10 13:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:08:03] Production.INFO: Date 2025-03-10
[2025-03-10 13:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:08:03] Production.INFO: Total Charge 0
[2025-03-10 13: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-03-10 13:08:03] Production.INFO: CreateAllLog End
[2025-03-10 13:08:03] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:08:03] Production.INFO: count ==21
[2025-03-10 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649720') start
[2025-03-10 13:08:04] Production.ERROR: done
[2025-03-10 13:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:08:04] Production.INFO: Account Balance End.
[2025-03-10 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649720') end
[2025-03-10 13:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:08:04] Production.INFO: 1
[2025-03-10 13:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:08:04] Production.INFO: ==10386== Releasing lock...
[2025-03-10 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:08:04] Production.INFO: ==10382== Releasing lock...
[2025-03-10 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:08:04] Production.ERROR: done
[2025-03-10 13:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:08:05
[end_date_ymd] => 2025-03-10 13:08:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:08:05' and `end` < '2025-03-10 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-03-10 13:08:13] Production.ERROR: CronJobId end10
[2025-03-10 13:08:13] Production.INFO: ==10380== Releasing lock...
[2025-03-10 13:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:08:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:08:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:08:14] Production.INFO: call_cost start
[2025-03-10 13:08:14] Production.INFO: call_cost end
[2025-03-10 13:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:08:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:08:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:08:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:08:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:08:15] Production.INFO: ==10376== Releasing lock...
[2025-03-10 13:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:08:18] Production.INFO: count ==5112
[2025-03-10 13:08:20] Production.ERROR: pbx CDR StartTime 2025-03-10 10:08:05 - End Time 2025-03-10 13:08:05
[2025-03-10 13:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649721', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649721', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649721', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649721', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:08:20] Production.INFO: ProcessCDR(1,14649721,1,1,2)
[2025-03-10 13:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:08:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:08:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:08:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649721', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649721', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:08:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:08:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:08:26] Production.INFO: ==10384== Releasing lock...
[2025-03-10 13:08:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:08:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:09:01] Production.INFO: ==10444== Lock acquired, processing the job...
[2025-03-10 17:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:09:01] Production.INFO: neon service started
[2025-03-10 17:09:02] Production.INFO: neon service started
[2025-03-10 17:09:02] Production.INFO: ==10444== Releasing lock...
[2025-03-10 17:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:09:02] Production.INFO: ==10446== Lock acquired, processing the job...
[2025-03-10 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:09:02] Production.INFO: ==10448== Lock acquired, processing the job...
[2025-03-10 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:09:02] Production.INFO: ==10448== Releasing lock...
[2025-03-10 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:09:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:09:03] Production.INFO: ==10446== Releasing lock...
[2025-03-10 13:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:09:04] Production.INFO: ==10453== Lock acquired, processing the job...
[2025-03-10 13:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:09:04] Production.INFO: ==10455== Lock acquired, processing the job...
[2025-03-10 13:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:09:04] Production.INFO: ==10457== Lock acquired, processing the job...
[2025-03-10 13:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:09:04] Production.INFO: ==10451== Lock acquired, processing the job...
[2025-03-10 13:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:09:04] Production.INFO: Account Balance Start.
[2025-03-10 13:09:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:09:04] Production.INFO: 117
[2025-03-10 13:09:04] Production.INFO: ==10453== Releasing lock...
[2025-03-10 13:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:09:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:09:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:09:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:09:04] Production.INFO: Total Charge 0
[2025-03-10 13:09:04] Production.INFO: CreateAllLog End
[2025-03-10 13:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:09:04] Production.INFO: ==10461== Lock acquired, processing the job...
[2025-03-10 13:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:09:04] Production.INFO: ==10459== Lock acquired, processing the job...
[2025-03-10 13:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:09:04] Production.INFO: Account Balance End.
[2025-03-10 13:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:09:04] Production.INFO: ==10457== Releasing lock...
[2025-03-10 13:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 13:09:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:09:04] Production.INFO: count ==21
[2025-03-10 13:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649725') start
[2025-03-10 13:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649725') end
[2025-03-10 13:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:09:04] Production.INFO: 1
[2025-03-10 13:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:09:04] Production.ERROR: done
[2025-03-10 13:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:09:05] Production.INFO: ==10461== Releasing lock...
[2025-03-10 13:09:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:09:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:09:05] Production.ERROR: done
[2025-03-10 13:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:09:06
[end_date_ymd] => 2025-03-10 13:09:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:09:06' and `end` < '2025-03-10 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-03-10 13:09:14] Production.ERROR: CronJobId end10
[2025-03-10 13:09:14] Production.INFO: ==10455== Releasing lock...
[2025-03-10 13:09:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:09:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:09:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:09:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:09:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:09:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:09:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:09:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:09:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:09:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:09:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:09:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:09:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:09:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:09:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:09:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:09:16] Production.INFO: call_cost start
[2025-03-10 13:09:16] Production.INFO: call_cost end
[2025-03-10 13:09:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:09:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:09:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:09:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:09:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:09:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:09:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:09:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:09:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:09:17] Production.INFO: ==10451== Releasing lock...
[2025-03-10 13:09:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:09:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:09:19] Production.INFO: count ==5139
[2025-03-10 13:09:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:09:06 - End Time 2025-03-10 13:09:06
[2025-03-10 13:09:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649726', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649726', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649726', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649726', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:09:21] Production.INFO: ProcessCDR(1,14649726,1,1,2)
[2025-03-10 13:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:09:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:09:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649726', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649726', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:09:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:09:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:09:27] Production.INFO: ==10459== Releasing lock...
[2025-03-10 13:09:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:09:27] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 17:10:01] Production.INFO: ==10517== Lock acquired, processing the job...
[2025-03-10 17:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:10:01] Production.INFO: neon service started
[2025-03-10 17:10:01] Production.INFO: neon service started
[2025-03-10 17:10:01] Production.INFO: ==10517== Releasing lock...
[2025-03-10 17:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:10:01] Production.INFO: ==10519== Lock acquired, processing the job...
[2025-03-10 13:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:10:02] Production.INFO: ==10521== Lock acquired, processing the job...
[2025-03-10 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:10:02] Production.INFO: ==10519== Releasing lock...
[2025-03-10 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:10:02] Production.INFO: ==10521== Releasing lock...
[2025-03-10 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:10:03] Production.INFO: ==10531== Lock acquired, processing the job...
[2025-03-10 13:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:10:03] Production.INFO: ==10536== Lock acquired, processing the job...
[2025-03-10 13:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 13:10:03] Production.INFO: Account Balance Start.
[2025-03-10 13:10:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:10:03] Production.INFO: 117
[2025-03-10 13:10:03] Production.INFO: ==10538== Lock acquired, processing the job...
[2025-03-10 13:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:10:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:10:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:10:04] Production.INFO: ==10523== Lock acquired, processing the job...
[2025-03-10 13:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 13:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 13:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 13:10:04] Production.ERROR: CronJob PID - 10531
[2025-03-10 13:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 13:10:04] Production.ERROR: CronJob ID - 12
[2025-03-10 13:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 13:10:00
[2025-03-10 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 13:10:04] Production.ERROR: CronJob PID - 10536
[2025-03-10 13:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 13:10:04] Production.ERROR: CronJob ID - 17
[2025-03-10 13:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 13:10:00
[2025-03-10 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 13:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 13:10:04] Production.ERROR: CronJob PID - 10538
[2025-03-10 13:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 13:10:04] Production.ERROR: CronJob ID - 19
[2025-03-10 13:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 13:10:00
[2025-03-10 13:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 13:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 13:10:04] Production.INFO: ==10525== Lock acquired, processing the job...
[2025-03-10 13:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:10:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:10:04] Production.INFO: ==10527== Lock acquired, processing the job...
[2025-03-10 13:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:10:04] Production.INFO: count ==21
[2025-03-10 13:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 13:10:04] Production.INFO: ==10523== Releasing lock...
[2025-03-10 13:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 13:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649728') start
[2025-03-10 13:10:04] Production.INFO: Total Charge 0
[2025-03-10 13:10:04] Production.INFO: CreateAllLog End
[2025-03-10 13:10:04] Production.INFO: ==10529== Lock acquired, processing the job...
[2025-03-10 13:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:10:04] Production.ERROR: done
[2025-03-10 13:10:04] Production.INFO: ==10534== Lock acquired, processing the job...
[2025-03-10 13:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 13:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649729', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 13:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649728') end
[2025-03-10 13:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:10:04] Production.INFO: 1
[2025-03-10 13:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:10:04] Production.INFO: ==10538== Releasing lock...
[2025-03-10 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:10:04] Production.INFO: Account Balance End.
[2025-03-10 13:10:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:10:04] Production.INFO: ==10531== Releasing lock...
[2025-03-10 13:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:10:05] Production.INFO: ==10527== Releasing lock...
[2025-03-10 13:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:10:05] Production.ERROR: done
[2025-03-10 13:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:10:05] Production.ERROR: done
[2025-03-10 13:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:10:07
[end_date_ymd] => 2025-03-10 13:10:07
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:10:07' and `end` < '2025-03-10 13: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-03-10 13:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649729', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 13:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 13:10:09] Production.INFO: ProcessCDR(1,14649729,1,1,2)
[2025-03-10 13:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649729,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649729,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:10:09] Production.INFO: ==10536== Releasing lock...
[2025-03-10 13:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 13:10:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 13:10:16] 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-03-10 13:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:10:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:10:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:10:16] Production.INFO: call_cost start
[2025-03-10 13:10:16] Production.INFO: call_cost end
[2025-03-10 13:10:16] Production.ERROR: CronJobId end10
[2025-03-10 13:10:16] Production.INFO: ==10529== Releasing lock...
[2025-03-10 13:10:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:10:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:10:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:10:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:10:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:10:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:10:17] Production.INFO: ==10525== Releasing lock...
[2025-03-10 13:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:10:20] Production.INFO: count ==5149
[2025-03-10 13:10:22] Production.ERROR: pbx CDR StartTime 2025-03-10 10:10:07 - End Time 2025-03-10 13:10:07
[2025-03-10 13:10:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649732', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649732', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649732', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649732', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:10:22] Production.INFO: ProcessCDR(1,14649732,1,1,2)
[2025-03-10 13:10:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:10:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:10:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649732', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649732', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:10:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:10:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:10:28] Production.INFO: ==10534== Releasing lock...
[2025-03-10 13:10:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:10:28] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 17:11:01] Production.INFO: ==10599== Lock acquired, processing the job...
[2025-03-10 17:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:11:01] Production.INFO: neon service started
[2025-03-10 17:11:02] Production.INFO: neon service started
[2025-03-10 17:11:02] Production.INFO: ==10599== Releasing lock...
[2025-03-10 17:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:11:02] Production.INFO: ==10601== Lock acquired, processing the job...
[2025-03-10 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:11:02] Production.INFO: ==10603== Lock acquired, processing the job...
[2025-03-10 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:11:02] Production.INFO: ==10603== Releasing lock...
[2025-03-10 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:11:03] Production.INFO: ==10601== Releasing lock...
[2025-03-10 13:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:11:03] Production.INFO: ==10606== Lock acquired, processing the job...
[2025-03-10 13:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:11:03] Production.INFO: ==10610== Lock acquired, processing the job...
[2025-03-10 13:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:11:04] Production.INFO: ==10612== Lock acquired, processing the job...
[2025-03-10 13:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:11:04] Production.INFO: Account Balance Start.
[2025-03-10 13:11:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:11:04] Production.INFO: 117
[2025-03-10 13:11:04] Production.INFO: ==10608== Lock acquired, processing the job...
[2025-03-10 13:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:11:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:11:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:11:04] Production.INFO: ==10614== Lock acquired, processing the job...
[2025-03-10 13:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:11:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:11:04] Production.INFO: Total Charge 0
[2025-03-10 13:11:04] Production.INFO: CreateAllLog End
[2025-03-10 13:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:11:04] Production.INFO: ==10616== Lock acquired, processing the job...
[2025-03-10 13:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13: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-03-10 13:11:04] Production.INFO: Account Balance End.
[2025-03-10 13:11:04] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:11:04] Production.INFO: count ==21
[2025-03-10 13:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649736') start
[2025-03-10 13:11:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:11:04] Production.INFO: ==10612== Releasing lock...
[2025-03-10 13:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:11:04] Production.INFO: ==10608== Releasing lock...
[2025-03-10 13:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:11:04] Production.ERROR: done
[2025-03-10 13:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649736') end
[2025-03-10 13:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:11:04] Production.INFO: 1
[2025-03-10 13:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:11:05] Production.INFO: ==10616== Releasing lock...
[2025-03-10 13:11:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:11:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:11:05] Production.ERROR: done
[2025-03-10 13:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:11:06
[end_date_ymd] => 2025-03-10 13:11:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:11:06' and `end` < '2025-03-10 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-03-10 13:11:14] Production.ERROR: CronJobId end10
[2025-03-10 13:11:14] Production.INFO: ==10610== Releasing lock...
[2025-03-10 13:11:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:11:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:11:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:11:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:11:15] Production.INFO: call_cost start
[2025-03-10 13:11:15] Production.INFO: call_cost end
[2025-03-10 13:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:11:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:11:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:11:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:11:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:11:16] Production.INFO: ==10606== Releasing lock...
[2025-03-10 13:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:11:19] Production.INFO: count ==5163
[2025-03-10 13:11:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:11:06 - End Time 2025-03-10 13:11:06
[2025-03-10 13:11:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649737', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649737', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649737', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649737', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:11:21] Production.INFO: ProcessCDR(1,14649737,1,1,2)
[2025-03-10 13:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:11:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:11:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649737', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649737', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:11:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:11:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:11:25] Production.INFO: ==10614== Releasing lock...
[2025-03-10 13:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:11:25] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 17:12:01] Production.INFO: ==10668== Lock acquired, processing the job...
[2025-03-10 17:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:12:01] Production.INFO: neon service started
[2025-03-10 17:12:01] Production.INFO: neon service started
[2025-03-10 17:12:01] Production.INFO: ==10668== Releasing lock...
[2025-03-10 17:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:12:02] Production.INFO: ==10670== Lock acquired, processing the job...
[2025-03-10 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:12:02] Production.INFO: ==10672== Lock acquired, processing the job...
[2025-03-10 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:12:02] Production.INFO: ==10672== Releasing lock...
[2025-03-10 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:12:02] Production.INFO: ==10670== Releasing lock...
[2025-03-10 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:12:03] Production.INFO: ==10683== Lock acquired, processing the job...
[2025-03-10 13:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:12:03] Production.INFO: ==10675== Lock acquired, processing the job...
[2025-03-10 13:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:12:03] Production.INFO: ==10685== Lock acquired, processing the job...
[2025-03-10 13:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:12:03] Production.INFO: ==10677== Lock acquired, processing the job...
[2025-03-10 13:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:12:03] Production.INFO: ==10681== Lock acquired, processing the job...
[2025-03-10 13:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:12:03] Production.INFO: ==10679== Lock acquired, processing the job...
[2025-03-10 13:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:12:03] Production.INFO: Account Balance Start.
[2025-03-10 13:12:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:12:03] Production.INFO: 117
[2025-03-10 13:12:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 13:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:12:04] Production.INFO: count ==13
[2025-03-10 13:12:04] Production.INFO: Date 2025-03-09
[2025-03-10 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-03-10 13:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:12:04] Production.INFO: count ==21
[2025-03-10 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649738') start
[2025-03-10 13:12:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:12:04] Production.ERROR: done
[2025-03-10 13:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:12:04] Production.INFO: ==10677== Releasing lock...
[2025-03-10 13:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:12:04] Production.INFO: Total Charge 0
[2025-03-10 13:12:04] Production.INFO: CreateAllLog End
[2025-03-10 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649738') end
[2025-03-10 13:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:12:04] Production.INFO: 1
[2025-03-10 13:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:12:04] Production.INFO: ==10685== Releasing lock...
[2025-03-10 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:12:04] Production.ERROR: done
[2025-03-10 13:12:04] Production.INFO: Account Balance End.
[2025-03-10 13:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:12:04] Production.INFO: ==10681== Releasing lock...
[2025-03-10 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:12:05
[end_date_ymd] => 2025-03-10 13:12:05
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:12:05' and `end` < '2025-03-10 13: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-03-10 13:12:13] Production.ERROR: CronJobId end10
[2025-03-10 13:12:13] Production.INFO: ==10679== Releasing lock...
[2025-03-10 13:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:12:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:12:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:12:15] Production.INFO: call_cost start
[2025-03-10 13:12:15] Production.INFO: call_cost end
[2025-03-10 13:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:12:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:12:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:12:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:12:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:12:16] Production.INFO: ==10675== Releasing lock...
[2025-03-10 13:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:12:19] Production.INFO: count ==5172
[2025-03-10 13:12:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:12:05 - End Time 2025-03-10 13:12:05
[2025-03-10 13:12:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649742', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649742', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649742', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649742', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:12:21] Production.INFO: ProcessCDR(1,14649742,1,1,2)
[2025-03-10 13:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:12:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:12:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:12:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649742', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649742', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:12:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:12:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:12:27] Production.INFO: ==10683== Releasing lock...
[2025-03-10 13:12:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:12:27] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 17:13:01] Production.INFO: ==10739== Lock acquired, processing the job...
[2025-03-10 17:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:13:01] Production.INFO: neon service started
[2025-03-10 17:13:01] Production.INFO: neon service started
[2025-03-10 17:13:01] Production.INFO: ==10739== Releasing lock...
[2025-03-10 17:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:13:02] Production.INFO: ==10741== Lock acquired, processing the job...
[2025-03-10 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:13:02] Production.INFO: ==10743== Lock acquired, processing the job...
[2025-03-10 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:13:02] Production.INFO: ==10743== Releasing lock...
[2025-03-10 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:13:03] Production.INFO: ==10741== Releasing lock...
[2025-03-10 13:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:13:03] Production.INFO: ==10746== Lock acquired, processing the job...
[2025-03-10 13:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:13:03] Production.INFO: ==10748== Lock acquired, processing the job...
[2025-03-10 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:13:03] Production.INFO: ==10750== Lock acquired, processing the job...
[2025-03-10 13:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:13:04] Production.INFO: ==10748== Releasing lock...
[2025-03-10 13:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:13:04] Production.INFO: ==10752== Lock acquired, processing the job...
[2025-03-10 13:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:13:04] Production.INFO: ==10754== Lock acquired, processing the job...
[2025-03-10 13:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:13:04] Production.INFO: ==10756== Lock acquired, processing the job...
[2025-03-10 13:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:13:04] Production.INFO: Account Balance Start.
[2025-03-10 13:13:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:13:04] Production.INFO: 117
[2025-03-10 13:13:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:13:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 13:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:13:04] Production.INFO: Total Charge 0
[2025-03-10 13:13:04] Production.INFO: CreateAllLog End
[2025-03-10 13:13:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:13:04] Production.INFO: count ==21
[2025-03-10 13:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649746') start
[2025-03-10 13:13:05] Production.ERROR: done
[2025-03-10 13:13:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:13:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649746') end
[2025-03-10 13:13:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:13:05] Production.INFO: 1
[2025-03-10 13:13:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:13:05] Production.INFO: ==10756== Releasing lock...
[2025-03-10 13:13:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:13:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:13:05] Production.ERROR: done
[2025-03-10 13:13:05] Production.INFO: Account Balance End.
[2025-03-10 13:13:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:13:05] Production.INFO: ==10752== Releasing lock...
[2025-03-10 13:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:13:06
[end_date_ymd] => 2025-03-10 13:13:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:13:06' and `end` < '2025-03-10 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-03-10 13:13:13] Production.ERROR: CronJobId end10
[2025-03-10 13:13:13] Production.INFO: ==10750== Releasing lock...
[2025-03-10 13:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:13:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:13:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:13:15] Production.INFO: call_cost start
[2025-03-10 13:13:15] Production.INFO: call_cost end
[2025-03-10 13:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:13:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:13:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:13:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:13:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:13:16] Production.INFO: ==10746== Releasing lock...
[2025-03-10 13:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:13:19] Production.INFO: count ==5168
[2025-03-10 13:13:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:13:06 - End Time 2025-03-10 13:13:06
[2025-03-10 13:13:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649747', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649747', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649747', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649747', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:13:22] Production.INFO: ProcessCDR(1,14649747,1,1,2)
[2025-03-10 13:13:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:13:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:13:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:13:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:13:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649747', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:13:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649747', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:13:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:13:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:13:27] Production.INFO: ==10754== Releasing lock...
[2025-03-10 13:13:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:13:27] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 17:14:01] Production.INFO: ==10816== Lock acquired, processing the job...
[2025-03-10 17:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:14:01] Production.INFO: neon service started
[2025-03-10 17:14:01] Production.INFO: neon service started
[2025-03-10 17:14:01] Production.INFO: ==10816== Releasing lock...
[2025-03-10 17:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:14:01] Production.INFO: ==10818== Lock acquired, processing the job...
[2025-03-10 13:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:14:02] Production.INFO: ==10820== Lock acquired, processing the job...
[2025-03-10 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:14:02] Production.INFO: ==10820== Releasing lock...
[2025-03-10 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:14:02] Production.INFO: ==10818== Releasing lock...
[2025-03-10 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:14:03] Production.INFO: ==10825== Lock acquired, processing the job...
[2025-03-10 13:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:14:03] Production.INFO: ==10829== Lock acquired, processing the job...
[2025-03-10 13:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:14:03] Production.INFO: ==10827== Lock acquired, processing the job...
[2025-03-10 13:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:14:03] Production.INFO: Account Balance Start.
[2025-03-10 13:14:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:14:03] Production.INFO: 117
[2025-03-10 13:14:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:14:03] Production.INFO: Date 2025-03-09
[2025-03-10 13:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:14:03] Production.INFO: ==10823== Lock acquired, processing the job...
[2025-03-10 13:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:14:03] Production.INFO: Date 2025-03-10
[2025-03-10 13:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:14:03] Production.INFO: Total Charge 0
[2025-03-10 13:14:03] Production.INFO: ==10833== Lock acquired, processing the job...
[2025-03-10 13:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:14:03] Production.INFO: CreateAllLog End
[2025-03-10 13:14:03] Production.INFO: ==10831== Lock acquired, processing the job...
[2025-03-10 13:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:14:03] Production.INFO: ==10825== Releasing lock...
[2025-03-10 13:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 13:14:03] Production.INFO: count ==13
[2025-03-10 13:14:03] Production.INFO: Account Balance End.
[2025-03-10 13: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-03-10 13:14:03] Production.INFO: count ==21
[2025-03-10 13:14:03] Production.ERROR: CronJobId end 12
[2025-03-10 13:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649751') start
[2025-03-10 13:14:03] Production.INFO: ==10829== Releasing lock...
[2025-03-10 13:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649751') end
[2025-03-10 13:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:14:04] Production.INFO: 1
[2025-03-10 13:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:14:04] Production.INFO: ==10833== Releasing lock...
[2025-03-10 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:14:04] Production.ERROR: done
[2025-03-10 13:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:14:04] Production.ERROR: done
[2025-03-10 13:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:14:05
[end_date_ymd] => 2025-03-10 13:14:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:14:05' and `end` < '2025-03-10 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-03-10 13:14:13] Production.ERROR: CronJobId end10
[2025-03-10 13:14:13] Production.INFO: ==10827== Releasing lock...
[2025-03-10 13:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:14:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:14:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:14:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:14:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:14:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:14:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:14:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:14:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:14:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:14:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:14:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:14:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:14:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:14:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:14:16] Production.INFO: call_cost start
[2025-03-10 13:14:16] Production.INFO: call_cost end
[2025-03-10 13:14:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:14:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:14:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:14:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:14:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:14:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:14:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:14:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:14:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:14:17] Production.INFO: ==10823== Releasing lock...
[2025-03-10 13:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:14:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:14:18] Production.INFO: count ==5152
[2025-03-10 13:14:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:14:05 - End Time 2025-03-10 13:14:05
[2025-03-10 13:14:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649752', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649752', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649752', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649752', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:14:21] Production.INFO: ProcessCDR(1,14649752,1,1,2)
[2025-03-10 13:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:14:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:14:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649752', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649752', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:14:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:14:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:14:26] Production.INFO: ==10831== Releasing lock...
[2025-03-10 13:14:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:14:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 17:15:01] Production.INFO: ==10890== Lock acquired, processing the job...
[2025-03-10 17:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:15:02] Production.INFO: neon service started
[2025-03-10 17:15:02] Production.INFO: neon service started
[2025-03-10 17:15:02] Production.INFO: ==10890== Releasing lock...
[2025-03-10 17:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:15:02] Production.INFO: ==10892== Lock acquired, processing the job...
[2025-03-10 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:15:02] Production.INFO: ==10894== Lock acquired, processing the job...
[2025-03-10 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:15:02] Production.INFO: ==10892== Releasing lock...
[2025-03-10 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:15:02] Production.INFO: ==10894== Releasing lock...
[2025-03-10 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:15:03] Production.INFO: ==10898== Lock acquired, processing the job...
[2025-03-10 13:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:15:03] Production.INFO: ==10904== Lock acquired, processing the job...
[2025-03-10 13:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:15:03] Production.INFO: ==10907== Lock acquired, processing the job...
[2025-03-10 13:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:15:03] Production.INFO: ==10896== Lock acquired, processing the job...
[2025-03-10 13:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:15:04] Production.INFO: ==10902== Lock acquired, processing the job...
[2025-03-10 13:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 13:15:04] Production.INFO: count ==13
[2025-03-10 13:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:15:04] Production.INFO: ==10900== Lock acquired, processing the job...
[2025-03-10 13:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 13:15:04] Production.INFO: count ==21
[2025-03-10 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649754') start
[2025-03-10 13:15:04] Production.ERROR: done
[2025-03-10 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649754') end
[2025-03-10 13:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:15:04] Production.INFO: 1
[2025-03-10 13:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:15:04] Production.INFO: ==10907== Releasing lock...
[2025-03-10 13:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:15:04] Production.INFO: Account Balance Start.
[2025-03-10 13:15:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:15:04] Production.INFO: ==10898== Releasing lock...
[2025-03-10 13:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:15:04] Production.INFO: 117
[2025-03-10 13:15:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:15:04] Production.ERROR: done
[2025-03-10 13:15:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:15:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:15:04] Production.INFO: Total Charge 0
[2025-03-10 13:15:04] Production.INFO: CreateAllLog End
[2025-03-10 13:15:04] Production.INFO: Account Balance End.
[2025-03-10 13:15:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:15:04] Production.INFO: ==10902== Releasing lock...
[2025-03-10 13:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:15:05
[end_date_ymd] => 2025-03-10 13:15:05
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:15:05' and `end` < '2025-03-10 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-03-10 13:15:13] Production.ERROR: CronJobId end10
[2025-03-10 13:15:13] Production.INFO: ==10900== Releasing lock...
[2025-03-10 13:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:15:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:15:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:15:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:15:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:15:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:15:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:15:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:15:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:15:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:15:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:15:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:15:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:15:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:15:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:15:17] Production.INFO: call_cost start
[2025-03-10 13:15:17] Production.INFO: call_cost end
[2025-03-10 13:15:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:15:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:15:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:15:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:15:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:15:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:15:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:15:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:15:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:15:18] Production.INFO: ==10896== Releasing lock...
[2025-03-10 13:15:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:15:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:15:18] Production.INFO: count ==5166
[2025-03-10 13:15:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:15:05 - End Time 2025-03-10 13:15:05
[2025-03-10 13:15:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649757', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649757', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649757', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649757', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:15:21] Production.INFO: ProcessCDR(1,14649757,1,1,2)
[2025-03-10 13:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:15:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:15:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:15:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649757', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649757', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:15:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:15:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:15:26] Production.INFO: ==10904== Releasing lock...
[2025-03-10 13:15:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:15:26] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 17:16:01] Production.INFO: ==10963== Lock acquired, processing the job...
[2025-03-10 17:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:16:01] Production.INFO: neon service started
[2025-03-10 17:16:01] Production.INFO: neon service started
[2025-03-10 17:16:01] Production.INFO: ==10963== Releasing lock...
[2025-03-10 17:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:16:01] Production.INFO: ==10967== Lock acquired, processing the job...
[2025-03-10 17:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:16:01] Production.INFO: ==10967== Releasing lock...
[2025-03-10 17:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:16:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:16:02] Production.INFO: ==10965== Lock acquired, processing the job...
[2025-03-10 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:16:02] Production.INFO: ==10965== Releasing lock...
[2025-03-10 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:16:03] Production.INFO: ==10972== Lock acquired, processing the job...
[2025-03-10 13:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:16:03] Production.INFO: ==10974== Lock acquired, processing the job...
[2025-03-10 13:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:16:03] Production.INFO: ==10978== Lock acquired, processing the job...
[2025-03-10 13:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:16:03] Production.INFO: ==10970== Lock acquired, processing the job...
[2025-03-10 13:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:16:03] Production.INFO: ==10972== Releasing lock...
[2025-03-10 13:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:16:03] Production.INFO: ==10976== Lock acquired, processing the job...
[2025-03-10 13:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:16:03] Production.INFO: ==10980== Lock acquired, processing the job...
[2025-03-10 13:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:16:03] Production.INFO: Account Balance Start.
[2025-03-10 13:16:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:16:03] Production.INFO: 117
[2025-03-10 13:16:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:16:04] Production.ERROR: done
[2025-03-10 13:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 13:16:04] Production.INFO: count ==13
[2025-03-10 13:16:04] Production.INFO: Date 2025-03-09
[2025-03-10 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-03-10 13:16:04] Production.INFO: count ==21
[2025-03-10 13:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649761') start
[2025-03-10 13:16:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649761') end
[2025-03-10 13:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:16:04] Production.INFO: 1
[2025-03-10 13:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:16:04] Production.ERROR: done
[2025-03-10 13:16:04] Production.INFO: Total Charge 0
[2025-03-10 13:16:04] Production.INFO: CreateAllLog End
[2025-03-10 13:16:04] Production.INFO: ==10980== Releasing lock...
[2025-03-10 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:16:04] Production.INFO: Account Balance End.
[2025-03-10 13:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:16:04] Production.INFO: ==10976== Releasing lock...
[2025-03-10 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:16:05
[end_date_ymd] => 2025-03-10 13:16:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:16:05' and `end` < '2025-03-10 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-03-10 13:16:13] Production.ERROR: CronJobId end10
[2025-03-10 13:16:13] Production.INFO: ==10974== Releasing lock...
[2025-03-10 13:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:16:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:16:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:16:16] Production.INFO: call_cost start
[2025-03-10 13:16:16] Production.INFO: call_cost end
[2025-03-10 13:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:16:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:16:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:16:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:16:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:16:17] Production.INFO: ==10970== Releasing lock...
[2025-03-10 13:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:16:18] Production.INFO: count ==5171
[2025-03-10 13:16:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:16:05 - End Time 2025-03-10 13:16:05
[2025-03-10 13:16:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649762', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649762', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649762', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649762', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:16:21] Production.INFO: ProcessCDR(1,14649762,1,1,2)
[2025-03-10 13:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:16:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:16:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:16:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649762', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:16:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649762', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:16:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:16:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:16:27] Production.INFO: ==10978== Releasing lock...
[2025-03-10 13:16:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:16:27] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 17:17:02] Production.INFO: ==11076== Lock acquired, processing the job...
[2025-03-10 17:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:17:02] Production.INFO: neon service started
[2025-03-10 17:17:02] Production.INFO: neon service started
[2025-03-10 17:17:02] Production.INFO: ==11076== Releasing lock...
[2025-03-10 17:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:17:02] Production.INFO: ==11078== Lock acquired, processing the job...
[2025-03-10 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:17:02] Production.INFO: ==11080== Lock acquired, processing the job...
[2025-03-10 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:17:02] Production.INFO: ==11080== Releasing lock...
[2025-03-10 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:17:03] Production.INFO: ==11078== Releasing lock...
[2025-03-10 13:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:17:04] Production.INFO: ==11085== Lock acquired, processing the job...
[2025-03-10 13:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:17:04] Production.INFO: ==11093== Lock acquired, processing the job...
[2025-03-10 13:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:17:04] Production.INFO: ==11083== Lock acquired, processing the job...
[2025-03-10 13:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:17:04] Production.INFO: ==11087== Lock acquired, processing the job...
[2025-03-10 13:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 13:17:04] Production.INFO: ==11089== Lock acquired, processing the job...
[2025-03-10 13:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:17:04] Production.INFO: ==11085== Releasing lock...
[2025-03-10 13:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:17:04] Production.INFO: count ==13
[2025-03-10 13:17:04] Production.INFO: ==11091== Lock acquired, processing the job...
[2025-03-10 13:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 13:17:04] Production.INFO: count ==21
[2025-03-10 13:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:17:04] Production.INFO: Account Balance Start.
[2025-03-10 13:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:17:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649764') start
[2025-03-10 13:17:04] Production.INFO: 117
[2025-03-10 13:17:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:17:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649764') end
[2025-03-10 13:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:17:04] Production.INFO: 1
[2025-03-10 13:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:17:04] Production.INFO: Total Charge 0
[2025-03-10 13:17:04] Production.INFO: ==11093== Releasing lock...
[2025-03-10 13:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:17:04] Production.INFO: CreateAllLog End
[2025-03-10 13:17:05] Production.ERROR: done
[2025-03-10 13:17:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:17:05] Production.INFO: Account Balance End.
[2025-03-10 13:17:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:17:05] Production.INFO: ==11089== Releasing lock...
[2025-03-10 13:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:17:05] Production.ERROR: done
[2025-03-10 13:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:17:06
[end_date_ymd] => 2025-03-10 13:17:06
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:17:06' and `end` < '2025-03-10 13: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-03-10 13:17:15] Production.ERROR: CronJobId end10
[2025-03-10 13:17:15] Production.INFO: ==11087== Releasing lock...
[2025-03-10 13:17:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:17:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:17:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:17:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:17:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:17:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:17:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:17:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:17:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:17:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:17:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:17:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:17:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:17:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:17:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:17:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:17:17] Production.INFO: call_cost start
[2025-03-10 13:17:17] Production.INFO: call_cost end
[2025-03-10 13:17:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:17:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:17:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:17:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:17:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:17:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:17:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:17:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:17:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:17:18] Production.INFO: ==11083== Releasing lock...
[2025-03-10 13:17:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:17:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:17:20] Production.INFO: count ==5170
[2025-03-10 13:17:22] Production.ERROR: pbx CDR StartTime 2025-03-10 10:17:06 - End Time 2025-03-10 13:17:06
[2025-03-10 13:17:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649767', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649767', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649767', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649767', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:17:23] Production.INFO: ProcessCDR(1,14649767,1,1,2)
[2025-03-10 13:17:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:17:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:17:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:17:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:17:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649767', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:17:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649767', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:17:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:17:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:17:28] Production.INFO: ==11091== Releasing lock...
[2025-03-10 13:17:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:17:28] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 17:18:01] Production.INFO: ==11156== Lock acquired, processing the job...
[2025-03-10 17:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:18:01] Production.INFO: neon service started
[2025-03-10 17:18:01] Production.INFO: neon service started
[2025-03-10 17:18:01] Production.INFO: ==11156== Releasing lock...
[2025-03-10 17:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:18:02] Production.INFO: ==11159== Lock acquired, processing the job...
[2025-03-10 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:18:02] Production.INFO: ==11161== Lock acquired, processing the job...
[2025-03-10 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:18:02] Production.INFO: ==11161== Releasing lock...
[2025-03-10 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:18:02] Production.INFO: ==11159== Releasing lock...
[2025-03-10 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:18:03] Production.INFO: ==11167== Lock acquired, processing the job...
[2025-03-10 13:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:18:03] Production.INFO: ==11171== Lock acquired, processing the job...
[2025-03-10 13:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:18:04] Production.INFO: ==11163== Lock acquired, processing the job...
[2025-03-10 13:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:18:04] Production.INFO: ==11165== Lock acquired, processing the job...
[2025-03-10 13:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:18:04] Production.INFO: ==11169== Lock acquired, processing the job...
[2025-03-10 13:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:18:04] Production.INFO: Account Balance Start.
[2025-03-10 13:18:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:18:04] Production.INFO: 117
[2025-03-10 13:18:04] Production.INFO: ==11174== Lock acquired, processing the job...
[2025-03-10 13:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:18:04] Production.ERROR: done
[2025-03-10 13:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:18:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:18:04] Production.ERROR: done
[2025-03-10 13: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-03-10 13:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:18:04] Production.INFO: count ==13
[2025-03-10 13:18:04] Production.INFO: ==11165== Releasing lock...
[2025-03-10 13:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13: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-03-10 13:18:04] Production.INFO: count ==21
[2025-03-10 13:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649771') start
[2025-03-10 13:18:04] Production.INFO: Total Charge 0
[2025-03-10 13:18:04] Production.INFO: CreateAllLog End
[2025-03-10 13:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649771') end
[2025-03-10 13:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:18:04] Production.INFO: 1
[2025-03-10 13:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:18:05] Production.INFO: ==11174== Releasing lock...
[2025-03-10 13:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:18:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:18:05] Production.INFO: Account Balance End.
[2025-03-10 13:18:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:18:05] Production.INFO: ==11169== Releasing lock...
[2025-03-10 13:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:18:06
[end_date_ymd] => 2025-03-10 13:18:06
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:18:06' and `end` < '2025-03-10 13: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-03-10 13:18:13] Production.ERROR: CronJobId end10
[2025-03-10 13:18:13] Production.INFO: ==11167== Releasing lock...
[2025-03-10 13:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:18:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:18:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:18:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:18:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:18:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:18:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:18:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:18:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:18:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:18:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:18:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:18:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:18:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:18:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:18:16] Production.INFO: call_cost start
[2025-03-10 13:18:16] Production.INFO: call_cost end
[2025-03-10 13:18:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:18:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:18:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:18:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:18:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:18:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:18:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:18:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:18:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:18:17] Production.INFO: ==11163== Releasing lock...
[2025-03-10 13:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:18:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:18:19] Production.INFO: count ==5167
[2025-03-10 13:18:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:18:06 - End Time 2025-03-10 13:18:06
[2025-03-10 13:18:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649772', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649772', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649772', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649772', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:18:21] Production.INFO: ProcessCDR(1,14649772,1,1,2)
[2025-03-10 13:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:18:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:18:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:18:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:18:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649772', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:18:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649772', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:18:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:18:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:18:27] Production.INFO: ==11171== Releasing lock...
[2025-03-10 13:18:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:18:27] Production.INFO: 67 MB #Memory Used#
[2025-03-10 17:19:02] Production.INFO: ==11228== Lock acquired, processing the job...
[2025-03-10 17:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:19:02] Production.INFO: neon service started
[2025-03-10 17:19:02] Production.INFO: neon service started
[2025-03-10 17:19:02] Production.INFO: ==11228== Releasing lock...
[2025-03-10 17:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:19:02] Production.INFO: ==11230== Lock acquired, processing the job...
[2025-03-10 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:19:02] Production.INFO: ==11232== Lock acquired, processing the job...
[2025-03-10 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:19:02] Production.INFO: ==11232== Releasing lock...
[2025-03-10 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:19:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:19:03] Production.INFO: ==11230== Releasing lock...
[2025-03-10 13:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:19:04] Production.INFO: ==11243== Lock acquired, processing the job...
[2025-03-10 13:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:19:04] Production.INFO: ==11245== Lock acquired, processing the job...
[2025-03-10 13:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:19:04] Production.INFO: ==11235== Lock acquired, processing the job...
[2025-03-10 13:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 13:19:04] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:19:04] Production.INFO: count ==21
[2025-03-10 13:19:04] Production.INFO: ==11237== Lock acquired, processing the job...
[2025-03-10 13:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649773') start
[2025-03-10 13:19:04] Production.INFO: ==11239== Lock acquired, processing the job...
[2025-03-10 13:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:19:04] Production.INFO: ==11241== Lock acquired, processing the job...
[2025-03-10 13:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649773') end
[2025-03-10 13:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:19:04] Production.INFO: 1
[2025-03-10 13:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:19:04] Production.INFO: Account Balance Start.
[2025-03-10 13:19:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:19:04] Production.INFO: 117
[2025-03-10 13:19:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:19:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:19:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:19:04] Production.INFO: Total Charge 0
[2025-03-10 13:19:04] Production.INFO: CreateAllLog End
[2025-03-10 13:19:04] Production.INFO: ==11245== Releasing lock...
[2025-03-10 13:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:19:04] Production.ERROR: done
[2025-03-10 13:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:19:05] Production.INFO: ==11237== Releasing lock...
[2025-03-10 13:19:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:19:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:19:05] Production.ERROR: done
[2025-03-10 13:19:05] Production.INFO: Account Balance End.
[2025-03-10 13:19:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:19:05] Production.INFO: ==11241== Releasing lock...
[2025-03-10 13:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:19:06
[end_date_ymd] => 2025-03-10 13:19:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:19:06' and `end` < '2025-03-10 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-03-10 13:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:19:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:19:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:19:15] Production.ERROR: CronJobId end10
[2025-03-10 13:19:15] Production.INFO: ==11239== Releasing lock...
[2025-03-10 13:19:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:19:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:19:15] Production.INFO: call_cost start
[2025-03-10 13:19:15] Production.INFO: call_cost end
[2025-03-10 13:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:19:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:19:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:19:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:19:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:19:16] Production.INFO: ==11235== Releasing lock...
[2025-03-10 13:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:19:19] Production.INFO: count ==5169
[2025-03-10 13:19:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:19:06 - End Time 2025-03-10 13:19:06
[2025-03-10 13:19:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649777', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649777', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649777', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649777', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:19:22] Production.INFO: ProcessCDR(1,14649777,1,1,2)
[2025-03-10 13:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:19:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:19:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:19:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649777', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:19:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649777', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:19:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:19:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:19:28] Production.INFO: ==11243== Releasing lock...
[2025-03-10 13:19:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:19:28] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 17:20:01] Production.INFO: ==11298== Lock acquired, processing the job...
[2025-03-10 17:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:20:01] Production.INFO: neon service started
[2025-03-10 17:20:01] Production.INFO: neon service started
[2025-03-10 17:20:01] Production.INFO: ==11298== Releasing lock...
[2025-03-10 17:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:20:02] Production.INFO: ==11300== Lock acquired, processing the job...
[2025-03-10 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:20:02] Production.INFO: ==11302== Lock acquired, processing the job...
[2025-03-10 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:20:02] Production.INFO: ==11302== Releasing lock...
[2025-03-10 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:20:02] Production.INFO: ==11300== Releasing lock...
[2025-03-10 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:20:04] Production.INFO: ==11309== Lock acquired, processing the job...
[2025-03-10 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:20:04] Production.INFO: ==11305== Lock acquired, processing the job...
[2025-03-10 13:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 13:20:04] Production.INFO: ==11307== Lock acquired, processing the job...
[2025-03-10 13:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 13:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 13:20:04] Production.ERROR: CronJob PID - 11307
[2025-03-10 13:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 13:20:04] Production.ERROR: CronJob ID - 5
[2025-03-10 13:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 13:20:00
[2025-03-10 13:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 13:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 13:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 13:20:04] Production.ERROR: CronJob PID - 11309
[2025-03-10 13:20:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 13:20:04] Production.ERROR: CronJob ID - 7
[2025-03-10 13:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 13:20:00
[2025-03-10 13:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 13:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 13:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 13:20:04] Production.INFO: ==11305== Releasing lock...
[2025-03-10 13:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 13:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 13:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:20:04] Production.INFO: ==11315== Lock acquired, processing the job...
[2025-03-10 13:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:20:04] Production.INFO: ==11311== Lock acquired, processing the job...
[2025-03-10 13:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:20:04] Production.INFO: ==11317== Lock acquired, processing the job...
[2025-03-10 13:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 13:20:04] Production.INFO: ==11313== Lock acquired, processing the job...
[2025-03-10 13:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:20:04] Production.INFO: ==11319== Lock acquired, processing the job...
[2025-03-10 13:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:20:04] Production.INFO: ==11309== Releasing lock...
[2025-03-10 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:20:04] Production.INFO: Account Balance Start.
[2025-03-10 13:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:20:04] Production.INFO: 117
[2025-03-10 13:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 13:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:20:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:20:04] Production.INFO: count ==21
[2025-03-10 13:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649781') start
[2025-03-10 13:20:04] Production.ERROR: done
[2025-03-10 13:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649781') end
[2025-03-10 13:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:20:04] Production.INFO: 1
[2025-03-10 13:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:20:04] Production.ERROR: done
[2025-03-10 13:20:05] Production.INFO: Date 2025-03-10
[2025-03-10 13:20:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 13:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649782', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 13:20:05] Production.INFO: Total Charge 0
[2025-03-10 13:20:05] Production.INFO: CreateAllLog End
[2025-03-10 13:20:05] Production.INFO: ==11319== Releasing lock...
[2025-03-10 13:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:20:05] Production.ERROR: done
[2025-03-10 13:20:05] Production.INFO: Account Balance End.
[2025-03-10 13:20:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:20:05] Production.INFO: ==11313== Releasing lock...
[2025-03-10 13:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:20:06
[end_date_ymd] => 2025-03-10 13:20:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:20:06' and `end` < '2025-03-10 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-03-10 13:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649782', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 13:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 13:20:10] Production.INFO: ProcessCDR(1,14649782,1,1,2)
[2025-03-10 13:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649782,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649782,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:20:10] Production.INFO: ==11317== Releasing lock...
[2025-03-10 13:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 13:20:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 13:20:15] Production.ERROR: CronJobId end10
[2025-03-10 13:20:15] Production.INFO: ==11311== Releasing lock...
[2025-03-10 13:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:20:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:20:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:20:18] Production.INFO: call_cost start
[2025-03-10 13:20:18] Production.INFO: call_cost end
[2025-03-10 13:20:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:20:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:20:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:20:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:20:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:20:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:20:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:20:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:20:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:20:19] Production.INFO: ==11307== Releasing lock...
[2025-03-10 13:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:20:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:20:19] Production.INFO: count ==5160
[2025-03-10 13:20:22] Production.ERROR: pbx CDR StartTime 2025-03-10 10:20:06 - End Time 2025-03-10 13:20:06
[2025-03-10 13:20:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649783', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649783', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649783', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649783', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:20:22] Production.INFO: ProcessCDR(1,14649783,1,1,2)
[2025-03-10 13:20:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:20:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:20:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:20:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649783', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649783', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:20:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:20:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:20:28] Production.INFO: ==11315== Releasing lock...
[2025-03-10 13:20:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:20:28] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 17:21:02] Production.INFO: ==11373== Lock acquired, processing the job...
[2025-03-10 17:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:21:02] Production.INFO: neon service started
[2025-03-10 17:21:02] Production.INFO: neon service started
[2025-03-10 17:21:02] Production.INFO: ==11373== Releasing lock...
[2025-03-10 17:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:21:02] Production.INFO: ==11375== Lock acquired, processing the job...
[2025-03-10 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:21:03] Production.INFO: ==11375== Releasing lock...
[2025-03-10 13:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:21:03] Production.INFO: ==11377== Lock acquired, processing the job...
[2025-03-10 17:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:21:03] Production.INFO: ==11377== Releasing lock...
[2025-03-10 17:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:21:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:21:04] Production.INFO: ==11380== Lock acquired, processing the job...
[2025-03-10 13:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:21:04] Production.INFO: ==11384== Lock acquired, processing the job...
[2025-03-10 13:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:21:04] Production.INFO: ==11388== Lock acquired, processing the job...
[2025-03-10 13:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:21:04] Production.INFO: ==11382== Lock acquired, processing the job...
[2025-03-10 13:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:21:04] Production.INFO: ==11386== Lock acquired, processing the job...
[2025-03-10 13:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:21:04] Production.INFO: ==11390== Lock acquired, processing the job...
[2025-03-10 13:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 13:21:04] Production.INFO: Account Balance Start.
[2025-03-10 13:21:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:21:04] Production.INFO: 117
[2025-03-10 13:21:04] Production.INFO: count ==13
[2025-03-10 13:21:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 13:21:04] Production.INFO: count ==21
[2025-03-10 13:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649786') start
[2025-03-10 13:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:21:04] Production.ERROR: done
[2025-03-10 13:21:04] Production.INFO: Total Charge 0
[2025-03-10 13:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:21:04] Production.INFO: CreateAllLog End
[2025-03-10 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649786') end
[2025-03-10 13:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:21:04] Production.INFO: 1
[2025-03-10 13:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:21:04] Production.INFO: ==11390== Releasing lock...
[2025-03-10 13:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:21:05] Production.INFO: ==11382== Releasing lock...
[2025-03-10 13:21:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:21:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:21:05] Production.ERROR: done
[2025-03-10 13:21:05] Production.INFO: Account Balance End.
[2025-03-10 13:21:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:21:05] Production.INFO: ==11386== Releasing lock...
[2025-03-10 13:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:21:06
[end_date_ymd] => 2025-03-10 13:21:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:21:06' and `end` < '2025-03-10 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-03-10 13:21:14] Production.ERROR: CronJobId end10
[2025-03-10 13:21:14] Production.INFO: ==11384== Releasing lock...
[2025-03-10 13:21:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:21:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:21:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:21:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:21:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:21:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:21:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:21:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:21:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:21:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:21:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:21:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:21:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:21:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:21:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:21:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:21:17] Production.INFO: call_cost start
[2025-03-10 13:21:17] Production.INFO: call_cost end
[2025-03-10 13:21:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:21:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:21:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:21:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:21:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:21:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:21:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:21:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:21:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:21:18] Production.INFO: ==11380== Releasing lock...
[2025-03-10 13:21:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:21:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:21:19] Production.INFO: count ==5201
[2025-03-10 13:21:22] Production.ERROR: pbx CDR StartTime 2025-03-10 10:21:06 - End Time 2025-03-10 13:21:06
[2025-03-10 13:21:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649788', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649788', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649788', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649788', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:21:22] Production.INFO: ProcessCDR(1,14649788,1,1,2)
[2025-03-10 13:21:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:21:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:21:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:21:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:21:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649788', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:21:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649788', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:21:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:21:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:21:28] Production.INFO: ==11388== Releasing lock...
[2025-03-10 13:21:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:21:28] Production.INFO: 67 MB #Memory Used#
[2025-03-10 17:22:01] Production.INFO: ==11442== Lock acquired, processing the job...
[2025-03-10 17:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:22:01] Production.INFO: neon service started
[2025-03-10 17:22:01] Production.INFO: neon service started
[2025-03-10 17:22:01] Production.INFO: ==11442== Releasing lock...
[2025-03-10 17:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:22:02] Production.INFO: ==11445== Lock acquired, processing the job...
[2025-03-10 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:22:02] Production.INFO: ==11445== Releasing lock...
[2025-03-10 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:22:02] Production.INFO: ==11447== Lock acquired, processing the job...
[2025-03-10 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:22:02] Production.INFO: ==11447== Releasing lock...
[2025-03-10 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:22:03] Production.INFO: ==11449== Lock acquired, processing the job...
[2025-03-10 13:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:22:03] Production.INFO: ==11451== Lock acquired, processing the job...
[2025-03-10 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:22:03] Production.INFO: ==11453== Lock acquired, processing the job...
[2025-03-10 13:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:22:03] Production.INFO: ==11455== Lock acquired, processing the job...
[2025-03-10 13:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:22:03] Production.INFO: ==11451== Releasing lock...
[2025-03-10 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:22:03] Production.INFO: ==11457== Lock acquired, processing the job...
[2025-03-10 13:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:22:03] Production.INFO: ==11459== Lock acquired, processing the job...
[2025-03-10 13:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:22:04] Production.INFO: Account Balance Start.
[2025-03-10 13:22:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:22:04] Production.INFO: 117
[2025-03-10 13:22:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13: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-03-10 13:22:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:22:04] Production.INFO: Total Charge 0
[2025-03-10 13:22:04] Production.INFO: count ==13
[2025-03-10 13:22:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 13:22:04] Production.INFO: count ==21
[2025-03-10 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649792') start
[2025-03-10 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649792') end
[2025-03-10 13:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:22:04] Production.INFO: 1
[2025-03-10 13:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:22:04] Production.INFO: ==11459== Releasing lock...
[2025-03-10 13:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:22:04] Production.ERROR: done
[2025-03-10 13:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:22:04] Production.INFO: Account Balance End.
[2025-03-10 13:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:22:04] Production.INFO: ==11455== Releasing lock...
[2025-03-10 13:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:22:04] Production.ERROR: done
[2025-03-10 13:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:22:05
[end_date_ymd] => 2025-03-10 13:22:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:22:05' and `end` < '2025-03-10 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-03-10 13:22:14] Production.ERROR: CronJobId end10
[2025-03-10 13:22:14] Production.INFO: ==11453== Releasing lock...
[2025-03-10 13:22:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:22:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:22:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:22:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:22:16] Production.INFO: call_cost start
[2025-03-10 13:22:16] Production.INFO: call_cost end
[2025-03-10 13:22:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:22:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:22:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:22:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:22:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:22:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:22:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:22:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:22:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:22:17] Production.INFO: ==11449== Releasing lock...
[2025-03-10 13:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:22:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:22:18] Production.INFO: count ==5207
[2025-03-10 13:22:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:22:05 - End Time 2025-03-10 13:22:05
[2025-03-10 13:22:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649793', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649793', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649793', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649793', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:22:21] Production.INFO: ProcessCDR(1,14649793,1,1,2)
[2025-03-10 13:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:22:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:22:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649793', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649793', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:22:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:22:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:22:27] Production.INFO: ==11457== Releasing lock...
[2025-03-10 13:22:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:22:27] Production.INFO: 67 MB #Memory Used#
[2025-03-10 17:23:02] Production.INFO: ==11515== Lock acquired, processing the job...
[2025-03-10 17:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:23:02] Production.INFO: neon service started
[2025-03-10 17:23:02] Production.INFO: neon service started
[2025-03-10 17:23:02] Production.INFO: ==11515== Releasing lock...
[2025-03-10 17:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:23:02] Production.INFO: ==11519== Lock acquired, processing the job...
[2025-03-10 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:23:02] Production.INFO: ==11519== Releasing lock...
[2025-03-10 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:23:02] Production.INFO: ==11517== Lock acquired, processing the job...
[2025-03-10 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:23:03] Production.INFO: ==11517== Releasing lock...
[2025-03-10 13:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:23:03] Production.INFO: ==11524== Lock acquired, processing the job...
[2025-03-10 13:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:23:04] Production.INFO: ==11529== Lock acquired, processing the job...
[2025-03-10 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:23:04] Production.INFO: ==11526== Lock acquired, processing the job...
[2025-03-10 13:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:23:04] Production.INFO: Account Balance Start.
[2025-03-10 13:23:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:23:04] Production.INFO: 117
[2025-03-10 13:23:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:23:04] Production.INFO: ==11531== Lock acquired, processing the job...
[2025-03-10 13:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:23:04] Production.INFO: ==11524== Releasing lock...
[2025-03-10 13:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:23:04] Production.INFO: ==11522== Lock acquired, processing the job...
[2025-03-10 13:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:23:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:23:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:23:04] Production.INFO: Total Charge 0
[2025-03-10 13:23:04] Production.INFO: ==11533== Lock acquired, processing the job...
[2025-03-10 13:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:23:04] Production.INFO: CreateAllLog End
[2025-03-10 13:23:04] Production.ERROR: done
[2025-03-10 13:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 13:23:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:23:04] Production.INFO: count ==21
[2025-03-10 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649797') start
[2025-03-10 13:23:04] Production.ERROR: done
[2025-03-10 13:23:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649797') end
[2025-03-10 13:23:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:23:05] Production.INFO: 1
[2025-03-10 13:23:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:23:05] Production.INFO: Account Balance End.
[2025-03-10 13:23:05] Production.INFO: ==11533== Releasing lock...
[2025-03-10 13:23:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:23:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:23:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:23:05] Production.INFO: ==11529== Releasing lock...
[2025-03-10 13:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:23:06
[end_date_ymd] => 2025-03-10 13:23:06
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:23:06' and `end` < '2025-03-10 13: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-03-10 13:23:14] Production.ERROR: CronJobId end10
[2025-03-10 13:23:14] Production.INFO: ==11526== Releasing lock...
[2025-03-10 13:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:23:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:23:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:23:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:23:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:23:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:23:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:23:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:23:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:23:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:23:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:23:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:23:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:23:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:23:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:23:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:23:17] Production.INFO: call_cost start
[2025-03-10 13:23:17] Production.INFO: call_cost end
[2025-03-10 13:23:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:23:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:23:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:23:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:23:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:23:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:23:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:23:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:23:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:23:18] Production.INFO: ==11522== Releasing lock...
[2025-03-10 13:23:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:23:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:23:19] Production.INFO: count ==5210
[2025-03-10 13:23:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:23:06 - End Time 2025-03-10 13:23:06
[2025-03-10 13:23:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649798', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649798', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649798', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649798', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:23:21] Production.INFO: ProcessCDR(1,14649798,1,1,2)
[2025-03-10 13:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:23:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:23:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:23:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649798', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649798', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:23:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:23:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:23:27] Production.INFO: ==11531== Releasing lock...
[2025-03-10 13:23:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:23:27] Production.INFO: 67 MB #Memory Used#
[2025-03-10 17:24:01] Production.INFO: ==11585== Lock acquired, processing the job...
[2025-03-10 17:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:24:01] Production.INFO: neon service started
[2025-03-10 17:24:01] Production.INFO: neon service started
[2025-03-10 17:24:01] Production.INFO: ==11585== Releasing lock...
[2025-03-10 17:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:24:02] Production.INFO: ==11587== Lock acquired, processing the job...
[2025-03-10 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:24:02] Production.INFO: ==11587== Releasing lock...
[2025-03-10 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:24:02] Production.INFO: ==11589== Lock acquired, processing the job...
[2025-03-10 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:24:02] Production.INFO: ==11589== Releasing lock...
[2025-03-10 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:24:03] Production.INFO: ==11592== Lock acquired, processing the job...
[2025-03-10 13:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:24:03] Production.INFO: ==11596== Lock acquired, processing the job...
[2025-03-10 13:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:24:03] Production.INFO: ==11598== Lock acquired, processing the job...
[2025-03-10 13:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:24:03] Production.INFO: Account Balance Start.
[2025-03-10 13:24:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:24:03] Production.INFO: 117
[2025-03-10 13:24:03] Production.INFO: ==11594== Lock acquired, processing the job...
[2025-03-10 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:24:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:24:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:24:03] Production.INFO: Date 2025-03-09
[2025-03-10 13:24:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:24:03] Production.INFO: ==11602== Lock acquired, processing the job...
[2025-03-10 13:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:24:03] Production.INFO: ==11600== Lock acquired, processing the job...
[2025-03-10 13:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:24:03] Production.INFO: Date 2025-03-10
[2025-03-10 13:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:24:04] Production.INFO: Total Charge 0
[2025-03-10 13:24:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 13:24:04] Production.INFO: count ==13
[2025-03-10 13:24:04] Production.INFO: ==11594== Releasing lock...
[2025-03-10 13:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 13:24:04] Production.INFO: count ==21
[2025-03-10 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649802') start
[2025-03-10 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649802') end
[2025-03-10 13:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:24:04] Production.INFO: 1
[2025-03-10 13:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:24:04] Production.INFO: Account Balance End.
[2025-03-10 13:24:04] Production.INFO: ==11602== Releasing lock...
[2025-03-10 13:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:24:04] Production.ERROR: done
[2025-03-10 13:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:24:04] Production.INFO: ==11598== Releasing lock...
[2025-03-10 13:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:24:04] Production.ERROR: done
[2025-03-10 13:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:24:05
[end_date_ymd] => 2025-03-10 13:24:05
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:24:05' and `end` < '2025-03-10 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-03-10 13:24:13] Production.ERROR: CronJobId end10
[2025-03-10 13:24:13] Production.INFO: ==11596== Releasing lock...
[2025-03-10 13:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:24:15] Production.INFO: call_cost start
[2025-03-10 13:24:15] Production.INFO: call_cost end
[2025-03-10 13:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:24:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:24:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:24:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:24:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:24:16] Production.INFO: ==11592== Releasing lock...
[2025-03-10 13:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:24:19] Production.INFO: count ==5214
[2025-03-10 13:24:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:24:05 - End Time 2025-03-10 13:24:05
[2025-03-10 13:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649803', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649803', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649803', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649803', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:24:21] Production.INFO: ProcessCDR(1,14649803,1,1,2)
[2025-03-10 13:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:24:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:24:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649803', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:24:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649803', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:24:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:24:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:24:27] Production.INFO: ==11600== Releasing lock...
[2025-03-10 13:24:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:24:27] Production.INFO: 67 MB #Memory Used#
[2025-03-10 17:25:02] Production.INFO: ==11657== Lock acquired, processing the job...
[2025-03-10 17:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:25:02] Production.INFO: neon service started
[2025-03-10 17:25:02] Production.INFO: neon service started
[2025-03-10 17:25:02] Production.INFO: ==11657== Releasing lock...
[2025-03-10 17:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:25:02] Production.INFO: ==11659== Lock acquired, processing the job...
[2025-03-10 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:25:03] Production.INFO: ==11659== Releasing lock...
[2025-03-10 13:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:25:03] Production.INFO: ==11661== Lock acquired, processing the job...
[2025-03-10 17:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:25:03] Production.INFO: ==11661== Releasing lock...
[2025-03-10 17:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:25:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:25:03] Production.INFO: ==11669== Lock acquired, processing the job...
[2025-03-10 13:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:25:04] Production.INFO: ==11663== Lock acquired, processing the job...
[2025-03-10 13:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:25:04] Production.INFO: ==11671== Lock acquired, processing the job...
[2025-03-10 13:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:25:04] Production.INFO: Account Balance Start.
[2025-03-10 13:25:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:25:04] Production.INFO: ==11665== Lock acquired, processing the job...
[2025-03-10 13:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:25:04] Production.INFO: 117
[2025-03-10 13:25:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:25:04] Production.INFO: ==11667== Lock acquired, processing the job...
[2025-03-10 13:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:25:04] Production.INFO: ==11673== Lock acquired, processing the job...
[2025-03-10 13:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:25:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:25:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 13:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:25:04] Production.INFO: Total Charge 0
[2025-03-10 13:25:04] Production.INFO: CreateAllLog End
[2025-03-10 13:25:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:25:04] Production.INFO: count ==21
[2025-03-10 13:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649807') start
[2025-03-10 13:25:04] Production.INFO: ==11665== Releasing lock...
[2025-03-10 13:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649807') end
[2025-03-10 13:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:25:04] Production.INFO: 1
[2025-03-10 13:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:25:04] Production.INFO: Account Balance End.
[2025-03-10 13:25:04] Production.ERROR: done
[2025-03-10 13:25:04] Production.INFO: ==11673== Releasing lock...
[2025-03-10 13:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:25:04] Production.INFO: ==11669== Releasing lock...
[2025-03-10 13:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:25:05] Production.ERROR: done
[2025-03-10 13:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:25:06
[end_date_ymd] => 2025-03-10 13:25:06
[RateCDR] => 1
)
[2025-03-10 13:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 10:25:06' and `end` < '2025-03-10 13:25:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 13:25:14] Production.ERROR: CronJobId end10
[2025-03-10 13:25:14] Production.INFO: ==11667== Releasing lock...
[2025-03-10 13:25:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:25:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:25:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:25:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:25:16] Production.INFO: call_cost start
[2025-03-10 13:25:16] Production.INFO: call_cost end
[2025-03-10 13:25:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:25:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:25:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:25:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:25:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:25:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:25:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:25:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:25:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:25:17] Production.INFO: ==11663== Releasing lock...
[2025-03-10 13:25:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:25:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:25:19] Production.INFO: count ==5246
[2025-03-10 13:25:22] Production.ERROR: pbx CDR StartTime 2025-03-10 10:25:06 - End Time 2025-03-10 13:25:06
[2025-03-10 13:25:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649808', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649808', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649808', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649808', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:25:22] Production.INFO: ProcessCDR(1,14649808,1,1,2)
[2025-03-10 13:25:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:25:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:25:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:25:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649808', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649808', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:25:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:25:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:25:28] Production.INFO: ==11671== Releasing lock...
[2025-03-10 13:25:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:25:28] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:26:01] Production.INFO: ==11729== Lock acquired, processing the job...
[2025-03-10 17:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:26:01] Production.INFO: neon service started
[2025-03-10 17:26:01] Production.INFO: neon service started
[2025-03-10 17:26:01] Production.INFO: ==11729== Releasing lock...
[2025-03-10 17:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:26:02] Production.INFO: ==11733== Lock acquired, processing the job...
[2025-03-10 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:26:02] Production.INFO: ==11733== Releasing lock...
[2025-03-10 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:26:02] Production.INFO: ==11731== Lock acquired, processing the job...
[2025-03-10 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:26:02] Production.INFO: ==11731== Releasing lock...
[2025-03-10 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:26:03] Production.INFO: ==11736== Lock acquired, processing the job...
[2025-03-10 13:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:26:03] Production.INFO: ==11740== Lock acquired, processing the job...
[2025-03-10 13:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:26:03] Production.INFO: ==11744== Lock acquired, processing the job...
[2025-03-10 13:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:26:03] Production.INFO: ==11738== Lock acquired, processing the job...
[2025-03-10 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:26:03] Production.INFO: ==11742== Lock acquired, processing the job...
[2025-03-10 13:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:26:04] Production.INFO: ==11746== Lock acquired, processing the job...
[2025-03-10 13:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:26:04] Production.ERROR: done
[2025-03-10 13:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:26:04] Production.INFO: Account Balance Start.
[2025-03-10 13:26:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:26:04] Production.INFO: 117
[2025-03-10 13:26:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 13: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-03-10 13:26:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:26:04] Production.INFO: count ==13
[2025-03-10 13:26:04] Production.INFO: Total Charge 0
[2025-03-10 13:26:04] Production.INFO: CreateAllLog End
[2025-03-10 13: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-03-10 13:26:04] Production.INFO: ==11738== Releasing lock...
[2025-03-10 13:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:26:04] Production.INFO: count ==21
[2025-03-10 13:26:04] Production.ERROR: done
[2025-03-10 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649812') start
[2025-03-10 13:26:04] Production.INFO: Account Balance End.
[2025-03-10 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649812') end
[2025-03-10 13:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:26:04] Production.INFO: 1
[2025-03-10 13:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:26:04] Production.INFO: ==11742== Releasing lock...
[2025-03-10 13:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:26:04] Production.INFO: ==11746== Releasing lock...
[2025-03-10 13:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:26:05
[end_date_ymd] => 2025-03-10 13:26:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:26:05' and `end` < '2025-03-10 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-03-10 13:26:14] Production.ERROR: CronJobId end10
[2025-03-10 13:26:14] Production.INFO: ==11740== Releasing lock...
[2025-03-10 13:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:26:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:26:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:26:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:26:16] Production.INFO: call_cost start
[2025-03-10 13:26:16] Production.INFO: call_cost end
[2025-03-10 13:26:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:26:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:26:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:26:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:26:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:26:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:26:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:26:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:26:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:26:17] Production.INFO: ==11736== Releasing lock...
[2025-03-10 13:26:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:26:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:26:18] Production.INFO: count ==5257
[2025-03-10 13:26:20] Production.ERROR: pbx CDR StartTime 2025-03-10 10:26:05 - End Time 2025-03-10 13:26:05
[2025-03-10 13:26:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649813', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649813', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649813', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649813', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:26:21] Production.INFO: ProcessCDR(1,14649813,1,1,2)
[2025-03-10 13:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:26:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:26:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:26:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649813', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649813', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:26:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:26:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:26:26] Production.INFO: ==11744== Releasing lock...
[2025-03-10 13:26:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:26:26] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:27:02] Production.INFO: ==11800== Lock acquired, processing the job...
[2025-03-10 17:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:27:02] Production.INFO: neon service started
[2025-03-10 17:27:02] Production.INFO: neon service started
[2025-03-10 17:27:02] Production.INFO: ==11800== Releasing lock...
[2025-03-10 17:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:27:02] Production.INFO: ==11802== Lock acquired, processing the job...
[2025-03-10 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:27:02] Production.INFO: ==11802== Releasing lock...
[2025-03-10 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:27:03] Production.INFO: ==11804== Lock acquired, processing the job...
[2025-03-10 17:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:27:03] Production.INFO: ==11804== Releasing lock...
[2025-03-10 17:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:27:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:27:03] Production.INFO: ==11807== Lock acquired, processing the job...
[2025-03-10 13:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:27:04] Production.INFO: ==11817== Lock acquired, processing the job...
[2025-03-10 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:27:04] Production.INFO: ==11811== Lock acquired, processing the job...
[2025-03-10 13:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:27:04] Production.INFO: ==11809== Lock acquired, processing the job...
[2025-03-10 13:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:27:04] Production.INFO: ==11813== Lock acquired, processing the job...
[2025-03-10 13:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 13:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:27:04] Production.INFO: count ==13
[2025-03-10 13:27:04] Production.INFO: ==11815== Lock acquired, processing the job...
[2025-03-10 13:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 13:27:04] Production.INFO: count ==21
[2025-03-10 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649815') start
[2025-03-10 13:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:27:04] Production.INFO: Account Balance Start.
[2025-03-10 13:27:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:27:04] Production.INFO: 117
[2025-03-10 13:27:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649815') end
[2025-03-10 13:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:27:04] Production.INFO: 1
[2025-03-10 13:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:27:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:27:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:27:04] Production.INFO: Total Charge 0
[2025-03-10 13:27:04] Production.INFO: CreateAllLog End
[2025-03-10 13:27:04] Production.INFO: ==11817== Releasing lock...
[2025-03-10 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:27:04] Production.INFO: ==11809== Releasing lock...
[2025-03-10 13:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:27:04] Production.ERROR: done
[2025-03-10 13:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:27:04] Production.INFO: Account Balance End.
[2025-03-10 13:27:05] Production.ERROR: done
[2025-03-10 13:27:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:27:05] Production.INFO: ==11813== Releasing lock...
[2025-03-10 13:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:27:06
[end_date_ymd] => 2025-03-10 13:27:06
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:27:06' and `end` < '2025-03-10 13: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-03-10 13:27:14] Production.ERROR: CronJobId end10
[2025-03-10 13:27:14] Production.INFO: ==11811== Releasing lock...
[2025-03-10 13:27:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:27:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:27:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:27:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:27:16] Production.INFO: call_cost start
[2025-03-10 13:27:16] Production.INFO: call_cost end
[2025-03-10 13:27:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:27:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:27:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:27:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:27:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:27:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:27:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:27:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:27:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:27:17] Production.INFO: ==11807== Releasing lock...
[2025-03-10 13:27:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:27:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:27:19] Production.INFO: count ==5238
[2025-03-10 13:27:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:27:06 - End Time 2025-03-10 13:27:06
[2025-03-10 13:27:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649818', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649818', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649818', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649818', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:27:21] Production.INFO: ProcessCDR(1,14649818,1,1,2)
[2025-03-10 13:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:27:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:27:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:27:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649818', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649818', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:27:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:27:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:27:27] Production.INFO: ==11815== Releasing lock...
[2025-03-10 13:27:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:27:27] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:28:01] Production.INFO: ==11874== Lock acquired, processing the job...
[2025-03-10 17:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:28:01] Production.INFO: neon service started
[2025-03-10 17:28:01] Production.INFO: neon service started
[2025-03-10 17:28:01] Production.INFO: ==11874== Releasing lock...
[2025-03-10 17:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:28:02] Production.INFO: ==11878== Lock acquired, processing the job...
[2025-03-10 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:28:02] Production.INFO: ==11878== Releasing lock...
[2025-03-10 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:28:02] Production.INFO: ==11876== Lock acquired, processing the job...
[2025-03-10 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:28:02] Production.INFO: ==11876== Releasing lock...
[2025-03-10 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:28:03] Production.INFO: ==11881== Lock acquired, processing the job...
[2025-03-10 13:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:28:03] Production.INFO: ==11885== Lock acquired, processing the job...
[2025-03-10 13:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:28:03] Production.INFO: ==11883== Lock acquired, processing the job...
[2025-03-10 13:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:28:04] Production.INFO: ==11887== Lock acquired, processing the job...
[2025-03-10 13:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:28:04] Production.INFO: ==11890== Lock acquired, processing the job...
[2025-03-10 13:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:28:04] Production.INFO: ==11892== Lock acquired, processing the job...
[2025-03-10 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:28:04] Production.INFO: Account Balance Start.
[2025-03-10 13:28:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:28:04] Production.INFO: 117
[2025-03-10 13:28:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 13:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:28:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:28:04] Production.INFO: count ==21
[2025-03-10 13:28:04] Production.INFO: Total Charge 0
[2025-03-10 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649822') start
[2025-03-10 13:28:04] Production.INFO: CreateAllLog End
[2025-03-10 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649822') end
[2025-03-10 13:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:28:04] Production.INFO: 1
[2025-03-10 13:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:28:04] Production.INFO: ==11883== Releasing lock...
[2025-03-10 13:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:28:04] Production.INFO: ==11892== Releasing lock...
[2025-03-10 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:28:04] Production.ERROR: done
[2025-03-10 13:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:28:04] Production.INFO: Account Balance End.
[2025-03-10 13:28:04] Production.ERROR: done
[2025-03-10 13:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:28:04] Production.INFO: ==11887== Releasing lock...
[2025-03-10 13:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:28:05
[end_date_ymd] => 2025-03-10 13:28:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:28:05' and `end` < '2025-03-10 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-03-10 13:28:14] Production.ERROR: CronJobId end10
[2025-03-10 13:28:14] Production.INFO: ==11885== Releasing lock...
[2025-03-10 13:28:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:28:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:28:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:28:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:28:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:28:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:28:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:28:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:28:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:28:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:28:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:28:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:28:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:28:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:28:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:28:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:28:16] Production.INFO: call_cost start
[2025-03-10 13:28:16] Production.INFO: call_cost end
[2025-03-10 13:28:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:28:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:28:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:28:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:28:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:28:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:28:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:28:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:28:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:28:17] Production.INFO: ==11881== Releasing lock...
[2025-03-10 13:28:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:28:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:28:18] Production.INFO: count ==5248
[2025-03-10 13:28:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:28:05 - End Time 2025-03-10 13:28:05
[2025-03-10 13:28:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649823', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649823', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649823', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649823', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:28:21] Production.INFO: ProcessCDR(1,14649823,1,1,2)
[2025-03-10 13:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:28:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:28:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:28:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649823', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649823', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:28:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:28:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:28:27] Production.INFO: ==11890== Releasing lock...
[2025-03-10 13:28:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:28:27] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:29:02] Production.INFO: ==11947== Lock acquired, processing the job...
[2025-03-10 17:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:29:02] Production.INFO: neon service started
[2025-03-10 17:29:02] Production.INFO: neon service started
[2025-03-10 17:29:02] Production.INFO: ==11947== Releasing lock...
[2025-03-10 17:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:29:02] Production.INFO: ==11949== Lock acquired, processing the job...
[2025-03-10 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:29:03] Production.INFO: ==11949== Releasing lock...
[2025-03-10 13:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:29:03] Production.INFO: ==11951== Lock acquired, processing the job...
[2025-03-10 17:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:29:03] Production.INFO: ==11951== Releasing lock...
[2025-03-10 17:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:29:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:29:04] Production.INFO: ==11957== Lock acquired, processing the job...
[2025-03-10 13:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:29:04] Production.INFO: ==11961== Lock acquired, processing the job...
[2025-03-10 13:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:29:04] Production.INFO: ==11953== Lock acquired, processing the job...
[2025-03-10 13:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:29:04] Production.INFO: ==11955== Lock acquired, processing the job...
[2025-03-10 13:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:29:04] Production.INFO: ==11959== Lock acquired, processing the job...
[2025-03-10 13:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:29:04] Production.INFO: ==11964== Lock acquired, processing the job...
[2025-03-10 13:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:29:04] Production.INFO: Account Balance Start.
[2025-03-10 13:29:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:29:04] Production.INFO: 117
[2025-03-10 13:29:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:29:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:29:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:29:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 13:29:04] Production.INFO: CreateAllLog End
[2025-03-10 13:29:04] Production.ERROR: done
[2025-03-10 13:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:29:04] Production.INFO: count ==13
[2025-03-10 13:29:04] Production.INFO: ==11955== Releasing lock...
[2025-03-10 13:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 13:29:04] Production.INFO: count ==21
[2025-03-10 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649827') start
[2025-03-10 13:29:05] Production.ERROR: done
[2025-03-10 13:29:05] Production.INFO: Account Balance End.
[2025-03-10 13:29:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649827') end
[2025-03-10 13:29:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:29:05] Production.INFO: 1
[2025-03-10 13:29:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:29:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:29:05] Production.INFO: ==11959== Releasing lock...
[2025-03-10 13:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:29:05] Production.INFO: ==11964== Releasing lock...
[2025-03-10 13:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:29:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:29:06
[end_date_ymd] => 2025-03-10 13:29:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:29:06' and `end` < '2025-03-10 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-03-10 13:29:14] Production.ERROR: CronJobId end10
[2025-03-10 13:29:14] Production.INFO: ==11957== Releasing lock...
[2025-03-10 13:29:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:29:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:29:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:29:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:29:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:29:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:29:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:29:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:29:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:29:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:29:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:29:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:29:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:29:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:29:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:29:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:29:16] Production.INFO: call_cost start
[2025-03-10 13:29:16] Production.INFO: call_cost end
[2025-03-10 13:29:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:29:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:29:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:29:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:29:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:29:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:29:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:29:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:29:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:29:17] Production.INFO: ==11953== Releasing lock...
[2025-03-10 13:29:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:29:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:29:19] Production.INFO: count ==5229
[2025-03-10 13:29:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:29:06 - End Time 2025-03-10 13:29:06
[2025-03-10 13:29:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649828', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649828', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649828', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649828', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:29:21] Production.INFO: ProcessCDR(1,14649828,1,1,2)
[2025-03-10 13:29:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:29:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649828', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649828', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:29:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:29:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:29:25] Production.INFO: ==11961== Releasing lock...
[2025-03-10 13:29:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:29:25] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:30:01] Production.INFO: ==12018== Lock acquired, processing the job...
[2025-03-10 17:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:30:01] Production.INFO: neon service started
[2025-03-10 17:30:01] Production.INFO: neon service started
[2025-03-10 17:30:01] Production.INFO: ==12018== Releasing lock...
[2025-03-10 17:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:30:02] Production.INFO: ==12020== Lock acquired, processing the job...
[2025-03-10 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:30:02] Production.INFO: ==12020== Releasing lock...
[2025-03-10 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:30:02] Production.INFO: ==12022== Lock acquired, processing the job...
[2025-03-10 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:30:02] Production.INFO: ==12022== Releasing lock...
[2025-03-10 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:30:03] Production.INFO: ==12026== Lock acquired, processing the job...
[2025-03-10 13:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:30:04] Production.INFO: ==12024== Lock acquired, processing the job...
[2025-03-10 13:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 13:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:30:04] Production.INFO: ==12031== Lock acquired, processing the job...
[2025-03-10 13:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 13:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 13:30:04] Production.ERROR: CronJob PID - 12026
[2025-03-10 13:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 13:30:04] Production.ERROR: CronJob ID - 5
[2025-03-10 13:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 13:30:00
[2025-03-10 13:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 13:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 13:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 13:30:04] Production.ERROR: CronJob PID - 12031
[2025-03-10 13:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 13:30:04] Production.ERROR: CronJob ID - 10
[2025-03-10 13:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 13:30:00
[2025-03-10 13:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 13:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 13:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:30:04] Production.INFO: ==12035== Lock acquired, processing the job...
[2025-03-10 13:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 13:30:04] Production.INFO: ==12024== Releasing lock...
[2025-03-10 13:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 13:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 13:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:30:04] Production.INFO: ==12029== Lock acquired, processing the job...
[2025-03-10 13:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:30:04] Production.INFO: ==12033== Lock acquired, processing the job...
[2025-03-10 13:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:30:04] Production.INFO: ==12037== Lock acquired, processing the job...
[2025-03-10 13:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 13:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:30:04] Production.INFO: ==12039== Lock acquired, processing the job...
[2025-03-10 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:30:04] Production.INFO: Account Balance Start.
[2025-03-10 13:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:30:04] Production.INFO: 117
[2025-03-10 13:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:30:04] Production.ERROR: done
[2025-03-10 13:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:30:05] Production.INFO: Date 2025-03-10
[2025-03-10 13:30:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:30: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-03-10 13:30:05] Production.INFO: Total Charge 0
[2025-03-10 13:30:05] Production.INFO: CreateAllLog End
[2025-03-10 13:30:05] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:30:05] Production.INFO: count ==21
[2025-03-10 13:30:05] Production.INFO: ==12029== Releasing lock...
[2025-03-10 13:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:30:05] Production.ERROR: done
[2025-03-10 13:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649832') start
[2025-03-10 13:30:05] Production.ERROR: done
[2025-03-10 13:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 13:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649834', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 13:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649832') end
[2025-03-10 13:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:30:05] Production.INFO: 1
[2025-03-10 13:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:30:05] Production.INFO: Account Balance End.
[2025-03-10 13:30:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:30:05] Production.INFO: ==12033== Releasing lock...
[2025-03-10 13:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:30:05] Production.INFO: ==12039== Releasing lock...
[2025-03-10 13:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:30:06
[end_date_ymd] => 2025-03-10 13:30:06
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:30:06' and `end` < '2025-03-10 13: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-03-10 13:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649834', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 13:30:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 13:30:10] Production.INFO: ProcessCDR(1,14649834,1,1,2)
[2025-03-10 13:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649834,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649834,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:30:10] Production.INFO: ==12037== Releasing lock...
[2025-03-10 13:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 13:30:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 13:30:16] Production.ERROR: CronJobId end10
[2025-03-10 13:30:16] Production.INFO: ==12031== Releasing lock...
[2025-03-10 13:30:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:30:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:30:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:30:18] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:30:18] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:30:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:30:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:30:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:30:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:30:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:30:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:30:18] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:30:18] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:30:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:30:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:30:18] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:30:18] Production.INFO: call_cost start
[2025-03-10 13:30:18] Production.INFO: call_cost end
[2025-03-10 13:30:19] Production.INFO: count ==5211
[2025-03-10 13:30:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:30:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:30:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:30:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:30:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:30:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:30:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:30:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:30:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:30:19] Production.INFO: ==12026== Releasing lock...
[2025-03-10 13:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:30:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:30:22] Production.ERROR: pbx CDR StartTime 2025-03-10 10:30:06 - End Time 2025-03-10 13:30:06
[2025-03-10 13:30:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649833', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649833', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649833', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649833', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:30:22] Production.INFO: ProcessCDR(1,14649833,1,1,2)
[2025-03-10 13:30:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:30:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:30:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:30:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649833', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649833', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:30:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:30:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:30:28] Production.INFO: ==12035== Releasing lock...
[2025-03-10 13:30:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:30:28] Production.INFO: 67 MB #Memory Used#
[2025-03-10 17:31:02] Production.INFO: ==12100== Lock acquired, processing the job...
[2025-03-10 17:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:31:02] Production.INFO: neon service started
[2025-03-10 17:31:02] Production.INFO: neon service started
[2025-03-10 17:31:02] Production.INFO: ==12100== Releasing lock...
[2025-03-10 17:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:31:02] Production.INFO: ==12104== Lock acquired, processing the job...
[2025-03-10 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:31:02] Production.INFO: ==12104== Releasing lock...
[2025-03-10 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:31:02] Production.INFO: ==12102== Lock acquired, processing the job...
[2025-03-10 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:31:03] Production.INFO: ==12102== Releasing lock...
[2025-03-10 13:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:31:04] Production.INFO: ==12111== Lock acquired, processing the job...
[2025-03-10 13:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:31:04] Production.INFO: ==12117== Lock acquired, processing the job...
[2025-03-10 13:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:31:04] Production.INFO: ==12107== Lock acquired, processing the job...
[2025-03-10 13:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:31:04] Production.INFO: ==12109== Lock acquired, processing the job...
[2025-03-10 13:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 13:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:31:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:31:04] Production.INFO: count ==21
[2025-03-10 13:31:04] Production.INFO: ==12115== Lock acquired, processing the job...
[2025-03-10 13:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:31:04] Production.INFO: ==12113== Lock acquired, processing the job...
[2025-03-10 13:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649835') start
[2025-03-10 13:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649835') end
[2025-03-10 13:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:31:04] Production.INFO: 1
[2025-03-10 13:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:31:04] Production.INFO: Account Balance Start.
[2025-03-10 13:31:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:31:04] Production.INFO: 117
[2025-03-10 13:31:04] Production.INFO: ==12117== Releasing lock...
[2025-03-10 13:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:31:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:31:04] Production.INFO: ==12109== Releasing lock...
[2025-03-10 13:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:31:05] Production.INFO: Date 2025-03-09
[2025-03-10 13:31:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:31:05] Production.INFO: Date 2025-03-10
[2025-03-10 13:31:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:31:05] Production.INFO: Total Charge 0
[2025-03-10 13:31:05] Production.ERROR: done
[2025-03-10 13:31:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:31:05] Production.INFO: CreateAllLog End
[2025-03-10 13:31:05] Production.ERROR: done
[2025-03-10 13:31:05] Production.INFO: Account Balance End.
[2025-03-10 13:31:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:31:05] Production.INFO: ==12113== Releasing lock...
[2025-03-10 13:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:31:06
[end_date_ymd] => 2025-03-10 13:31:06
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:31:06' and `end` < '2025-03-10 13: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-03-10 13:31: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,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-03-10 13:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:31:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:31:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:31:14] Production.INFO: call_cost start
[2025-03-10 13:31:14] Production.INFO: call_cost end
[2025-03-10 13:31:14] Production.ERROR: CronJobId end10
[2025-03-10 13:31:14] Production.INFO: ==12111== Releasing lock...
[2025-03-10 13:31:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:31:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:31:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:31:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:31:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:31:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:31:15] Production.INFO: ==12107== Releasing lock...
[2025-03-10 13:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:31:19] Production.INFO: count ==5204
[2025-03-10 13:31:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:31:06 - End Time 2025-03-10 13:31:06
[2025-03-10 13:31:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649839', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649839', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649839', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649839', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:31:22] Production.INFO: ProcessCDR(1,14649839,1,1,2)
[2025-03-10 13:31:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:31:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:31:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:31:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649839', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649839', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:31:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:31:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:31:27] Production.INFO: ==12115== Releasing lock...
[2025-03-10 13:31:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:31:27] Production.INFO: 67 MB #Memory Used#
[2025-03-10 17:32:01] Production.INFO: ==12208== Lock acquired, processing the job...
[2025-03-10 17:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:32:01] Production.INFO: neon service started
[2025-03-10 17:32:01] Production.INFO: neon service started
[2025-03-10 17:32:01] Production.INFO: ==12208== Releasing lock...
[2025-03-10 17:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:32:02] Production.INFO: ==12210== Lock acquired, processing the job...
[2025-03-10 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:32:02] Production.INFO: ==12212== Lock acquired, processing the job...
[2025-03-10 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:32:02] Production.INFO: ==12212== Releasing lock...
[2025-03-10 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:32:02] Production.INFO: ==12210== Releasing lock...
[2025-03-10 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:32:03] Production.INFO: ==12219== Lock acquired, processing the job...
[2025-03-10 13:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:32:03] Production.INFO: ==12221== Lock acquired, processing the job...
[2025-03-10 13:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:32:04] Production.INFO: ==12225== Lock acquired, processing the job...
[2025-03-10 13:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:32:04] Production.INFO: Account Balance Start.
[2025-03-10 13:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:32:04] Production.INFO: 117
[2025-03-10 13:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 13:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:32:04] Production.INFO: count ==13
[2025-03-10 13:32:04] Production.INFO: ==12215== Lock acquired, processing the job...
[2025-03-10 13:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 13:32:04] Production.INFO: count ==21
[2025-03-10 13:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:32:04] Production.INFO: ==12217== Lock acquired, processing the job...
[2025-03-10 13:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649841') start
[2025-03-10 13:32:04] Production.INFO: ==12223== Lock acquired, processing the job...
[2025-03-10 13:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:32:04] Production.INFO: Total Charge 0
[2025-03-10 13:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:32:04] Production.INFO: CreateAllLog End
[2025-03-10 13:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649841') end
[2025-03-10 13:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:32:04] Production.INFO: 1
[2025-03-10 13:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:32:04] Production.INFO: ==12225== Releasing lock...
[2025-03-10 13:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:32:04] Production.INFO: ==12217== Releasing lock...
[2025-03-10 13:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:32:04] Production.ERROR: done
[2025-03-10 13:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:32:05] Production.INFO: Account Balance End.
[2025-03-10 13:32:05] Production.ERROR: done
[2025-03-10 13:32:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:32:05] Production.INFO: ==12221== Releasing lock...
[2025-03-10 13:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:32:06
[end_date_ymd] => 2025-03-10 13:32:06
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:32:06' and `end` < '2025-03-10 13: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-03-10 13:32:13] Production.ERROR: CronJobId end10
[2025-03-10 13:32:13] Production.INFO: ==12219== Releasing lock...
[2025-03-10 13:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:32:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:32:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:32:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:32:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:32:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:32:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:32:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:32:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:32:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:32:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:32:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:32:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:32:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:32:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:32:16] Production.INFO: call_cost start
[2025-03-10 13:32:16] Production.INFO: call_cost end
[2025-03-10 13:32:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:32:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:32:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:32:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:32:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:32:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:32:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:32:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:32:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:32:17] Production.INFO: ==12215== Releasing lock...
[2025-03-10 13:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:32:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:32:19] Production.INFO: count ==5239
[2025-03-10 13:32:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:32:06 - End Time 2025-03-10 13:32:06
[2025-03-10 13:32:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649844', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649844', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649844', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649844', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:32:22] Production.INFO: ProcessCDR(1,14649844,1,1,2)
[2025-03-10 13:32:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:32:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:32:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:32:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649844', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649844', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:32:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:32:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:32:27] Production.INFO: ==12223== Releasing lock...
[2025-03-10 13:32:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:32:27] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:33:02] Production.INFO: ==12279== Lock acquired, processing the job...
[2025-03-10 17:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:33:02] Production.INFO: neon service started
[2025-03-10 17:33:02] Production.INFO: neon service started
[2025-03-10 17:33:02] Production.INFO: ==12279== Releasing lock...
[2025-03-10 17:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:33:02] Production.INFO: ==12283== Lock acquired, processing the job...
[2025-03-10 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:33:02] Production.INFO: ==12283== Releasing lock...
[2025-03-10 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:33:03] Production.INFO: ==12281== Lock acquired, processing the job...
[2025-03-10 13:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:33:03] Production.INFO: ==12281== Releasing lock...
[2025-03-10 13:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:33:04] Production.INFO: ==12290== Lock acquired, processing the job...
[2025-03-10 13:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:33:04] Production.INFO: ==12296== Lock acquired, processing the job...
[2025-03-10 13:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:33:04] Production.INFO: ==12286== Lock acquired, processing the job...
[2025-03-10 13:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 13:33:04] Production.INFO: ==12288== Lock acquired, processing the job...
[2025-03-10 13:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:33:04] Production.INFO: count ==13
[2025-03-10 13:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 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-03-10 13:33:04] Production.INFO: count ==21
[2025-03-10 13:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649845') start
[2025-03-10 13:33:04] Production.INFO: ==12292== Lock acquired, processing the job...
[2025-03-10 13:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:33:04] Production.INFO: ==12294== Lock acquired, processing the job...
[2025-03-10 13:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649845') end
[2025-03-10 13:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:33:04] Production.INFO: 1
[2025-03-10 13:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:33:04] Production.INFO: Account Balance Start.
[2025-03-10 13:33:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:33:04] Production.INFO: 117
[2025-03-10 13:33:04] Production.INFO: ==12296== Releasing lock...
[2025-03-10 13:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:33:05] Production.INFO: Date 2025-03-08
[2025-03-10 13:33:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:33:05] Production.INFO: Date 2025-03-09
[2025-03-10 13:33:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:33:05] Production.INFO: Date 2025-03-10
[2025-03-10 13:33:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:33:05] Production.INFO: Total Charge 0
[2025-03-10 13:33:05] Production.INFO: CreateAllLog End
[2025-03-10 13:33:05] Production.INFO: ==12288== Releasing lock...
[2025-03-10 13:33:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:33:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:33:05] Production.ERROR: done
[2025-03-10 13:33:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:33:05] Production.INFO: Account Balance End.
[2025-03-10 13:33:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:33:05] Production.INFO: ==12292== Releasing lock...
[2025-03-10 13:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:33:05] Production.ERROR: done
[2025-03-10 13:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:33:06
[end_date_ymd] => 2025-03-10 13:33:06
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:33:06' and `end` < '2025-03-10 13: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-03-10 13:33:14] Production.ERROR: CronJobId end10
[2025-03-10 13:33:14] Production.INFO: ==12290== Releasing lock...
[2025-03-10 13:33:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:33:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:33:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:33:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:33:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:33:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:33:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:33:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:33:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:33:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:33:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:33:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:33:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:33:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:33:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:33:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:33:16] Production.INFO: call_cost start
[2025-03-10 13:33:16] Production.INFO: call_cost end
[2025-03-10 13:33:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:33:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:33:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:33:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:33:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:33:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:33:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:33:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:33:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:33:17] Production.INFO: ==12286== Releasing lock...
[2025-03-10 13:33:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:33:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:33:19] Production.INFO: count ==5245
[2025-03-10 13:33:22] Production.ERROR: pbx CDR StartTime 2025-03-10 10:33:06 - End Time 2025-03-10 13:33:06
[2025-03-10 13:33:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649849', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649849', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649849', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649849', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:33:22] Production.INFO: ProcessCDR(1,14649849,1,1,2)
[2025-03-10 13:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:33:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:33:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:33:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649849', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649849', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:33:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:33:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:33:26] Production.INFO: ==12294== Releasing lock...
[2025-03-10 13:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:33:26] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:34:01] Production.INFO: ==12353== Lock acquired, processing the job...
[2025-03-10 17:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:34:01] Production.INFO: neon service started
[2025-03-10 17:34:02] Production.INFO: neon service started
[2025-03-10 17:34:02] Production.INFO: ==12353== Releasing lock...
[2025-03-10 17:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:34:02] Production.INFO: ==12355== Lock acquired, processing the job...
[2025-03-10 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:34:02] Production.INFO: ==12357== Lock acquired, processing the job...
[2025-03-10 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:34:02] Production.INFO: ==12355== Releasing lock...
[2025-03-10 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:34:02] Production.INFO: ==12357== Releasing lock...
[2025-03-10 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:34:03] Production.INFO: ==12366== Lock acquired, processing the job...
[2025-03-10 13:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:34:03] Production.INFO: ==12360== Lock acquired, processing the job...
[2025-03-10 13:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:34:03] Production.INFO: ==12368== Lock acquired, processing the job...
[2025-03-10 13:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:34:03] Production.INFO: Account Balance Start.
[2025-03-10 13:34:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:34:03] Production.INFO: 117
[2025-03-10 13:34:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:34:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:34:04] Production.INFO: ==12362== Lock acquired, processing the job...
[2025-03-10 13:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:34:04] Production.INFO: ==12370== Lock acquired, processing the job...
[2025-03-10 13:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:34:04] Production.INFO: ==12364== Lock acquired, processing the job...
[2025-03-10 13:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:34:04] Production.INFO: Total Charge 0
[2025-03-10 13:34:04] Production.INFO: CreateAllLog End
[2025-03-10 13:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13: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-03-10 13:34:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:34:04] Production.INFO: count ==21
[2025-03-10 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649852') start
[2025-03-10 13:34:04] Production.ERROR: done
[2025-03-10 13:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:34:04] Production.INFO: Account Balance End.
[2025-03-10 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649852') end
[2025-03-10 13:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:34:04] Production.INFO: 1
[2025-03-10 13:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:34:04] Production.INFO: ==12366== Releasing lock...
[2025-03-10 13:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:34:04] Production.ERROR: done
[2025-03-10 13:34:04] Production.INFO: ==12362== Releasing lock...
[2025-03-10 13:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:34:04] Production.INFO: ==12370== Releasing lock...
[2025-03-10 13:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:34:05
[end_date_ymd] => 2025-03-10 13:34:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:34:05' and `end` < '2025-03-10 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-03-10 13:34:13] Production.ERROR: CronJobId end10
[2025-03-10 13:34:13] Production.INFO: ==12364== Releasing lock...
[2025-03-10 13:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:34:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:34:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:34:15] Production.INFO: call_cost start
[2025-03-10 13:34:15] Production.INFO: call_cost end
[2025-03-10 13:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:34:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:34:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:34:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:34:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:34:16] Production.INFO: ==12360== Releasing lock...
[2025-03-10 13:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:34:19] Production.INFO: count ==5245
[2025-03-10 13:34:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:34:05 - End Time 2025-03-10 13:34:05
[2025-03-10 13:34:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649854', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649854', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649854', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649854', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:34:21] Production.INFO: ProcessCDR(1,14649854,1,1,2)
[2025-03-10 13:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:34:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649854', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649854', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:34:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:34:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:34:25] Production.INFO: ==12368== Releasing lock...
[2025-03-10 13:34:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:34:25] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:35:01] Production.INFO: ==12423== Lock acquired, processing the job...
[2025-03-10 17:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:35:01] Production.INFO: neon service started
[2025-03-10 17:35:01] Production.INFO: neon service started
[2025-03-10 17:35:01] Production.INFO: ==12423== Releasing lock...
[2025-03-10 17:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:35:02] Production.INFO: ==12425== Lock acquired, processing the job...
[2025-03-10 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:35:02] Production.INFO: ==12427== Lock acquired, processing the job...
[2025-03-10 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:35:02] Production.INFO: ==12427== Releasing lock...
[2025-03-10 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:35:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:35:02] Production.INFO: ==12425== Releasing lock...
[2025-03-10 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:35:03] Production.INFO: ==12430== Lock acquired, processing the job...
[2025-03-10 13:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:35:03] Production.INFO: ==12432== Lock acquired, processing the job...
[2025-03-10 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:35:03] Production.INFO: ==12438== Lock acquired, processing the job...
[2025-03-10 13:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:35:03] Production.INFO: ==12432== Releasing lock...
[2025-03-10 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:35:03] Production.INFO: ==12434== Lock acquired, processing the job...
[2025-03-10 13:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:35:04] Production.INFO: ==12436== Lock acquired, processing the job...
[2025-03-10 13:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:35:04] Production.INFO: ==12440== Lock acquired, processing the job...
[2025-03-10 13:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:35:04] Production.INFO: Account Balance Start.
[2025-03-10 13:35:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:35:04] Production.INFO: 117
[2025-03-10 13:35:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:35:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 13: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-03-10 13:35:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:35:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:35:04] Production.INFO: count ==21
[2025-03-10 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649858') start
[2025-03-10 13:35:04] Production.INFO: Total Charge 0
[2025-03-10 13:35:04] Production.ERROR: done
[2025-03-10 13:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:35:04] Production.INFO: CreateAllLog End
[2025-03-10 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649858') end
[2025-03-10 13:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:35:04] Production.INFO: 1
[2025-03-10 13:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:35:04] Production.INFO: ==12440== Releasing lock...
[2025-03-10 13:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:35:04] Production.ERROR: done
[2025-03-10 13:35:04] Production.INFO: Account Balance End.
[2025-03-10 13:35:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:35:04] Production.INFO: ==12436== Releasing lock...
[2025-03-10 13:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:35:05
[end_date_ymd] => 2025-03-10 13:35:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:35:05' and `end` < '2025-03-10 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-03-10 13:35:12] Production.ERROR: CronJobId end10
[2025-03-10 13:35:12] Production.INFO: ==12434== Releasing lock...
[2025-03-10 13:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:35:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:35:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:35:15] Production.INFO: call_cost start
[2025-03-10 13:35:15] Production.INFO: call_cost end
[2025-03-10 13:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:35:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:35:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:35:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:35:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:35:16] Production.INFO: ==12430== Releasing lock...
[2025-03-10 13:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:35:18] Production.INFO: count ==5248
[2025-03-10 13:35:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:35:05 - End Time 2025-03-10 13:35:05
[2025-03-10 13:35:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649859', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649859', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649859', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649859', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:35:21] Production.INFO: ProcessCDR(1,14649859,1,1,2)
[2025-03-10 13:35:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:35:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:35:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:35:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649859', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649859', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:35:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:35:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:35:26] Production.INFO: ==12438== Releasing lock...
[2025-03-10 13:35:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:35:26] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:36:02] Production.INFO: ==12498== Lock acquired, processing the job...
[2025-03-10 17:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:36:02] Production.INFO: neon service started
[2025-03-10 17:36:02] Production.INFO: neon service started
[2025-03-10 17:36:02] Production.INFO: ==12498== Releasing lock...
[2025-03-10 17:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:36:02] Production.INFO: ==12500== Lock acquired, processing the job...
[2025-03-10 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:36:02] Production.INFO: ==12500== Releasing lock...
[2025-03-10 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:36:03] Production.INFO: ==12502== Lock acquired, processing the job...
[2025-03-10 17:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:36:03] Production.INFO: ==12502== Releasing lock...
[2025-03-10 17:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:36:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:36:04] Production.INFO: ==12507== Lock acquired, processing the job...
[2025-03-10 13:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:36:04] Production.INFO: ==12513== Lock acquired, processing the job...
[2025-03-10 13:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:36:04] Production.INFO: ==12509== Lock acquired, processing the job...
[2025-03-10 13:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:36:04] Production.INFO: ==12511== Lock acquired, processing the job...
[2025-03-10 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:36:04] Production.INFO: ==12505== Lock acquired, processing the job...
[2025-03-10 13:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:36:04] Production.INFO: ==12515== Lock acquired, processing the job...
[2025-03-10 13:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:36:04] Production.INFO: ==12507== Releasing lock...
[2025-03-10 13:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:36:04] Production.INFO: Account Balance Start.
[2025-03-10 13:36:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:36:04] Production.INFO: 117
[2025-03-10 13:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:36:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 13:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:36:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:36:04] Production.INFO: count ==21
[2025-03-10 13:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649862') start
[2025-03-10 13:36:04] Production.ERROR: done
[2025-03-10 13:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:36:04] Production.INFO: Total Charge 0
[2025-03-10 13:36:04] Production.INFO: CreateAllLog End
[2025-03-10 13:36:04] Production.ERROR: done
[2025-03-10 13:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649862') end
[2025-03-10 13:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:36:04] Production.INFO: 1
[2025-03-10 13:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:36:04] Production.INFO: ==12515== Releasing lock...
[2025-03-10 13:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:36:04] Production.INFO: Account Balance End.
[2025-03-10 13:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:36:04] Production.INFO: ==12511== Releasing lock...
[2025-03-10 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:36:05
[end_date_ymd] => 2025-03-10 13:36:05
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:36:05' and `end` < '2025-03-10 13: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-03-10 13:36:13] Production.ERROR: CronJobId end10
[2025-03-10 13:36:13] Production.INFO: ==12509== Releasing lock...
[2025-03-10 13:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:36:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:36:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:36:15] Production.INFO: call_cost start
[2025-03-10 13:36:15] Production.INFO: call_cost end
[2025-03-10 13:36:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:36:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:36:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:36:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:36:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:36:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:36:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:36:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:36:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:36:17] Production.INFO: ==12505== Releasing lock...
[2025-03-10 13:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:36:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:36:18] Production.INFO: count ==5252
[2025-03-10 13:36:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:36:05 - End Time 2025-03-10 13:36:05
[2025-03-10 13:36:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649864', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649864', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649864', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649864', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:36:21] Production.INFO: ProcessCDR(1,14649864,1,1,2)
[2025-03-10 13:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:36:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:36:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:36:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649864', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649864', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:36:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:36:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:36:26] Production.INFO: ==12513== Releasing lock...
[2025-03-10 13:36:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:36:26] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:37:01] Production.INFO: ==12571== Lock acquired, processing the job...
[2025-03-10 17:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:37:01] Production.INFO: neon service started
[2025-03-10 17:37:01] Production.INFO: neon service started
[2025-03-10 17:37:01] Production.INFO: ==12571== Releasing lock...
[2025-03-10 17:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:37:02] Production.INFO: ==12574== Lock acquired, processing the job...
[2025-03-10 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:37:02] Production.INFO: ==12576== Lock acquired, processing the job...
[2025-03-10 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:37:02] Production.INFO: ==12576== Releasing lock...
[2025-03-10 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:37:02] Production.INFO: ==12574== Releasing lock...
[2025-03-10 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:37:03] Production.INFO: ==12578== Lock acquired, processing the job...
[2025-03-10 13:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:37:03] Production.INFO: ==12580== Lock acquired, processing the job...
[2025-03-10 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:37:03] Production.INFO: ==12584== Lock acquired, processing the job...
[2025-03-10 13:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:37:03] Production.INFO: Account Balance Start.
[2025-03-10 13:37:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:37:03] Production.INFO: 117
[2025-03-10 13:37:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:37:03] Production.INFO: ==12582== Lock acquired, processing the job...
[2025-03-10 13:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:37:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:37:04] Production.INFO: ==12586== Lock acquired, processing the job...
[2025-03-10 13:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:37:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:37:04] Production.INFO: Total Charge 0
[2025-03-10 13:37:04] Production.INFO: CreateAllLog End
[2025-03-10 13:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:37:04] Production.INFO: ==12580== Releasing lock...
[2025-03-10 13:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:37:04] Production.INFO: ==12589== Lock acquired, processing the job...
[2025-03-10 13:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:37:04] Production.INFO: Account Balance End.
[2025-03-10 13: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-03-10 13:37:04] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:37:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:37:04] Production.INFO: ==12584== Releasing lock...
[2025-03-10 13:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:37:04] Production.INFO: count ==21
[2025-03-10 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649868') start
[2025-03-10 13:37:04] Production.ERROR: done
[2025-03-10 13:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649868') end
[2025-03-10 13:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:37:04] Production.INFO: 1
[2025-03-10 13:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:37:04] Production.INFO: ==12589== Releasing lock...
[2025-03-10 13:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:37:04] Production.ERROR: done
[2025-03-10 13:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:37:05
[end_date_ymd] => 2025-03-10 13:37:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:37:05' and `end` < '2025-03-10 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-03-10 13:37:12] Production.ERROR: CronJobId end10
[2025-03-10 13:37:12] Production.INFO: ==12582== Releasing lock...
[2025-03-10 13:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:37:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:37:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:37:14] Production.INFO: call_cost start
[2025-03-10 13:37:14] Production.INFO: call_cost end
[2025-03-10 13:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:37:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:37:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:37:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:37:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:37:16] Production.INFO: ==12578== Releasing lock...
[2025-03-10 13:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:37:18] Production.INFO: count ==5251
[2025-03-10 13:37:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:37:05 - End Time 2025-03-10 13:37:05
[2025-03-10 13:37:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649869', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649869', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649869', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649869', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:37:21] Production.INFO: ProcessCDR(1,14649869,1,1,2)
[2025-03-10 13:37:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:37:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:37:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:37:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649869', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649869', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:37:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:37:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:37:27] Production.INFO: ==12586== Releasing lock...
[2025-03-10 13:37:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:37:27] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:38:02] Production.INFO: ==12645== Lock acquired, processing the job...
[2025-03-10 17:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:38:02] Production.INFO: neon service started
[2025-03-10 17:38:02] Production.INFO: neon service started
[2025-03-10 17:38:02] Production.INFO: ==12645== Releasing lock...
[2025-03-10 17:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:38:02] Production.INFO: ==12647== Lock acquired, processing the job...
[2025-03-10 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:38:02] Production.INFO: ==12649== Lock acquired, processing the job...
[2025-03-10 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:38:02] Production.INFO: ==12649== Releasing lock...
[2025-03-10 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:38:03] Production.INFO: ==12647== Releasing lock...
[2025-03-10 13:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:38:04] Production.INFO: ==12658== Lock acquired, processing the job...
[2025-03-10 13:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:38:04] Production.INFO: ==12662== Lock acquired, processing the job...
[2025-03-10 13:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:38:04] Production.INFO: Account Balance Start.
[2025-03-10 13:38:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:38:04] Production.INFO: 117
[2025-03-10 13:38:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:38:04] Production.INFO: ==12652== Lock acquired, processing the job...
[2025-03-10 13:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 13:38:04] Production.INFO: ==12654== Lock acquired, processing the job...
[2025-03-10 13:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:38:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:38:04] Production.INFO: ==12656== Lock acquired, processing the job...
[2025-03-10 13:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:38:04] Production.INFO: count ==21
[2025-03-10 13:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649871') start
[2025-03-10 13:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:38:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:38:04] Production.INFO: ==12660== Lock acquired, processing the job...
[2025-03-10 13:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649871') end
[2025-03-10 13:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:38:04] Production.INFO: 1
[2025-03-10 13:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:38:04] Production.INFO: Total Charge 0
[2025-03-10 13:38:04] Production.INFO: ==12662== Releasing lock...
[2025-03-10 13:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:38:04] Production.INFO: CreateAllLog End
[2025-03-10 13:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:38:05] Production.INFO: ==12654== Releasing lock...
[2025-03-10 13:38:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:38:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:38:05] Production.INFO: Account Balance End.
[2025-03-10 13:38:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:38:05] Production.INFO: ==12658== Releasing lock...
[2025-03-10 13:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:38:05] Production.ERROR: done
[2025-03-10 13:38:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:38:05] Production.ERROR: done
[2025-03-10 13:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:38:06
[end_date_ymd] => 2025-03-10 13:38:06
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:38:06' and `end` < '2025-03-10 13: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-03-10 13:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:38:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:38:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:38:15] Production.ERROR: CronJobId end10
[2025-03-10 13:38:15] Production.INFO: ==12656== Releasing lock...
[2025-03-10 13:38:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:38:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:38:15] Production.INFO: call_cost start
[2025-03-10 13:38:15] Production.INFO: call_cost end
[2025-03-10 13:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:38:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:38:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:38:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:38:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:38:16] Production.INFO: ==12652== Releasing lock...
[2025-03-10 13:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:38:19] Production.INFO: count ==5250
[2025-03-10 13:38:22] Production.ERROR: pbx CDR StartTime 2025-03-10 10:38:06 - End Time 2025-03-10 13:38:06
[2025-03-10 13:38:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649874', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649874', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649874', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649874', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:38:22] Production.INFO: ProcessCDR(1,14649874,1,1,2)
[2025-03-10 13:38:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:38:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:38:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:38:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:38:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649874', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:38:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649874', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:38:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:38:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:38:27] Production.INFO: ==12660== Releasing lock...
[2025-03-10 13:38:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:38:27] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:39:01] Production.INFO: ==12715== Lock acquired, processing the job...
[2025-03-10 17:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:39:01] Production.INFO: neon service started
[2025-03-10 17:39:01] Production.INFO: neon service started
[2025-03-10 17:39:01] Production.INFO: ==12715== Releasing lock...
[2025-03-10 17:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:39:02] Production.INFO: ==12717== Lock acquired, processing the job...
[2025-03-10 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:39:02] Production.INFO: ==12719== Lock acquired, processing the job...
[2025-03-10 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:39:02] Production.INFO: ==12719== Releasing lock...
[2025-03-10 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:39:02] Production.INFO: ==12717== Releasing lock...
[2025-03-10 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:39:02] Production.INFO: ==12732== Lock acquired, processing the job...
[2025-03-10 13:39:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:39:03] Production.INFO: ==12730== Lock acquired, processing the job...
[2025-03-10 13:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 13:39:03] Production.INFO: count ==13
[2025-03-10 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-03-10 13:39:03] Production.INFO: count ==21
[2025-03-10 13:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649875') start
[2025-03-10 13:39:03] Production.INFO: ==12726== Lock acquired, processing the job...
[2025-03-10 13:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649875') end
[2025-03-10 13:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:39:03] Production.INFO: 1
[2025-03-10 13:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:39:03] Production.INFO: ==12732== Releasing lock...
[2025-03-10 13:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:39:03] Production.ERROR: done
[2025-03-10 13:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:39:03] Production.INFO: ==12721== Lock acquired, processing the job...
[2025-03-10 13:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:39:03] Production.INFO: ==12723== Lock acquired, processing the job...
[2025-03-10 13:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:39:03] Production.INFO: ==12728== Lock acquired, processing the job...
[2025-03-10 13:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:39:03] Production.ERROR: done
[2025-03-10 13:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:39:03] Production.INFO: Account Balance Start.
[2025-03-10 13:39:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:39:03] Production.INFO: 117
[2025-03-10 13:39:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:39:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:39:04] Production.INFO: ==12723== Releasing lock...
[2025-03-10 13:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:39:04] Production.INFO: Total Charge 0
[2025-03-10 13:39:04] Production.INFO: CreateAllLog End
[2025-03-10 13:39:04] Production.INFO: Account Balance End.
[2025-03-10 13:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:39:04] Production.INFO: ==12728== Releasing lock...
[2025-03-10 13:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:39:05
[end_date_ymd] => 2025-03-10 13:39:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:39:05' and `end` < '2025-03-10 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-03-10 13:39:12] Production.ERROR: CronJobId end10
[2025-03-10 13:39:12] Production.INFO: ==12726== Releasing lock...
[2025-03-10 13:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:39:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:39:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:39:15] Production.INFO: call_cost start
[2025-03-10 13:39:15] Production.INFO: call_cost end
[2025-03-10 13:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:39:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:39:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:39:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:39:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:39:16] Production.INFO: ==12721== Releasing lock...
[2025-03-10 13:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:39:17] Production.INFO: count ==5252
[2025-03-10 13:39:20] Production.ERROR: pbx CDR StartTime 2025-03-10 10:39:05 - End Time 2025-03-10 13:39:05
[2025-03-10 13:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649876', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649876', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649876', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649876', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:39:20] Production.INFO: ProcessCDR(1,14649876,1,1,2)
[2025-03-10 13:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:39:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649876', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649876', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:39:26] Production.INFO: ==12730== Releasing lock...
[2025-03-10 13:39:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:39:26] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:40:02] Production.INFO: ==12787== Lock acquired, processing the job...
[2025-03-10 17:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:40:02] Production.INFO: neon service started
[2025-03-10 17:40:02] Production.INFO: neon service started
[2025-03-10 17:40:02] Production.INFO: ==12787== Releasing lock...
[2025-03-10 17:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:40:02] Production.INFO: ==12789== Lock acquired, processing the job...
[2025-03-10 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:40:02] Production.INFO: ==12791== Lock acquired, processing the job...
[2025-03-10 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:40:02] Production.INFO: ==12791== Releasing lock...
[2025-03-10 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:40:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:40:03] Production.INFO: ==12789== Releasing lock...
[2025-03-10 13:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:40:04] Production.INFO: ==12796== Lock acquired, processing the job...
[2025-03-10 13:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:40:04] Production.INFO: ==12798== Lock acquired, processing the job...
[2025-03-10 13:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:40:04] Production.INFO: ==12800== Lock acquired, processing the job...
[2025-03-10 13:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:40:04] Production.INFO: ==12794== Lock acquired, processing the job...
[2025-03-10 13:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 13:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 13:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 13:40:04] Production.ERROR: CronJob PID - 12796
[2025-03-10 13:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 13:40:04] Production.ERROR: CronJob ID - 5
[2025-03-10 13:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 13:40:00
[2025-03-10 13:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 13:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 13:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 13:40:04] Production.ERROR: CronJob PID - 12798
[2025-03-10 13:40:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 13:40:04] Production.ERROR: CronJob ID - 7
[2025-03-10 13:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 13:40:00
[2025-03-10 13:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 13:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 13:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 13:40:04] Production.ERROR: CronJob PID - 12800
[2025-03-10 13:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 13:40:04] Production.ERROR: CronJob ID - 10
[2025-03-10 13:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 13:40:00
[2025-03-10 13:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 13:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 13:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 13:40:04] Production.INFO: ==12794== Releasing lock...
[2025-03-10 13:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 13:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 13:40:04] Production.INFO: ==12802== Lock acquired, processing the job...
[2025-03-10 13:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:40:04] Production.INFO: ==12806== Lock acquired, processing the job...
[2025-03-10 13:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 13:40:04] Production.INFO: ==12808== Lock acquired, processing the job...
[2025-03-10 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:40:04] Production.INFO: ==12804== Lock acquired, processing the job...
[2025-03-10 13:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:40:04] Production.INFO: ==12798== Releasing lock...
[2025-03-10 13:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:40:04] Production.INFO: Account Balance Start.
[2025-03-10 13:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:40:04] Production.INFO: 117
[2025-03-10 13:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 13:40:05] Production.INFO: Date 2025-03-09
[2025-03-10 13:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:40:05] Production.INFO: count ==13
[2025-03-10 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-03-10 13:40:05] Production.INFO: count ==21
[2025-03-10 13:40:05] Production.INFO: Date 2025-03-10
[2025-03-10 13:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649883') start
[2025-03-10 13:40:05] Production.ERROR: done
[2025-03-10 13:40:05] Production.INFO: Total Charge 0
[2025-03-10 13:40:05] Production.INFO: CreateAllLog End
[2025-03-10 13:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649883') end
[2025-03-10 13:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:40:05] Production.INFO: 1
[2025-03-10 13:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 13:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649884', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 13:40:05] Production.INFO: ==12808== Releasing lock...
[2025-03-10 13:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:40:05] Production.ERROR: done
[2025-03-10 13:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:40:05] Production.INFO: Account Balance End.
[2025-03-10 13:40:05] Production.ERROR: done
[2025-03-10 13:40:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:40:05] Production.INFO: ==12802== Releasing lock...
[2025-03-10 13:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:40:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:40:07
[end_date_ymd] => 2025-03-10 13:40:07
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:40:07' and `end` < '2025-03-10 13: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-03-10 13:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649884', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 13:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 13:40:10] Production.INFO: ProcessCDR(1,14649884,1,1,2)
[2025-03-10 13:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649884,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649884,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:40:10] Production.INFO: ==12806== Releasing lock...
[2025-03-10 13:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 13:40:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 13:40:16] Production.ERROR: CronJobId end10
[2025-03-10 13:40:16] Production.INFO: ==12800== Releasing lock...
[2025-03-10 13:40:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:40:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:40:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:40:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:40:17] Production.INFO: call_cost start
[2025-03-10 13:40:17] Production.INFO: call_cost end
[2025-03-10 13:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:40:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:40:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:40:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:40:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:40:18] Production.INFO: ==12796== Releasing lock...
[2025-03-10 13:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:40:20] Production.INFO: count ==5247
[2025-03-10 13:40:22] Production.ERROR: pbx CDR StartTime 2025-03-10 10:40:07 - End Time 2025-03-10 13:40:07
[2025-03-10 13:40:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649885', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649885', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649885', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649885', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:40:22] Production.INFO: ProcessCDR(1,14649885,1,1,2)
[2025-03-10 13:40:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:40:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:40:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:40:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649885', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649885', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:40:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:40:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:40:26] Production.INFO: ==12804== Releasing lock...
[2025-03-10 13:40:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:40:26] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 17:41:01] Production.INFO: ==12867== Lock acquired, processing the job...
[2025-03-10 17:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:41:01] Production.INFO: neon service started
[2025-03-10 17:41:01] Production.INFO: neon service started
[2025-03-10 17:41:01] Production.INFO: ==12867== Releasing lock...
[2025-03-10 17:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:41:02] Production.INFO: ==12869== Lock acquired, processing the job...
[2025-03-10 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:41:02] Production.INFO: ==12871== Lock acquired, processing the job...
[2025-03-10 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:41:02] Production.INFO: ==12869== Releasing lock...
[2025-03-10 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:41:02] Production.INFO: ==12871== Releasing lock...
[2025-03-10 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:41:03] Production.INFO: ==12873== Lock acquired, processing the job...
[2025-03-10 13:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:41:03] Production.INFO: ==12880== Lock acquired, processing the job...
[2025-03-10 13:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:41:03] Production.INFO: ==12875== Lock acquired, processing the job...
[2025-03-10 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:41:03] Production.INFO: ==12882== Lock acquired, processing the job...
[2025-03-10 13:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:41:03] Production.INFO: Account Balance Start.
[2025-03-10 13:41:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:41:03] Production.INFO: 117
[2025-03-10 13:41:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:41:03] Production.INFO: ==12878== Lock acquired, processing the job...
[2025-03-10 13:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:41:03] Production.INFO: Date 2025-03-09
[2025-03-10 13:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:41:03] Production.INFO: Date 2025-03-10
[2025-03-10 13:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:41:03] Production.INFO: Total Charge 0
[2025-03-10 13:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:41:03] Production.INFO: CreateAllLog End
[2025-03-10 13:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:41:03] Production.INFO: ==12884== Lock acquired, processing the job...
[2025-03-10 13:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:41:04] Production.INFO: ==12875== Releasing lock...
[2025-03-10 13:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:41:04] Production.INFO: Account Balance End.
[2025-03-10 13: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-03-10 13:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:41:04] Production.INFO: ==12880== Releasing lock...
[2025-03-10 13:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:41:04] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:41:04] Production.INFO: count ==21
[2025-03-10 13:41:04] Production.ERROR: done
[2025-03-10 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649889') start
[2025-03-10 13:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649889') end
[2025-03-10 13:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:41:04] Production.INFO: 1
[2025-03-10 13:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:41:04] Production.ERROR: done
[2025-03-10 13:41:04] Production.INFO: ==12884== Releasing lock...
[2025-03-10 13:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:41:05
[end_date_ymd] => 2025-03-10 13:41:05
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:41:05' and `end` < '2025-03-10 13: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-03-10 13:41:14] Production.ERROR: CronJobId end10
[2025-03-10 13:41:14] Production.INFO: ==12878== Releasing lock...
[2025-03-10 13:41:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:41:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:41:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:41:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:41:15] Production.INFO: call_cost start
[2025-03-10 13:41:16] Production.INFO: call_cost end
[2025-03-10 13:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:41:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:41:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:41:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:41:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:41:16] Production.INFO: ==12873== Releasing lock...
[2025-03-10 13:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:41:18] Production.INFO: count ==5222
[2025-03-10 13:41:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:41:05 - End Time 2025-03-10 13:41:05
[2025-03-10 13:41:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649890', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649890', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649890', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649890', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:41:21] Production.INFO: ProcessCDR(1,14649890,1,1,2)
[2025-03-10 13:41:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:41:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:41:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:41:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649890', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649890', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:41:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:41:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:41:26] Production.INFO: ==12882== Releasing lock...
[2025-03-10 13:41:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:41:26] Production.INFO: 67 MB #Memory Used#
[2025-03-10 17:42:02] Production.INFO: ==12947== Lock acquired, processing the job...
[2025-03-10 17:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:42:02] Production.INFO: neon service started
[2025-03-10 17:42:02] Production.INFO: neon service started
[2025-03-10 17:42:02] Production.INFO: ==12947== Releasing lock...
[2025-03-10 17:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:42:02] Production.INFO: ==12949== Lock acquired, processing the job...
[2025-03-10 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:42:02] Production.INFO: ==12949== Releasing lock...
[2025-03-10 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:42:03] Production.INFO: ==12951== Lock acquired, processing the job...
[2025-03-10 17:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:42:03] Production.INFO: ==12951== Releasing lock...
[2025-03-10 17:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:42:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:42:03] Production.INFO: ==12953== Lock acquired, processing the job...
[2025-03-10 13:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:42:03] Production.INFO: ==12955== Lock acquired, processing the job...
[2025-03-10 13:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:42:03] Production.INFO: ==12958== Lock acquired, processing the job...
[2025-03-10 13:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:42:04] Production.INFO: ==12960== Lock acquired, processing the job...
[2025-03-10 13:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:42:04] Production.INFO: Account Balance Start.
[2025-03-10 13:42:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:42:04] Production.INFO: 117
[2025-03-10 13:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:42:04] Production.INFO: ==12955== Releasing lock...
[2025-03-10 13:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:42:04] Production.INFO: ==12962== Lock acquired, processing the job...
[2025-03-10 13:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:42:04] Production.INFO: Total Charge 0
[2025-03-10 13:42:04] Production.INFO: CreateAllLog End
[2025-03-10 13:42:04] Production.INFO: ==12964== Lock acquired, processing the job...
[2025-03-10 13:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13: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-03-10 13:42:04] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:42:04] Production.INFO: count ==21
[2025-03-10 13:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649894') start
[2025-03-10 13:42:05] Production.ERROR: done
[2025-03-10 13:42:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649894') end
[2025-03-10 13:42:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:42:05] Production.INFO: 1
[2025-03-10 13:42:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:42:05] Production.INFO: ==12964== Releasing lock...
[2025-03-10 13:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:42:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:42:05] Production.ERROR: done
[2025-03-10 13:42:05] Production.INFO: Account Balance End.
[2025-03-10 13:42:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:42:05] Production.INFO: ==12960== Releasing lock...
[2025-03-10 13:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:42:06
[end_date_ymd] => 2025-03-10 13:42:06
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:42:06' and `end` < '2025-03-10 13: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-03-10 13:42:13] Production.ERROR: CronJobId end10
[2025-03-10 13:42:13] Production.INFO: ==12958== Releasing lock...
[2025-03-10 13:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:42:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:42:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:42:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:42:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:42:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:42:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:42:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:42:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:42:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:42:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:42:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:42:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:42:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:42:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:42:16] Production.INFO: call_cost start
[2025-03-10 13:42:16] Production.INFO: call_cost end
[2025-03-10 13:42:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:42:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:42:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:42:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:42:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:42:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:42:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:42:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:42:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:42:17] Production.INFO: ==12953== Releasing lock...
[2025-03-10 13:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:42:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:42:19] Production.INFO: count ==5195
[2025-03-10 13:42:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:42:06 - End Time 2025-03-10 13:42:06
[2025-03-10 13:42:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649895', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649895', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649895', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649895', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:42:22] Production.INFO: ProcessCDR(1,14649895,1,1,2)
[2025-03-10 13:42:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:42:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:42:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:42:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649895', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649895', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:42:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:42:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:42:27] Production.INFO: ==12962== Releasing lock...
[2025-03-10 13:42:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:42:27] Production.INFO: 67 MB #Memory Used#
[2025-03-10 17:43:01] Production.INFO: ==13021== Lock acquired, processing the job...
[2025-03-10 17:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:43:01] Production.INFO: neon service started
[2025-03-10 17:43:01] Production.INFO: neon service started
[2025-03-10 17:43:01] Production.INFO: ==13021== Releasing lock...
[2025-03-10 17:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:43:02] Production.INFO: ==13023== Lock acquired, processing the job...
[2025-03-10 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:43:02] Production.INFO: ==13025== Lock acquired, processing the job...
[2025-03-10 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:43:02] Production.INFO: ==13025== Releasing lock...
[2025-03-10 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:43:02] Production.INFO: ==13023== Releasing lock...
[2025-03-10 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:43:03] Production.INFO: ==13030== Lock acquired, processing the job...
[2025-03-10 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:43:03] Production.INFO: ==13036== Lock acquired, processing the job...
[2025-03-10 13:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:43:03] Production.INFO: ==13038== Lock acquired, processing the job...
[2025-03-10 13:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 13:43:03] Production.INFO: ==13034== Lock acquired, processing the job...
[2025-03-10 13:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:43:03] Production.INFO: count ==13
[2025-03-10 13:43:03] Production.INFO: ==13028== Lock acquired, processing the job...
[2025-03-10 13:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:43:03] Production.INFO: ==13032== Lock acquired, processing the job...
[2025-03-10 13:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 13:43:03] Production.INFO: count ==21
[2025-03-10 13:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649897') start
[2025-03-10 13:43:03] Production.INFO: Account Balance Start.
[2025-03-10 13:43:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:43:03] Production.INFO: 117
[2025-03-10 13:43:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:43:03] Production.INFO: ==13030== Releasing lock...
[2025-03-10 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649897') end
[2025-03-10 13:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:43:03] Production.INFO: 1
[2025-03-10 13:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:43:03] Production.INFO: Date 2025-03-09
[2025-03-10 13:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:43:03] Production.INFO: Date 2025-03-10
[2025-03-10 13:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:43:04] Production.INFO: Total Charge 0
[2025-03-10 13:43:04] Production.INFO: CreateAllLog End
[2025-03-10 13:43:04] Production.INFO: ==13038== Releasing lock...
[2025-03-10 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:43:04] Production.ERROR: done
[2025-03-10 13:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:43:04] Production.ERROR: done
[2025-03-10 13:43:04] Production.INFO: Account Balance End.
[2025-03-10 13:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:43:04] Production.INFO: ==13034== Releasing lock...
[2025-03-10 13:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:43:05
[end_date_ymd] => 2025-03-10 13:43:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:43:05' and `end` < '2025-03-10 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-03-10 13:43:11] Production.ERROR: CronJobId end10
[2025-03-10 13:43:11] Production.INFO: ==13032== Releasing lock...
[2025-03-10 13:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:43:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:43:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:43:14] Production.INFO: call_cost start
[2025-03-10 13:43:14] Production.INFO: call_cost end
[2025-03-10 13:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:43:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:43:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:43:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:43:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:43:15] Production.INFO: ==13028== Releasing lock...
[2025-03-10 13:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:43:18] Production.INFO: count ==5181
[2025-03-10 13:43:20] Production.ERROR: pbx CDR StartTime 2025-03-10 10:43:05 - End Time 2025-03-10 13:43:05
[2025-03-10 13:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649900', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649900', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649900', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649900', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:43:20] Production.INFO: ProcessCDR(1,14649900,1,1,2)
[2025-03-10 13:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:43:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:43:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:43:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649900', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649900', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:43:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:43:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:43:25] Production.INFO: ==13036== Releasing lock...
[2025-03-10 13:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:43:25] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 17:44:02] Production.INFO: ==13098== Lock acquired, processing the job...
[2025-03-10 17:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:44:02] Production.INFO: neon service started
[2025-03-10 17:44:02] Production.INFO: neon service started
[2025-03-10 17:44:02] Production.INFO: ==13098== Releasing lock...
[2025-03-10 17:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:44:02] Production.INFO: ==13102== Lock acquired, processing the job...
[2025-03-10 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:44:02] Production.INFO: ==13102== Releasing lock...
[2025-03-10 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:44:02] Production.INFO: ==13100== Lock acquired, processing the job...
[2025-03-10 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:44:03] Production.INFO: ==13100== Releasing lock...
[2025-03-10 13:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:44:03] Production.INFO: ==13109== Lock acquired, processing the job...
[2025-03-10 13:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:44:03] Production.INFO: ==13111== Lock acquired, processing the job...
[2025-03-10 13:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:44:04] Production.INFO: ==13113== Lock acquired, processing the job...
[2025-03-10 13:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:44:04] Production.INFO: Account Balance Start.
[2025-03-10 13:44:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:44:04] Production.INFO: 117
[2025-03-10 13:44:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:44:04] Production.INFO: ==13105== Lock acquired, processing the job...
[2025-03-10 13:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:44:04] Production.INFO: Total Charge 0
[2025-03-10 13:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:44:04] Production.INFO: CreateAllLog End
[2025-03-10 13:44:04] Production.INFO: ==13107== Lock acquired, processing the job...
[2025-03-10 13:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:44:04] Production.INFO: ==13115== Lock acquired, processing the job...
[2025-03-10 13:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:44:04] Production.INFO: Account Balance End.
[2025-03-10 13:44:04] Production.ERROR: done
[2025-03-10 13:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:44:04] Production.INFO: ==13111== Releasing lock...
[2025-03-10 13:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 13:44:04] Production.ERROR: done
[2025-03-10 13:44:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:44:04] Production.INFO: count ==21
[2025-03-10 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649903') start
[2025-03-10 13:44:04] Production.INFO: ==13107== Releasing lock...
[2025-03-10 13:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649903') end
[2025-03-10 13:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:44:04] Production.INFO: 1
[2025-03-10 13:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:44:05] Production.INFO: ==13115== Releasing lock...
[2025-03-10 13:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:44:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:44:05
[end_date_ymd] => 2025-03-10 13:44:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:44:05' and `end` < '2025-03-10 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-03-10 13:44:13] Production.ERROR: CronJobId end10
[2025-03-10 13:44:13] Production.INFO: ==13109== Releasing lock...
[2025-03-10 13:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:44:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:44:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:44:14] Production.INFO: call_cost start
[2025-03-10 13:44:14] Production.INFO: call_cost end
[2025-03-10 13:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:44:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:44:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:44:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:44:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:44:15] Production.INFO: ==13105== Releasing lock...
[2025-03-10 13:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:44:18] Production.INFO: count ==5158
[2025-03-10 13:44:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:44:05 - End Time 2025-03-10 13:44:05
[2025-03-10 13:44:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649905', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649905', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649905', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649905', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:44:21] Production.INFO: ProcessCDR(1,14649905,1,1,2)
[2025-03-10 13:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:44:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:44:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649905', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649905', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:44:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:44:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:44:26] Production.INFO: ==13113== Releasing lock...
[2025-03-10 13:44:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:44:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 17:45:01] Production.INFO: ==13175== Lock acquired, processing the job...
[2025-03-10 17:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:45:01] Production.INFO: neon service started
[2025-03-10 17:45:01] Production.INFO: neon service started
[2025-03-10 17:45:01] Production.INFO: ==13175== Releasing lock...
[2025-03-10 17:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:45:02] Production.INFO: ==13177== Lock acquired, processing the job...
[2025-03-10 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:45:02] Production.INFO: ==13179== Lock acquired, processing the job...
[2025-03-10 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:45:02] Production.INFO: ==13179== Releasing lock...
[2025-03-10 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:45:02] Production.INFO: ==13177== Releasing lock...
[2025-03-10 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:45:03] Production.INFO: ==13186== Lock acquired, processing the job...
[2025-03-10 13:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:45:03] Production.INFO: ==13182== Lock acquired, processing the job...
[2025-03-10 13:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:45:03] Production.INFO: ==13192== Lock acquired, processing the job...
[2025-03-10 13:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13: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-03-10 13:45:03] Production.INFO: ==13184== Lock acquired, processing the job...
[2025-03-10 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:45:03] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:45:03] Production.INFO: count ==21
[2025-03-10 13:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649907') start
[2025-03-10 13:45:03] Production.INFO: ==13190== Lock acquired, processing the job...
[2025-03-10 13:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:45:03] Production.INFO: ==13188== Lock acquired, processing the job...
[2025-03-10 13:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649907') end
[2025-03-10 13:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:45:04] Production.INFO: 1
[2025-03-10 13:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:45:04] Production.INFO: Account Balance Start.
[2025-03-10 13:45:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:45:04] Production.INFO: 117
[2025-03-10 13:45:04] Production.INFO: ==13192== Releasing lock...
[2025-03-10 13:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:45:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:45:04] Production.INFO: ==13184== Releasing lock...
[2025-03-10 13:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:45:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:45:04] Production.ERROR: done
[2025-03-10 13:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:45:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:45:04] Production.INFO: Total Charge 0
[2025-03-10 13:45:04] Production.ERROR: done
[2025-03-10 13:45:04] Production.INFO: CreateAllLog End
[2025-03-10 13:45:04] Production.INFO: Account Balance End.
[2025-03-10 13:45:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:45:04] Production.INFO: ==13188== Releasing lock...
[2025-03-10 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:45:05
[end_date_ymd] => 2025-03-10 13:45:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:45:05' and `end` < '2025-03-10 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-03-10 13:45:13] Production.ERROR: CronJobId end10
[2025-03-10 13:45:13] Production.INFO: ==13186== Releasing lock...
[2025-03-10 13:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:45:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:45:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:45:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:45:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:45:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:45:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:45:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:45:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:45:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:45:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:45:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:45:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:45:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:45:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:45:15] Production.INFO: call_cost start
[2025-03-10 13:45:15] Production.INFO: call_cost end
[2025-03-10 13:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:45:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:45:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:45:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:45:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:45:16] Production.INFO: ==13182== Releasing lock...
[2025-03-10 13:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:45:18] Production.INFO: count ==5143
[2025-03-10 13:45:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:45:05 - End Time 2025-03-10 13:45:05
[2025-03-10 13:45:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649910', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649910', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649910', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649910', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:45:21] Production.INFO: ProcessCDR(1,14649910,1,1,2)
[2025-03-10 13:45:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:45:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:45:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:45:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649910', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649910', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:45:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:45:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:45:26] Production.INFO: ==13190== Releasing lock...
[2025-03-10 13:45:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:45:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 17:46:02] Production.INFO: ==13252== Lock acquired, processing the job...
[2025-03-10 17:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:46:02] Production.INFO: neon service started
[2025-03-10 17:46:02] Production.INFO: neon service started
[2025-03-10 17:46:02] Production.INFO: ==13252== Releasing lock...
[2025-03-10 17:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:46:02] Production.INFO: ==13256== Lock acquired, processing the job...
[2025-03-10 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:46:02] Production.INFO: ==13256== Releasing lock...
[2025-03-10 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:46:02] Production.INFO: ==13254== Lock acquired, processing the job...
[2025-03-10 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:46:03] Production.INFO: ==13254== Releasing lock...
[2025-03-10 13:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:46:04] Production.INFO: ==13267== Lock acquired, processing the job...
[2025-03-10 13:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:46:04] Production.INFO: ==13269== Lock acquired, processing the job...
[2025-03-10 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:46:04] Production.INFO: ==13259== Lock acquired, processing the job...
[2025-03-10 13:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13: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-03-10 13:46:04] Production.INFO: count ==13
[2025-03-10 13:46:04] Production.INFO: ==13261== Lock acquired, processing the job...
[2025-03-10 13:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:46:04] Production.INFO: ==13263== Lock acquired, processing the job...
[2025-03-10 13:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 13:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:46:04] Production.INFO: count ==21
[2025-03-10 13:46:04] Production.INFO: ==13265== Lock acquired, processing the job...
[2025-03-10 13:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649911') start
[2025-03-10 13:46:04] Production.INFO: Account Balance Start.
[2025-03-10 13:46:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:46:04] Production.INFO: 117
[2025-03-10 13:46:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649911') end
[2025-03-10 13:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:46:04] Production.INFO: 1
[2025-03-10 13:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:46:04] Production.INFO: ==13269== Releasing lock...
[2025-03-10 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:46:04] Production.ERROR: done
[2025-03-10 13:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:46:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:46:04] Production.INFO: Total Charge 0
[2025-03-10 13:46:04] Production.INFO: CreateAllLog End
[2025-03-10 13:46:04] Production.ERROR: done
[2025-03-10 13:46:04] Production.INFO: ==13261== Releasing lock...
[2025-03-10 13:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:46:04] Production.INFO: Account Balance End.
[2025-03-10 13:46:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:46:05] Production.INFO: ==13265== Releasing lock...
[2025-03-10 13:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:46:05
[end_date_ymd] => 2025-03-10 13:46:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:46:05' and `end` < '2025-03-10 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-03-10 13:46:13] Production.ERROR: CronJobId end10
[2025-03-10 13:46:13] Production.INFO: ==13263== Releasing lock...
[2025-03-10 13:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:46:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:46:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:46:15] Production.INFO: call_cost start
[2025-03-10 13:46:15] Production.INFO: call_cost end
[2025-03-10 13:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:46:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:46:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:46:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:46:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:46:16] Production.INFO: ==13259== Releasing lock...
[2025-03-10 13:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:46:18] Production.INFO: count ==5123
[2025-03-10 13:46:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:46:05 - End Time 2025-03-10 13:46:05
[2025-03-10 13:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649915', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649915', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649915', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649915', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:46:21] Production.INFO: ProcessCDR(1,14649915,1,1,2)
[2025-03-10 13:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649915', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649915', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:46:24] Production.INFO: ==13267== Releasing lock...
[2025-03-10 13:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:46:24] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:47:01] Production.INFO: ==13367== Lock acquired, processing the job...
[2025-03-10 17:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:47:01] Production.INFO: neon service started
[2025-03-10 17:47:01] Production.INFO: neon service started
[2025-03-10 17:47:01] Production.INFO: ==13367== Releasing lock...
[2025-03-10 17:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:47:02] Production.INFO: ==13369== Lock acquired, processing the job...
[2025-03-10 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:47:02] Production.INFO: ==13371== Lock acquired, processing the job...
[2025-03-10 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:47:02] Production.INFO: ==13371== Releasing lock...
[2025-03-10 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:47:02] Production.INFO: ==13369== Releasing lock...
[2025-03-10 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:47:03] Production.INFO: ==13376== Lock acquired, processing the job...
[2025-03-10 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:47:03] Production.INFO: ==13384== Lock acquired, processing the job...
[2025-03-10 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:47:03] Production.INFO: ==13374== Lock acquired, processing the job...
[2025-03-10 13:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:47:03] Production.INFO: ==13376== Releasing lock...
[2025-03-10 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13: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-03-10 13:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:47:03] Production.INFO: ==13378== Lock acquired, processing the job...
[2025-03-10 13:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:47:04] Production.INFO: count ==13
[2025-03-10 13:47:04] Production.INFO: ==13380== Lock acquired, processing the job...
[2025-03-10 13:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:47:04] Production.INFO: ==13382== Lock acquired, processing the job...
[2025-03-10 13:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 13:47:04] Production.INFO: count ==21
[2025-03-10 13:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649917') start
[2025-03-10 13:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:47:04] Production.INFO: Account Balance Start.
[2025-03-10 13:47:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:47:04] Production.INFO: 117
[2025-03-10 13:47:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649917') end
[2025-03-10 13:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:47:04] Production.INFO: 1
[2025-03-10 13:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:47:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:47:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:47:04] Production.INFO: ==13384== Releasing lock...
[2025-03-10 13:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:47:04] Production.INFO: Total Charge 0
[2025-03-10 13:47:04] Production.INFO: CreateAllLog End
[2025-03-10 13:47:04] Production.ERROR: done
[2025-03-10 13:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:47:04] Production.INFO: Account Balance End.
[2025-03-10 13:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:47:04] Production.INFO: ==13380== Releasing lock...
[2025-03-10 13:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:47:04] Production.ERROR: done
[2025-03-10 13:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:47:05
[end_date_ymd] => 2025-03-10 13:47:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:47:05' and `end` < '2025-03-10 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-03-10 13:47:13] Production.ERROR: CronJobId end10
[2025-03-10 13:47:13] Production.INFO: ==13378== Releasing lock...
[2025-03-10 13:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:47:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:47:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:47:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:47:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:47:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:47:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:47:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:47:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:47:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:47:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:47:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:47:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:47:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:47:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:47:16] Production.INFO: call_cost start
[2025-03-10 13:47:16] Production.INFO: call_cost end
[2025-03-10 13:47:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:47:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:47:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:47:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:47:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:47:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:47:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:47:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:47:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:47:17] Production.INFO: ==13374== Releasing lock...
[2025-03-10 13:47:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:47:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:47:18] Production.INFO: count ==5124
[2025-03-10 13:47:20] Production.ERROR: pbx CDR StartTime 2025-03-10 10:47:05 - End Time 2025-03-10 13:47:05
[2025-03-10 13:47:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649920', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649920', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649920', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649920', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:47:21] Production.INFO: ProcessCDR(1,14649920,1,1,2)
[2025-03-10 13:47:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:47:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649920', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649920', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:47:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:47:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:47:25] Production.INFO: ==13382== Releasing lock...
[2025-03-10 13:47:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:47:25] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:48:02] Production.INFO: ==13445== Lock acquired, processing the job...
[2025-03-10 17:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:48:02] Production.INFO: neon service started
[2025-03-10 17:48:02] Production.INFO: neon service started
[2025-03-10 17:48:02] Production.INFO: ==13445== Releasing lock...
[2025-03-10 17:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:48:02] Production.INFO: ==13447== Lock acquired, processing the job...
[2025-03-10 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:48:02] Production.INFO: ==13447== Releasing lock...
[2025-03-10 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:48:03] Production.INFO: ==13449== Lock acquired, processing the job...
[2025-03-10 17:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:48:03] Production.INFO: ==13449== Releasing lock...
[2025-03-10 17:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:48:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:48:03] Production.INFO: ==13451== Lock acquired, processing the job...
[2025-03-10 13:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:48:03] Production.INFO: ==13453== Lock acquired, processing the job...
[2025-03-10 13:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:48:03] Production.INFO: ==13457== Lock acquired, processing the job...
[2025-03-10 13:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:48:04] Production.INFO: ==13455== Lock acquired, processing the job...
[2025-03-10 13:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:48:04] Production.INFO: Account Balance Start.
[2025-03-10 13:48:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:48:04] Production.INFO: 117
[2025-03-10 13:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:48:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:48:04] Production.INFO: ==13462== Lock acquired, processing the job...
[2025-03-10 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:48:04] Production.INFO: ==13460== Lock acquired, processing the job...
[2025-03-10 13:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:48:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:48:04] Production.INFO: ==13453== Releasing lock...
[2025-03-10 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13: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-03-10 13:48:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:48:04] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:48:04] Production.INFO: count ==21
[2025-03-10 13:48:04] Production.INFO: Total Charge 0
[2025-03-10 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649924') start
[2025-03-10 13:48:04] Production.INFO: CreateAllLog End
[2025-03-10 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649924') end
[2025-03-10 13:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:48:04] Production.INFO: 1
[2025-03-10 13:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:48:04] Production.INFO: ==13462== Releasing lock...
[2025-03-10 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:48:04] Production.INFO: Account Balance End.
[2025-03-10 13:48:04] Production.ERROR: done
[2025-03-10 13:48:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:48:04] Production.INFO: ==13457== Releasing lock...
[2025-03-10 13:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:48:04] Production.ERROR: done
[2025-03-10 13:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:48:05
[end_date_ymd] => 2025-03-10 13:48:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:48:05' and `end` < '2025-03-10 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-03-10 13:48:13] Production.ERROR: CronJobId end10
[2025-03-10 13:48:13] Production.INFO: ==13455== Releasing lock...
[2025-03-10 13:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:48:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:48:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:48:15] Production.INFO: call_cost start
[2025-03-10 13:48:15] Production.INFO: call_cost end
[2025-03-10 13:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:48:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:48:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:48:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:48:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:48:16] Production.INFO: ==13451== Releasing lock...
[2025-03-10 13:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:48:19] Production.INFO: count ==5104
[2025-03-10 13:48:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:48:05 - End Time 2025-03-10 13:48:05
[2025-03-10 13:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649925', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649925', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649925', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649925', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:48:21] Production.INFO: ProcessCDR(1,14649925,1,1,2)
[2025-03-10 13:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:48:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649925', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649925', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:48:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:48:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:48:26] Production.INFO: ==13460== Releasing lock...
[2025-03-10 13:48:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:48:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:49:01] Production.INFO: ==13526== Lock acquired, processing the job...
[2025-03-10 17:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:49:01] Production.INFO: neon service started
[2025-03-10 17:49:01] Production.INFO: neon service started
[2025-03-10 17:49:01] Production.INFO: ==13526== Releasing lock...
[2025-03-10 17:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:49:02] Production.INFO: ==13528== Lock acquired, processing the job...
[2025-03-10 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:49:02] Production.INFO: ==13528== Releasing lock...
[2025-03-10 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:49:02] Production.INFO: ==13530== Lock acquired, processing the job...
[2025-03-10 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:49:02] Production.INFO: ==13530== Releasing lock...
[2025-03-10 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:49:03] Production.INFO: ==13534== Lock acquired, processing the job...
[2025-03-10 13:49:03] Production.INFO: ==13532== Lock acquired, processing the job...
[2025-03-10 13:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:49:03] Production.INFO: ==13538== Lock acquired, processing the job...
[2025-03-10 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:49:03] Production.INFO: Account Balance Start.
[2025-03-10 13:49:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:49:03] Production.INFO: 117
[2025-03-10 13:49:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:49:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:49:03] Production.INFO: Date 2025-03-09
[2025-03-10 13:49:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:49:03] Production.INFO: Date 2025-03-10
[2025-03-10 13:49:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:49:03] Production.INFO: ==13536== Lock acquired, processing the job...
[2025-03-10 13:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:49:03] Production.INFO: Total Charge 0
[2025-03-10 13:49:03] Production.INFO: CreateAllLog End
[2025-03-10 13:49:03] Production.INFO: ==13540== Lock acquired, processing the job...
[2025-03-10 13:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:49:03] Production.INFO: ==13534== Releasing lock...
[2025-03-10 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:49:03] Production.INFO: ==13542== Lock acquired, processing the job...
[2025-03-10 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:49:03] Production.INFO: Account Balance End.
[2025-03-10 13:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13: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-03-10 13:49:03] Production.INFO: count ==13
[2025-03-10 13:49:03] Production.ERROR: CronJobId end 12
[2025-03-10 13:49:03] Production.INFO: ==13538== Releasing lock...
[2025-03-10 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13: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-03-10 13:49:03] Production.INFO: count ==21
[2025-03-10 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649929') start
[2025-03-10 13:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649929') end
[2025-03-10 13:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:49:04] Production.INFO: 1
[2025-03-10 13:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:49:04] Production.INFO: ==13542== Releasing lock...
[2025-03-10 13:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:49:04] Production.ERROR: done
[2025-03-10 13:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:49:04] Production.ERROR: done
[2025-03-10 13:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:49:05
[end_date_ymd] => 2025-03-10 13:49:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:49:05' and `end` < '2025-03-10 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-03-10 13:49:12] Production.ERROR: CronJobId end10
[2025-03-10 13:49:12] Production.INFO: ==13536== Releasing lock...
[2025-03-10 13:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:49:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:49:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:49:14] Production.INFO: call_cost start
[2025-03-10 13:49:14] Production.INFO: call_cost end
[2025-03-10 13:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:49:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:49:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:49:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:49:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:49:15] Production.INFO: ==13532== Releasing lock...
[2025-03-10 13:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:49:18] Production.INFO: count ==5114
[2025-03-10 13:49:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:49:05 - End Time 2025-03-10 13:49:05
[2025-03-10 13:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649930', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649930', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649930', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649930', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:49:21] Production.INFO: ProcessCDR(1,14649930,1,1,2)
[2025-03-10 13:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:49:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:49:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649930', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649930', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:49:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:49:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:49:26] Production.INFO: ==13540== Releasing lock...
[2025-03-10 13:49:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:49:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:50:02] Production.INFO: ==13613== Lock acquired, processing the job...
[2025-03-10 17:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:50:02] Production.INFO: neon service started
[2025-03-10 17:50:02] Production.INFO: neon service started
[2025-03-10 17:50:02] Production.INFO: ==13613== Releasing lock...
[2025-03-10 17:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:50:02] Production.INFO: ==13617== Lock acquired, processing the job...
[2025-03-10 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:50:02] Production.INFO: ==13617== Releasing lock...
[2025-03-10 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:50:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:50:02] Production.INFO: ==13615== Lock acquired, processing the job...
[2025-03-10 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:50:03] Production.INFO: ==13615== Releasing lock...
[2025-03-10 13:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:50:04] Production.INFO: ==13622== Lock acquired, processing the job...
[2025-03-10 13:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:50:04] Production.INFO: ==13620== Lock acquired, processing the job...
[2025-03-10 13:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 13:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:50:04] Production.INFO: ==13624== Lock acquired, processing the job...
[2025-03-10 13:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 13:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 13:50:04] Production.ERROR: CronJob PID - 13622
[2025-03-10 13:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 13:50:04] Production.ERROR: CronJob ID - 5
[2025-03-10 13:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 13:50:00
[2025-03-10 13:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 13:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 13:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 13:50:04] Production.ERROR: CronJob PID - 13624
[2025-03-10 13:50:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 13:50:04] Production.ERROR: CronJob ID - 7
[2025-03-10 13:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 13:50:00
[2025-03-10 13:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 13:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 13:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 13:50:04] Production.INFO: ==13620== Releasing lock...
[2025-03-10 13:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 13:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 13:50:04] Production.INFO: ==13632== Lock acquired, processing the job...
[2025-03-10 13:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 13:50:04] Production.INFO: ==13626== Lock acquired, processing the job...
[2025-03-10 13:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:50:04] Production.INFO: ==13628== Lock acquired, processing the job...
[2025-03-10 13:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:50:04] Production.INFO: ==13630== Lock acquired, processing the job...
[2025-03-10 13:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:50:04] Production.INFO: ==13634== Lock acquired, processing the job...
[2025-03-10 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:50:04] Production.INFO: ==13624== Releasing lock...
[2025-03-10 13:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:50:04] Production.INFO: Account Balance Start.
[2025-03-10 13:50:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:50:04] Production.INFO: 117
[2025-03-10 13:50:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 13: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-03-10 13:50:05] Production.ERROR: done
[2025-03-10 13:50:05] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:50:05] Production.INFO: Date 2025-03-09
[2025-03-10 13:50:05] Production.INFO: count ==21
[2025-03-10 13:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649934') start
[2025-03-10 13:50:05] Production.INFO: Date 2025-03-10
[2025-03-10 13:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 13:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 13:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649935', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 13:50:05] Production.INFO: Total Charge 0
[2025-03-10 13:50:05] Production.INFO: CreateAllLog End
[2025-03-10 13:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14649934') end
[2025-03-10 13:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:50:05] Production.INFO: 1
[2025-03-10 13:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:50:05] Production.INFO: ==13634== Releasing lock...
[2025-03-10 13:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:50:05] Production.ERROR: done
[2025-03-10 13:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:50:05] Production.ERROR: done
[2025-03-10 13:50:05] Production.INFO: Account Balance End.
[2025-03-10 13:50:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:50:05] Production.INFO: ==13628== Releasing lock...
[2025-03-10 13:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:50:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:50:07
[end_date_ymd] => 2025-03-10 13:50:07
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:50:07' and `end` < '2025-03-10 13: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-03-10 13:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649935', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 13:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 13:50:09] Production.INFO: ProcessCDR(1,14649935,1,1,2)
[2025-03-10 13:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649935,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649935,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:50:09] Production.INFO: ==13632== Releasing lock...
[2025-03-10 13:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 13:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 13:50:14] Production.ERROR: CronJobId end10
[2025-03-10 13:50:14] Production.INFO: ==13626== Releasing lock...
[2025-03-10 13:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:50:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:50:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:50:16] Production.INFO: call_cost start
[2025-03-10 13:50:16] Production.INFO: call_cost end
[2025-03-10 13:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:50:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:50:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:50:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:50:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:50:17] Production.INFO: ==13622== Releasing lock...
[2025-03-10 13:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:50:20] Production.INFO: count ==5092
[2025-03-10 13:50:22] Production.ERROR: pbx CDR StartTime 2025-03-10 10:50:07 - End Time 2025-03-10 13:50:07
[2025-03-10 13:50:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649936', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649936', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649936', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649936', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:50:22] Production.INFO: ProcessCDR(1,14649936,1,1,2)
[2025-03-10 13:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:50:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:50:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:50:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649936', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649936', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:50:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:50:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:50:27] Production.INFO: ==13630== Releasing lock...
[2025-03-10 13:50:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:50:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 17:51:01] Production.INFO: ==13690== Lock acquired, processing the job...
[2025-03-10 17:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:51:01] Production.INFO: neon service started
[2025-03-10 17:51:01] Production.INFO: neon service started
[2025-03-10 17:51:01] Production.INFO: ==13690== Releasing lock...
[2025-03-10 17:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:51:02] Production.INFO: ==13692== Lock acquired, processing the job...
[2025-03-10 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 17:51:02] Production.INFO: ==13694== Lock acquired, processing the job...
[2025-03-10 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 13:51:02] Production.INFO: ==13692== Releasing lock...
[2025-03-10 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:51:02] Production.INFO: ==13694== Releasing lock...
[2025-03-10 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:51:03] Production.INFO: ==13698== Lock acquired, processing the job...
[2025-03-10 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:51:03] Production.INFO: ==13696== Lock acquired, processing the job...
[2025-03-10 13:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:51:03] Production.INFO: ==13705== Lock acquired, processing the job...
[2025-03-10 13:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:51:03] Production.INFO: ==13707== Lock acquired, processing the job...
[2025-03-10 13:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:51:03] Production.INFO: ==13702== Lock acquired, processing the job...
[2025-03-10 13:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:51:03] Production.INFO: ==13700== Lock acquired, processing the job...
[2025-03-10 13:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:51:03] Production.INFO: Account Balance Start.
[2025-03-10 13:51:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:51:03] Production.INFO: 117
[2025-03-10 13:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:51:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:51:03] Production.INFO: Date 2025-03-09
[2025-03-10 13:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:51:03] Production.INFO: Date 2025-03-10
[2025-03-10 13:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:51:03] Production.INFO: Total Charge 0
[2025-03-10 13:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 13:51:03] Production.INFO: CreateAllLog End
[2025-03-10 13:51:03] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:51:03] Production.INFO: ==13698== Releasing lock...
[2025-03-10 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:51:03] Production.INFO: count ==21
[2025-03-10 13:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649940') start
[2025-03-10 13:51:03] Production.ERROR: done
[2025-03-10 13:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649940') end
[2025-03-10 13:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:51:04] Production.INFO: 1
[2025-03-10 13:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:51:04] Production.INFO: ==13707== Releasing lock...
[2025-03-10 13:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:51:04] Production.ERROR: done
[2025-03-10 13:51:04] Production.INFO: Account Balance End.
[2025-03-10 13:51:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:51:04] Production.INFO: ==13702== Releasing lock...
[2025-03-10 13:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:51:04
[end_date_ymd] => 2025-03-10 13:51:04
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:51:04' and `end` < '2025-03-10 13: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-03-10 13:51:12] Production.ERROR: CronJobId end10
[2025-03-10 13:51:12] Production.INFO: ==13700== Releasing lock...
[2025-03-10 13:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:51:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:51:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:51:15] Production.INFO: call_cost start
[2025-03-10 13:51:15] Production.INFO: call_cost end
[2025-03-10 13:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:51:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:51:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:51:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:51:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:51:16] Production.INFO: ==13696== Releasing lock...
[2025-03-10 13:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:51:18] Production.INFO: count ==5102
[2025-03-10 13:51:20] Production.ERROR: pbx CDR StartTime 2025-03-10 10:51:04 - End Time 2025-03-10 13:51:04
[2025-03-10 13:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649941', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649941', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649941', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649941', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:51:20] Production.INFO: ProcessCDR(1,14649941,1,1,2)
[2025-03-10 13:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:51:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:51:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:51:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:51:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649941', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649941', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:51:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:51:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:51:26] Production.INFO: ==13705== Releasing lock...
[2025-03-10 13:51:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:51:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 17:52:02] Production.INFO: ==13771== Lock acquired, processing the job...
[2025-03-10 17:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:52:02] Production.INFO: neon service started
[2025-03-10 17:52:02] Production.INFO: neon service started
[2025-03-10 17:52:02] Production.INFO: ==13771== Releasing lock...
[2025-03-10 17:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:52:02] Production.INFO: ==13775== Lock acquired, processing the job...
[2025-03-10 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:52:02] Production.INFO: ==13775== Releasing lock...
[2025-03-10 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:52:02] Production.INFO: ==13773== Lock acquired, processing the job...
[2025-03-10 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:52:03] Production.INFO: ==13773== Releasing lock...
[2025-03-10 13:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:52:03] Production.INFO: ==13778== Lock acquired, processing the job...
[2025-03-10 13:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:52:03] Production.INFO: ==13780== Lock acquired, processing the job...
[2025-03-10 13:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:52:03] Production.INFO: ==13782== Lock acquired, processing the job...
[2025-03-10 13:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:52:04] Production.INFO: ==13784== Lock acquired, processing the job...
[2025-03-10 13:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:52:04] Production.INFO: ==13786== Lock acquired, processing the job...
[2025-03-10 13:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:52:04] Production.INFO: ==13780== Releasing lock...
[2025-03-10 13:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:52:04] Production.INFO: Account Balance Start.
[2025-03-10 13:52:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:52:04] Production.INFO: 117
[2025-03-10 13:52:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:52:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:52:04] Production.INFO: ==13788== Lock acquired, processing the job...
[2025-03-10 13:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:52:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:52:04] Production.INFO: Total Charge 0
[2025-03-10 13:52:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 13:52:04] Production.INFO: count ==13
[2025-03-10 13:52:04] Production.ERROR: done
[2025-03-10 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-03-10 13:52:04] Production.INFO: count ==21
[2025-03-10 13:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649945') start
[2025-03-10 13:52:04] Production.ERROR: done
[2025-03-10 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649945') end
[2025-03-10 13:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:52:04] Production.INFO: 1
[2025-03-10 13:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:52:04] Production.INFO: ==13788== Releasing lock...
[2025-03-10 13:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:52:05] Production.INFO: Account Balance End.
[2025-03-10 13:52:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:52:05] Production.INFO: ==13784== Releasing lock...
[2025-03-10 13:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:52:05
[end_date_ymd] => 2025-03-10 13:52:05
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:52:05' and `end` < '2025-03-10 13: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-03-10 13:52:13] Production.ERROR: CronJobId end10
[2025-03-10 13:52:13] Production.INFO: ==13782== Releasing lock...
[2025-03-10 13:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:52:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:52:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:52:15] Production.INFO: call_cost start
[2025-03-10 13:52:15] Production.INFO: call_cost end
[2025-03-10 13:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:52:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:52:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:52:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:52:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:52:16] Production.INFO: ==13778== Releasing lock...
[2025-03-10 13:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:52:19] Production.INFO: count ==5087
[2025-03-10 13:52:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:52:05 - End Time 2025-03-10 13:52:05
[2025-03-10 13:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649946', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649946', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649946', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649946', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:52:21] Production.INFO: ProcessCDR(1,14649946,1,1,2)
[2025-03-10 13:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:52:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:52:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:52:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649946', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649946', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:52:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:52:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:52:27] Production.INFO: ==13786== Releasing lock...
[2025-03-10 13:52:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:52:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 17:53:01] Production.INFO: ==13850== Lock acquired, processing the job...
[2025-03-10 17:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:53:01] Production.INFO: neon service started
[2025-03-10 17:53:01] Production.INFO: neon service started
[2025-03-10 17:53:01] Production.INFO: ==13850== Releasing lock...
[2025-03-10 17:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:53:02] Production.INFO: ==13857== Lock acquired, processing the job...
[2025-03-10 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:53:02] Production.INFO: ==13857== Releasing lock...
[2025-03-10 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:53:02] Production.INFO: ==13855== Lock acquired, processing the job...
[2025-03-10 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:53:02] Production.INFO: ==13855== Releasing lock...
[2025-03-10 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:53:03] Production.INFO: ==13869== Lock acquired, processing the job...
[2025-03-10 13:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:53:03] Production.INFO: ==13865== Lock acquired, processing the job...
[2025-03-10 13:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:53:03] Production.INFO: ==13861== Lock acquired, processing the job...
[2025-03-10 13:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:53:03] Production.INFO: ==13859== Lock acquired, processing the job...
[2025-03-10 13:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:53:03] Production.INFO: Account Balance Start.
[2025-03-10 13:53:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:53:03] Production.INFO: 117
[2025-03-10 13:53:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 13: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-03-10 13:53:03] Production.INFO: ==13863== Lock acquired, processing the job...
[2025-03-10 13:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:53:03] Production.INFO: Date 2025-03-09
[2025-03-10 13:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:53:03] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:53:03] Production.INFO: count ==21
[2025-03-10 13:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649948') start
[2025-03-10 13:53:03] Production.INFO: Date 2025-03-10
[2025-03-10 13:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:53:03] Production.INFO: ==13867== Lock acquired, processing the job...
[2025-03-10 13:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:53:03] Production.INFO: Total Charge 0
[2025-03-10 13:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:53:03] Production.INFO: CreateAllLog End
[2025-03-10 13:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649948') end
[2025-03-10 13:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:53:03] Production.INFO: 1
[2025-03-10 13:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:53:03] Production.INFO: ==13869== Releasing lock...
[2025-03-10 13:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:53:03] Production.INFO: ==13861== Releasing lock...
[2025-03-10 13:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:53:04] Production.INFO: Account Balance End.
[2025-03-10 13:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:53:04] Production.INFO: ==13865== Releasing lock...
[2025-03-10 13:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:53:04] Production.ERROR: done
[2025-03-10 13:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:53:04] Production.ERROR: done
[2025-03-10 13:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:53:05
[end_date_ymd] => 2025-03-10 13:53:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:53:05' and `end` < '2025-03-10 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-03-10 13:53:13] Production.ERROR: CronJobId end10
[2025-03-10 13:53:13] Production.INFO: ==13863== Releasing lock...
[2025-03-10 13:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:53:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:53:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:53:15] Production.INFO: call_cost start
[2025-03-10 13:53:15] Production.INFO: call_cost end
[2025-03-10 13:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:53:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:53:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:53:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:53:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:53:16] Production.INFO: ==13859== Releasing lock...
[2025-03-10 13:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:53:18] Production.INFO: count ==5087
[2025-03-10 13:53:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:53:05 - End Time 2025-03-10 13:53:05
[2025-03-10 13:53:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649951', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649951', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649951', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649951', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:53:21] Production.INFO: ProcessCDR(1,14649951,1,1,2)
[2025-03-10 13:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:53:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:53:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:53:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649951', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649951', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:53:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:53:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:53:26] Production.INFO: ==13867== Releasing lock...
[2025-03-10 13:53:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:53:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 17:54:02] Production.INFO: ==13930== Lock acquired, processing the job...
[2025-03-10 17:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:54:02] Production.INFO: neon service started
[2025-03-10 17:54:02] Production.INFO: neon service started
[2025-03-10 17:54:02] Production.INFO: ==13930== Releasing lock...
[2025-03-10 17:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:54:02] Production.INFO: ==13933== Lock acquired, processing the job...
[2025-03-10 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:54:02] Production.INFO: ==13933== Releasing lock...
[2025-03-10 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:54:02] Production.INFO: ==13935== Lock acquired, processing the job...
[2025-03-10 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:54:03] Production.INFO: ==13935== Releasing lock...
[2025-03-10 17:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:54:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:54:03] Production.INFO: ==13937== Lock acquired, processing the job...
[2025-03-10 13:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:54:03] Production.INFO: ==13941== Lock acquired, processing the job...
[2025-03-10 13:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:54:03] Production.INFO: ==13939== Lock acquired, processing the job...
[2025-03-10 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:54:04] Production.INFO: ==13939== Releasing lock...
[2025-03-10 13:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:54:04] Production.INFO: ==13947== Lock acquired, processing the job...
[2025-03-10 13:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:54:04] Production.INFO: ==13943== Lock acquired, processing the job...
[2025-03-10 13:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 13:54:04] Production.INFO: ==13945== Lock acquired, processing the job...
[2025-03-10 13:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:54:04] Production.INFO: count ==13
[2025-03-10 13:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 13:54:04] Production.INFO: count ==21
[2025-03-10 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649954') start
[2025-03-10 13:54:04] Production.INFO: Account Balance Start.
[2025-03-10 13:54:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:54:04] Production.INFO: 117
[2025-03-10 13:54:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649954') end
[2025-03-10 13:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:54:04] Production.INFO: 1
[2025-03-10 13:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:54:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:54:04] Production.INFO: ==13947== Releasing lock...
[2025-03-10 13:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:54:04] Production.ERROR: done
[2025-03-10 13:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:54:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:54:04] Production.ERROR: done
[2025-03-10 13:54:05] Production.INFO: Total Charge 0
[2025-03-10 13:54:05] Production.INFO: CreateAllLog End
[2025-03-10 13:54:05] Production.INFO: Account Balance End.
[2025-03-10 13:54:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:54:05] Production.INFO: ==13943== Releasing lock...
[2025-03-10 13:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:54:06
[end_date_ymd] => 2025-03-10 13:54:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:54:06' and `end` < '2025-03-10 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-03-10 13:54:15] Production.ERROR: CronJobId end10
[2025-03-10 13:54:15] Production.INFO: ==13941== Releasing lock...
[2025-03-10 13:54:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:54:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:54:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:54:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:54:16] Production.INFO: call_cost start
[2025-03-10 13:54:16] Production.INFO: call_cost end
[2025-03-10 13:54:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:54:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:54:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:54:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:54:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:54:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:54:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:54:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:54:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:54:17] Production.INFO: ==13937== Releasing lock...
[2025-03-10 13:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:54:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:54:19] Production.INFO: count ==5088
[2025-03-10 13:54:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:54:06 - End Time 2025-03-10 13:54:06
[2025-03-10 13:54:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649956', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649956', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649956', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649956', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:54:21] Production.INFO: ProcessCDR(1,14649956,1,1,2)
[2025-03-10 13:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:54:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:54:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:54:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649956', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649956', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:54:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:54:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:54:27] Production.INFO: ==13945== Releasing lock...
[2025-03-10 13:54:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:54:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 17:55:01] Production.INFO: ==14008== Lock acquired, processing the job...
[2025-03-10 17:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:55:01] Production.INFO: neon service started
[2025-03-10 17:55:01] Production.INFO: neon service started
[2025-03-10 17:55:01] Production.INFO: ==14008== Releasing lock...
[2025-03-10 17:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:55:01] Production.INFO: ==14012== Lock acquired, processing the job...
[2025-03-10 17:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:55:02] Production.INFO: ==14012== Releasing lock...
[2025-03-10 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:55:02] Production.INFO: ==14010== Lock acquired, processing the job...
[2025-03-10 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:55:02] Production.INFO: ==14010== Releasing lock...
[2025-03-10 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:55:03] Production.INFO: ==14015== Lock acquired, processing the job...
[2025-03-10 13:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:55:03] Production.INFO: ==14019== Lock acquired, processing the job...
[2025-03-10 13:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:55:03] Production.INFO: ==14025== Lock acquired, processing the job...
[2025-03-10 13:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 13:55:03] Production.INFO: count ==13
[2025-03-10 13: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-03-10 13:55:03] Production.INFO: count ==21
[2025-03-10 13:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649958') start
[2025-03-10 13:55:03] Production.INFO: ==14017== Lock acquired, processing the job...
[2025-03-10 13:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:55:03] Production.INFO: ==14021== Lock acquired, processing the job...
[2025-03-10 13:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:55:03] Production.INFO: ==14023== Lock acquired, processing the job...
[2025-03-10 13:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649958') end
[2025-03-10 13:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:55:03] Production.INFO: 1
[2025-03-10 13:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:55:03] Production.INFO: ==14025== Releasing lock...
[2025-03-10 13:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:55:03] Production.INFO: Account Balance Start.
[2025-03-10 13:55:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:55:03] Production.INFO: 117
[2025-03-10 13:55:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:55:04] Production.INFO: Total Charge 0
[2025-03-10 13:55:04] Production.INFO: CreateAllLog End
[2025-03-10 13:55:04] Production.ERROR: done
[2025-03-10 13:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:55:04] Production.INFO: ==14017== Releasing lock...
[2025-03-10 13:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:55:04] Production.INFO: Account Balance End.
[2025-03-10 13:55:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:55:04] Production.INFO: ==14021== Releasing lock...
[2025-03-10 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:55:04] Production.ERROR: done
[2025-03-10 13:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:55:05
[end_date_ymd] => 2025-03-10 13:55:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:55:05' and `end` < '2025-03-10 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-03-10 13:55:13] Production.ERROR: CronJobId end10
[2025-03-10 13:55:13] Production.INFO: ==14019== Releasing lock...
[2025-03-10 13:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:55:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:55:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:55:15] Production.INFO: call_cost start
[2025-03-10 13:55:15] Production.INFO: call_cost end
[2025-03-10 13:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:55:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:55:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:55:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:55:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:55:16] Production.INFO: ==14015== Releasing lock...
[2025-03-10 13:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:55:19] Production.INFO: count ==5091
[2025-03-10 13:55:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:55:05 - End Time 2025-03-10 13:55:05
[2025-03-10 13:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649961', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649961', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649961', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649961', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:55:22] Production.INFO: ProcessCDR(1,14649961,1,1,2)
[2025-03-10 13:55:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:55:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649961', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649961', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:55:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:55:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:55:27] Production.INFO: ==14023== Releasing lock...
[2025-03-10 13:55:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:55:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 17:56:02] Production.INFO: ==14087== Lock acquired, processing the job...
[2025-03-10 17:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:56:02] Production.INFO: neon service started
[2025-03-10 17:56:02] Production.INFO: neon service started
[2025-03-10 17:56:02] Production.INFO: ==14087== Releasing lock...
[2025-03-10 17:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:56:02] Production.INFO: ==14091== Lock acquired, processing the job...
[2025-03-10 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:56:02] Production.INFO: ==14091== Releasing lock...
[2025-03-10 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:56:02] Production.INFO: ==14089== Lock acquired, processing the job...
[2025-03-10 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:56:03] Production.INFO: ==14089== Releasing lock...
[2025-03-10 13:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:56:03] Production.INFO: ==14098== Lock acquired, processing the job...
[2025-03-10 13:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:56:03] Production.INFO: ==14104== Lock acquired, processing the job...
[2025-03-10 13:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:56:04] Production.INFO: ==14094== Lock acquired, processing the job...
[2025-03-10 13:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:56:04] Production.INFO: ==14096== Lock acquired, processing the job...
[2025-03-10 13:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 13:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:56:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:56:04] Production.INFO: count ==21
[2025-03-10 13:56:04] Production.INFO: ==14100== Lock acquired, processing the job...
[2025-03-10 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649962') start
[2025-03-10 13:56:04] Production.INFO: ==14102== Lock acquired, processing the job...
[2025-03-10 13:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:56:04] Production.INFO: Account Balance Start.
[2025-03-10 13:56:04] Production.INFO: CreateAllLog Start
[2025-03-10 13:56:04] Production.INFO: 117
[2025-03-10 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649962') end
[2025-03-10 13:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:56:04] Production.INFO: 1
[2025-03-10 13:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:56:04] Production.INFO: ==14104== Releasing lock...
[2025-03-10 13:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:56:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:56:04] Production.INFO: ==14096== Releasing lock...
[2025-03-10 13:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:56:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:56:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:56:04] Production.ERROR: done
[2025-03-10 13:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:56:04] Production.INFO: Total Charge 0
[2025-03-10 13:56:04] Production.INFO: CreateAllLog End
[2025-03-10 13:56:05] Production.ERROR: done
[2025-03-10 13:56:05] Production.INFO: Account Balance End.
[2025-03-10 13:56:05] Production.ERROR: CronJobId end 12
[2025-03-10 13:56:05] Production.INFO: ==14100== Releasing lock...
[2025-03-10 13:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:56:06
[end_date_ymd] => 2025-03-10 13:56:06
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:56:06' and `end` < '2025-03-10 13: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-03-10 13:56:13] Production.ERROR: CronJobId end10
[2025-03-10 13:56:13] Production.INFO: ==14098== Releasing lock...
[2025-03-10 13:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:56:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:56:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:56:14] Production.INFO: call_cost start
[2025-03-10 13:56:14] Production.INFO: call_cost end
[2025-03-10 13:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:56:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:56:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:56:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:56:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:56:15] Production.INFO: ==14094== Releasing lock...
[2025-03-10 13:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:56:19] Production.INFO: count ==5083
[2025-03-10 13:56:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:56:06 - End Time 2025-03-10 13:56:06
[2025-03-10 13:56:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649966', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649966', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649966', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649966', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:56:22] Production.INFO: ProcessCDR(1,14649966,1,1,2)
[2025-03-10 13:56:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:56:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649966', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649966', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:56:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:56:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:56:27] Production.INFO: ==14102== Releasing lock...
[2025-03-10 13:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:56:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 17:57:01] Production.INFO: ==14169== Lock acquired, processing the job...
[2025-03-10 17:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:57:01] Production.INFO: neon service started
[2025-03-10 17:57:01] Production.INFO: neon service started
[2025-03-10 17:57:01] Production.INFO: ==14169== Releasing lock...
[2025-03-10 17:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:57:01] Production.INFO: ==14171== Lock acquired, processing the job...
[2025-03-10 13:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:57:02] Production.INFO: ==14171== Releasing lock...
[2025-03-10 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:57:02] Production.INFO: ==14173== Lock acquired, processing the job...
[2025-03-10 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:57:02] Production.INFO: ==14173== Releasing lock...
[2025-03-10 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:57:03] Production.INFO: ==14182== Lock acquired, processing the job...
[2025-03-10 13:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:57:03] Production.INFO: ==14184== Lock acquired, processing the job...
[2025-03-10 13:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:57:03] Production.INFO: ==14176== Lock acquired, processing the job...
[2025-03-10 13:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:57:03] Production.INFO: ==14178== Lock acquired, processing the job...
[2025-03-10 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:57:03] Production.INFO: Account Balance Start.
[2025-03-10 13:57:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:57:03] Production.INFO: ==14180== Lock acquired, processing the job...
[2025-03-10 13:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:57:03] Production.INFO: 117
[2025-03-10 13:57:03] Production.INFO: ==14186== Lock acquired, processing the job...
[2025-03-10 13:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:57:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:57:03] Production.INFO: Date 2025-03-09
[2025-03-10 13:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:57:03] Production.INFO: Date 2025-03-10
[2025-03-10 13:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:57:03] Production.INFO: Total Charge 0
[2025-03-10 13:57:03] Production.INFO: CreateAllLog End
[2025-03-10 13:57:03] Production.ERROR: done
[2025-03-10 13:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 13:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:57:03] Production.INFO: count ==13
[2025-03-10 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-03-10 13:57:03] Production.INFO: count ==21
[2025-03-10 13:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649970') start
[2025-03-10 13:57:04] Production.INFO: Account Balance End.
[2025-03-10 13:57:04] Production.ERROR: done
[2025-03-10 13:57:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:57:04] Production.INFO: ==14182== Releasing lock...
[2025-03-10 13:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649970') end
[2025-03-10 13:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:57:04] Production.INFO: 1
[2025-03-10 13:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:57:04] Production.INFO: ==14186== Releasing lock...
[2025-03-10 13:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:57:04] Production.INFO: ==14178== Releasing lock...
[2025-03-10 13:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:57:05
[end_date_ymd] => 2025-03-10 13:57:05
[RateCDR] => 1
)
[2025-03-10 13: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-03-10 10:57:05' and `end` < '2025-03-10 13: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-03-10 13:57:12] Production.ERROR: CronJobId end10
[2025-03-10 13:57:12] Production.INFO: ==14180== Releasing lock...
[2025-03-10 13:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:57:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:57:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:57:15] Production.INFO: call_cost start
[2025-03-10 13:57:15] Production.INFO: call_cost end
[2025-03-10 13:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:57:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:57:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:57:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:57:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:57:16] Production.INFO: ==14176== Releasing lock...
[2025-03-10 13:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:57:20] Production.INFO: count ==5079
[2025-03-10 13:57:22] Production.ERROR: pbx CDR StartTime 2025-03-10 10:57:05 - End Time 2025-03-10 13:57:05
[2025-03-10 13:57:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649971', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649971', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649971', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649971', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:57:22] Production.INFO: ProcessCDR(1,14649971,1,1,2)
[2025-03-10 13:57:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:57:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649971', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649971', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:57:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:57:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:57:27] Production.INFO: ==14184== Releasing lock...
[2025-03-10 13:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:57:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 17:58:02] Production.INFO: ==14252== Lock acquired, processing the job...
[2025-03-10 17:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:58:02] Production.INFO: neon service started
[2025-03-10 17:58:02] Production.INFO: neon service started
[2025-03-10 17:58:02] Production.INFO: ==14252== Releasing lock...
[2025-03-10 17:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 13:58:02] Production.INFO: ==14254== Lock acquired, processing the job...
[2025-03-10 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:58:02] Production.INFO: ==14254== Releasing lock...
[2025-03-10 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 17:58:02] Production.INFO: ==14256== Lock acquired, processing the job...
[2025-03-10 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:58:03] Production.INFO: ==14256== Releasing lock...
[2025-03-10 17:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:58:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:58:03] Production.INFO: ==14265== Lock acquired, processing the job...
[2025-03-10 13:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:58:03] Production.INFO: ==14267== Lock acquired, processing the job...
[2025-03-10 13:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:58:03] Production.INFO: ==14259== Lock acquired, processing the job...
[2025-03-10 13:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:58:03] Production.INFO: ==14261== Lock acquired, processing the job...
[2025-03-10 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:58:03] Production.INFO: Account Balance Start.
[2025-03-10 13:58:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:58:03] Production.INFO: 117
[2025-03-10 13:58:04] Production.INFO: Date 2025-03-08
[2025-03-10 13:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:58:04] Production.INFO: ==14263== Lock acquired, processing the job...
[2025-03-10 13:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:58:04] Production.INFO: ==14269== Lock acquired, processing the job...
[2025-03-10 13:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:58:04] Production.INFO: Date 2025-03-09
[2025-03-10 13:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:58:04] Production.INFO: Date 2025-03-10
[2025-03-10 13:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 13:58:04] Production.INFO: Total Charge 0
[2025-03-10 13:58:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 13:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:58:04] Production.INFO: count ==13
[2025-03-10 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-03-10 13:58:04] Production.INFO: count ==21
[2025-03-10 13:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649975') start
[2025-03-10 13:58:04] Production.ERROR: done
[2025-03-10 13:58:04] Production.INFO: ==14261== Releasing lock...
[2025-03-10 13:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:58:04] Production.INFO: Account Balance End.
[2025-03-10 13:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649975') end
[2025-03-10 13:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:58:04] Production.INFO: 1
[2025-03-10 13:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:58:04] Production.INFO: ==14269== Releasing lock...
[2025-03-10 13:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:58:04] Production.INFO: ==14265== Releasing lock...
[2025-03-10 13:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:58:04] Production.ERROR: done
[2025-03-10 13:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:58:05
[end_date_ymd] => 2025-03-10 13:58:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:58:05' and `end` < '2025-03-10 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-03-10 13:58:13] Production.ERROR: CronJobId end10
[2025-03-10 13:58:13] Production.INFO: ==14263== Releasing lock...
[2025-03-10 13:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:58:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:58:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:58:15] Production.INFO: call_cost start
[2025-03-10 13:58:15] Production.INFO: call_cost end
[2025-03-10 13:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:58:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:58:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:58:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:58:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:58:16] Production.INFO: ==14259== Releasing lock...
[2025-03-10 13:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:58:19] Production.INFO: count ==5074
[2025-03-10 13:58:21] Production.ERROR: pbx CDR StartTime 2025-03-10 10:58:05 - End Time 2025-03-10 13:58:05
[2025-03-10 13:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649976', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649976', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649976', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649976', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:58:21] Production.INFO: ProcessCDR(1,14649976,1,1,2)
[2025-03-10 13:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:58:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:58:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649976', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649976', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:58:26] Production.INFO: ==14267== Releasing lock...
[2025-03-10 13:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:58:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 17:59:01] Production.INFO: ==14332== Lock acquired, processing the job...
[2025-03-10 17:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 17:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 17:59:01] Production.INFO: neon service started
[2025-03-10 17:59:01] Production.INFO: neon service started
[2025-03-10 17:59:01] Production.INFO: ==14332== Releasing lock...
[2025-03-10 17:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 17:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 17:59:01] Production.INFO: ==14337== Lock acquired, processing the job...
[2025-03-10 17:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 17:59:01] Production.INFO: ==14337== Releasing lock...
[2025-03-10 17:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 17:59:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 13:59:02] Production.INFO: ==14335== Lock acquired, processing the job...
[2025-03-10 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 13:59:02] Production.INFO: ==14335== Releasing lock...
[2025-03-10 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 13:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 13:59:03] Production.INFO: ==14345== Lock acquired, processing the job...
[2025-03-10 13:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 13:59:03] Production.INFO: ==14347== Lock acquired, processing the job...
[2025-03-10 13:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 13:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 13:59:03] Production.INFO: Account Balance Start.
[2025-03-10 13:59:03] Production.INFO: CreateAllLog Start
[2025-03-10 13:59:03] Production.INFO: 117
[2025-03-10 13:59:03] Production.INFO: Date 2025-03-08
[2025-03-10 13:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:59:03] Production.INFO: ==14339== Lock acquired, processing the job...
[2025-03-10 13:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 13:59:03] Production.INFO: Date 2025-03-09
[2025-03-10 13:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:59:03] Production.INFO: ==14341== Lock acquired, processing the job...
[2025-03-10 13:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 13:59:03] Production.INFO: ==14343== Lock acquired, processing the job...
[2025-03-10 13:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 13:59:03] Production.INFO: ==14349== Lock acquired, processing the job...
[2025-03-10 13:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 13:59:03] Production.INFO: Date 2025-03-10
[2025-03-10 13:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 13:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 13:59:03] Production.ERROR: done
[2025-03-10 13:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 13:59:03] Production.INFO: Total Charge 0
[2025-03-10 13:59:03] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 13:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 13:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 13:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 13:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 13:59:03] Production.INFO: count ==13
[2025-03-10 13:59:03] Production.ERROR: done
[2025-03-10 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-03-10 13:59:03] Production.INFO: count ==21
[2025-03-10 13:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649979') start
[2025-03-10 13:59:04] Production.INFO: Account Balance End.
[2025-03-10 13:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649979') end
[2025-03-10 13:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 13:59:04] Production.INFO: 1
[2025-03-10 13:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 13:59:04] Production.ERROR: CronJobId end 12
[2025-03-10 13:59:04] Production.INFO: ==14345== Releasing lock...
[2025-03-10 13:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 13:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 13:59:04] Production.INFO: ==14349== Releasing lock...
[2025-03-10 13:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 13:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 13:59:04] Production.INFO: ==14341== Releasing lock...
[2025-03-10 13:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 13:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 13:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 10:59:05
[end_date_ymd] => 2025-03-10 13:59:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 10:59:05' and `end` < '2025-03-10 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-03-10 13:59:12] Production.ERROR: CronJobId end10
[2025-03-10 13:59:12] Production.INFO: ==14343== Releasing lock...
[2025-03-10 13:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 13:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 13:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 13:59:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 13:59:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 13:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 13:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 13:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 13:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 13:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 13:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 13:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 13:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 13:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 13:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 13:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 13:59:15] Production.INFO: call_cost start
[2025-03-10 13:59:15] Production.INFO: call_cost end
[2025-03-10 13:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 13:59:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 13:59:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 13:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 13:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 13:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 13:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 13:59:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 13:59:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 13:59:16] Production.INFO: ==14339== Releasing lock...
[2025-03-10 13:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 13:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 13:59:17] Production.INFO: count ==5074
[2025-03-10 13:59:19] Production.ERROR: pbx CDR StartTime 2025-03-10 10:59:05 - End Time 2025-03-10 13:59:05
[2025-03-10 13:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 13:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649981', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649981', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649981', 'tblTempVendorCDR_20' ) start
[2025-03-10 13:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649981', 'tblTempVendorCDR_20' ) end
[2025-03-10 13:59:20] Production.INFO: ProcessCDR(1,14649981,1,1,2)
[2025-03-10 13:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:59:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 13:59:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 13:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649981', 'tblTempUsageDetail_20' ) start
[2025-03-10 13:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649981', 'tblTempUsageDetail_20' ) end
[2025-03-10 13:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 13:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 13:59:24] Production.INFO: ==14347== Releasing lock...
[2025-03-10 13:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 13:59:24] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:00:02] Production.INFO: ==14415== Lock acquired, processing the job...
[2025-03-10 18:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:00:02] Production.INFO: neon service started
[2025-03-10 18:00:02] Production.INFO: neon service started
[2025-03-10 18:00:02] Production.INFO: ==14415== Releasing lock...
[2025-03-10 18:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:00:02] Production.INFO: ==14417== Lock acquired, processing the job...
[2025-03-10 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:00:02] Production.INFO: ==14419== Lock acquired, processing the job...
[2025-03-10 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:00:02] Production.INFO: ==14419== Releasing lock...
[2025-03-10 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:00:02] Production.INFO: ==14417== Releasing lock...
[2025-03-10 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:00:04] Production.INFO: ==14423== Lock acquired, processing the job...
[2025-03-10 14:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:00:04] Production.INFO: ==14421== Lock acquired, processing the job...
[2025-03-10 14:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 14:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:00:04] Production.INFO: ==14434== Lock acquired, processing the job...
[2025-03-10 14:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 14:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 14:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 14:00:04] Production.ERROR: CronJob PID - 14423
[2025-03-10 14:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 14:00:04] Production.ERROR: CronJob ID - 5
[2025-03-10 14:00:04] Production.ERROR: CronJob Last Run Time 2025-03-10 14:00:00
[2025-03-10 14:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 14:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 14:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 14:00:04] Production.INFO: ==14421== Releasing lock...
[2025-03-10 14:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 14:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:00:04] Production.INFO: ==14425== Lock acquired, processing the job...
[2025-03-10 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:00:04] Production.INFO: ==14427== Lock acquired, processing the job...
[2025-03-10 14:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:00:04] Production.INFO: ==14429== Lock acquired, processing the job...
[2025-03-10 14:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:00:04] Production.INFO: ==14432== Lock acquired, processing the job...
[2025-03-10 14:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:00:04] Production.INFO: ==14436== Lock acquired, processing the job...
[2025-03-10 14:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:00:04] Production.INFO: Account Balance Start.
[2025-03-10 14:00:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:00:04] Production.INFO: 117
[2025-03-10 14:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 14:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:00:04] Production.INFO: count ==13
[2025-03-10 14:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 14:00:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:00:04] Production.INFO: count ==21
[2025-03-10 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649984') start
[2025-03-10 14:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649984') end
[2025-03-10 14:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:00:04] Production.INFO: 1
[2025-03-10 14:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:00:04] Production.ERROR: done
[2025-03-10 14:00:04] Production.INFO: ==14436== Releasing lock...
[2025-03-10 14:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:00:04] Production.INFO: Total Charge 0
[2025-03-10 14:00:05] Production.INFO: CreateAllLog End
[2025-03-10 14:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 14:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649986', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 14:00:05] Production.ERROR: done
[2025-03-10 14:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:00:05] Production.INFO: ==14425== Releasing lock...
[2025-03-10 14:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:00:05] Production.ERROR: done
[2025-03-10 14:00:05] Production.INFO: Account Balance End.
[2025-03-10 14:00:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:00:05] Production.INFO: ==14429== Releasing lock...
[2025-03-10 14:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:00:06
[end_date_ymd] => 2025-03-10 14:00:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:00:06' and `end` < '2025-03-10 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-03-10 14:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14649986', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 14:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 14:00:09] Production.INFO: ProcessCDR(1,14649986,1,1,2)
[2025-03-10 14:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14649986,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14649986,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:00:09] Production.INFO: ==14434== Releasing lock...
[2025-03-10 14:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 14:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 14:00:16] Production.ERROR: CronJobId end10
[2025-03-10 14:00:16] Production.INFO: ==14427== Releasing lock...
[2025-03-10 14:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:00:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:00:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:00:17] Production.INFO: call_cost start
[2025-03-10 14:00:17] Production.INFO: call_cost end
[2025-03-10 14:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:00:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:00:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:00:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:00:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:00:18] Production.INFO: ==14423== Releasing lock...
[2025-03-10 14:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:00:20] Production.INFO: count ==5079
[2025-03-10 14:00:22] Production.ERROR: pbx CDR StartTime 2025-03-10 11:00:06 - End Time 2025-03-10 14:00:06
[2025-03-10 14:00:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649987', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649987', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649987', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649987', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:00:22] Production.INFO: ProcessCDR(1,14649987,1,1,2)
[2025-03-10 14:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:00:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:00:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:00:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649987', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649987', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:00:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:00:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:00:27] Production.INFO: ==14432== Releasing lock...
[2025-03-10 14:00:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:00:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:01:01] Production.INFO: ==14502== Lock acquired, processing the job...
[2025-03-10 18:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:01:01] Production.INFO: neon service started
[2025-03-10 18:01:01] Production.INFO: neon service started
[2025-03-10 18:01:01] Production.INFO: ==14502== Releasing lock...
[2025-03-10 18:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:01:01] Production.INFO: ==14515== Lock acquired, processing the job...
[2025-03-10 14:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:01:02] Production.INFO: ==14517== Lock acquired, processing the job...
[2025-03-10 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:01:02] Production.INFO: ==14517== Releasing lock...
[2025-03-10 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:01:02] Production.INFO: ==14515== Releasing lock...
[2025-03-10 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:01:03] Production.INFO: ==14522== Lock acquired, processing the job...
[2025-03-10 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:01:03] Production.INFO: ==14528== Lock acquired, processing the job...
[2025-03-10 14:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:01:03] Production.INFO: ==14530== Lock acquired, processing the job...
[2025-03-10 14:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:01:03] Production.INFO: ==14522== Releasing lock...
[2025-03-10 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:01:03] Production.INFO: ==14520== Lock acquired, processing the job...
[2025-03-10 14:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:01:03] Production.INFO: ==14524== Lock acquired, processing the job...
[2025-03-10 14:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:01:03] Production.INFO: ==14526== Lock acquired, processing the job...
[2025-03-10 14:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:01:03] Production.ERROR: done
[2025-03-10 14:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 14:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:01:03] Production.INFO: count ==13
[2025-03-10 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-03-10 14:01:03] Production.INFO: count ==21
[2025-03-10 14:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649989') start
[2025-03-10 14:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:01:03] Production.INFO: Account Balance Start.
[2025-03-10 14:01:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:01:03] Production.INFO: 117
[2025-03-10 14:01:03] Production.ERROR: done
[2025-03-10 14:01:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14649989') end
[2025-03-10 14:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:01:03] Production.INFO: 1
[2025-03-10 14:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:01:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:01:03] Production.INFO: ==14530== Releasing lock...
[2025-03-10 14:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:01:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:01:03] Production.INFO: Total Charge 0
[2025-03-10 14:01:03] Production.INFO: CreateAllLog End
[2025-03-10 14:01:04] Production.INFO: Account Balance End.
[2025-03-10 14:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:01:04] Production.INFO: ==14526== Releasing lock...
[2025-03-10 14:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:01:04
[end_date_ymd] => 2025-03-10 14:01:04
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:01:04' and `end` < '2025-03-10 14: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-03-10 14:01: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-03-10 14:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:01:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:01:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:01:12] Production.INFO: call_cost start
[2025-03-10 14:01:12] Production.INFO: call_cost end
[2025-03-10 14:01:13] Production.ERROR: CronJobId end10
[2025-03-10 14:01:13] Production.INFO: ==14524== Releasing lock...
[2025-03-10 14:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:01:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:01:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:01:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:01:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:01:14] Production.INFO: ==14520== Releasing lock...
[2025-03-10 14:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:01:18] Production.INFO: count ==5106
[2025-03-10 14:01:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:01:04 - End Time 2025-03-10 14:01:04
[2025-03-10 14:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649992', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649992', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649992', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649992', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:01:20] Production.INFO: ProcessCDR(1,14649992,1,1,2)
[2025-03-10 14:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649992', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649992', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:01:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:01:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:01:25] Production.INFO: ==14528== Releasing lock...
[2025-03-10 14:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:01:25] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 18:02:02] Production.INFO: ==14594== Lock acquired, processing the job...
[2025-03-10 18:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:02:02] Production.INFO: neon service started
[2025-03-10 18:02:02] Production.INFO: neon service started
[2025-03-10 18:02:02] Production.INFO: ==14594== Releasing lock...
[2025-03-10 18:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:02:02] Production.INFO: ==14596== Lock acquired, processing the job...
[2025-03-10 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:02:02] Production.INFO: ==14598== Lock acquired, processing the job...
[2025-03-10 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:02:02] Production.INFO: ==14598== Releasing lock...
[2025-03-10 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:02:03] Production.INFO: ==14596== Releasing lock...
[2025-03-10 14:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:02:04] Production.INFO: ==14601== Lock acquired, processing the job...
[2025-03-10 14:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:02:04] Production.INFO: ==14603== Lock acquired, processing the job...
[2025-03-10 14:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:02:04] Production.INFO: ==14605== Lock acquired, processing the job...
[2025-03-10 14:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:02:04] Production.INFO: ==14611== Lock acquired, processing the job...
[2025-03-10 14:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:02:04] Production.INFO: ==14607== Lock acquired, processing the job...
[2025-03-10 14:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:02:04] Production.INFO: ==14603== Releasing lock...
[2025-03-10 14:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:02:04] Production.INFO: ==14609== Lock acquired, processing the job...
[2025-03-10 14:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 14:02:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:02:04] Production.INFO: count ==21
[2025-03-10 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649995') start
[2025-03-10 14:02:04] Production.INFO: Account Balance Start.
[2025-03-10 14:02:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:02:04] Production.INFO: 117
[2025-03-10 14:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:02:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14649995') end
[2025-03-10 14:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:02:04] Production.INFO: 1
[2025-03-10 14:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:02:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:02:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:02:04] Production.INFO: ==14611== Releasing lock...
[2025-03-10 14:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:02:04] Production.INFO: Total Charge 0
[2025-03-10 14:02:04] Production.INFO: CreateAllLog End
[2025-03-10 14:02:05] Production.ERROR: done
[2025-03-10 14:02:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:02:05] Production.INFO: Account Balance End.
[2025-03-10 14:02:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:02:05] Production.INFO: ==14607== Releasing lock...
[2025-03-10 14:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:02:05] Production.ERROR: done
[2025-03-10 14:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:02:06
[end_date_ymd] => 2025-03-10 14:02:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:02:06' and `end` < '2025-03-10 14: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-03-10 14:02:14] Production.ERROR: CronJobId end10
[2025-03-10 14:02:14] Production.INFO: ==14605== Releasing lock...
[2025-03-10 14:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:02:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:02:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:02:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:02:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:02:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:02:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:02:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:02:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:02:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:02:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:02:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:02:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:02:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:02:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:02:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:02:17] Production.INFO: call_cost start
[2025-03-10 14:02:17] Production.INFO: call_cost end
[2025-03-10 14:02:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:02:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:02:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:02:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:02:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:02:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:02:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:02:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:02:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:02:18] Production.INFO: ==14601== Releasing lock...
[2025-03-10 14:02:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:02:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:02:19] Production.INFO: count ==5081
[2025-03-10 14:02:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:02:06 - End Time 2025-03-10 14:02:06
[2025-03-10 14:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649997', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14649997', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649997', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14649997', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:02:22] Production.INFO: ProcessCDR(1,14649997,1,1,2)
[2025-03-10 14:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14649997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:02:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14649997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:02:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14649997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:02:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14649997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649997', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14649997', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:02:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:02:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:02:27] Production.INFO: ==14609== Releasing lock...
[2025-03-10 14:02:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:02:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:03:01] Production.INFO: ==14709== Lock acquired, processing the job...
[2025-03-10 18:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:03:01] Production.INFO: neon service started
[2025-03-10 18:03:01] Production.INFO: neon service started
[2025-03-10 18:03:01] Production.INFO: ==14709== Releasing lock...
[2025-03-10 18:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:03:02] Production.INFO: ==14711== Lock acquired, processing the job...
[2025-03-10 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:03:02] Production.INFO: ==14711== Releasing lock...
[2025-03-10 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:03:02] Production.INFO: ==14713== Lock acquired, processing the job...
[2025-03-10 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:03:02] Production.INFO: ==14713== Releasing lock...
[2025-03-10 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:03:03] Production.INFO: ==14720== Lock acquired, processing the job...
[2025-03-10 14:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:03:03] Production.INFO: ==14716== Lock acquired, processing the job...
[2025-03-10 14:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:03:03] Production.INFO: ==14718== Lock acquired, processing the job...
[2025-03-10 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:03:03] Production.INFO: ==14726== Lock acquired, processing the job...
[2025-03-10 14:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:03:03] Production.INFO: ==14722== Lock acquired, processing the job...
[2025-03-10 14:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:03:04] Production.INFO: ==14724== Lock acquired, processing the job...
[2025-03-10 14:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14: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-03-10 14:03:04] Production.INFO: count ==13
[2025-03-10 14:03:04] Production.INFO: Account Balance Start.
[2025-03-10 14:03:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:03:04] Production.INFO: 117
[2025-03-10 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-03-10 14:03:04] Production.INFO: count ==21
[2025-03-10 14:03:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650000') start
[2025-03-10 14:03:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:03:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:03:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650000') end
[2025-03-10 14:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:03:04] Production.INFO: 1
[2025-03-10 14:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:03:04] Production.INFO: ==14718== Releasing lock...
[2025-03-10 14:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:03:04] Production.INFO: Total Charge 0
[2025-03-10 14:03:04] Production.INFO: CreateAllLog End
[2025-03-10 14:03:04] Production.INFO: ==14726== Releasing lock...
[2025-03-10 14:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:03:04] Production.ERROR: done
[2025-03-10 14:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:03:04] Production.INFO: Account Balance End.
[2025-03-10 14:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:03:04] Production.INFO: ==14722== Releasing lock...
[2025-03-10 14:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:03:04] Production.ERROR: done
[2025-03-10 14:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:03:05
[end_date_ymd] => 2025-03-10 14:03:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:03:05' and `end` < '2025-03-10 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-03-10 14:03:13] Production.ERROR: CronJobId end10
[2025-03-10 14:03:13] Production.INFO: ==14720== Releasing lock...
[2025-03-10 14:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:03:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:03:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:03:16] Production.INFO: call_cost start
[2025-03-10 14:03:16] Production.INFO: call_cost end
[2025-03-10 14:03:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:03:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:03:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:03:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:03:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:03:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:03:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:03:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:03:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:03:17] Production.INFO: ==14716== Releasing lock...
[2025-03-10 14:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:03:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:03:18] Production.INFO: count ==5071
[2025-03-10 14:03:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:03:05 - End Time 2025-03-10 14:03:05
[2025-03-10 14:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650002', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650002', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650002', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650002', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:03:21] Production.INFO: ProcessCDR(1,14650002,1,1,2)
[2025-03-10 14:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:03:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650002', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650002', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:03:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:03:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:03:26] Production.INFO: ==14724== Releasing lock...
[2025-03-10 14:03:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:03:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:04:02] Production.INFO: ==14791== Lock acquired, processing the job...
[2025-03-10 18:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:04:02] Production.INFO: neon service started
[2025-03-10 18:04:02] Production.INFO: neon service started
[2025-03-10 18:04:02] Production.INFO: ==14791== Releasing lock...
[2025-03-10 18:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:04:02] Production.INFO: ==14793== Lock acquired, processing the job...
[2025-03-10 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:04:02] Production.INFO: ==14795== Lock acquired, processing the job...
[2025-03-10 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:04:02] Production.INFO: ==14793== Releasing lock...
[2025-03-10 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:04:03] Production.INFO: ==14795== Releasing lock...
[2025-03-10 18:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:04:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:04:04] Production.INFO: ==14805== Lock acquired, processing the job...
[2025-03-10 14:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:04:04] Production.INFO: ==14797== Lock acquired, processing the job...
[2025-03-10 14:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:04:04] Production.INFO: ==14807== Lock acquired, processing the job...
[2025-03-10 14:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:04:04] Production.INFO: ==14801== Lock acquired, processing the job...
[2025-03-10 14:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 14:04:04] Production.INFO: ==14799== Lock acquired, processing the job...
[2025-03-10 14:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:04:04] Production.INFO: ==14803== Lock acquired, processing the job...
[2025-03-10 14:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:04:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:04:04] Production.INFO: count ==21
[2025-03-10 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650003') start
[2025-03-10 14:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:04:04] Production.INFO: Account Balance Start.
[2025-03-10 14:04:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:04:04] Production.INFO: 117
[2025-03-10 14:04:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:04:04] Production.ERROR: done
[2025-03-10 14:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:04:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650003') end
[2025-03-10 14:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:04:04] Production.INFO: 1
[2025-03-10 14:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:04:04] Production.INFO: ==14807== Releasing lock...
[2025-03-10 14:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:04:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:04:04] Production.INFO: ==14799== Releasing lock...
[2025-03-10 14:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:04:04] Production.INFO: Total Charge 0
[2025-03-10 14:04:04] Production.INFO: CreateAllLog End
[2025-03-10 14:04:04] Production.ERROR: done
[2025-03-10 14:04:04] Production.INFO: Account Balance End.
[2025-03-10 14:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:04:04] Production.INFO: ==14803== Releasing lock...
[2025-03-10 14:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:04:05
[end_date_ymd] => 2025-03-10 14:04:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:04:05' and `end` < '2025-03-10 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-03-10 14:04:14] Production.ERROR: CronJobId end10
[2025-03-10 14:04:14] Production.INFO: ==14801== Releasing lock...
[2025-03-10 14:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:04:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:04:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:04:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:04:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:04:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:04:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:04:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:04:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:04:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:04:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:04:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:04:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:04:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:04:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:04:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:04:16] Production.INFO: call_cost start
[2025-03-10 14:04:16] Production.INFO: call_cost end
[2025-03-10 14:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:04:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:04:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:04:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:04:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:04:17] Production.INFO: ==14797== Releasing lock...
[2025-03-10 14:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:04:19] Production.INFO: count ==5072
[2025-03-10 14:04:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:04:05 - End Time 2025-03-10 14:04:05
[2025-03-10 14:04:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650007', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650007', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650007', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650007', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:04:21] Production.INFO: ProcessCDR(1,14650007,1,1,2)
[2025-03-10 14:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650007', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650007', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:04:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:04:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:04:26] Production.INFO: ==14805== Releasing lock...
[2025-03-10 14:04:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:04:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:05:01] Production.INFO: ==14869== Lock acquired, processing the job...
[2025-03-10 18:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:05:01] Production.INFO: neon service started
[2025-03-10 18:05:01] Production.INFO: neon service started
[2025-03-10 18:05:01] Production.INFO: ==14869== Releasing lock...
[2025-03-10 18:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:05:02] Production.INFO: ==14871== Lock acquired, processing the job...
[2025-03-10 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:05:02] Production.INFO: ==14871== Releasing lock...
[2025-03-10 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:05:02] Production.INFO: ==14873== Lock acquired, processing the job...
[2025-03-10 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:05:02] Production.INFO: ==14873== Releasing lock...
[2025-03-10 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:05:02] Production.INFO: 26 MB #Memory Used#
[2025-03-10 14:05:03] Production.INFO: ==14884== Lock acquired, processing the job...
[2025-03-10 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:05:03] Production.INFO: ==14888== Lock acquired, processing the job...
[2025-03-10 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:05:03] Production.INFO: Account Balance Start.
[2025-03-10 14:05:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:05:03] Production.INFO: 117
[2025-03-10 14:05:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 14:05:03] Production.INFO: ==14877== Lock acquired, processing the job...
[2025-03-10 14:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:05:03] Production.INFO: count ==13
[2025-03-10 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-03-10 14:05:03] Production.INFO: count ==21
[2025-03-10 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650009') start
[2025-03-10 14:05:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:05:03] Production.INFO: ==14879== Lock acquired, processing the job...
[2025-03-10 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:05:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:05:03] Production.INFO: ==14886== Lock acquired, processing the job...
[2025-03-10 14:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:05:03] Production.INFO: ==14882== Lock acquired, processing the job...
[2025-03-10 14:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:05:03] Production.INFO: Total Charge 0
[2025-03-10 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650009') end
[2025-03-10 14:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:05:03] Production.INFO: 1
[2025-03-10 14:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:05:03] Production.INFO: CreateAllLog End
[2025-03-10 14:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:05:03] Production.INFO: ==14888== Releasing lock...
[2025-03-10 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:05:04] Production.INFO: Account Balance End.
[2025-03-10 14:05:04] Production.INFO: ==14879== Releasing lock...
[2025-03-10 14:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:05:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:05:04] Production.INFO: ==14884== Releasing lock...
[2025-03-10 14:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:05:04] Production.ERROR: done
[2025-03-10 14:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:05:04] Production.ERROR: done
[2025-03-10 14:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:05:05
[end_date_ymd] => 2025-03-10 14:05:05
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:05:05' and `end` < '2025-03-10 14: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-03-10 14:05:13] Production.ERROR: CronJobId end10
[2025-03-10 14:05:13] Production.INFO: ==14882== Releasing lock...
[2025-03-10 14:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:05:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:05:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:05:15] Production.INFO: call_cost start
[2025-03-10 14:05:15] Production.INFO: call_cost end
[2025-03-10 14:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:05:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:05:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:05:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:05:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:05:16] Production.INFO: ==14877== Releasing lock...
[2025-03-10 14:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:05:18] Production.INFO: count ==5057
[2025-03-10 14:05:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:05:05 - End Time 2025-03-10 14:05:05
[2025-03-10 14:05:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650012', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650012', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650012', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650012', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:05:21] Production.INFO: ProcessCDR(1,14650012,1,1,2)
[2025-03-10 14:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:05:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650012', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650012', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:05:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:05:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:05:26] Production.INFO: ==14886== Releasing lock...
[2025-03-10 14:05:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:05:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 18:06:02] Production.INFO: ==14948== Lock acquired, processing the job...
[2025-03-10 18:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:06:02] Production.INFO: neon service started
[2025-03-10 18:06:02] Production.INFO: neon service started
[2025-03-10 18:06:02] Production.INFO: ==14948== Releasing lock...
[2025-03-10 18:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:06:02] Production.INFO: ==14950== Lock acquired, processing the job...
[2025-03-10 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:06:02] Production.INFO: ==14950== Releasing lock...
[2025-03-10 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:06:03] Production.INFO: ==14952== Lock acquired, processing the job...
[2025-03-10 18:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:06:03] Production.INFO: ==14952== Releasing lock...
[2025-03-10 18:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:06:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:06:03] Production.INFO: ==14959== Lock acquired, processing the job...
[2025-03-10 14:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:06:03] Production.INFO: ==14963== Lock acquired, processing the job...
[2025-03-10 14:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:06:04] Production.INFO: ==14955== Lock acquired, processing the job...
[2025-03-10 14:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:06:04] Production.INFO: ==14957== Lock acquired, processing the job...
[2025-03-10 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:06:04] Production.INFO: ==14961== Lock acquired, processing the job...
[2025-03-10 14:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:06:04] Production.ERROR: done
[2025-03-10 14:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:06:04] Production.INFO: ==14965== Lock acquired, processing the job...
[2025-03-10 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:06:04] Production.INFO: Account Balance Start.
[2025-03-10 14:06:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:06:04] Production.INFO: 117
[2025-03-10 14:06:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:06:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:06:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:06:04] Production.INFO: Total Charge 0
[2025-03-10 14:06:04] Production.INFO: CreateAllLog End
[2025-03-10 14:06:04] Production.ERROR: done
[2025-03-10 14:06:04] Production.INFO: ==14957== Releasing lock...
[2025-03-10 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 14:06:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:06:04] Production.INFO: count ==21
[2025-03-10 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650016') start
[2025-03-10 14:06:04] Production.INFO: Account Balance End.
[2025-03-10 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650016') end
[2025-03-10 14:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:06:04] Production.INFO: 1
[2025-03-10 14:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:06:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:06:05] Production.INFO: ==14961== Releasing lock...
[2025-03-10 14:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:06:05] Production.INFO: ==14965== Releasing lock...
[2025-03-10 14:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:06:05
[end_date_ymd] => 2025-03-10 14:06:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:06:05' and `end` < '2025-03-10 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-03-10 14:06:14] Production.ERROR: CronJobId end10
[2025-03-10 14:06:14] Production.INFO: ==14959== Releasing lock...
[2025-03-10 14:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:06:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:06:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:06:15] Production.INFO: call_cost start
[2025-03-10 14:06:15] Production.INFO: call_cost end
[2025-03-10 14:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:06:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:06:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:06:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:06:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:06:16] Production.INFO: ==14955== Releasing lock...
[2025-03-10 14:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:06:19] Production.INFO: count ==5072
[2025-03-10 14:06:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:06:05 - End Time 2025-03-10 14:06:05
[2025-03-10 14:06:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650017', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650017', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650017', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650017', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:06:21] Production.INFO: ProcessCDR(1,14650017,1,1,2)
[2025-03-10 14:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:06:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:06:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650017', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650017', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:06:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:06:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:06:26] Production.INFO: ==14963== Releasing lock...
[2025-03-10 14:06:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:06:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:07:01] Production.INFO: ==15029== Lock acquired, processing the job...
[2025-03-10 18:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:07:01] Production.INFO: neon service started
[2025-03-10 18:07:01] Production.INFO: neon service started
[2025-03-10 18:07:01] Production.INFO: ==15029== Releasing lock...
[2025-03-10 18:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:07:01] Production.INFO: ==15031== Lock acquired, processing the job...
[2025-03-10 14:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:07:02] Production.INFO: ==15031== Releasing lock...
[2025-03-10 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:07:02] Production.INFO: ==15033== Lock acquired, processing the job...
[2025-03-10 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:07:02] Production.INFO: ==15033== Releasing lock...
[2025-03-10 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:07:03] Production.INFO: ==15039== Lock acquired, processing the job...
[2025-03-10 14:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:07:03] Production.INFO: ==15043== Lock acquired, processing the job...
[2025-03-10 14:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:07:03] Production.INFO: ==15035== Lock acquired, processing the job...
[2025-03-10 14:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:07:03] Production.INFO: ==15037== Lock acquired, processing the job...
[2025-03-10 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:07:03] Production.INFO: ==15041== Lock acquired, processing the job...
[2025-03-10 14:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:07:03] Production.INFO: ==15045== Lock acquired, processing the job...
[2025-03-10 14:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:07:03] Production.INFO: Account Balance Start.
[2025-03-10 14:07:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:07:03] Production.INFO: 117
[2025-03-10 14:07:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 14: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-03-10 14:07:03] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:07:03] Production.INFO: ==15037== Releasing lock...
[2025-03-10 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:07:03] Production.INFO: count ==21
[2025-03-10 14:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650021') start
[2025-03-10 14:07:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:07:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:07:03] Production.INFO: Total Charge 0
[2025-03-10 14:07:03] Production.INFO: CreateAllLog End
[2025-03-10 14:07:03] Production.ERROR: done
[2025-03-10 14:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650021') end
[2025-03-10 14:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:07:04] Production.INFO: 1
[2025-03-10 14:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:07:04] Production.ERROR: done
[2025-03-10 14:07:04] Production.INFO: ==15045== Releasing lock...
[2025-03-10 14:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:07:04] Production.INFO: Account Balance End.
[2025-03-10 14:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:07:04] Production.INFO: ==15041== Releasing lock...
[2025-03-10 14:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:07:05
[end_date_ymd] => 2025-03-10 14:07:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:07:05' and `end` < '2025-03-10 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-03-10 14:07:14] Production.ERROR: CronJobId end10
[2025-03-10 14:07:14] Production.INFO: ==15039== Releasing lock...
[2025-03-10 14:07:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:07:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:07:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:07:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:07:15] Production.INFO: call_cost start
[2025-03-10 14:07:15] Production.INFO: call_cost end
[2025-03-10 14:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:07:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:07:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:07:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:07:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:07:16] Production.INFO: ==15035== Releasing lock...
[2025-03-10 14:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:07:18] Production.INFO: count ==5078
[2025-03-10 14:07:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:07:05 - End Time 2025-03-10 14:07:05
[2025-03-10 14:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650022', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650022', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650022', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650022', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:07:20] Production.INFO: ProcessCDR(1,14650022,1,1,2)
[2025-03-10 14:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:07:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:07:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:07:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650022', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650022', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:07:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:07:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:07:25] Production.INFO: ==15043== Releasing lock...
[2025-03-10 14:07:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:07:25] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:08:02] Production.INFO: ==15110== Lock acquired, processing the job...
[2025-03-10 18:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:08:02] Production.INFO: neon service started
[2025-03-10 18:08:02] Production.INFO: neon service started
[2025-03-10 18:08:02] Production.INFO: ==15110== Releasing lock...
[2025-03-10 18:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:08:02] Production.INFO: ==15113== Lock acquired, processing the job...
[2025-03-10 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:08:02] Production.INFO: ==15113== Releasing lock...
[2025-03-10 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:08:02] Production.INFO: ==15115== Lock acquired, processing the job...
[2025-03-10 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:08:03] Production.INFO: ==15115== Releasing lock...
[2025-03-10 18:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:08:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:08:03] Production.INFO: ==15123== Lock acquired, processing the job...
[2025-03-10 14:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:08:03] Production.INFO: ==15117== Lock acquired, processing the job...
[2025-03-10 14:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:08:03] Production.INFO: ==15119== Lock acquired, processing the job...
[2025-03-10 14:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:08:03] Production.INFO: ==15127== Lock acquired, processing the job...
[2025-03-10 14:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:08:03] Production.INFO: Account Balance Start.
[2025-03-10 14:08:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:08:04] Production.INFO: 117
[2025-03-10 14:08:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:08:04] Production.INFO: ==15121== Lock acquired, processing the job...
[2025-03-10 14:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14: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-03-10 14:08:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:08:04] Production.INFO: ==15125== Lock acquired, processing the job...
[2025-03-10 14:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:08:04] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:08:04] Production.INFO: count ==21
[2025-03-10 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650025') start
[2025-03-10 14:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:08:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:08:04] Production.INFO: Total Charge 0
[2025-03-10 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650025') end
[2025-03-10 14:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:08:04] Production.INFO: 1
[2025-03-10 14:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:08:04] Production.INFO: CreateAllLog End
[2025-03-10 14:08:04] Production.INFO: ==15127== Releasing lock...
[2025-03-10 14:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:08:04] Production.INFO: ==15119== Releasing lock...
[2025-03-10 14:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:08:04] Production.INFO: Account Balance End.
[2025-03-10 14:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:08:04] Production.INFO: ==15123== Releasing lock...
[2025-03-10 14:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:08:04] Production.ERROR: done
[2025-03-10 14:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:08:04] Production.ERROR: done
[2025-03-10 14:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:08:05
[end_date_ymd] => 2025-03-10 14:08:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:08:05' and `end` < '2025-03-10 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-03-10 14:08:13] Production.ERROR: CronJobId end10
[2025-03-10 14:08:13] Production.INFO: ==15121== Releasing lock...
[2025-03-10 14:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:08:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:08:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:08:15] Production.INFO: call_cost start
[2025-03-10 14:08:15] Production.INFO: call_cost end
[2025-03-10 14:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:08:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:08:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:08:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:08:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:08:16] Production.INFO: ==15117== Releasing lock...
[2025-03-10 14:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:08:19] Production.INFO: count ==5095
[2025-03-10 14:08:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:08:05 - End Time 2025-03-10 14:08:05
[2025-03-10 14:08:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650027', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650027', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650027', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650027', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:08:21] Production.INFO: ProcessCDR(1,14650027,1,1,2)
[2025-03-10 14:08:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:08:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:08:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:08:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650027', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650027', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:08:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:08:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:08:26] Production.INFO: ==15125== Releasing lock...
[2025-03-10 14:08:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:08:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 18:09:01] Production.INFO: ==15194== Lock acquired, processing the job...
[2025-03-10 18:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:09:01] Production.INFO: neon service started
[2025-03-10 18:09:01] Production.INFO: neon service started
[2025-03-10 18:09:01] Production.INFO: ==15194== Releasing lock...
[2025-03-10 18:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:09:01] Production.INFO: ==15198== Lock acquired, processing the job...
[2025-03-10 18:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:09:01] Production.INFO: ==15198== Releasing lock...
[2025-03-10 18:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:09:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:09:02] Production.INFO: ==15196== Lock acquired, processing the job...
[2025-03-10 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:09:02] Production.INFO: ==15196== Releasing lock...
[2025-03-10 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:09:03] Production.INFO: ==15202== Lock acquired, processing the job...
[2025-03-10 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:09:03] Production.INFO: ==15205== Lock acquired, processing the job...
[2025-03-10 14:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:09:03] Production.INFO: ==15200== Lock acquired, processing the job...
[2025-03-10 14:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:09:03] Production.INFO: ==15207== Lock acquired, processing the job...
[2025-03-10 14:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:09:03] Production.INFO: Account Balance Start.
[2025-03-10 14:09:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:09:03] Production.INFO: 117
[2025-03-10 14:09:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:09:03] Production.INFO: ==15211== Lock acquired, processing the job...
[2025-03-10 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:09:03] Production.INFO: ==15209== Lock acquired, processing the job...
[2025-03-10 14:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:09:03] Production.INFO: ==15202== Releasing lock...
[2025-03-10 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:09:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:09:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:09:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:09:03] Production.INFO: Total Charge 0
[2025-03-10 14:09:03] Production.INFO: CreateAllLog End
[2025-03-10 14: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-03-10 14:09:03] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:09:03] Production.INFO: count ==21
[2025-03-10 14:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650031') start
[2025-03-10 14:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650031') end
[2025-03-10 14:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:09:04] Production.INFO: 1
[2025-03-10 14:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:09:04] Production.ERROR: done
[2025-03-10 14:09:04] Production.INFO: ==15211== Releasing lock...
[2025-03-10 14:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:09:04] Production.ERROR: done
[2025-03-10 14:09:04] Production.INFO: Account Balance End.
[2025-03-10 14:09:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:09:04] Production.INFO: ==15207== Releasing lock...
[2025-03-10 14:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:09:05
[end_date_ymd] => 2025-03-10 14:09:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:09:05' and `end` < '2025-03-10 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-03-10 14:09:13] Production.ERROR: CronJobId end10
[2025-03-10 14:09:13] Production.INFO: ==15205== Releasing lock...
[2025-03-10 14:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:09:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:09:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:09:15] Production.INFO: call_cost start
[2025-03-10 14:09:15] Production.INFO: call_cost end
[2025-03-10 14:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:09:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:09:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:09:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:09:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:09:16] Production.INFO: ==15200== Releasing lock...
[2025-03-10 14:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:09:18] Production.INFO: count ==5104
[2025-03-10 14:09:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:09:05 - End Time 2025-03-10 14:09:05
[2025-03-10 14:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650032', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650032', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650032', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650032', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:09:21] Production.INFO: ProcessCDR(1,14650032,1,1,2)
[2025-03-10 14:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650032', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650032', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:09:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:09:26] Production.INFO: ==15209== Releasing lock...
[2025-03-10 14:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:09:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 18:10:02] Production.INFO: ==15272== Lock acquired, processing the job...
[2025-03-10 18:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:10:02] Production.INFO: neon service started
[2025-03-10 18:10:02] Production.INFO: neon service started
[2025-03-10 18:10:02] Production.INFO: ==15272== Releasing lock...
[2025-03-10 18:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:10:02] Production.INFO: ==15277== Lock acquired, processing the job...
[2025-03-10 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:10:02] Production.INFO: ==15277== Releasing lock...
[2025-03-10 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:10:02] Production.INFO: ==15275== Lock acquired, processing the job...
[2025-03-10 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:10:03] Production.INFO: ==15275== Releasing lock...
[2025-03-10 14:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:10:04] Production.INFO: ==15279== Lock acquired, processing the job...
[2025-03-10 14:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 14:10:04] Production.INFO: ==15283== Lock acquired, processing the job...
[2025-03-10 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:10:04] Production.INFO: ==15285== Lock acquired, processing the job...
[2025-03-10 14:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 14:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 14:10:04] Production.ERROR: CronJob PID - 15283
[2025-03-10 14:10:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 14:10:04] Production.ERROR: CronJob ID - 7
[2025-03-10 14:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 14:10:00
[2025-03-10 14:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 14:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 14:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 14:10:04] Production.ERROR: CronJob PID - 15285
[2025-03-10 14:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 14:10:04] Production.ERROR: CronJob ID - 10
[2025-03-10 14:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 14:10:00
[2025-03-10 14:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 14:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 14:10:04] Production.INFO: ==15291== Lock acquired, processing the job...
[2025-03-10 14:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 14:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 14:10:04] Production.INFO: ==15279== Releasing lock...
[2025-03-10 14:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 14:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 14:10:04] Production.INFO: ==15281== Lock acquired, processing the job...
[2025-03-10 14:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:10:04] Production.INFO: ==15287== Lock acquired, processing the job...
[2025-03-10 14:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:10:04] Production.INFO: ==15283== Releasing lock...
[2025-03-10 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:10:04] Production.INFO: ==15289== Lock acquired, processing the job...
[2025-03-10 14:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:10:04] Production.INFO: ==15293== Lock acquired, processing the job...
[2025-03-10 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:10:04] Production.INFO: Account Balance Start.
[2025-03-10 14:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:10:04] Production.ERROR: done
[2025-03-10 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:10:04] Production.INFO: 117
[2025-03-10 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-03-10 14:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 14:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650037', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 14:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:10:05] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:10:05] Production.INFO: count ==21
[2025-03-10 14:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650036') start
[2025-03-10 14:10:05] Production.INFO: Date 2025-03-09
[2025-03-10 14:10:05] Production.INFO: Reseller ==> 0
[2025-03-10 14:10:05] Production.INFO: Date 2025-03-10
[2025-03-10 14:10:05] Production.INFO: Reseller ==> 0
[2025-03-10 14:10:05] Production.INFO: Total Charge 0
[2025-03-10 14:10:05] Production.INFO: CreateAllLog End
[2025-03-10 14:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650036') end
[2025-03-10 14:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:10:05] Production.INFO: 1
[2025-03-10 14:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:10:05] Production.INFO: ==15293== Releasing lock...
[2025-03-10 14:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:10:05] Production.ERROR: done
[2025-03-10 14:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:10:05] Production.ERROR: done
[2025-03-10 14:10:05] Production.INFO: Account Balance End.
[2025-03-10 14:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:10:05] Production.INFO: ==15287== Releasing lock...
[2025-03-10 14:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:10:07
[end_date_ymd] => 2025-03-10 14:10:07
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:10:07' and `end` < '2025-03-10 14: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-03-10 14:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650037', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 14:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 14:10:09] Production.INFO: ProcessCDR(1,14650037,1,1,2)
[2025-03-10 14:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650037,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650037,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:10:09] Production.INFO: ==15291== Releasing lock...
[2025-03-10 14:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 14:10:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 14:10:15] Production.ERROR: CronJobId end10
[2025-03-10 14:10:15] Production.INFO: ==15285== Releasing lock...
[2025-03-10 14:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:10:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:10:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:10:18] Production.INFO: call_cost start
[2025-03-10 14:10:18] Production.INFO: call_cost end
[2025-03-10 14:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:10:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:10:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:10:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:10:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:10:19] Production.INFO: ==15281== Releasing lock...
[2025-03-10 14:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:10:20] Production.INFO: count ==5090
[2025-03-10 14:10:22] Production.ERROR: pbx CDR StartTime 2025-03-10 11:10:07 - End Time 2025-03-10 14:10:07
[2025-03-10 14:10:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650038', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650038', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650038', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650038', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:10:22] Production.INFO: ProcessCDR(1,14650038,1,1,2)
[2025-03-10 14:10:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:10:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:10:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:10:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:10:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650038', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:10:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650038', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:10:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:10:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:10:27] Production.INFO: ==15289== Releasing lock...
[2025-03-10 14:10:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:10:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:11:01] Production.INFO: ==15359== Lock acquired, processing the job...
[2025-03-10 18:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:11:01] Production.INFO: neon service started
[2025-03-10 18:11:01] Production.INFO: neon service started
[2025-03-10 18:11:01] Production.INFO: ==15359== Releasing lock...
[2025-03-10 18:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:11:01] Production.INFO: ==15361== Lock acquired, processing the job...
[2025-03-10 14:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:11:02] Production.INFO: ==15363== Lock acquired, processing the job...
[2025-03-10 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:11:02] Production.INFO: ==15363== Releasing lock...
[2025-03-10 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:11:02] Production.INFO: ==15361== Releasing lock...
[2025-03-10 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:11:03] Production.INFO: ==15369== Lock acquired, processing the job...
[2025-03-10 14:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:11:03] Production.INFO: ==15367== Lock acquired, processing the job...
[2025-03-10 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:11:03] Production.INFO: ==15376== Lock acquired, processing the job...
[2025-03-10 14:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:11:03] Production.INFO: ==15365== Lock acquired, processing the job...
[2025-03-10 14:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14: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-03-10 14:11:03] Production.INFO: count ==13
[2025-03-10 14:11:03] Production.INFO: ==15371== Lock acquired, processing the job...
[2025-03-10 14:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14: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-03-10 14:11:03] Production.INFO: ==15373== Lock acquired, processing the job...
[2025-03-10 14:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:11:03] Production.INFO: count ==21
[2025-03-10 14:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650039') start
[2025-03-10 14:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:11:03] Production.INFO: Account Balance Start.
[2025-03-10 14:11:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:11:03] Production.INFO: 117
[2025-03-10 14:11:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:11:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650039') end
[2025-03-10 14:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:11:03] Production.INFO: 1
[2025-03-10 14:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:11:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:11:03] Production.INFO: ==15376== Releasing lock...
[2025-03-10 14:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:11:03] Production.INFO: Total Charge 0
[2025-03-10 14:11:03] Production.INFO: CreateAllLog End
[2025-03-10 14:11:03] Production.INFO: ==15367== Releasing lock...
[2025-03-10 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:11:03] Production.ERROR: done
[2025-03-10 14:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:11:04] Production.INFO: Account Balance End.
[2025-03-10 14:11:04] Production.ERROR: done
[2025-03-10 14:11:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:11:04] Production.INFO: ==15371== Releasing lock...
[2025-03-10 14:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:11:05
[end_date_ymd] => 2025-03-10 14:11:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:11:05' and `end` < '2025-03-10 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-03-10 14:11:13] Production.ERROR: CronJobId end10
[2025-03-10 14:11:13] Production.INFO: ==15369== Releasing lock...
[2025-03-10 14:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:11:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:11:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:11:16] Production.INFO: call_cost start
[2025-03-10 14:11:16] Production.INFO: call_cost end
[2025-03-10 14:11:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:11:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:11:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:11:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:11:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:11:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:11:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:11:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:11:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:11:17] Production.INFO: ==15365== Releasing lock...
[2025-03-10 14:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:11:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:11:18] Production.INFO: count ==5099
[2025-03-10 14:11:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:11:05 - End Time 2025-03-10 14:11:05
[2025-03-10 14:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650043', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650043', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650043', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650043', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:11:20] Production.INFO: ProcessCDR(1,14650043,1,1,2)
[2025-03-10 14:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:11:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:11:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650043', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650043', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:11:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:11:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:11:25] Production.INFO: ==15373== Releasing lock...
[2025-03-10 14:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:11:25] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 18:12:02] Production.INFO: ==15440== Lock acquired, processing the job...
[2025-03-10 18:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:12:02] Production.INFO: neon service started
[2025-03-10 18:12:02] Production.INFO: neon service started
[2025-03-10 18:12:02] Production.INFO: ==15440== Releasing lock...
[2025-03-10 18:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:12:02] Production.INFO: ==15442== Lock acquired, processing the job...
[2025-03-10 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:12:02] Production.INFO: ==15442== Releasing lock...
[2025-03-10 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:12:02] Production.INFO: ==15444== Lock acquired, processing the job...
[2025-03-10 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:12:02] Production.INFO: ==15444== Releasing lock...
[2025-03-10 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:12:03] Production.INFO: ==15455== Lock acquired, processing the job...
[2025-03-10 14:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:12:03] Production.INFO: ==15457== Lock acquired, processing the job...
[2025-03-10 14:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 14:12:03] Production.INFO: ==15449== Lock acquired, processing the job...
[2025-03-10 14:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:12:03] Production.INFO: ==15447== Lock acquired, processing the job...
[2025-03-10 14:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:12:03] Production.INFO: count ==13
[2025-03-10 14:12:03] Production.INFO: ==15451== Lock acquired, processing the job...
[2025-03-10 14:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14: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-03-10 14:12:04] Production.INFO: count ==21
[2025-03-10 14:12:04] Production.INFO: ==15453== Lock acquired, processing the job...
[2025-03-10 14:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650044') start
[2025-03-10 14:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650044') end
[2025-03-10 14:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:12:04] Production.INFO: 1
[2025-03-10 14:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:12:04] Production.INFO: Account Balance Start.
[2025-03-10 14:12:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:12:04] Production.INFO: ==15457== Releasing lock...
[2025-03-10 14:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:12:04] Production.INFO: 117
[2025-03-10 14:12:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:12:04] Production.ERROR: done
[2025-03-10 14:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:12:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:12:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:12:04] Production.INFO: Total Charge 0
[2025-03-10 14:12:04] Production.INFO: CreateAllLog End
[2025-03-10 14:12:04] Production.INFO: ==15449== Releasing lock...
[2025-03-10 14:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:12:04] Production.ERROR: done
[2025-03-10 14:12:04] Production.INFO: Account Balance End.
[2025-03-10 14:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:12:04] Production.INFO: ==15453== Releasing lock...
[2025-03-10 14:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:12:05
[end_date_ymd] => 2025-03-10 14:12:05
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:12:05' and `end` < '2025-03-10 14: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-03-10 14:12:13] Production.ERROR: CronJobId end10
[2025-03-10 14:12:13] Production.INFO: ==15451== Releasing lock...
[2025-03-10 14:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:12:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:12:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:12:15] Production.INFO: call_cost start
[2025-03-10 14:12:15] Production.INFO: call_cost end
[2025-03-10 14:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:12:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:12:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:12:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:12:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:12:16] Production.INFO: ==15447== Releasing lock...
[2025-03-10 14:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:12:19] Production.INFO: count ==5107
[2025-03-10 14:12:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:12:05 - End Time 2025-03-10 14:12:05
[2025-03-10 14:12:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650048', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650048', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650048', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650048', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:12:21] Production.INFO: ProcessCDR(1,14650048,1,1,2)
[2025-03-10 14:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:12:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:12:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:12:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650048', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650048', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:12:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:12:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:12:26] Production.INFO: ==15455== Releasing lock...
[2025-03-10 14:12:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:12:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 18:13:01] Production.INFO: ==15520== Lock acquired, processing the job...
[2025-03-10 18:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:13:01] Production.INFO: neon service started
[2025-03-10 18:13:01] Production.INFO: neon service started
[2025-03-10 18:13:01] Production.INFO: ==15520== Releasing lock...
[2025-03-10 18:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:13:01] Production.INFO: ==15522== Lock acquired, processing the job...
[2025-03-10 14:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:13:02] Production.INFO: ==15524== Lock acquired, processing the job...
[2025-03-10 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:13:02] Production.INFO: ==15522== Releasing lock...
[2025-03-10 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:13:02] Production.INFO: ==15524== Releasing lock...
[2025-03-10 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:13:03] Production.INFO: ==15526== Lock acquired, processing the job...
[2025-03-10 14:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:13:03] Production.INFO: ==15528== Lock acquired, processing the job...
[2025-03-10 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:13:03] Production.INFO: ==15536== Lock acquired, processing the job...
[2025-03-10 14:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 14:13:03] Production.INFO: ==15530== Lock acquired, processing the job...
[2025-03-10 14:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:13:03] Production.INFO: ==15528== Releasing lock...
[2025-03-10 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:13:03] Production.INFO: count ==13
[2025-03-10 14:13:03] Production.INFO: ==15532== Lock acquired, processing the job...
[2025-03-10 14:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 14:13:03] Production.INFO: count ==21
[2025-03-10 14:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650051') start
[2025-03-10 14:13:03] Production.INFO: ==15534== Lock acquired, processing the job...
[2025-03-10 14:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:13:03] Production.INFO: Account Balance Start.
[2025-03-10 14:13:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:13:03] Production.INFO: 117
[2025-03-10 14:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650051') end
[2025-03-10 14:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:13:03] Production.INFO: 1
[2025-03-10 14:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:13:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:13:03] Production.INFO: ==15536== Releasing lock...
[2025-03-10 14:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:13:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:13:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:13:04] Production.ERROR: done
[2025-03-10 14:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:13:04] Production.INFO: Total Charge 0
[2025-03-10 14:13:04] Production.INFO: CreateAllLog End
[2025-03-10 14:13:04] Production.ERROR: done
[2025-03-10 14:13:04] Production.INFO: Account Balance End.
[2025-03-10 14:13:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:13:04] Production.INFO: ==15532== Releasing lock...
[2025-03-10 14:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:13:05
[end_date_ymd] => 2025-03-10 14:13:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:13:05' and `end` < '2025-03-10 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-03-10 14:13:14] Production.ERROR: CronJobId end10
[2025-03-10 14:13:14] Production.INFO: ==15530== Releasing lock...
[2025-03-10 14:13:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:13:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:13:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:13:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:13:14] Production.INFO: call_cost start
[2025-03-10 14:13:14] Production.INFO: call_cost end
[2025-03-10 14:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:13:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:13:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:13:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:13:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:13:15] Production.INFO: ==15526== Releasing lock...
[2025-03-10 14:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:13:18] Production.INFO: count ==5095
[2025-03-10 14:13:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:13:05 - End Time 2025-03-10 14:13:05
[2025-03-10 14:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650053', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650053', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650053', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650053', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:13:20] Production.INFO: ProcessCDR(1,14650053,1,1,2)
[2025-03-10 14:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650053', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650053', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:13:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:13:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:13:25] Production.INFO: ==15534== Releasing lock...
[2025-03-10 14:13:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:13:25] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 18:14:01] Production.INFO: ==15598== Lock acquired, processing the job...
[2025-03-10 18:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:14:01] Production.INFO: neon service started
[2025-03-10 18:14:01] Production.INFO: neon service started
[2025-03-10 18:14:01] Production.INFO: ==15598== Releasing lock...
[2025-03-10 18:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:14:02] Production.INFO: ==15600== Lock acquired, processing the job...
[2025-03-10 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:14:02] Production.INFO: ==15602== Lock acquired, processing the job...
[2025-03-10 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:14:02] Production.INFO: ==15602== Releasing lock...
[2025-03-10 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:14:03] Production.INFO: ==15600== Releasing lock...
[2025-03-10 14:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:14:03] Production.INFO: ==15605== Lock acquired, processing the job...
[2025-03-10 14:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:14:03] Production.INFO: ==15607== Lock acquired, processing the job...
[2025-03-10 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:14:03] Production.INFO: ==15609== Lock acquired, processing the job...
[2025-03-10 14:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:14:04] Production.INFO: ==15611== Lock acquired, processing the job...
[2025-03-10 14:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:14:04] Production.INFO: ==15613== Lock acquired, processing the job...
[2025-03-10 14:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:14:04] Production.INFO: Account Balance Start.
[2025-03-10 14:14:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:14:04] Production.INFO: 117
[2025-03-10 14:14:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:14:04] Production.INFO: ==15607== Releasing lock...
[2025-03-10 14:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:14:04] Production.INFO: ==15615== Lock acquired, processing the job...
[2025-03-10 14:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:14:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:14:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:14:04] Production.INFO: Total Charge 0
[2025-03-10 14:14:04] Production.INFO: CreateAllLog End
[2025-03-10 14: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-03-10 14:14:04] Production.INFO: count ==13
[2025-03-10 14:14:04] Production.ERROR: done
[2025-03-10 14:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14: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-03-10 14:14:04] Production.INFO: count ==21
[2025-03-10 14:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650057') start
[2025-03-10 14:14:04] Production.INFO: Account Balance End.
[2025-03-10 14:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:14:04] Production.INFO: ==15611== Releasing lock...
[2025-03-10 14:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650057') end
[2025-03-10 14:14:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:14:05] Production.INFO: 1
[2025-03-10 14:14:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:14:05] Production.ERROR: done
[2025-03-10 14:14:05] Production.INFO: ==15615== Releasing lock...
[2025-03-10 14:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:14:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:14:06
[end_date_ymd] => 2025-03-10 14:14:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:14:06' and `end` < '2025-03-10 14: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-03-10 14:14:13] Production.ERROR: CronJobId end10
[2025-03-10 14:14:13] Production.INFO: ==15609== Releasing lock...
[2025-03-10 14:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:14:15] Production.INFO: call_cost start
[2025-03-10 14:14:15] Production.INFO: call_cost end
[2025-03-10 14:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:14:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:14:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:14:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:14:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:14:16] Production.INFO: ==15605== Releasing lock...
[2025-03-10 14:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:14:19] Production.INFO: count ==5085
[2025-03-10 14:14:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:14:06 - End Time 2025-03-10 14:14:06
[2025-03-10 14:14:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650058', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650058', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650058', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650058', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:14:21] Production.INFO: ProcessCDR(1,14650058,1,1,2)
[2025-03-10 14:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:14:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:14:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650058', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650058', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:14:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:14:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:14:26] Production.INFO: ==15613== Releasing lock...
[2025-03-10 14:14:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:14:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:15:01] Production.INFO: ==15681== Lock acquired, processing the job...
[2025-03-10 18:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:15:01] Production.INFO: neon service started
[2025-03-10 18:15:01] Production.INFO: neon service started
[2025-03-10 18:15:01] Production.INFO: ==15681== Releasing lock...
[2025-03-10 18:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:15:01] Production.INFO: ==15683== Lock acquired, processing the job...
[2025-03-10 14:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:15:02] Production.INFO: ==15683== Releasing lock...
[2025-03-10 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:15:02] Production.INFO: ==15685== Lock acquired, processing the job...
[2025-03-10 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:15:02] Production.INFO: ==15685== Releasing lock...
[2025-03-10 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:15:03] Production.INFO: ==15694== Lock acquired, processing the job...
[2025-03-10 14:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:15:03] Production.INFO: ==15698== Lock acquired, processing the job...
[2025-03-10 14:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:15:03] Production.INFO: Account Balance Start.
[2025-03-10 14:15:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:15:03] Production.INFO: 117
[2025-03-10 14:15:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:15:03] Production.INFO: ==15688== Lock acquired, processing the job...
[2025-03-10 14:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:15:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 14:15:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:15:03] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:15:03] Production.INFO: count ==21
[2025-03-10 14:15:03] Production.INFO: ==15690== Lock acquired, processing the job...
[2025-03-10 14:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:15:03] Production.INFO: ==15692== Lock acquired, processing the job...
[2025-03-10 14:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:15:03] Production.INFO: Total Charge 0
[2025-03-10 14:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650060') start
[2025-03-10 14:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:15:03] Production.INFO: CreateAllLog End
[2025-03-10 14:15:03] Production.INFO: ==15696== Lock acquired, processing the job...
[2025-03-10 14:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650060') end
[2025-03-10 14:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:15:03] Production.INFO: 1
[2025-03-10 14:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:15:03] Production.INFO: ==15698== Releasing lock...
[2025-03-10 14:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:15:03] Production.INFO: Account Balance End.
[2025-03-10 14:15:03] Production.ERROR: CronJobId end 12
[2025-03-10 14:15:03] Production.INFO: ==15694== Releasing lock...
[2025-03-10 14:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:15:04] Production.ERROR: done
[2025-03-10 14:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:15:04] Production.INFO: ==15690== Releasing lock...
[2025-03-10 14:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:15:04] Production.ERROR: done
[2025-03-10 14:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:15:05
[end_date_ymd] => 2025-03-10 14:15:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:15:05' and `end` < '2025-03-10 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-03-10 14:15:12] Production.ERROR: CronJobId end10
[2025-03-10 14:15:12] Production.INFO: ==15692== Releasing lock...
[2025-03-10 14:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:15:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:15:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:15:14] Production.INFO: call_cost start
[2025-03-10 14:15:14] Production.INFO: call_cost end
[2025-03-10 14:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:15:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:15:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:15:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:15:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:15:15] Production.INFO: ==15688== Releasing lock...
[2025-03-10 14:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:15:18] Production.INFO: count ==5087
[2025-03-10 14:15:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:15:05 - End Time 2025-03-10 14:15:05
[2025-03-10 14:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650063', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650063', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650063', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650063', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:15:21] Production.INFO: ProcessCDR(1,14650063,1,1,2)
[2025-03-10 14:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:15:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:15:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:15:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650063', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650063', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:15:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:15:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:15:26] Production.INFO: ==15696== Releasing lock...
[2025-03-10 14:15:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:15:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:16:01] Production.INFO: ==15764== Lock acquired, processing the job...
[2025-03-10 18:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:16:01] Production.INFO: neon service started
[2025-03-10 18:16:02] Production.INFO: neon service started
[2025-03-10 18:16:02] Production.INFO: ==15764== Releasing lock...
[2025-03-10 18:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:16:02] Production.INFO: ==15766== Lock acquired, processing the job...
[2025-03-10 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:16:02] Production.INFO: ==15766== Releasing lock...
[2025-03-10 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:16:02] Production.INFO: ==15768== Lock acquired, processing the job...
[2025-03-10 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:16:03] Production.INFO: ==15768== Releasing lock...
[2025-03-10 18:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:16:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:16:03] Production.INFO: ==15773== Lock acquired, processing the job...
[2025-03-10 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:16:03] Production.INFO: ==15775== Lock acquired, processing the job...
[2025-03-10 14:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:16:03] Production.INFO: ==15779== Lock acquired, processing the job...
[2025-03-10 14:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:16:03] Production.INFO: ==15771== Lock acquired, processing the job...
[2025-03-10 14:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:16:04] Production.INFO: ==15777== Lock acquired, processing the job...
[2025-03-10 14:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:16:04] Production.INFO: ==15781== Lock acquired, processing the job...
[2025-03-10 14:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:16:04] Production.INFO: ==15773== Releasing lock...
[2025-03-10 14:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:16:04] Production.INFO: Account Balance Start.
[2025-03-10 14:16:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:16:04] Production.INFO: 117
[2025-03-10 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-03-10 14:16:04] Production.INFO: count ==13
[2025-03-10 14:16:04] Production.ERROR: done
[2025-03-10 14:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:16:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 14:16:04] Production.INFO: count ==21
[2025-03-10 14:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650066') start
[2025-03-10 14:16:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:16:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:16:04] Production.ERROR: done
[2025-03-10 14:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650066') end
[2025-03-10 14:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:16:04] Production.INFO: 1
[2025-03-10 14:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:16:04] Production.INFO: ==15781== Releasing lock...
[2025-03-10 14:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:16:04] Production.INFO: Total Charge 0
[2025-03-10 14:16:04] Production.INFO: CreateAllLog End
[2025-03-10 14:16:04] Production.INFO: Account Balance End.
[2025-03-10 14:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:16:04] Production.INFO: ==15777== Releasing lock...
[2025-03-10 14:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:16:05
[end_date_ymd] => 2025-03-10 14:16:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:16:05' and `end` < '2025-03-10 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-03-10 14:16:13] Production.ERROR: CronJobId end10
[2025-03-10 14:16:13] Production.INFO: ==15775== Releasing lock...
[2025-03-10 14:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:16:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:16:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:16:15] Production.INFO: call_cost start
[2025-03-10 14:16:15] Production.INFO: call_cost end
[2025-03-10 14:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:16:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:16:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:16:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:16:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:16:16] Production.INFO: ==15771== Releasing lock...
[2025-03-10 14:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:16:18] Production.INFO: count ==5092
[2025-03-10 14:16:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:16:05 - End Time 2025-03-10 14:16:05
[2025-03-10 14:16:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650068', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650068', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650068', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650068', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:16:21] Production.INFO: ProcessCDR(1,14650068,1,1,2)
[2025-03-10 14:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:16:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:16:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:16:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650068', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650068', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:16:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:16:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:16:25] Production.INFO: ==15779== Releasing lock...
[2025-03-10 14:16:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:16:25] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:17:01] Production.INFO: ==15845== Lock acquired, processing the job...
[2025-03-10 18:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:17:01] Production.INFO: neon service started
[2025-03-10 18:17:01] Production.INFO: neon service started
[2025-03-10 18:17:01] Production.INFO: ==15845== Releasing lock...
[2025-03-10 18:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:17:01] Production.INFO: ==15847== Lock acquired, processing the job...
[2025-03-10 14:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:17:02] Production.INFO: ==15847== Releasing lock...
[2025-03-10 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:17:02] Production.INFO: ==15849== Lock acquired, processing the job...
[2025-03-10 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:17:02] Production.INFO: ==15849== Releasing lock...
[2025-03-10 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:17:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:17:02] Production.INFO: ==15856== Lock acquired, processing the job...
[2025-03-10 14:17:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:17:02] Production.INFO: ==15854== Lock acquired, processing the job...
[2025-03-10 14:17:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:17:02] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:17:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:17:02] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:17:02] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:17:03] Production.INFO: ==15862== Lock acquired, processing the job...
[2025-03-10 14:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 14:17:03] Production.INFO: count ==13
[2025-03-10 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-03-10 14:17:03] Production.INFO: count ==21
[2025-03-10 14:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650070') start
[2025-03-10 14:17:03] Production.INFO: ==15852== Lock acquired, processing the job...
[2025-03-10 14:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650070') end
[2025-03-10 14:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:17:03] Production.INFO: 1
[2025-03-10 14:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:17:03] Production.INFO: ==15854== Releasing lock...
[2025-03-10 14:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:17:03] Production.INFO: ==15862== Releasing lock...
[2025-03-10 14:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:17:03] Production.INFO: ==15858== Lock acquired, processing the job...
[2025-03-10 14:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:17:03] Production.INFO: ==15860== Lock acquired, processing the job...
[2025-03-10 14:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:17:03] Production.INFO: Account Balance Start.
[2025-03-10 14:17:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:17:03] Production.INFO: 117
[2025-03-10 14:17:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:17:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:17:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:17:03] Production.INFO: Total Charge 0
[2025-03-10 14:17:03] Production.INFO: CreateAllLog End
[2025-03-10 14:17:03] Production.ERROR: done
[2025-03-10 14:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:17:04] Production.ERROR: done
[2025-03-10 14:17:04] Production.INFO: Account Balance End.
[2025-03-10 14:17:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:17:04] Production.INFO: ==15858== Releasing lock...
[2025-03-10 14:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:17:05
[end_date_ymd] => 2025-03-10 14:17:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:17:05' and `end` < '2025-03-10 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-03-10 14:17:12] Production.ERROR: CronJobId end10
[2025-03-10 14:17:12] Production.INFO: ==15856== Releasing lock...
[2025-03-10 14:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:17:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:17:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:17:14] Production.INFO: call_cost start
[2025-03-10 14:17:14] Production.INFO: call_cost end
[2025-03-10 14:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:17:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:17:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:17:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:17:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:17:15] Production.INFO: ==15852== Releasing lock...
[2025-03-10 14:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:17:18] Production.INFO: count ==5092
[2025-03-10 14:17:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:17:05 - End Time 2025-03-10 14:17:05
[2025-03-10 14:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650073', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650073', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650073', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650073', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:17:21] Production.INFO: ProcessCDR(1,14650073,1,1,2)
[2025-03-10 14:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:17:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:17:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:17:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650073', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650073', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:17:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:17:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:17:26] Production.INFO: ==15860== Releasing lock...
[2025-03-10 14:17:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:17:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:18:01] Production.INFO: ==15963== Lock acquired, processing the job...
[2025-03-10 18:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:18:01] Production.INFO: neon service started
[2025-03-10 18:18:01] Production.INFO: neon service started
[2025-03-10 18:18:01] Production.INFO: ==15963== Releasing lock...
[2025-03-10 18:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:18:02] Production.INFO: ==15967== Lock acquired, processing the job...
[2025-03-10 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:18:02] Production.INFO: ==15967== Releasing lock...
[2025-03-10 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:18:02] Production.INFO: ==15965== Lock acquired, processing the job...
[2025-03-10 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:18:02] Production.INFO: ==15965== Releasing lock...
[2025-03-10 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:18:03] Production.INFO: ==15970== Lock acquired, processing the job...
[2025-03-10 14:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:18:03] Production.INFO: ==15978== Lock acquired, processing the job...
[2025-03-10 14:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:18:04] Production.INFO: ==15972== Lock acquired, processing the job...
[2025-03-10 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:18:04] Production.INFO: ==15974== Lock acquired, processing the job...
[2025-03-10 14:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:18:04] Production.INFO: ==15976== Lock acquired, processing the job...
[2025-03-10 14:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:18:04] Production.INFO: ==15980== Lock acquired, processing the job...
[2025-03-10 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:18:04] Production.ERROR: done
[2025-03-10 14:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:18:04] Production.INFO: Account Balance Start.
[2025-03-10 14:18:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:18:04] Production.INFO: 117
[2025-03-10 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-03-10 14:18:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:18:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:18:04] Production.INFO: count ==21
[2025-03-10 14:18:04] Production.ERROR: done
[2025-03-10 14:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650076') start
[2025-03-10 14:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:18:04] Production.INFO: Total Charge 0
[2025-03-10 14:18:04] Production.INFO: CreateAllLog End
[2025-03-10 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650076') end
[2025-03-10 14:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:18:04] Production.INFO: 1
[2025-03-10 14:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:18:04] Production.INFO: ==15980== Releasing lock...
[2025-03-10 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:18:04] Production.INFO: ==15972== Releasing lock...
[2025-03-10 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:18:04] Production.INFO: Account Balance End.
[2025-03-10 14:18:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:18:04] Production.INFO: ==15976== Releasing lock...
[2025-03-10 14:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:18:05
[end_date_ymd] => 2025-03-10 14:18:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:18:05' and `end` < '2025-03-10 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-03-10 14:18:14] Production.ERROR: CronJobId end10
[2025-03-10 14:18:14] Production.INFO: ==15974== Releasing lock...
[2025-03-10 14:18:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:18:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:18:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:18:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:18:16] Production.INFO: call_cost start
[2025-03-10 14:18:16] Production.INFO: call_cost end
[2025-03-10 14:18:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:18:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:18:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:18:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:18:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:18:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:18:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:18:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:18:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:18:17] Production.INFO: ==15970== Releasing lock...
[2025-03-10 14:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:18:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:18:18] Production.INFO: count ==5073
[2025-03-10 14:18:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:18:05 - End Time 2025-03-10 14:18:05
[2025-03-10 14:18:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650078', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650078', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650078', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650078', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:18:21] Production.INFO: ProcessCDR(1,14650078,1,1,2)
[2025-03-10 14:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:18:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:18:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:18:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650078', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650078', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:18:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:18:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:18:26] Production.INFO: ==15978== Releasing lock...
[2025-03-10 14:18:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:18:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:19:01] Production.INFO: ==16042== Lock acquired, processing the job...
[2025-03-10 18:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:19:01] Production.INFO: neon service started
[2025-03-10 18:19:01] Production.INFO: neon service started
[2025-03-10 18:19:01] Production.INFO: ==16042== Releasing lock...
[2025-03-10 18:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:19:01] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 18:19:01] Production.INFO: ==16046== Lock acquired, processing the job...
[2025-03-10 18:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:19:01] Production.INFO: ==16046== Releasing lock...
[2025-03-10 18:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:19:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:19:01] Production.INFO: ==16044== Lock acquired, processing the job...
[2025-03-10 14:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:19:02] Production.INFO: ==16044== Releasing lock...
[2025-03-10 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:19:03] Production.INFO: ==16051== Lock acquired, processing the job...
[2025-03-10 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:19:03] Production.INFO: ==16049== Lock acquired, processing the job...
[2025-03-10 14:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:19:03] Production.INFO: ==16055== Lock acquired, processing the job...
[2025-03-10 14:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:19:03] Production.INFO: ==16053== Lock acquired, processing the job...
[2025-03-10 14:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:19:03] Production.INFO: Account Balance Start.
[2025-03-10 14:19:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:19:03] Production.INFO: 117
[2025-03-10 14:19:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:19:03] Production.INFO: ==16051== Releasing lock...
[2025-03-10 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:19:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:19:03] Production.INFO: ==16057== Lock acquired, processing the job...
[2025-03-10 14:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:19:03] Production.INFO: ==16059== Lock acquired, processing the job...
[2025-03-10 14:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:19:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:19:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:19:03] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 14:19:03] Production.INFO: CreateAllLog End
[2025-03-10 14:19:03] Production.INFO: count ==13
[2025-03-10 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-03-10 14:19:03] Production.INFO: count ==21
[2025-03-10 14:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650082') start
[2025-03-10 14:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650082') end
[2025-03-10 14:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:19:03] Production.INFO: 1
[2025-03-10 14:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:19:03] Production.INFO: Account Balance End.
[2025-03-10 14:19:03] Production.INFO: ==16059== Releasing lock...
[2025-03-10 14:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:19:03] Production.ERROR: done
[2025-03-10 14:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:19:03] Production.ERROR: CronJobId end 12
[2025-03-10 14:19:03] Production.INFO: ==16055== Releasing lock...
[2025-03-10 14:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:19:04] Production.ERROR: done
[2025-03-10 14:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:19:04
[end_date_ymd] => 2025-03-10 14:19:04
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:19:04' and `end` < '2025-03-10 14: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-03-10 14:19:12] Production.ERROR: CronJobId end10
[2025-03-10 14:19:12] Production.INFO: ==16053== Releasing lock...
[2025-03-10 14:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:19:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:19:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:19:14] Production.INFO: call_cost start
[2025-03-10 14:19:14] Production.INFO: call_cost end
[2025-03-10 14:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:19:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:19:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:19:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:19:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:19:15] Production.INFO: ==16049== Releasing lock...
[2025-03-10 14:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:19:18] Production.INFO: count ==5074
[2025-03-10 14:19:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:19:04 - End Time 2025-03-10 14:19:04
[2025-03-10 14:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650083', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650083', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650083', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650083', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:19:20] Production.INFO: ProcessCDR(1,14650083,1,1,2)
[2025-03-10 14:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:19:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:19:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:19:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650083', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650083', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:19:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:19:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:19:25] Production.INFO: ==16057== Releasing lock...
[2025-03-10 14:19:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:19:25] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:20:01] Production.INFO: ==16119== Lock acquired, processing the job...
[2025-03-10 18:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:20:01] Production.INFO: neon service started
[2025-03-10 18:20:01] Production.INFO: neon service started
[2025-03-10 18:20:01] Production.INFO: ==16119== Releasing lock...
[2025-03-10 18:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:20:02] Production.INFO: ==16122== Lock acquired, processing the job...
[2025-03-10 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:20:02] Production.INFO: ==16124== Lock acquired, processing the job...
[2025-03-10 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:20:02] Production.INFO: ==16124== Releasing lock...
[2025-03-10 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:20:02] Production.INFO: ==16122== Releasing lock...
[2025-03-10 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:20:03] Production.INFO: ==16132== Lock acquired, processing the job...
[2025-03-10 14:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:20:04] Production.INFO: ==16126== Lock acquired, processing the job...
[2025-03-10 14:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 14:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:20:04] Production.INFO: ==16138== Lock acquired, processing the job...
[2025-03-10 14:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 14:20:04] Production.INFO: ==16128== Lock acquired, processing the job...
[2025-03-10 14:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 14:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 14:20:04] Production.ERROR: CronJob PID - 16132
[2025-03-10 14:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 14:20:04] Production.ERROR: CronJob ID - 10
[2025-03-10 14:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 14:20:00
[2025-03-10 14:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 14:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 14:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 14:20:04] Production.INFO: ==16126== Releasing lock...
[2025-03-10 14:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 14:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:20:04] Production.INFO: ==16140== Lock acquired, processing the job...
[2025-03-10 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:20:04] Production.INFO: ==16130== Lock acquired, processing the job...
[2025-03-10 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:20:04] Production.INFO: ==16134== Lock acquired, processing the job...
[2025-03-10 14:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:20:04] Production.INFO: ==16136== Lock acquired, processing the job...
[2025-03-10 14:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:20:04] Production.INFO: Account Balance Start.
[2025-03-10 14:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:20:04] Production.INFO: 117
[2025-03-10 14:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 14:20:04] Production.INFO: count ==13
[2025-03-10 14:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:20:04] Production.ERROR: done
[2025-03-10 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-03-10 14:20:04] Production.INFO: count ==21
[2025-03-10 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650086') start
[2025-03-10 14:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 14:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650088', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 14:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650086') end
[2025-03-10 14:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:20:05] Production.INFO: 1
[2025-03-10 14:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:20:05] Production.INFO: Date 2025-03-09
[2025-03-10 14:20:05] Production.INFO: Reseller ==> 0
[2025-03-10 14:20:05] Production.INFO: Date 2025-03-10
[2025-03-10 14:20:05] Production.INFO: Reseller ==> 0
[2025-03-10 14:20:05] Production.INFO: Total Charge 0
[2025-03-10 14:20:05] Production.INFO: ==16140== Releasing lock...
[2025-03-10 14:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:20:05] Production.INFO: CreateAllLog End
[2025-03-10 14:20:05] Production.INFO: ==16130== Releasing lock...
[2025-03-10 14:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:20:05] Production.ERROR: done
[2025-03-10 14:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:20:05] Production.ERROR: done
[2025-03-10 14:20:05] Production.INFO: Account Balance End.
[2025-03-10 14:20:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:20:05] Production.INFO: ==16134== Releasing lock...
[2025-03-10 14:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:20:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:20:07
[end_date_ymd] => 2025-03-10 14:20:07
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:20:07' and `end` < '2025-03-10 14: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-03-10 14:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650088', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 14:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 14:20:10] Production.INFO: ProcessCDR(1,14650088,1,1,2)
[2025-03-10 14:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650088,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650088,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:20:10] Production.INFO: ==16138== Releasing lock...
[2025-03-10 14:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 14:20:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 14:20:15] Production.ERROR: CronJobId end10
[2025-03-10 14:20:15] Production.INFO: ==16132== Releasing lock...
[2025-03-10 14:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:20:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:20:18] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:20:18] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:20:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:20:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:20:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:20:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:20:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:20:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:20:18] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:20:18] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:20:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:20:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:20:18] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:20:19] Production.INFO: call_cost start
[2025-03-10 14:20:19] Production.INFO: call_cost end
[2025-03-10 14:20:20] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:20:20] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:20:20] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:20:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:20:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:20:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:20:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:20:20] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:20:20] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:20:20] Production.INFO: ==16128== Releasing lock...
[2025-03-10 14:20:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:20:20] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:20:20] Production.INFO: count ==5051
[2025-03-10 14:20:22] Production.ERROR: pbx CDR StartTime 2025-03-10 11:20:07 - End Time 2025-03-10 14:20:07
[2025-03-10 14:20:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650089', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650089', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650089', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650089', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:20:22] Production.INFO: ProcessCDR(1,14650089,1,1,2)
[2025-03-10 14:20:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:20:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:20:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:20:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650089', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650089', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:20:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:20:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:20:28] Production.INFO: ==16136== Releasing lock...
[2025-03-10 14:20:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:20:28] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 18:21:01] Production.INFO: ==16201== Lock acquired, processing the job...
[2025-03-10 18:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:21:01] Production.INFO: neon service started
[2025-03-10 18:21:01] Production.INFO: neon service started
[2025-03-10 18:21:01] Production.INFO: ==16201== Releasing lock...
[2025-03-10 18:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:21:01] Production.INFO: ==16203== Lock acquired, processing the job...
[2025-03-10 14:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:21:02] Production.INFO: ==16203== Releasing lock...
[2025-03-10 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:21:02] Production.INFO: ==16205== Lock acquired, processing the job...
[2025-03-10 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:21:02] Production.INFO: ==16205== Releasing lock...
[2025-03-10 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:21:03] Production.INFO: ==16207== Lock acquired, processing the job...
[2025-03-10 14:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:21:03] Production.INFO: ==16209== Lock acquired, processing the job...
[2025-03-10 14:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:21:03] Production.INFO: ==16211== Lock acquired, processing the job...
[2025-03-10 14:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:21:03] Production.INFO: ==16209== Releasing lock...
[2025-03-10 14:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:21:03] Production.INFO: ==16213== Lock acquired, processing the job...
[2025-03-10 14:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:21:03] Production.INFO: ==16215== Lock acquired, processing the job...
[2025-03-10 14:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:21:03] Production.INFO: ==16218== Lock acquired, processing the job...
[2025-03-10 14:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:21:04] Production.INFO: Account Balance Start.
[2025-03-10 14:21:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:21:04] Production.INFO: 117
[2025-03-10 14:21:04] Production.ERROR: done
[2025-03-10 14:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:21:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 14: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-03-10 14:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:21:04] Production.INFO: Total Charge 0
[2025-03-10 14:21:04] Production.INFO: count ==13
[2025-03-10 14:21:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 14:21:04] Production.INFO: count ==21
[2025-03-10 14:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650092') start
[2025-03-10 14:21:04] Production.ERROR: done
[2025-03-10 14:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650092') end
[2025-03-10 14:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:21:04] Production.INFO: 1
[2025-03-10 14:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:21:04] Production.INFO: Account Balance End.
[2025-03-10 14:21:04] Production.INFO: ==16218== Releasing lock...
[2025-03-10 14:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:21:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:21:04] Production.INFO: ==16213== Releasing lock...
[2025-03-10 14:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:21:05
[end_date_ymd] => 2025-03-10 14:21:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:21:05' and `end` < '2025-03-10 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-03-10 14:21:13] Production.ERROR: CronJobId end10
[2025-03-10 14:21:13] Production.INFO: ==16211== Releasing lock...
[2025-03-10 14:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:21:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:21:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:21:15] Production.INFO: call_cost start
[2025-03-10 14:21:15] Production.INFO: call_cost end
[2025-03-10 14:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:21:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:21:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:21:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:21:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:21:16] Production.INFO: ==16207== Releasing lock...
[2025-03-10 14:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:21:19] Production.INFO: count ==5036
[2025-03-10 14:21:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:21:05 - End Time 2025-03-10 14:21:05
[2025-03-10 14:21:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650094', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650094', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650094', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650094', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:21:21] Production.INFO: ProcessCDR(1,14650094,1,1,2)
[2025-03-10 14:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:21:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:21:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:21:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650094', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650094', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:21:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:21:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:21:27] Production.INFO: ==16215== Releasing lock...
[2025-03-10 14:21:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:21:27] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 18:22:01] Production.INFO: ==16274== Lock acquired, processing the job...
[2025-03-10 18:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:22:02] Production.INFO: neon service started
[2025-03-10 18:22:02] Production.INFO: neon service started
[2025-03-10 18:22:02] Production.INFO: ==16274== Releasing lock...
[2025-03-10 18:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:22:02] Production.INFO: ==16276== Lock acquired, processing the job...
[2025-03-10 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:22:02] Production.INFO: ==16276== Releasing lock...
[2025-03-10 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:22:02] Production.INFO: ==16278== Lock acquired, processing the job...
[2025-03-10 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:22:02] Production.INFO: ==16278== Releasing lock...
[2025-03-10 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:22:03] Production.INFO: ==16281== Lock acquired, processing the job...
[2025-03-10 14:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:22:03] Production.INFO: ==16287== Lock acquired, processing the job...
[2025-03-10 14:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:22:03] Production.INFO: ==16283== Lock acquired, processing the job...
[2025-03-10 14:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:22:03] Production.INFO: ==16291== Lock acquired, processing the job...
[2025-03-10 14:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:22:04] Production.INFO: Account Balance Start.
[2025-03-10 14:22:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:22:04] Production.INFO: 117
[2025-03-10 14:22:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:22:04] Production.INFO: ==16285== Lock acquired, processing the job...
[2025-03-10 14:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:22:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 14:22:04] Production.INFO: count ==13
[2025-03-10 14:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 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-03-10 14:22:04] Production.INFO: count ==21
[2025-03-10 14:22:04] Production.INFO: ==16289== Lock acquired, processing the job...
[2025-03-10 14:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650098') start
[2025-03-10 14:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:22:04] Production.INFO: Total Charge 0
[2025-03-10 14:22:04] Production.INFO: ==16283== Releasing lock...
[2025-03-10 14:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650098') end
[2025-03-10 14:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:22:04] Production.INFO: 1
[2025-03-10 14:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:22:04] Production.INFO: CreateAllLog End
[2025-03-10 14:22:04] Production.INFO: ==16291== Releasing lock...
[2025-03-10 14:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:22:04] Production.INFO: Account Balance End.
[2025-03-10 14:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:22:04] Production.INFO: ==16287== Releasing lock...
[2025-03-10 14:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:22:04] Production.ERROR: done
[2025-03-10 14:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:22:04] Production.ERROR: done
[2025-03-10 14:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:22:06
[end_date_ymd] => 2025-03-10 14:22:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:22:06' and `end` < '2025-03-10 14: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-03-10 14:22:14] Production.ERROR: CronJobId end10
[2025-03-10 14:22:14] Production.INFO: ==16285== Releasing lock...
[2025-03-10 14:22:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:22:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:22:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:22:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:22:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:22:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:22:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:22:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:22:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:22:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:22:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:22:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:22:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:22:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:22:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:22:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:22:16] Production.INFO: call_cost start
[2025-03-10 14:22:16] Production.INFO: call_cost end
[2025-03-10 14:22:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:22:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:22:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:22:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:22:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:22:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:22:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:22:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:22:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:22:17] Production.INFO: ==16281== Releasing lock...
[2025-03-10 14:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:22:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:22:19] Production.INFO: count ==5027
[2025-03-10 14:22:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:22:06 - End Time 2025-03-10 14:22:06
[2025-03-10 14:22:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650099', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650099', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650099', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650099', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:22:21] Production.INFO: ProcessCDR(1,14650099,1,1,2)
[2025-03-10 14:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:22:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:22:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650099', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650099', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:22:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:22:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:22:27] Production.INFO: ==16289== Releasing lock...
[2025-03-10 14:22:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:22:27] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 18:23:01] Production.INFO: ==16351== Lock acquired, processing the job...
[2025-03-10 18:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:23:01] Production.INFO: neon service started
[2025-03-10 18:23:01] Production.INFO: neon service started
[2025-03-10 18:23:01] Production.INFO: ==16351== Releasing lock...
[2025-03-10 18:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:23:02] Production.INFO: ==16355== Lock acquired, processing the job...
[2025-03-10 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:23:02] Production.INFO: ==16353== Lock acquired, processing the job...
[2025-03-10 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:23:02] Production.INFO: ==16355== Releasing lock...
[2025-03-10 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:23:02] Production.INFO: ==16353== Releasing lock...
[2025-03-10 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:23:03] Production.INFO: ==16358== Lock acquired, processing the job...
[2025-03-10 14:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:23:03] Production.INFO: ==16360== Lock acquired, processing the job...
[2025-03-10 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:23:03] Production.INFO: ==16368== Lock acquired, processing the job...
[2025-03-10 14:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 14:23:03] Production.INFO: count ==13
[2025-03-10 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-03-10 14:23:03] Production.INFO: count ==21
[2025-03-10 14:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650102') start
[2025-03-10 14:23:03] Production.INFO: ==16362== Lock acquired, processing the job...
[2025-03-10 14:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650102') end
[2025-03-10 14:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:23:03] Production.INFO: 1
[2025-03-10 14:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:23:03] Production.INFO: ==16368== Releasing lock...
[2025-03-10 14:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:23:03] Production.INFO: ==16366== Lock acquired, processing the job...
[2025-03-10 14:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:23:03] Production.INFO: ==16360== Releasing lock...
[2025-03-10 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:23:03] Production.INFO: ==16364== Lock acquired, processing the job...
[2025-03-10 14:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:23:04] Production.INFO: Account Balance Start.
[2025-03-10 14:23:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:23:04] Production.INFO: 117
[2025-03-10 14:23:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:23:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:23:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:23:04] Production.INFO: Total Charge 0
[2025-03-10 14:23:04] Production.INFO: CreateAllLog End
[2025-03-10 14:23:04] Production.ERROR: done
[2025-03-10 14:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:23:04] Production.ERROR: done
[2025-03-10 14:23:04] Production.INFO: Account Balance End.
[2025-03-10 14:23:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:23:05] Production.INFO: ==16364== Releasing lock...
[2025-03-10 14:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:23:06
[end_date_ymd] => 2025-03-10 14:23:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:23:06' and `end` < '2025-03-10 14: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-03-10 14:23:14] Production.ERROR: CronJobId end10
[2025-03-10 14:23:14] Production.INFO: ==16362== Releasing lock...
[2025-03-10 14:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:23:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:23:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:23:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:23:15] Production.INFO: call_cost start
[2025-03-10 14:23:15] Production.INFO: call_cost end
[2025-03-10 14:23:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:23:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:23:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:23:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:23:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:23:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:23:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:23:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:23:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:23:17] Production.INFO: ==16358== Releasing lock...
[2025-03-10 14:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:23:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:23:19] Production.INFO: count ==4998
[2025-03-10 14:23:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:23:06 - End Time 2025-03-10 14:23:06
[2025-03-10 14:23:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650104', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650104', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650104', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650104', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:23:21] Production.INFO: ProcessCDR(1,14650104,1,1,2)
[2025-03-10 14:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:23:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:23:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:23:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650104', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650104', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:23:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:23:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:23:27] Production.INFO: ==16366== Releasing lock...
[2025-03-10 14:23:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:23:27] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 18:24:01] Production.INFO: ==16423== Lock acquired, processing the job...
[2025-03-10 18:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:24:02] Production.INFO: neon service started
[2025-03-10 18:24:02] Production.INFO: neon service started
[2025-03-10 18:24:02] Production.INFO: ==16423== Releasing lock...
[2025-03-10 18:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:24:02] Production.INFO: ==16425== Lock acquired, processing the job...
[2025-03-10 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:24:02] Production.INFO: ==16425== Releasing lock...
[2025-03-10 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:24:02] Production.INFO: ==16428== Lock acquired, processing the job...
[2025-03-10 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:24:03] Production.INFO: ==16428== Releasing lock...
[2025-03-10 18:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:24:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:24:03] Production.INFO: ==16436== Lock acquired, processing the job...
[2025-03-10 14:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:24:03] Production.INFO: Account Balance Start.
[2025-03-10 14:24:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:24:03] Production.INFO: 117
[2025-03-10 14:24:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:24:03] Production.INFO: ==16440== Lock acquired, processing the job...
[2025-03-10 14:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:24:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:24:04] Production.INFO: ==16430== Lock acquired, processing the job...
[2025-03-10 14:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 14:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:24:04] Production.INFO: ==16432== Lock acquired, processing the job...
[2025-03-10 14:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:24:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:24:04] Production.INFO: count ==21
[2025-03-10 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650106') start
[2025-03-10 14:24:04] Production.INFO: Total Charge 0
[2025-03-10 14:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:24:04] Production.INFO: ==16438== Lock acquired, processing the job...
[2025-03-10 14:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:24:04] Production.INFO: CreateAllLog End
[2025-03-10 14:24:04] Production.INFO: ==16434== Lock acquired, processing the job...
[2025-03-10 14:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650106') end
[2025-03-10 14:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:24:04] Production.INFO: 1
[2025-03-10 14:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:24:04] Production.INFO: ==16440== Releasing lock...
[2025-03-10 14:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:24:04] Production.INFO: ==16432== Releasing lock...
[2025-03-10 14:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:24:04] Production.ERROR: done
[2025-03-10 14:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:24:04] Production.INFO: Account Balance End.
[2025-03-10 14:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:24:04] Production.INFO: ==16436== Releasing lock...
[2025-03-10 14:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:24:05] Production.ERROR: done
[2025-03-10 14:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:24:06
[end_date_ymd] => 2025-03-10 14:24:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:24:06' and `end` < '2025-03-10 14: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-03-10 14:24:15] Production.ERROR: CronJobId end10
[2025-03-10 14:24:15] Production.INFO: ==16434== Releasing lock...
[2025-03-10 14:24:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:24:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:24:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:24:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:24:16] Production.INFO: call_cost start
[2025-03-10 14:24:16] Production.INFO: call_cost end
[2025-03-10 14:24:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:24:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:24:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:24:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:24:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:24:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:24:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:24:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:24:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:24:17] Production.INFO: ==16430== Releasing lock...
[2025-03-10 14:24:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:24:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:24:19] Production.INFO: count ==4983
[2025-03-10 14:24:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:24:06 - End Time 2025-03-10 14:24:06
[2025-03-10 14:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650109', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650109', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650109', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650109', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:24:21] Production.INFO: ProcessCDR(1,14650109,1,1,2)
[2025-03-10 14:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:24:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:24:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650109', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650109', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:24:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:24:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:24:26] Production.INFO: ==16438== Releasing lock...
[2025-03-10 14:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:24:26] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 18:25:01] Production.INFO: ==16498== Lock acquired, processing the job...
[2025-03-10 18:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:25:01] Production.INFO: neon service started
[2025-03-10 18:25:01] Production.INFO: neon service started
[2025-03-10 18:25:01] Production.INFO: ==16498== Releasing lock...
[2025-03-10 18:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:25:01] Production.INFO: ==16502== Lock acquired, processing the job...
[2025-03-10 18:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:25:02] Production.INFO: ==16502== Releasing lock...
[2025-03-10 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:25:02] Production.INFO: ==16500== Lock acquired, processing the job...
[2025-03-10 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:25:02] Production.INFO: ==16500== Releasing lock...
[2025-03-10 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:25:03] Production.INFO: ==16505== Lock acquired, processing the job...
[2025-03-10 14:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:25:03] Production.INFO: ==16509== Lock acquired, processing the job...
[2025-03-10 14:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:25:03] Production.INFO: ==16515== Lock acquired, processing the job...
[2025-03-10 14:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:25:03] Production.INFO: ==16507== Lock acquired, processing the job...
[2025-03-10 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 14:25:03] Production.INFO: ==16511== Lock acquired, processing the job...
[2025-03-10 14:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:25:03] Production.INFO: count ==13
[2025-03-10 14:25:03] Production.INFO: ==16513== Lock acquired, processing the job...
[2025-03-10 14:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 14:25:03] Production.INFO: count ==21
[2025-03-10 14:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650111') start
[2025-03-10 14:25:04] Production.INFO: Account Balance Start.
[2025-03-10 14:25:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650111') end
[2025-03-10 14:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:25:04] Production.INFO: 1
[2025-03-10 14:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:25:04] Production.INFO: 117
[2025-03-10 14:25:04] Production.INFO: ==16515== Releasing lock...
[2025-03-10 14:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:25:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:25:04] Production.INFO: ==16507== Releasing lock...
[2025-03-10 14:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:25:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:25:04] Production.ERROR: done
[2025-03-10 14:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:25:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:25:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:25:04] Production.ERROR: done
[2025-03-10 14:25:04] Production.INFO: Total Charge 0
[2025-03-10 14:25:04] Production.INFO: CreateAllLog End
[2025-03-10 14:25:05] Production.INFO: Account Balance End.
[2025-03-10 14:25:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:25:05] Production.INFO: ==16511== Releasing lock...
[2025-03-10 14:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:25:05
[end_date_ymd] => 2025-03-10 14:25:05
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:25:05' and `end` < '2025-03-10 14: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-03-10 14:25:13] Production.ERROR: CronJobId end10
[2025-03-10 14:25:13] Production.INFO: ==16509== Releasing lock...
[2025-03-10 14:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:25:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:25:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:25:15] Production.INFO: call_cost start
[2025-03-10 14:25:15] Production.INFO: call_cost end
[2025-03-10 14:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:25:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:25:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:25:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:25:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:25:16] Production.INFO: ==16505== Releasing lock...
[2025-03-10 14:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:25:19] Production.INFO: count ==4992
[2025-03-10 14:25:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:25:05 - End Time 2025-03-10 14:25:05
[2025-03-10 14:25:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650114', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650114', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650114', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650114', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:25:21] Production.INFO: ProcessCDR(1,14650114,1,1,2)
[2025-03-10 14:25:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:25:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:25:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:25:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650114', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650114', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:25:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:25:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:25:27] Production.INFO: ==16513== Releasing lock...
[2025-03-10 14:25:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:25:27] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 18:26:02] Production.INFO: ==16573== Lock acquired, processing the job...
[2025-03-10 18:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:26:02] Production.INFO: neon service started
[2025-03-10 18:26:02] Production.INFO: neon service started
[2025-03-10 18:26:02] Production.INFO: ==16573== Releasing lock...
[2025-03-10 18:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:26:02] Production.INFO: ==16577== Lock acquired, processing the job...
[2025-03-10 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:26:02] Production.INFO: ==16577== Releasing lock...
[2025-03-10 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:26:02] Production.INFO: ==16575== Lock acquired, processing the job...
[2025-03-10 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:26:02] Production.INFO: ==16575== Releasing lock...
[2025-03-10 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:26:03] Production.INFO: ==16580== Lock acquired, processing the job...
[2025-03-10 14:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:26:03] Production.INFO: ==16582== Lock acquired, processing the job...
[2025-03-10 14:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:26:03] Production.INFO: ==16584== Lock acquired, processing the job...
[2025-03-10 14:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:26:04] Production.INFO: ==16582== Releasing lock...
[2025-03-10 14:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:26:04] Production.INFO: ==16588== Lock acquired, processing the job...
[2025-03-10 14:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:26:04] Production.INFO: ==16586== Lock acquired, processing the job...
[2025-03-10 14:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:26:04] Production.INFO: ==16590== Lock acquired, processing the job...
[2025-03-10 14:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 14:26:04] Production.INFO: count ==13
[2025-03-10 14:26:04] Production.INFO: Account Balance Start.
[2025-03-10 14:26:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:26:04] Production.INFO: 117
[2025-03-10 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-03-10 14:26:04] Production.INFO: count ==21
[2025-03-10 14:26:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650117') start
[2025-03-10 14:26:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:26:04] Production.ERROR: done
[2025-03-10 14:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650117') end
[2025-03-10 14:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:26:04] Production.INFO: 1
[2025-03-10 14:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:26:04] Production.INFO: Total Charge 0
[2025-03-10 14:26:04] Production.INFO: CreateAllLog End
[2025-03-10 14:26:05] Production.INFO: ==16590== Releasing lock...
[2025-03-10 14:26:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:26:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:26:05] Production.ERROR: done
[2025-03-10 14:26:05] Production.INFO: Account Balance End.
[2025-03-10 14:26:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:26:05] Production.INFO: ==16586== Releasing lock...
[2025-03-10 14:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:26:06
[end_date_ymd] => 2025-03-10 14:26:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:26:06' and `end` < '2025-03-10 14: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-03-10 14:26:13] Production.ERROR: CronJobId end10
[2025-03-10 14:26:13] Production.INFO: ==16584== Releasing lock...
[2025-03-10 14:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:26:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:26:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:26:16] Production.INFO: call_cost start
[2025-03-10 14:26:16] Production.INFO: call_cost end
[2025-03-10 14:26:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:26:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:26:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:26:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:26:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:26:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:26:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:26:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:26:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:26:17] Production.INFO: ==16580== Releasing lock...
[2025-03-10 14:26:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:26:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:26:19] Production.INFO: count ==5010
[2025-03-10 14:26:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:26:06 - End Time 2025-03-10 14:26:06
[2025-03-10 14:26:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650119', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650119', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650119', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650119', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:26:21] Production.INFO: ProcessCDR(1,14650119,1,1,2)
[2025-03-10 14:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:26:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:26:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:26:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650119', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:26:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650119', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:26:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:26:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:26:28] Production.INFO: ==16588== Releasing lock...
[2025-03-10 14:26:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:26:28] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 18:27:01] Production.INFO: ==16646== Lock acquired, processing the job...
[2025-03-10 18:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:27:01] Production.INFO: neon service started
[2025-03-10 18:27:01] Production.INFO: neon service started
[2025-03-10 18:27:01] Production.INFO: ==16646== Releasing lock...
[2025-03-10 18:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:27:01] Production.INFO: ==16650== Lock acquired, processing the job...
[2025-03-10 18:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:27:01] Production.INFO: ==16650== Releasing lock...
[2025-03-10 18:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:27:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:27:02] Production.INFO: ==16648== Lock acquired, processing the job...
[2025-03-10 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:27:02] Production.INFO: ==16648== Releasing lock...
[2025-03-10 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:27:03] Production.INFO: ==16653== Lock acquired, processing the job...
[2025-03-10 14:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:27:03] Production.INFO: ==16655== Lock acquired, processing the job...
[2025-03-10 14:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:27:03] Production.INFO: ==16657== Lock acquired, processing the job...
[2025-03-10 14:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:27:03] Production.INFO: ==16659== Lock acquired, processing the job...
[2025-03-10 14:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:27:03] Production.INFO: ==16655== Releasing lock...
[2025-03-10 14:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:27:03] Production.INFO: ==16661== Lock acquired, processing the job...
[2025-03-10 14:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:27:03] Production.INFO: ==16663== Lock acquired, processing the job...
[2025-03-10 14:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:27:03] Production.INFO: Account Balance Start.
[2025-03-10 14:27:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:27:03] Production.INFO: 117
[2025-03-10 14:27:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:27:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:27:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:27:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:27:04] Production.INFO: Total Charge 0
[2025-03-10 14:27:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 14:27:04] Production.INFO: count ==13
[2025-03-10 14:27:04] Production.ERROR: done
[2025-03-10 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-03-10 14:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:27:04] Production.INFO: count ==21
[2025-03-10 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650123') start
[2025-03-10 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650123') end
[2025-03-10 14:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:27:04] Production.INFO: 1
[2025-03-10 14:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:27:04] Production.INFO: Account Balance End.
[2025-03-10 14:27:04] Production.ERROR: done
[2025-03-10 14:27:04] Production.INFO: ==16663== Releasing lock...
[2025-03-10 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:27:04] Production.INFO: ==16659== Releasing lock...
[2025-03-10 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:27:05
[end_date_ymd] => 2025-03-10 14:27:05
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:27:05' and `end` < '2025-03-10 14: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-03-10 14:27:12] Production.ERROR: CronJobId end10
[2025-03-10 14:27:12] Production.INFO: ==16657== Releasing lock...
[2025-03-10 14:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:27:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:27:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:27:15] Production.INFO: call_cost start
[2025-03-10 14:27:15] Production.INFO: call_cost end
[2025-03-10 14:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:27:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:27:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:27:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:27:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:27:16] Production.INFO: ==16653== Releasing lock...
[2025-03-10 14:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:27:18] Production.INFO: count ==5000
[2025-03-10 14:27:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:27:05 - End Time 2025-03-10 14:27:05
[2025-03-10 14:27:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650124', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650124', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650124', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650124', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:27:21] Production.INFO: ProcessCDR(1,14650124,1,1,2)
[2025-03-10 14:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:27:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:27:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:27:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650124', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650124', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:27:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:27:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:27:26] Production.INFO: ==16661== Releasing lock...
[2025-03-10 14:27:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:27:26] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 18:28:01] Production.INFO: ==16722== Lock acquired, processing the job...
[2025-03-10 18:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:28:01] Production.INFO: neon service started
[2025-03-10 18:28:01] Production.INFO: neon service started
[2025-03-10 18:28:01] Production.INFO: ==16722== Releasing lock...
[2025-03-10 18:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:28:02] Production.INFO: ==16726== Lock acquired, processing the job...
[2025-03-10 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:28:02] Production.INFO: ==16726== Releasing lock...
[2025-03-10 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:28:02] Production.INFO: ==16724== Lock acquired, processing the job...
[2025-03-10 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:28:02] Production.INFO: ==16724== Releasing lock...
[2025-03-10 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:28:03] Production.INFO: ==16728== Lock acquired, processing the job...
[2025-03-10 14:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:28:03] Production.INFO: ==16732== Lock acquired, processing the job...
[2025-03-10 14:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:28:03] Production.INFO: ==16730== Lock acquired, processing the job...
[2025-03-10 14:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:28:04] Production.INFO: ==16734== Lock acquired, processing the job...
[2025-03-10 14:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:28:04] Production.INFO: ==16736== Lock acquired, processing the job...
[2025-03-10 14:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:28:04] Production.INFO: Account Balance Start.
[2025-03-10 14:28:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:28:04] Production.INFO: 117
[2025-03-10 14:28:04] Production.INFO: ==16739== Lock acquired, processing the job...
[2025-03-10 14:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:28:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:28:04] Production.INFO: ==16730== Releasing lock...
[2025-03-10 14:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:28:04] Production.INFO: Total Charge 0
[2025-03-10 14:28:04] Production.INFO: CreateAllLog End
[2025-03-10 14: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-03-10 14:28:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:28:04] Production.INFO: count ==21
[2025-03-10 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650128') start
[2025-03-10 14:28:04] Production.ERROR: done
[2025-03-10 14:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650128') end
[2025-03-10 14:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:28:04] Production.INFO: 1
[2025-03-10 14:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:28:04] Production.INFO: ==16739== Releasing lock...
[2025-03-10 14:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:28:04] Production.ERROR: done
[2025-03-10 14:28:05] Production.INFO: Account Balance End.
[2025-03-10 14:28:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:28:05] Production.INFO: ==16734== Releasing lock...
[2025-03-10 14:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:28:06
[end_date_ymd] => 2025-03-10 14:28:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:28:06' and `end` < '2025-03-10 14: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-03-10 14:28:13] Production.ERROR: CronJobId end10
[2025-03-10 14:28:13] Production.INFO: ==16732== Releasing lock...
[2025-03-10 14:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:28:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:28:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:28:16] Production.INFO: call_cost start
[2025-03-10 14:28:16] Production.INFO: call_cost end
[2025-03-10 14:28:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:28:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:28:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:28:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:28:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:28:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:28:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:28:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:28:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:28:17] Production.INFO: ==16728== Releasing lock...
[2025-03-10 14:28:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:28:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:28:19] Production.INFO: count ==4988
[2025-03-10 14:28:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:28:06 - End Time 2025-03-10 14:28:06
[2025-03-10 14:28:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650129', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650129', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650129', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650129', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:28:21] Production.INFO: ProcessCDR(1,14650129,1,1,2)
[2025-03-10 14:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:28:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:28:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:28:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650129', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650129', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:28:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:28:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:28:26] Production.INFO: ==16736== Releasing lock...
[2025-03-10 14:28:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:28:26] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 18:29:01] Production.INFO: ==16800== Lock acquired, processing the job...
[2025-03-10 18:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:29:01] Production.INFO: neon service started
[2025-03-10 18:29:01] Production.INFO: neon service started
[2025-03-10 18:29:01] Production.INFO: ==16800== Releasing lock...
[2025-03-10 18:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:29:01] Production.INFO: ==16802== Lock acquired, processing the job...
[2025-03-10 14:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:29:02] Production.INFO: ==16802== Releasing lock...
[2025-03-10 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:29:02] Production.INFO: ==16804== Lock acquired, processing the job...
[2025-03-10 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:29:02] Production.INFO: ==16804== Releasing lock...
[2025-03-10 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:29:02] Production.INFO: ==16806== Lock acquired, processing the job...
[2025-03-10 14:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:29:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:29:03] Production.INFO: ==16808== Lock acquired, processing the job...
[2025-03-10 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:29:03] Production.INFO: ==16817== Lock acquired, processing the job...
[2025-03-10 14:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14: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-03-10 14:29:03] Production.INFO: ==16812== Lock acquired, processing the job...
[2025-03-10 14:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:29:03] Production.INFO: ==16810== Lock acquired, processing the job...
[2025-03-10 14:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:29:03] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:29:03] Production.INFO: count ==21
[2025-03-10 14:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650132') start
[2025-03-10 14:29:03] Production.INFO: ==16808== Releasing lock...
[2025-03-10 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:29:03] Production.INFO: ==16815== Lock acquired, processing the job...
[2025-03-10 14:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650132') end
[2025-03-10 14:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:29:03] Production.INFO: 1
[2025-03-10 14:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:29:03] Production.INFO: Account Balance Start.
[2025-03-10 14:29:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:29:03] Production.INFO: 117
[2025-03-10 14:29:03] Production.INFO: ==16817== Releasing lock...
[2025-03-10 14:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:29:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:29:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:29:03] Production.ERROR: done
[2025-03-10 14:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:29:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:29:03] Production.INFO: Total Charge 0
[2025-03-10 14:29:03] Production.INFO: CreateAllLog End
[2025-03-10 14:29:04] Production.ERROR: done
[2025-03-10 14:29:04] Production.INFO: Account Balance End.
[2025-03-10 14:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:29:04] Production.INFO: ==16812== Releasing lock...
[2025-03-10 14:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:29:05
[end_date_ymd] => 2025-03-10 14:29:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:29:05' and `end` < '2025-03-10 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-03-10 14:29:13] Production.ERROR: CronJobId end10
[2025-03-10 14:29:13] Production.INFO: ==16810== Releasing lock...
[2025-03-10 14:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:29:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:29:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:29:14] Production.INFO: call_cost start
[2025-03-10 14:29:14] Production.INFO: call_cost end
[2025-03-10 14:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:29:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:29:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:29:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:29:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:29:15] Production.INFO: ==16806== Releasing lock...
[2025-03-10 14:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:29:18] Production.INFO: count ==4989
[2025-03-10 14:29:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:29:05 - End Time 2025-03-10 14:29:05
[2025-03-10 14:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650134', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650134', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650134', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650134', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:29:20] Production.INFO: ProcessCDR(1,14650134,1,1,2)
[2025-03-10 14:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:29:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:29:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:29:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650134', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650134', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:29:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:29:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:29:25] Production.INFO: ==16815== Releasing lock...
[2025-03-10 14:29:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:29:25] Production.INFO: 65.25 MB #Memory Used#
[2025-03-10 18:30:01] Production.INFO: ==16878== Lock acquired, processing the job...
[2025-03-10 18:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:30:01] Production.INFO: neon service started
[2025-03-10 18:30:02] Production.INFO: neon service started
[2025-03-10 18:30:02] Production.INFO: ==16878== Releasing lock...
[2025-03-10 18:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:30:02] Production.INFO: ==16880== Lock acquired, processing the job...
[2025-03-10 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:30:02] Production.INFO: ==16882== Lock acquired, processing the job...
[2025-03-10 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 14:30:02] Production.INFO: ==16880== Releasing lock...
[2025-03-10 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:30:02] Production.INFO: ==16882== Releasing lock...
[2025-03-10 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:30:03] Production.INFO: ==16885== Lock acquired, processing the job...
[2025-03-10 14:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 14:30:03] Production.INFO: ==16887== Lock acquired, processing the job...
[2025-03-10 14:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 14:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 14:30:04] Production.INFO: ==16885== Releasing lock...
[2025-03-10 14:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 14:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 14:30:04] Production.INFO: ==16889== Lock acquired, processing the job...
[2025-03-10 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:30:04] Production.INFO: ==16891== Lock acquired, processing the job...
[2025-03-10 14:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:30:04] Production.INFO: ==16895== Lock acquired, processing the job...
[2025-03-10 14:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:30:04] Production.INFO: ==16893== Lock acquired, processing the job...
[2025-03-10 14:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:30:04] Production.INFO: ==16897== Lock acquired, processing the job...
[2025-03-10 14:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 14:30:04] Production.INFO: ==16899== Lock acquired, processing the job...
[2025-03-10 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:30:04] Production.INFO: Account Balance Start.
[2025-03-10 14:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:30:04] Production.INFO: 117
[2025-03-10 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-03-10 14:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:30:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:30:04] Production.INFO: ==16889== Releasing lock...
[2025-03-10 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:30:04] Production.INFO: count ==21
[2025-03-10 14:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:30:04] Production.ERROR: done
[2025-03-10 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650138') start
[2025-03-10 14:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:30:04] Production.ERROR: done
[2025-03-10 14:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:30:05] Production.ERROR: done
[2025-03-10 14:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650138') end
[2025-03-10 14:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:30:05] Production.INFO: 1
[2025-03-10 14:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:30:05] Production.INFO: Total Charge 0
[2025-03-10 14:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 14:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650139', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 14:30:05] Production.INFO: CreateAllLog End
[2025-03-10 14:30:05] Production.INFO: ==16899== Releasing lock...
[2025-03-10 14:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:30:05] Production.INFO: Account Balance End.
[2025-03-10 14:30:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:30:05] Production.INFO: ==16893== Releasing lock...
[2025-03-10 14:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:30:06
[end_date_ymd] => 2025-03-10 14:30:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:30:06' and `end` < '2025-03-10 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-03-10 14:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650139', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 14:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 14:30:09] Production.INFO: ProcessCDR(1,14650139,1,1,2)
[2025-03-10 14:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650139,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650139,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:30:09] Production.INFO: ==16897== Releasing lock...
[2025-03-10 14:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 14:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 14:30:14] Production.ERROR: CronJobId end10
[2025-03-10 14:30:14] Production.INFO: ==16891== Releasing lock...
[2025-03-10 14:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:30:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:30:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:30:17] Production.INFO: call_cost start
[2025-03-10 14:30:17] Production.INFO: call_cost end
[2025-03-10 14:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:30:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:30:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:30:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:30:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:30:18] Production.INFO: ==16887== Releasing lock...
[2025-03-10 14:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:30:19] Production.INFO: count ==5003
[2025-03-10 14:30:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:30:06 - End Time 2025-03-10 14:30:06
[2025-03-10 14:30:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650140', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650140', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650140', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650140', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:30:22] Production.INFO: ProcessCDR(1,14650140,1,1,2)
[2025-03-10 14:30:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:30:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:30:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:30:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650140', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650140', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:30:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:30:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:30:27] Production.INFO: ==16895== Releasing lock...
[2025-03-10 14:30:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:30:27] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 18:31:01] Production.INFO: ==16953== Lock acquired, processing the job...
[2025-03-10 18:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:31:01] Production.INFO: neon service started
[2025-03-10 18:31:01] Production.INFO: neon service started
[2025-03-10 18:31:01] Production.INFO: ==16953== Releasing lock...
[2025-03-10 18:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:31:01] Production.INFO: ==16955== Lock acquired, processing the job...
[2025-03-10 14:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:31:02] Production.INFO: ==16955== Releasing lock...
[2025-03-10 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:31:02] Production.INFO: ==16957== Lock acquired, processing the job...
[2025-03-10 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:31:02] Production.INFO: ==16957== Releasing lock...
[2025-03-10 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:31:03] Production.INFO: ==16960== Lock acquired, processing the job...
[2025-03-10 14:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:31:03] Production.INFO: ==16968== Lock acquired, processing the job...
[2025-03-10 14:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:31:03] Production.INFO: ==16970== Lock acquired, processing the job...
[2025-03-10 14:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:31:03] Production.INFO: ==16962== Lock acquired, processing the job...
[2025-03-10 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:31:03] Production.INFO: ==16964== Lock acquired, processing the job...
[2025-03-10 14:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:31:03] Production.INFO: ==16966== Lock acquired, processing the job...
[2025-03-10 14:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14: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-03-10 14:31:03] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:31:03] Production.INFO: count ==21
[2025-03-10 14:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650143') start
[2025-03-10 14:31:03] Production.INFO: Account Balance Start.
[2025-03-10 14:31:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:31:03] Production.INFO: 117
[2025-03-10 14:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:31:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:31:03] Production.INFO: ==16962== Releasing lock...
[2025-03-10 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650143') end
[2025-03-10 14:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:31:03] Production.INFO: 1
[2025-03-10 14:31:03] Production.ERROR: done
[2025-03-10 14:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:31:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:31:03] Production.INFO: ==16970== Releasing lock...
[2025-03-10 14:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:31:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:31:04] Production.INFO: Total Charge 0
[2025-03-10 14:31:04] Production.INFO: CreateAllLog End
[2025-03-10 14:31:04] Production.ERROR: done
[2025-03-10 14:31:04] Production.INFO: Account Balance End.
[2025-03-10 14:31:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:31:04] Production.INFO: ==16966== Releasing lock...
[2025-03-10 14:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:31:05
[end_date_ymd] => 2025-03-10 14:31:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:31:05' and `end` < '2025-03-10 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-03-10 14:31:12] Production.ERROR: CronJobId end10
[2025-03-10 14:31:12] Production.INFO: ==16964== Releasing lock...
[2025-03-10 14:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:31:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:31:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:31:14] Production.INFO: call_cost start
[2025-03-10 14:31:14] Production.INFO: call_cost end
[2025-03-10 14:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:31:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:31:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:31:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:31:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:31:15] Production.INFO: ==16960== Releasing lock...
[2025-03-10 14:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:31:18] Production.INFO: count ==5015
[2025-03-10 14:31:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:31:05 - End Time 2025-03-10 14:31:05
[2025-03-10 14:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650145', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650145', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650145', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650145', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:31:20] Production.INFO: ProcessCDR(1,14650145,1,1,2)
[2025-03-10 14:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:31:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:31:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650145', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650145', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:31:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:31:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:31:25] Production.INFO: ==16968== Releasing lock...
[2025-03-10 14:31:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:31:25] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 18:32:01] Production.INFO: ==17030== Lock acquired, processing the job...
[2025-03-10 18:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:32:01] Production.INFO: neon service started
[2025-03-10 18:32:02] Production.INFO: neon service started
[2025-03-10 18:32:02] Production.INFO: ==17030== Releasing lock...
[2025-03-10 18:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:32:02] Production.INFO: ==17032== Lock acquired, processing the job...
[2025-03-10 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:32:02] Production.INFO: ==17034== Lock acquired, processing the job...
[2025-03-10 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:32:02] Production.INFO: ==17034== Releasing lock...
[2025-03-10 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:32:03] Production.INFO: ==17032== Releasing lock...
[2025-03-10 14:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:32:03] Production.INFO: ==17041== Lock acquired, processing the job...
[2025-03-10 14:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:32:03] Production.INFO: ==17047== Lock acquired, processing the job...
[2025-03-10 14:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14: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-03-10 14:32:04] Production.INFO: ==17037== Lock acquired, processing the job...
[2025-03-10 14:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:32:04] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:32:04] Production.INFO: count ==21
[2025-03-10 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650146') start
[2025-03-10 14:32:04] Production.INFO: ==17039== Lock acquired, processing the job...
[2025-03-10 14:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650146') end
[2025-03-10 14:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:32:04] Production.INFO: 1
[2025-03-10 14:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:32:04] Production.INFO: ==17043== Lock acquired, processing the job...
[2025-03-10 14:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:32:04] Production.INFO: ==17047== Releasing lock...
[2025-03-10 14:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:32:04] Production.INFO: ==17045== Lock acquired, processing the job...
[2025-03-10 14:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:32:04] Production.INFO: Account Balance Start.
[2025-03-10 14:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:32:04] Production.INFO: 117
[2025-03-10 14:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:32:04] Production.INFO: Total Charge 0
[2025-03-10 14:32:04] Production.INFO: CreateAllLog End
[2025-03-10 14:32:04] Production.INFO: ==17039== Releasing lock...
[2025-03-10 14:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:32:04] Production.INFO: Account Balance End.
[2025-03-10 14:32:05] Production.ERROR: done
[2025-03-10 14:32:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:32:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:32:05] Production.INFO: ==17043== Releasing lock...
[2025-03-10 14:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:32:05] Production.ERROR: done
[2025-03-10 14:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:32:06
[end_date_ymd] => 2025-03-10 14:32:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:32:06' and `end` < '2025-03-10 14: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-03-10 14:32:13] Production.ERROR: CronJobId end10
[2025-03-10 14:32:13] Production.INFO: ==17041== Releasing lock...
[2025-03-10 14:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:32:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:32:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:32:15] Production.INFO: call_cost start
[2025-03-10 14:32:15] Production.INFO: call_cost end
[2025-03-10 14:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:32:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:32:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:32:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:32:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:32:16] Production.INFO: ==17037== Releasing lock...
[2025-03-10 14:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:32:19] Production.INFO: count ==5051
[2025-03-10 14:32:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:32:06 - End Time 2025-03-10 14:32:06
[2025-03-10 14:32:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650150', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650150', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650150', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650150', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:32:21] Production.INFO: ProcessCDR(1,14650150,1,1,2)
[2025-03-10 14:32:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:32:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:32:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:32:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650150', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650150', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:32:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:32:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:32:26] Production.INFO: ==17045== Releasing lock...
[2025-03-10 14:32:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:32:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 18:33:01] Production.INFO: ==17103== Lock acquired, processing the job...
[2025-03-10 18:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:33:01] Production.INFO: neon service started
[2025-03-10 18:33:01] Production.INFO: neon service started
[2025-03-10 18:33:01] Production.INFO: ==17103== Releasing lock...
[2025-03-10 18:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:33:01] Production.INFO: ==17107== Lock acquired, processing the job...
[2025-03-10 18:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:33:01] Production.INFO: ==17107== Releasing lock...
[2025-03-10 18:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:33:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:33:02] Production.INFO: ==17105== Lock acquired, processing the job...
[2025-03-10 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:33:02] Production.INFO: ==17105== Releasing lock...
[2025-03-10 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:33:03] Production.INFO: ==17110== Lock acquired, processing the job...
[2025-03-10 14:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:33:03] Production.INFO: ==17114== Lock acquired, processing the job...
[2025-03-10 14:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:33:03] Production.INFO: ==17118== Lock acquired, processing the job...
[2025-03-10 14:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:33:03] Production.INFO: ==17112== Lock acquired, processing the job...
[2025-03-10 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:33:03] Production.INFO: ==17116== Lock acquired, processing the job...
[2025-03-10 14:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:33:03] Production.INFO: ==17120== Lock acquired, processing the job...
[2025-03-10 14:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:33:03] Production.ERROR: done
[2025-03-10 14:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:33:03] Production.INFO: Account Balance Start.
[2025-03-10 14:33:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:33:03] Production.INFO: 117
[2025-03-10 14:33:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:33:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 14:33:03] Production.ERROR: done
[2025-03-10 14:33:03] Production.INFO: count ==13
[2025-03-10 14:33:03] Production.INFO: ==17112== Releasing lock...
[2025-03-10 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14: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-03-10 14:33:04] Production.INFO: count ==21
[2025-03-10 14:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650154') start
[2025-03-10 14:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650154') end
[2025-03-10 14:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:33:04] Production.INFO: 1
[2025-03-10 14:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:33:04] Production.INFO: ==17120== Releasing lock...
[2025-03-10 14:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:33:04] Production.INFO: Total Charge 0
[2025-03-10 14:33:04] Production.INFO: CreateAllLog End
[2025-03-10 14:33:04] Production.INFO: Account Balance End.
[2025-03-10 14:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:33:04] Production.INFO: ==17116== Releasing lock...
[2025-03-10 14:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:33:04
[end_date_ymd] => 2025-03-10 14:33:04
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:33:04' and `end` < '2025-03-10 14: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-03-10 14:33:12] Production.ERROR: CronJobId end10
[2025-03-10 14:33:12] Production.INFO: ==17114== Releasing lock...
[2025-03-10 14:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:33:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:33:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:33:13] Production.INFO: call_cost start
[2025-03-10 14:33:13] Production.INFO: call_cost end
[2025-03-10 14:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:33:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:33:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:33:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:33:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:33:14] Production.INFO: ==17110== Releasing lock...
[2025-03-10 14:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:33:17] Production.INFO: count ==5043
[2025-03-10 14:33:19] Production.ERROR: pbx CDR StartTime 2025-03-10 11:33:04 - End Time 2025-03-10 14:33:04
[2025-03-10 14:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650155', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650155', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650155', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650155', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:33:19] Production.INFO: ProcessCDR(1,14650155,1,1,2)
[2025-03-10 14:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:33:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:33:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:33:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650155', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650155', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:33:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:33:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:33:24] Production.INFO: ==17118== Releasing lock...
[2025-03-10 14:33:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:33:24] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 18:34:01] Production.INFO: ==17213== Lock acquired, processing the job...
[2025-03-10 18:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:34:01] Production.INFO: neon service started
[2025-03-10 18:34:01] Production.INFO: neon service started
[2025-03-10 18:34:01] Production.INFO: ==17213== Releasing lock...
[2025-03-10 18:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:34:02] Production.INFO: ==17217== Lock acquired, processing the job...
[2025-03-10 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:34:02] Production.INFO: ==17217== Releasing lock...
[2025-03-10 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:34:02] Production.INFO: ==17215== Lock acquired, processing the job...
[2025-03-10 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:34:02] Production.INFO: ==17215== Releasing lock...
[2025-03-10 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:34:03] Production.INFO: ==17220== Lock acquired, processing the job...
[2025-03-10 14:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:34:03] Production.INFO: ==17222== Lock acquired, processing the job...
[2025-03-10 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:34:03] Production.INFO: ==17224== Lock acquired, processing the job...
[2025-03-10 14:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:34:03] Production.INFO: ==17222== Releasing lock...
[2025-03-10 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:34:03] Production.INFO: ==17226== Lock acquired, processing the job...
[2025-03-10 14:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:34:03] Production.INFO: ==17228== Lock acquired, processing the job...
[2025-03-10 14:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:34:03] Production.INFO: ==17230== Lock acquired, processing the job...
[2025-03-10 14:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:34:04] Production.INFO: Account Balance Start.
[2025-03-10 14:34:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:34:04] Production.INFO: 117
[2025-03-10 14:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:34:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 14: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-03-10 14:34:04] Production.INFO: Total Charge 0
[2025-03-10 14:34:04] Production.INFO: CreateAllLog End
[2025-03-10 14:34:04] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:34:04] Production.INFO: count ==21
[2025-03-10 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650159') start
[2025-03-10 14:34:04] Production.ERROR: done
[2025-03-10 14:34:04] Production.INFO: Account Balance End.
[2025-03-10 14:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650159') end
[2025-03-10 14:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:34:04] Production.INFO: 1
[2025-03-10 14:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:34:04] Production.INFO: ==17226== Releasing lock...
[2025-03-10 14:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:34:04] Production.INFO: ==17230== Releasing lock...
[2025-03-10 14:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:34:04] Production.ERROR: done
[2025-03-10 14:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:34:05
[end_date_ymd] => 2025-03-10 14:34:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:34:05' and `end` < '2025-03-10 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-03-10 14:34:12] Production.ERROR: CronJobId end10
[2025-03-10 14:34:12] Production.INFO: ==17224== Releasing lock...
[2025-03-10 14:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:34:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:34:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:34:14] Production.INFO: call_cost start
[2025-03-10 14:34:14] Production.INFO: call_cost end
[2025-03-10 14:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:34:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:34:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:34:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:34:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:34:15] Production.INFO: ==17220== Releasing lock...
[2025-03-10 14:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:34:18] Production.INFO: count ==5023
[2025-03-10 14:34:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:34:05 - End Time 2025-03-10 14:34:05
[2025-03-10 14:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650160', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650160', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650160', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650160', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:34:21] Production.INFO: ProcessCDR(1,14650160,1,1,2)
[2025-03-10 14:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:34:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:34:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:34:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650160', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650160', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:34:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:34:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:34:26] Production.INFO: ==17228== Releasing lock...
[2025-03-10 14:34:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:34:26] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 18:35:02] Production.INFO: ==17283== Lock acquired, processing the job...
[2025-03-10 18:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:35:02] Production.INFO: neon service started
[2025-03-10 18:35:02] Production.INFO: neon service started
[2025-03-10 18:35:02] Production.INFO: ==17283== Releasing lock...
[2025-03-10 18:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:35:02] Production.INFO: ==17285== Lock acquired, processing the job...
[2025-03-10 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:35:03] Production.INFO: ==17285== Releasing lock...
[2025-03-10 14:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:35:03] Production.INFO: ==17287== Lock acquired, processing the job...
[2025-03-10 18:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:35:03] Production.INFO: ==17287== Releasing lock...
[2025-03-10 18:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:35:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:35:03] Production.INFO: ==17300== Lock acquired, processing the job...
[2025-03-10 14:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 14:35:03] Production.INFO: count ==13
[2025-03-10 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-03-10 14:35:03] Production.INFO: count ==21
[2025-03-10 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650161') start
[2025-03-10 14:35:04] Production.INFO: ==17298== Lock acquired, processing the job...
[2025-03-10 14:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650161') end
[2025-03-10 14:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:35:04] Production.INFO: 1
[2025-03-10 14:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:35:04] Production.INFO: ==17300== Releasing lock...
[2025-03-10 14:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:35:04] Production.INFO: ==17290== Lock acquired, processing the job...
[2025-03-10 14:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:35:04] Production.INFO: ==17292== Lock acquired, processing the job...
[2025-03-10 14:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:35:04] Production.INFO: ==17296== Lock acquired, processing the job...
[2025-03-10 14:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:35:04] Production.INFO: ==17294== Lock acquired, processing the job...
[2025-03-10 14:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:35:04] Production.INFO: Account Balance Start.
[2025-03-10 14:35:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:35:04] Production.INFO: 117
[2025-03-10 14:35:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:35:04] Production.ERROR: done
[2025-03-10 14:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:35:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:35:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:35:04] Production.INFO: Total Charge 0
[2025-03-10 14:35:04] Production.INFO: CreateAllLog End
[2025-03-10 14:35:04] Production.ERROR: done
[2025-03-10 14:35:04] Production.INFO: ==17292== Releasing lock...
[2025-03-10 14:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:35:04] Production.INFO: Account Balance End.
[2025-03-10 14:35:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:35:04] Production.INFO: ==17296== Releasing lock...
[2025-03-10 14:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:35:05
[end_date_ymd] => 2025-03-10 14:35:05
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:35:05' and `end` < '2025-03-10 14: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-03-10 14:35:12] Production.ERROR: CronJobId end10
[2025-03-10 14:35:12] Production.INFO: ==17294== Releasing lock...
[2025-03-10 14:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:35:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:35:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:35:14] Production.INFO: call_cost start
[2025-03-10 14:35:14] Production.INFO: call_cost end
[2025-03-10 14:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:35:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:35:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:35:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:35:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:35:15] Production.INFO: ==17290== Releasing lock...
[2025-03-10 14:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:35:18] Production.INFO: count ==5035
[2025-03-10 14:35:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:35:05 - End Time 2025-03-10 14:35:05
[2025-03-10 14:35:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650165', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650165', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650165', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650165', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:35:20] Production.INFO: ProcessCDR(1,14650165,1,1,2)
[2025-03-10 14:35:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:35:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:35:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:35:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:35:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650165', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650165', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:35:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:35:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:35:26] Production.INFO: ==17298== Releasing lock...
[2025-03-10 14:35:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:35:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 18:36:01] Production.INFO: ==17354== Lock acquired, processing the job...
[2025-03-10 18:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:36:01] Production.INFO: neon service started
[2025-03-10 18:36:02] Production.INFO: neon service started
[2025-03-10 18:36:02] Production.INFO: ==17354== Releasing lock...
[2025-03-10 18:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:36:02] Production.INFO: ==17356== Lock acquired, processing the job...
[2025-03-10 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:36:02] Production.INFO: ==17356== Releasing lock...
[2025-03-10 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:36:02] Production.INFO: ==17358== Lock acquired, processing the job...
[2025-03-10 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:36:02] Production.INFO: ==17358== Releasing lock...
[2025-03-10 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:36:03] Production.INFO: ==17360== Lock acquired, processing the job...
[2025-03-10 14:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:36:03] Production.INFO: ==17362== Lock acquired, processing the job...
[2025-03-10 14:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:36:03] Production.INFO: ==17370== Lock acquired, processing the job...
[2025-03-10 14:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:36:03] Production.INFO: ==17368== Lock acquired, processing the job...
[2025-03-10 14:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14: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-03-10 14:36:03] Production.INFO: ==17364== Lock acquired, processing the job...
[2025-03-10 14:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:36:03] Production.INFO: ==17366== Lock acquired, processing the job...
[2025-03-10 14:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:36:03] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:36:03] Production.INFO: count ==21
[2025-03-10 14:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650168') start
[2025-03-10 14:36:04] Production.INFO: ==17362== Releasing lock...
[2025-03-10 14:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650168') end
[2025-03-10 14:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:36:04] Production.INFO: 1
[2025-03-10 14:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:36:04] Production.INFO: Account Balance Start.
[2025-03-10 14:36:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:36:04] Production.INFO: 117
[2025-03-10 14:36:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:36:04] Production.INFO: ==17370== Releasing lock...
[2025-03-10 14:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:36:04] Production.INFO: Total Charge 0
[2025-03-10 14:36:04] Production.INFO: CreateAllLog End
[2025-03-10 14:36:04] Production.ERROR: done
[2025-03-10 14:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:36:04] Production.ERROR: done
[2025-03-10 14:36:04] Production.INFO: Account Balance End.
[2025-03-10 14:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:36:04] Production.INFO: ==17366== Releasing lock...
[2025-03-10 14:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:36:05
[end_date_ymd] => 2025-03-10 14:36:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:36:05' and `end` < '2025-03-10 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-03-10 14:36: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-03-10 14:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:36:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:36:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:36:12] Production.ERROR: CronJobId end10
[2025-03-10 14:36:12] Production.INFO: ==17364== Releasing lock...
[2025-03-10 14:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:36:12] Production.INFO: call_cost start
[2025-03-10 14:36:12] Production.INFO: call_cost end
[2025-03-10 14:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:36:13] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:36:13] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:36:13] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:36:13] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:36:13] Production.INFO: ==17360== Releasing lock...
[2025-03-10 14:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:36:18] Production.INFO: count ==5021
[2025-03-10 14:36:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:36:05 - End Time 2025-03-10 14:36:05
[2025-03-10 14:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650170', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650170', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650170', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650170', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:36:21] Production.INFO: ProcessCDR(1,14650170,1,1,2)
[2025-03-10 14:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:36:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:36:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:36:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:36:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650170', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650170', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:36:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:36:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:36:26] Production.INFO: ==17368== Releasing lock...
[2025-03-10 14:36:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:36:26] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 18:37:01] Production.INFO: ==17425== Lock acquired, processing the job...
[2025-03-10 18:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:37:01] Production.INFO: neon service started
[2025-03-10 18:37:01] Production.INFO: neon service started
[2025-03-10 18:37:01] Production.INFO: ==17425== Releasing lock...
[2025-03-10 18:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:37:01] Production.INFO: ==17427== Lock acquired, processing the job...
[2025-03-10 14:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:37:02] Production.INFO: ==17427== Releasing lock...
[2025-03-10 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:37:02] Production.INFO: ==17429== Lock acquired, processing the job...
[2025-03-10 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:37:02] Production.INFO: ==17429== Releasing lock...
[2025-03-10 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:37:03] Production.INFO: ==17431== Lock acquired, processing the job...
[2025-03-10 14:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:37:03] Production.INFO: ==17433== Lock acquired, processing the job...
[2025-03-10 14:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:37:03] Production.INFO: ==17438== Lock acquired, processing the job...
[2025-03-10 14:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:37:03] Production.INFO: ==17435== Lock acquired, processing the job...
[2025-03-10 14:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:37:03] Production.INFO: Account Balance Start.
[2025-03-10 14:37:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:37:03] Production.INFO: 117
[2025-03-10 14:37:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:37:03] Production.INFO: ==17433== Releasing lock...
[2025-03-10 14:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:37:03] Production.INFO: ==17440== Lock acquired, processing the job...
[2025-03-10 14:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:37:03] Production.INFO: ==17442== Lock acquired, processing the job...
[2025-03-10 14:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:37:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:37:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:37:03] Production.INFO: Total Charge 0
[2025-03-10 14: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-03-10 14:37:03] Production.INFO: CreateAllLog End
[2025-03-10 14:37:03] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:37:03] Production.INFO: count ==21
[2025-03-10 14:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650174') start
[2025-03-10 14:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650174') end
[2025-03-10 14:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:37:03] Production.INFO: 1
[2025-03-10 14:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:37:03] Production.INFO: Account Balance End.
[2025-03-10 14:37:03] Production.INFO: ==17442== Releasing lock...
[2025-03-10 14:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:37:03] Production.ERROR: done
[2025-03-10 14:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:37:03] Production.ERROR: CronJobId end 12
[2025-03-10 14:37:03] Production.INFO: ==17438== Releasing lock...
[2025-03-10 14:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:37:04] Production.ERROR: done
[2025-03-10 14:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:37:05
[end_date_ymd] => 2025-03-10 14:37:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:37:05' and `end` < '2025-03-10 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-03-10 14:37:11] Production.ERROR: CronJobId end10
[2025-03-10 14:37:11] Production.INFO: ==17435== Releasing lock...
[2025-03-10 14:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:37:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:37:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:37:14] Production.INFO: call_cost start
[2025-03-10 14:37:14] Production.INFO: call_cost end
[2025-03-10 14:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:37:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:37:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:37:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:37:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:37:14] Production.INFO: ==17431== Releasing lock...
[2025-03-10 14:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:37:18] Production.INFO: count ==5012
[2025-03-10 14:37:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:37:05 - End Time 2025-03-10 14:37:05
[2025-03-10 14:37:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650175', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650175', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650175', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650175', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:37:20] Production.INFO: ProcessCDR(1,14650175,1,1,2)
[2025-03-10 14:37:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:37:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:37:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:37:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650175', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650175', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:37:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:37:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:37:25] Production.INFO: ==17440== Releasing lock...
[2025-03-10 14:37:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:37:25] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 18:38:01] Production.INFO: ==17498== Lock acquired, processing the job...
[2025-03-10 18:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:38:01] Production.INFO: neon service started
[2025-03-10 18:38:01] Production.INFO: neon service started
[2025-03-10 18:38:01] Production.INFO: ==17498== Releasing lock...
[2025-03-10 18:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:38:02] Production.INFO: ==17500== Lock acquired, processing the job...
[2025-03-10 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:38:02] Production.INFO: ==17500== Releasing lock...
[2025-03-10 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:38:02] Production.INFO: ==17502== Lock acquired, processing the job...
[2025-03-10 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:38:03] Production.INFO: ==17502== Releasing lock...
[2025-03-10 18:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:38:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:38:03] Production.INFO: ==17504== Lock acquired, processing the job...
[2025-03-10 14:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:38:03] Production.INFO: ==17508== Lock acquired, processing the job...
[2025-03-10 14:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:38:03] Production.INFO: ==17510== Lock acquired, processing the job...
[2025-03-10 14:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:38:03] Production.INFO: Account Balance Start.
[2025-03-10 14:38:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:38:03] Production.INFO: 117
[2025-03-10 14:38:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:38:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:38:03] Production.INFO: ==17506== Lock acquired, processing the job...
[2025-03-10 14:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:38:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:38:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:38:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:38:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:38:03] Production.INFO: ==17514== Lock acquired, processing the job...
[2025-03-10 14:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:38:03] Production.INFO: Total Charge 0
[2025-03-10 14:38:03] Production.INFO: ==17512== Lock acquired, processing the job...
[2025-03-10 14:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:38:03] Production.INFO: CreateAllLog End
[2025-03-10 14:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 14:38:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:38:04] Production.INFO: count ==21
[2025-03-10 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650179') start
[2025-03-10 14:38:04] Production.INFO: ==17506== Releasing lock...
[2025-03-10 14:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:38:04] Production.INFO: Account Balance End.
[2025-03-10 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650179') end
[2025-03-10 14:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:38:04] Production.INFO: 1
[2025-03-10 14:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:38:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:38:04] Production.INFO: ==17510== Releasing lock...
[2025-03-10 14:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:38:04] Production.INFO: ==17514== Releasing lock...
[2025-03-10 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:38:04] Production.ERROR: done
[2025-03-10 14:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:38:04] Production.ERROR: done
[2025-03-10 14:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:38:06
[end_date_ymd] => 2025-03-10 14:38:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:38:06' and `end` < '2025-03-10 14: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-03-10 14:38:12] Production.ERROR: CronJobId end10
[2025-03-10 14:38:12] Production.INFO: ==17508== Releasing lock...
[2025-03-10 14:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:38:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:38:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:38:14] Production.INFO: call_cost start
[2025-03-10 14:38:14] Production.INFO: call_cost end
[2025-03-10 14:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:38:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:38:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:38:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:38:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:38:15] Production.INFO: ==17504== Releasing lock...
[2025-03-10 14:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:38:19] Production.INFO: count ==5004
[2025-03-10 14:38:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:38:06 - End Time 2025-03-10 14:38:06
[2025-03-10 14:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650180', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650180', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650180', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650180', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:38:21] Production.INFO: ProcessCDR(1,14650180,1,1,2)
[2025-03-10 14:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:38:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:38:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:38:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650180', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650180', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:38:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:38:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:38:25] Production.INFO: ==17512== Releasing lock...
[2025-03-10 14:38:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:38:25] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 18:39:02] Production.INFO: ==17568== Lock acquired, processing the job...
[2025-03-10 18:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:39:02] Production.INFO: neon service started
[2025-03-10 18:39:02] Production.INFO: neon service started
[2025-03-10 18:39:02] Production.INFO: ==17568== Releasing lock...
[2025-03-10 18:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:39:02] Production.INFO: ==17571== Lock acquired, processing the job...
[2025-03-10 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:39:02] Production.INFO: ==17571== Releasing lock...
[2025-03-10 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:39:03] Production.INFO: ==17573== Lock acquired, processing the job...
[2025-03-10 18:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:39:03] Production.INFO: ==17573== Releasing lock...
[2025-03-10 18:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:39:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:39:03] Production.INFO: ==17579== Lock acquired, processing the job...
[2025-03-10 14:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:39:03] Production.INFO: ==17585== Lock acquired, processing the job...
[2025-03-10 14:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:39:04] Production.INFO: ==17575== Lock acquired, processing the job...
[2025-03-10 14:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14: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-03-10 14:39:04] Production.INFO: ==17577== Lock acquired, processing the job...
[2025-03-10 14:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:39:04] Production.INFO: count ==13
[2025-03-10 14:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14: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-03-10 14:39:04] Production.INFO: ==17581== Lock acquired, processing the job...
[2025-03-10 14:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:39:04] Production.INFO: count ==21
[2025-03-10 14:39:04] Production.INFO: ==17583== Lock acquired, processing the job...
[2025-03-10 14:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650181') start
[2025-03-10 14:39:04] Production.INFO: Account Balance Start.
[2025-03-10 14:39:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:39:04] Production.INFO: 117
[2025-03-10 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650181') end
[2025-03-10 14:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:39:04] Production.INFO: 1
[2025-03-10 14:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:39:04] Production.INFO: ==17585== Releasing lock...
[2025-03-10 14:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:39:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:39:04] Production.INFO: ==17577== Releasing lock...
[2025-03-10 14:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:39:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:39:04] Production.ERROR: done
[2025-03-10 14:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:39:04] Production.INFO: Total Charge 0
[2025-03-10 14:39:04] Production.INFO: CreateAllLog End
[2025-03-10 14:39:04] Production.ERROR: done
[2025-03-10 14:39:04] Production.INFO: Account Balance End.
[2025-03-10 14:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:39:04] Production.INFO: ==17581== Releasing lock...
[2025-03-10 14:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:39:05
[end_date_ymd] => 2025-03-10 14:39:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:39:05' and `end` < '2025-03-10 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-03-10 14:39:12] Production.ERROR: CronJobId end10
[2025-03-10 14:39:12] Production.INFO: ==17579== Releasing lock...
[2025-03-10 14:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:39:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:39:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:39:14] Production.INFO: call_cost start
[2025-03-10 14:39:14] Production.INFO: call_cost end
[2025-03-10 14:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:39:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:39:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:39:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:39:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:39:15] Production.INFO: ==17575== Releasing lock...
[2025-03-10 14:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:39:18] Production.INFO: count ==5003
[2025-03-10 14:39:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:39:05 - End Time 2025-03-10 14:39:05
[2025-03-10 14:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650185', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650185', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650185', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650185', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:39:20] Production.INFO: ProcessCDR(1,14650185,1,1,2)
[2025-03-10 14:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650185', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650185', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:39:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:39:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:39:25] Production.INFO: ==17583== Releasing lock...
[2025-03-10 14:39:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:39:25] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 18:40:01] Production.INFO: ==17640== Lock acquired, processing the job...
[2025-03-10 18:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:40:01] Production.INFO: neon service started
[2025-03-10 18:40:01] Production.INFO: neon service started
[2025-03-10 18:40:01] Production.INFO: ==17640== Releasing lock...
[2025-03-10 18:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:40:02] Production.INFO: ==17643== Lock acquired, processing the job...
[2025-03-10 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:40:02] Production.INFO: ==17643== Releasing lock...
[2025-03-10 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:40:02] Production.INFO: ==17645== Lock acquired, processing the job...
[2025-03-10 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:40:02] Production.INFO: ==17645== Releasing lock...
[2025-03-10 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:40:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:40:03] Production.INFO: ==17647== Lock acquired, processing the job...
[2025-03-10 14:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 14:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 14:40:03] Production.INFO: ==17649== Lock acquired, processing the job...
[2025-03-10 14:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 14:40:03] Production.INFO: ==17647== Releasing lock...
[2025-03-10 14:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 14:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 14:40:03] Production.INFO: ==17651== Lock acquired, processing the job...
[2025-03-10 14:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:40:03] Production.INFO: ==17653== Lock acquired, processing the job...
[2025-03-10 14:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:40:04] Production.INFO: ==17655== Lock acquired, processing the job...
[2025-03-10 14:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:40:04] Production.INFO: ==17659== Lock acquired, processing the job...
[2025-03-10 14:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 14:40:04] Production.INFO: ==17657== Lock acquired, processing the job...
[2025-03-10 14:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:40:04] Production.INFO: ==17651== Releasing lock...
[2025-03-10 14:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:40:04] Production.INFO: Account Balance Start.
[2025-03-10 14:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:40:04] Production.INFO: 117
[2025-03-10 14:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:40:04] Production.INFO: ==17661== Lock acquired, processing the job...
[2025-03-10 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 14:40:04] Production.INFO: count ==13
[2025-03-10 14:40:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 14:40:04] Production.INFO: count ==21
[2025-03-10 14:40:04] Production.ERROR: done
[2025-03-10 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650189') start
[2025-03-10 14:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 14:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650190', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 14:40:04] Production.ERROR: done
[2025-03-10 14:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:40:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650189') end
[2025-03-10 14:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:40:05] Production.INFO: 1
[2025-03-10 14:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:40:05] Production.INFO: Total Charge 0
[2025-03-10 14:40:05] Production.INFO: CreateAllLog End
[2025-03-10 14:40:05] Production.INFO: ==17661== Releasing lock...
[2025-03-10 14:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:40:05] Production.ERROR: done
[2025-03-10 14:40:05] Production.INFO: Account Balance End.
[2025-03-10 14:40:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:40:05] Production.INFO: ==17655== Releasing lock...
[2025-03-10 14:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:40:06
[end_date_ymd] => 2025-03-10 14:40:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:40:06' and `end` < '2025-03-10 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-03-10 14:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650190', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 14:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 14:40:09] Production.INFO: ProcessCDR(1,14650190,1,1,2)
[2025-03-10 14:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650190,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650190,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:40:09] Production.INFO: ==17659== Releasing lock...
[2025-03-10 14:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 14:40:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 14:40:15] Production.ERROR: CronJobId end10
[2025-03-10 14:40:15] Production.INFO: ==17653== Releasing lock...
[2025-03-10 14:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:40:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:40:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:40:17] Production.INFO: call_cost start
[2025-03-10 14:40:17] Production.INFO: call_cost end
[2025-03-10 14:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:40:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:40:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:40:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:40:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:40:18] Production.INFO: ==17649== Releasing lock...
[2025-03-10 14:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:40:19] Production.INFO: count ==4999
[2025-03-10 14:40:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:40:06 - End Time 2025-03-10 14:40:06
[2025-03-10 14:40:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650191', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650191', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650191', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650191', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:40:21] Production.INFO: ProcessCDR(1,14650191,1,1,2)
[2025-03-10 14:40:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:40:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:40:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:40:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650191', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650191', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:40:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:40:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:40:27] Production.INFO: ==17657== Releasing lock...
[2025-03-10 14:40:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:40:27] Production.INFO: 65.5 MB #Memory Used#
[2025-03-10 18:41:02] Production.INFO: ==17716== Lock acquired, processing the job...
[2025-03-10 18:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:41:02] Production.INFO: neon service started
[2025-03-10 18:41:02] Production.INFO: neon service started
[2025-03-10 18:41:02] Production.INFO: ==17716== Releasing lock...
[2025-03-10 18:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:41:02] Production.INFO: ==17720== Lock acquired, processing the job...
[2025-03-10 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:41:02] Production.INFO: ==17720== Releasing lock...
[2025-03-10 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:41:02] Production.INFO: ==17718== Lock acquired, processing the job...
[2025-03-10 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:41:03] Production.INFO: ==17718== Releasing lock...
[2025-03-10 14:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:41:03] Production.INFO: ==17725== Lock acquired, processing the job...
[2025-03-10 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:41:04] Production.INFO: ==17725== Releasing lock...
[2025-03-10 14:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:41:04] Production.INFO: ==17733== Lock acquired, processing the job...
[2025-03-10 14:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14: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-03-10 14:41:04] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:41:04] Production.INFO: count ==21
[2025-03-10 14:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650193') start
[2025-03-10 14:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650193') end
[2025-03-10 14:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:41:04] Production.INFO: 1
[2025-03-10 14:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:41:04] Production.INFO: ==17723== Lock acquired, processing the job...
[2025-03-10 14:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:41:04] Production.INFO: ==17727== Lock acquired, processing the job...
[2025-03-10 14:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:41:04] Production.INFO: ==17733== Releasing lock...
[2025-03-10 14:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:41:04] Production.INFO: ==17729== Lock acquired, processing the job...
[2025-03-10 14:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:41:04] Production.INFO: ==17731== Lock acquired, processing the job...
[2025-03-10 14:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:41:04] Production.INFO: Account Balance Start.
[2025-03-10 14:41:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:41:04] Production.INFO: 117
[2025-03-10 14:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:41:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:41:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:41:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:41:04] Production.INFO: Total Charge 0
[2025-03-10 14:41:04] Production.INFO: CreateAllLog End
[2025-03-10 14:41:05] Production.ERROR: done
[2025-03-10 14:41:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:41:05] Production.INFO: Account Balance End.
[2025-03-10 14:41:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:41:05] Production.INFO: ==17729== Releasing lock...
[2025-03-10 14:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:41:05] Production.ERROR: done
[2025-03-10 14:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:41:06
[end_date_ymd] => 2025-03-10 14:41:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:41:06' and `end` < '2025-03-10 14: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-03-10 14:41:14] Production.ERROR: CronJobId end10
[2025-03-10 14:41:14] Production.INFO: ==17727== Releasing lock...
[2025-03-10 14:41:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:41:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:41:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:41:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:41:16] Production.INFO: call_cost start
[2025-03-10 14:41:16] Production.INFO: call_cost end
[2025-03-10 14:41:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:41:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:41:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:41:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:41:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:41:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:41:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:41:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:41:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:41:17] Production.INFO: ==17723== Releasing lock...
[2025-03-10 14:41:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:41:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:41:19] Production.INFO: count ==5050
[2025-03-10 14:41:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:41:06 - End Time 2025-03-10 14:41:06
[2025-03-10 14:41:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650196', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650196', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650196', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650196', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:41:21] Production.INFO: ProcessCDR(1,14650196,1,1,2)
[2025-03-10 14:41:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:41:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:41:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:41:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650196', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650196', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:41:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:41:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:41:26] Production.INFO: ==17731== Releasing lock...
[2025-03-10 14:41:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:41:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 18:42:01] Production.INFO: ==17785== Lock acquired, processing the job...
[2025-03-10 18:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:42:01] Production.INFO: neon service started
[2025-03-10 18:42:01] Production.INFO: neon service started
[2025-03-10 18:42:01] Production.INFO: ==17785== Releasing lock...
[2025-03-10 18:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:42:02] Production.INFO: ==17789== Lock acquired, processing the job...
[2025-03-10 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:42:02] Production.INFO: ==17789== Releasing lock...
[2025-03-10 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:42:02] Production.INFO: ==17787== Lock acquired, processing the job...
[2025-03-10 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:42:02] Production.INFO: ==17787== Releasing lock...
[2025-03-10 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:42:03] Production.INFO: ==17792== Lock acquired, processing the job...
[2025-03-10 14:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:42:03] Production.INFO: ==17796== Lock acquired, processing the job...
[2025-03-10 14:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:42:03] Production.INFO: ==17794== Lock acquired, processing the job...
[2025-03-10 14:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:42:03] Production.INFO: ==17800== Lock acquired, processing the job...
[2025-03-10 14:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:42:03] Production.INFO: ==17798== Lock acquired, processing the job...
[2025-03-10 14:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:42:04] Production.INFO: ==17802== Lock acquired, processing the job...
[2025-03-10 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:42:04] Production.INFO: ==17794== Releasing lock...
[2025-03-10 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:42:04] Production.INFO: Account Balance Start.
[2025-03-10 14:42:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:42:04] Production.INFO: 117
[2025-03-10 14:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 14:42:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:42:04] Production.INFO: count ==21
[2025-03-10 14:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650200') start
[2025-03-10 14:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:42:04] Production.ERROR: done
[2025-03-10 14:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650200') end
[2025-03-10 14:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:42:04] Production.INFO: 1
[2025-03-10 14:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:42:04] Production.INFO: Total Charge 0
[2025-03-10 14:42:04] Production.INFO: CreateAllLog End
[2025-03-10 14:42:04] Production.INFO: ==17802== Releasing lock...
[2025-03-10 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:42:04] Production.ERROR: done
[2025-03-10 14:42:04] Production.INFO: Account Balance End.
[2025-03-10 14:42:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:42:05] Production.INFO: ==17798== Releasing lock...
[2025-03-10 14:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:42:05
[end_date_ymd] => 2025-03-10 14:42:05
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:42:05' and `end` < '2025-03-10 14: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-03-10 14:42:13] Production.ERROR: CronJobId end10
[2025-03-10 14:42:13] Production.INFO: ==17796== Releasing lock...
[2025-03-10 14:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:42:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:42:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:42:14] Production.INFO: call_cost start
[2025-03-10 14:42:14] Production.INFO: call_cost end
[2025-03-10 14:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:42:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:42:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:42:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:42:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:42:15] Production.INFO: ==17792== Releasing lock...
[2025-03-10 14:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:42:19] Production.INFO: count ==5049
[2025-03-10 14:42:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:42:05 - End Time 2025-03-10 14:42:05
[2025-03-10 14:42:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650201', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650201', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650201', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650201', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:42:21] Production.INFO: ProcessCDR(1,14650201,1,1,2)
[2025-03-10 14:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:42:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:42:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:42:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650201', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650201', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:42:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:42:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:42:26] Production.INFO: ==17800== Releasing lock...
[2025-03-10 14:42:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:42:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 18:43:02] Production.INFO: ==17857== Lock acquired, processing the job...
[2025-03-10 18:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:43:02] Production.INFO: neon service started
[2025-03-10 18:43:02] Production.INFO: neon service started
[2025-03-10 18:43:02] Production.INFO: ==17857== Releasing lock...
[2025-03-10 18:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:43:02] Production.INFO: ==17859== Lock acquired, processing the job...
[2025-03-10 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:43:02] Production.INFO: ==17861== Lock acquired, processing the job...
[2025-03-10 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:43:02] Production.INFO: ==17861== Releasing lock...
[2025-03-10 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:43:03] Production.INFO: ==17859== Releasing lock...
[2025-03-10 14:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:43:03] Production.INFO: ==17864== Lock acquired, processing the job...
[2025-03-10 14:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:43:04] Production.INFO: ==17866== Lock acquired, processing the job...
[2025-03-10 14:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:43:04] Production.INFO: ==17874== Lock acquired, processing the job...
[2025-03-10 14:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14: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-03-10 14:43:04] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:43:04] Production.INFO: count ==21
[2025-03-10 14:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650204') start
[2025-03-10 14:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650204') end
[2025-03-10 14:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:43:04] Production.INFO: 1
[2025-03-10 14:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:43:04] Production.INFO: ==17868== Lock acquired, processing the job...
[2025-03-10 14:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:43:04] Production.INFO: ==17874== Releasing lock...
[2025-03-10 14:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:43:04] Production.INFO: ==17870== Lock acquired, processing the job...
[2025-03-10 14:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:43:04] Production.INFO: ==17866== Releasing lock...
[2025-03-10 14:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:43:04] Production.INFO: ==17872== Lock acquired, processing the job...
[2025-03-10 14:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:43:04] Production.INFO: Account Balance Start.
[2025-03-10 14:43:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:43:04] Production.INFO: 117
[2025-03-10 14:43:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:43:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:43:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:43:04] Production.INFO: Total Charge 0
[2025-03-10 14:43:04] Production.INFO: CreateAllLog End
[2025-03-10 14:43:04] Production.ERROR: done
[2025-03-10 14:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:43:05] Production.ERROR: done
[2025-03-10 14:43:05] Production.INFO: Account Balance End.
[2025-03-10 14:43:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:43:05] Production.INFO: ==17870== Releasing lock...
[2025-03-10 14:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:43:06
[end_date_ymd] => 2025-03-10 14:43:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:43:06' and `end` < '2025-03-10 14: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-03-10 14:43:13] Production.ERROR: CronJobId end10
[2025-03-10 14:43:13] Production.INFO: ==17868== Releasing lock...
[2025-03-10 14:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:43:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:43:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:43:15] Production.INFO: call_cost start
[2025-03-10 14:43:15] Production.INFO: call_cost end
[2025-03-10 14:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:43:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:43:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:43:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:43:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:43:16] Production.INFO: ==17864== Releasing lock...
[2025-03-10 14:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:43:19] Production.INFO: count ==5061
[2025-03-10 14:43:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:43:06 - End Time 2025-03-10 14:43:06
[2025-03-10 14:43:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650206', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650206', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650206', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650206', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:43:21] Production.INFO: ProcessCDR(1,14650206,1,1,2)
[2025-03-10 14:43:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:43:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:43:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:43:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650206', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650206', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:43:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:43:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:43:26] Production.INFO: ==17872== Releasing lock...
[2025-03-10 14:43:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:43:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 18:44:01] Production.INFO: ==17932== Lock acquired, processing the job...
[2025-03-10 18:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:44:01] Production.INFO: neon service started
[2025-03-10 18:44:01] Production.INFO: neon service started
[2025-03-10 18:44:01] Production.INFO: ==17932== Releasing lock...
[2025-03-10 18:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:44:02] Production.INFO: ==17934== Lock acquired, processing the job...
[2025-03-10 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:44:02] Production.INFO: ==17934== Releasing lock...
[2025-03-10 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:44:02] Production.INFO: ==17936== Lock acquired, processing the job...
[2025-03-10 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:44:02] Production.INFO: ==17936== Releasing lock...
[2025-03-10 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:44:03] Production.INFO: ==17943== Lock acquired, processing the job...
[2025-03-10 14:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:44:03] Production.INFO: ==17950== Lock acquired, processing the job...
[2025-03-10 14:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:44:03] Production.INFO: ==17938== Lock acquired, processing the job...
[2025-03-10 14:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 14:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:44:03] Production.INFO: count ==13
[2025-03-10 14:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 14:44:03] Production.INFO: count ==21
[2025-03-10 14:44:03] Production.INFO: ==17941== Lock acquired, processing the job...
[2025-03-10 14:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650207') start
[2025-03-10 14:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650207') end
[2025-03-10 14:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:44:03] Production.INFO: 1
[2025-03-10 14:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:44:03] Production.INFO: ==17945== Lock acquired, processing the job...
[2025-03-10 14:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:44:04] Production.INFO: ==17947== Lock acquired, processing the job...
[2025-03-10 14:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:44:04] Production.INFO: ==17950== Releasing lock...
[2025-03-10 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:44:04] Production.INFO: Account Balance Start.
[2025-03-10 14:44:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:44:04] Production.INFO: 117
[2025-03-10 14:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:44:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:44:04] Production.INFO: Total Charge 0
[2025-03-10 14:44:04] Production.INFO: CreateAllLog End
[2025-03-10 14:44:04] Production.INFO: ==17941== Releasing lock...
[2025-03-10 14:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:44:04] Production.ERROR: done
[2025-03-10 14:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:44:04] Production.ERROR: done
[2025-03-10 14:44:04] Production.INFO: Account Balance End.
[2025-03-10 14:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:44:04] Production.INFO: ==17945== Releasing lock...
[2025-03-10 14:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:44:05
[end_date_ymd] => 2025-03-10 14:44:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:44:05' and `end` < '2025-03-10 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-03-10 14:44:12] Production.ERROR: CronJobId end10
[2025-03-10 14:44:12] Production.INFO: ==17943== Releasing lock...
[2025-03-10 14:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:44:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:44:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:44:15] Production.INFO: call_cost start
[2025-03-10 14:44:15] Production.INFO: call_cost end
[2025-03-10 14:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:44:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:44:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:44:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:44:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:44:16] Production.INFO: ==17938== Releasing lock...
[2025-03-10 14:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:44:19] Production.INFO: count ==5062
[2025-03-10 14:44:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:44:05 - End Time 2025-03-10 14:44:05
[2025-03-10 14:44:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650211', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650211', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650211', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650211', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:44:21] Production.INFO: ProcessCDR(1,14650211,1,1,2)
[2025-03-10 14:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650211', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650211', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:44:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:44:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:44:26] Production.INFO: ==17947== Releasing lock...
[2025-03-10 14:44:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:44:26] Production.INFO: 65.75 MB #Memory Used#
[2025-03-10 18:45:02] Production.INFO: ==18005== Lock acquired, processing the job...
[2025-03-10 18:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:45:02] Production.INFO: neon service started
[2025-03-10 18:45:02] Production.INFO: neon service started
[2025-03-10 18:45:02] Production.INFO: ==18005== Releasing lock...
[2025-03-10 18:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:45:02] Production.INFO: ==18007== Lock acquired, processing the job...
[2025-03-10 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:45:02] Production.INFO: ==18009== Lock acquired, processing the job...
[2025-03-10 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:45:02] Production.INFO: ==18009== Releasing lock...
[2025-03-10 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:45:03] Production.INFO: ==18007== Releasing lock...
[2025-03-10 14:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:45:04] Production.INFO: ==18018== Lock acquired, processing the job...
[2025-03-10 14:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:45:04] Production.INFO: Account Balance Start.
[2025-03-10 14:45:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:45:04] Production.INFO: 117
[2025-03-10 14:45:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:45:04] Production.INFO: ==18012== Lock acquired, processing the job...
[2025-03-10 14:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:45:04] Production.INFO: ==18022== Lock acquired, processing the job...
[2025-03-10 14:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:45:04] Production.INFO: ==18014== Lock acquired, processing the job...
[2025-03-10 14:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:45:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:45:04] Production.INFO: ==18016== Lock acquired, processing the job...
[2025-03-10 14:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:45:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:45:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:45:04] Production.INFO: ==18020== Lock acquired, processing the job...
[2025-03-10 14:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14: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-03-10 14:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:45:04] Production.INFO: Total Charge 0
[2025-03-10 14:45:04] Production.INFO: count ==13
[2025-03-10 14:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14: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-03-10 14:45:04] Production.INFO: count ==21
[2025-03-10 14:45:04] Production.INFO: CreateAllLog End
[2025-03-10 14:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650215') start
[2025-03-10 14:45:04] Production.INFO: ==18014== Releasing lock...
[2025-03-10 14:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650215') end
[2025-03-10 14:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:45:04] Production.INFO: 1
[2025-03-10 14:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:45:04] Production.INFO: ==18022== Releasing lock...
[2025-03-10 14:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:45:04] Production.INFO: Account Balance End.
[2025-03-10 14:45:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:45:04] Production.INFO: ==18018== Releasing lock...
[2025-03-10 14:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:45:04] Production.ERROR: done
[2025-03-10 14:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:45:05] Production.ERROR: done
[2025-03-10 14:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:45:06
[end_date_ymd] => 2025-03-10 14:45:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:45:06' and `end` < '2025-03-10 14: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-03-10 14:45:14] Production.ERROR: CronJobId end10
[2025-03-10 14:45:14] Production.INFO: ==18016== Releasing lock...
[2025-03-10 14:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:45:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:45:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:45:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:45:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:45:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:45:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:45:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:45:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:45:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:45:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:45:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:45:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:45:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:45:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:45:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:45:16] Production.INFO: call_cost start
[2025-03-10 14:45:16] Production.INFO: call_cost end
[2025-03-10 14:45:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:45:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:45:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:45:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:45:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:45:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:45:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:45:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:45:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:45:17] Production.INFO: ==18012== Releasing lock...
[2025-03-10 14:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:45:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:45:19] Production.INFO: count ==5063
[2025-03-10 14:45:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:45:06 - End Time 2025-03-10 14:45:06
[2025-03-10 14:45:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650216', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650216', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650216', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650216', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:45:22] Production.INFO: ProcessCDR(1,14650216,1,1,2)
[2025-03-10 14:45:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:45:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:45:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650216', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650216', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:45:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:45:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:45:27] Production.INFO: ==18020== Releasing lock...
[2025-03-10 14:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:45:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:46:01] Production.INFO: ==18077== Lock acquired, processing the job...
[2025-03-10 18:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:46:01] Production.INFO: neon service started
[2025-03-10 18:46:01] Production.INFO: neon service started
[2025-03-10 18:46:01] Production.INFO: ==18077== Releasing lock...
[2025-03-10 18:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:46:02] Production.INFO: ==18079== Lock acquired, processing the job...
[2025-03-10 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:46:02] Production.INFO: ==18079== Releasing lock...
[2025-03-10 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:46:02] Production.INFO: ==18081== Lock acquired, processing the job...
[2025-03-10 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:46:02] Production.INFO: ==18081== Releasing lock...
[2025-03-10 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:46:03] Production.INFO: ==18087== Lock acquired, processing the job...
[2025-03-10 14:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:46:03] Production.INFO: ==18093== Lock acquired, processing the job...
[2025-03-10 14:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:46:03] Production.INFO: ==18083== Lock acquired, processing the job...
[2025-03-10 14:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:46:03] Production.INFO: ==18085== Lock acquired, processing the job...
[2025-03-10 14:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 14:46:03] Production.INFO: count ==13
[2025-03-10 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-03-10 14:46:03] Production.INFO: ==18089== Lock acquired, processing the job...
[2025-03-10 14:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:46:03] Production.INFO: count ==21
[2025-03-10 14:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650217') start
[2025-03-10 14:46:03] Production.INFO: ==18091== Lock acquired, processing the job...
[2025-03-10 14:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650217') end
[2025-03-10 14:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:46:03] Production.INFO: 1
[2025-03-10 14:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:46:03] Production.INFO: Account Balance Start.
[2025-03-10 14:46:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:46:03] Production.INFO: 117
[2025-03-10 14:46:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:46:04] Production.INFO: ==18093== Releasing lock...
[2025-03-10 14:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:46:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:46:04] Production.INFO: Total Charge 0
[2025-03-10 14:46:04] Production.INFO: CreateAllLog End
[2025-03-10 14:46:04] Production.INFO: ==18085== Releasing lock...
[2025-03-10 14:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:46:04] Production.ERROR: done
[2025-03-10 14:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:46:04] Production.INFO: Account Balance End.
[2025-03-10 14:46:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:46:04] Production.INFO: ==18089== Releasing lock...
[2025-03-10 14:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:46:04] Production.ERROR: done
[2025-03-10 14:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:46:05
[end_date_ymd] => 2025-03-10 14:46:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:46:05' and `end` < '2025-03-10 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-03-10 14:46:13] Production.ERROR: CronJobId end10
[2025-03-10 14:46:13] Production.INFO: ==18087== Releasing lock...
[2025-03-10 14:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:46:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:46:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:46:15] Production.INFO: call_cost start
[2025-03-10 14:46:15] Production.INFO: call_cost end
[2025-03-10 14:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:46:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:46:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:46:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:46:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:46:16] Production.INFO: ==18083== Releasing lock...
[2025-03-10 14:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:46:18] Production.INFO: count ==5082
[2025-03-10 14:46:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:46:05 - End Time 2025-03-10 14:46:05
[2025-03-10 14:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650221', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650221', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650221', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650221', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:46:21] Production.INFO: ProcessCDR(1,14650221,1,1,2)
[2025-03-10 14:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:46:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:46:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:46:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650221', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650221', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:46:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:46:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:46:27] Production.INFO: ==18091== Releasing lock...
[2025-03-10 14:46:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:46:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:47:02] Production.INFO: ==18149== Lock acquired, processing the job...
[2025-03-10 18:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:47:02] Production.INFO: neon service started
[2025-03-10 18:47:02] Production.INFO: neon service started
[2025-03-10 18:47:02] Production.INFO: ==18149== Releasing lock...
[2025-03-10 18:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:47:02] Production.INFO: ==18151== Lock acquired, processing the job...
[2025-03-10 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:47:02] Production.INFO: ==18151== Releasing lock...
[2025-03-10 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:47:03] Production.INFO: ==18153== Lock acquired, processing the job...
[2025-03-10 18:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:47:03] Production.INFO: ==18153== Releasing lock...
[2025-03-10 18:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:47:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:47:04] Production.INFO: ==18160== Lock acquired, processing the job...
[2025-03-10 14:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:47:04] Production.INFO: ==18166== Lock acquired, processing the job...
[2025-03-10 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14: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-03-10 14:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:47:04] Production.INFO: count ==13
[2025-03-10 14:47:04] Production.INFO: ==18156== Lock acquired, processing the job...
[2025-03-10 14: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-03-10 14:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:47:04] Production.INFO: count ==21
[2025-03-10 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650222') start
[2025-03-10 14:47:04] Production.INFO: ==18162== Lock acquired, processing the job...
[2025-03-10 14:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:47:04] Production.INFO: ==18158== Lock acquired, processing the job...
[2025-03-10 14:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650222') end
[2025-03-10 14:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:47:04] Production.INFO: 1
[2025-03-10 14:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:47:04] Production.INFO: ==18164== Lock acquired, processing the job...
[2025-03-10 14:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:47:04] Production.INFO: ==18166== Releasing lock...
[2025-03-10 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:47:04] Production.INFO: Account Balance Start.
[2025-03-10 14:47:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:47:04] Production.INFO: 117
[2025-03-10 14:47:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:47:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:47:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:47:04] Production.INFO: Total Charge 0
[2025-03-10 14:47:04] Production.INFO: CreateAllLog End
[2025-03-10 14:47:04] Production.INFO: ==18158== Releasing lock...
[2025-03-10 14:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:47:04] Production.ERROR: done
[2025-03-10 14:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:47:04] Production.INFO: Account Balance End.
[2025-03-10 14:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:47:04] Production.INFO: ==18162== Releasing lock...
[2025-03-10 14:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:47:05] Production.ERROR: done
[2025-03-10 14:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:47:06
[end_date_ymd] => 2025-03-10 14:47:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:47:06' and `end` < '2025-03-10 14: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-03-10 14:47:14] Production.ERROR: CronJobId end10
[2025-03-10 14:47:14] Production.INFO: ==18160== Releasing lock...
[2025-03-10 14:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:47:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:47:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:47:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:47:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:47:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:47:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:47:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:47:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:47:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:47:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:47:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:47:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:47:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:47:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:47:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:47:17] Production.INFO: call_cost start
[2025-03-10 14:47:17] Production.INFO: call_cost end
[2025-03-10 14:47:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:47:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:47:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:47:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:47:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:47:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:47:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:47:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:47:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:47:18] Production.INFO: ==18156== Releasing lock...
[2025-03-10 14:47:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:47:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:47:19] Production.INFO: count ==5071
[2025-03-10 14:47:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:47:06 - End Time 2025-03-10 14:47:06
[2025-03-10 14:47:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650226', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650226', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650226', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650226', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:47:21] Production.INFO: ProcessCDR(1,14650226,1,1,2)
[2025-03-10 14:47:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:47:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:47:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:47:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650226', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650226', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:47:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:47:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:47:27] Production.INFO: ==18164== Releasing lock...
[2025-03-10 14:47:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:47:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:48:01] Production.INFO: ==18225== Lock acquired, processing the job...
[2025-03-10 18:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:48:01] Production.INFO: neon service started
[2025-03-10 18:48:01] Production.INFO: neon service started
[2025-03-10 18:48:01] Production.INFO: ==18225== Releasing lock...
[2025-03-10 18:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:48:02] Production.INFO: ==18228== Lock acquired, processing the job...
[2025-03-10 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:48:02] Production.INFO: ==18228== Releasing lock...
[2025-03-10 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:48:02] Production.INFO: ==18230== Lock acquired, processing the job...
[2025-03-10 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:48:02] Production.INFO: ==18230== Releasing lock...
[2025-03-10 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:48:03] Production.INFO: ==18232== Lock acquired, processing the job...
[2025-03-10 14:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:48:03] Production.INFO: ==18234== Lock acquired, processing the job...
[2025-03-10 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:48:03] Production.INFO: ==18236== Lock acquired, processing the job...
[2025-03-10 14:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:48:03] Production.INFO: ==18238== Lock acquired, processing the job...
[2025-03-10 14:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:48:03] Production.INFO: ==18240== Lock acquired, processing the job...
[2025-03-10 14:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:48:03] Production.INFO: ==18242== Lock acquired, processing the job...
[2025-03-10 14:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:48:03] Production.INFO: Account Balance Start.
[2025-03-10 14:48:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:48:03] Production.INFO: 117
[2025-03-10 14:48:03] Production.INFO: ==18234== Releasing lock...
[2025-03-10 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:48:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:48:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 14:48:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:48:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:48:04] Production.INFO: count ==21
[2025-03-10 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650230') start
[2025-03-10 14:48:04] Production.ERROR: done
[2025-03-10 14:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:48:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:48:04] Production.INFO: Total Charge 0
[2025-03-10 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650230') end
[2025-03-10 14:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:48:04] Production.INFO: 1
[2025-03-10 14:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:48:04] Production.INFO: CreateAllLog End
[2025-03-10 14:48:04] Production.ERROR: done
[2025-03-10 14:48:04] Production.INFO: ==18242== Releasing lock...
[2025-03-10 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:48:04] Production.INFO: Account Balance End.
[2025-03-10 14:48:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:48:04] Production.INFO: ==18238== Releasing lock...
[2025-03-10 14:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:48:05
[end_date_ymd] => 2025-03-10 14:48:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:48:05' and `end` < '2025-03-10 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-03-10 14:48:12] Production.ERROR: CronJobId end10
[2025-03-10 14:48:13] Production.INFO: ==18236== Releasing lock...
[2025-03-10 14:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:48:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:48:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:48:15] Production.INFO: call_cost start
[2025-03-10 14:48:15] Production.INFO: call_cost end
[2025-03-10 14:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:48:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:48:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:48:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:48:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:48:15] Production.INFO: ==18232== Releasing lock...
[2025-03-10 14:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:48:18] Production.INFO: count ==5072
[2025-03-10 14:48:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:48:05 - End Time 2025-03-10 14:48:05
[2025-03-10 14:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650231', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650231', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650231', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650231', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:48:20] Production.INFO: ProcessCDR(1,14650231,1,1,2)
[2025-03-10 14:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:48:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650231', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650231', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:48:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:48:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:48:26] Production.INFO: ==18240== Releasing lock...
[2025-03-10 14:48:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:48:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:49:02] Production.INFO: ==18337== Lock acquired, processing the job...
[2025-03-10 18:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:49:02] Production.INFO: neon service started
[2025-03-10 18:49:02] Production.INFO: neon service started
[2025-03-10 18:49:02] Production.INFO: ==18337== Releasing lock...
[2025-03-10 18:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:49:02] Production.INFO: ==18339== Lock acquired, processing the job...
[2025-03-10 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:49:02] Production.INFO: ==18341== Lock acquired, processing the job...
[2025-03-10 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:49:02] Production.INFO: ==18341== Releasing lock...
[2025-03-10 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:49:03] Production.INFO: ==18339== Releasing lock...
[2025-03-10 14:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:49:04] Production.INFO: ==18344== Lock acquired, processing the job...
[2025-03-10 14:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:49:04] Production.INFO: ==18346== Lock acquired, processing the job...
[2025-03-10 14:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:49:04] Production.INFO: ==18354== Lock acquired, processing the job...
[2025-03-10 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:49:04] Production.INFO: ==18348== Lock acquired, processing the job...
[2025-03-10 14:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:49:04] Production.INFO: ==18350== Lock acquired, processing the job...
[2025-03-10 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:49:04] Production.INFO: ==18352== Lock acquired, processing the job...
[2025-03-10 14:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 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-03-10 14:49:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:49:04] Production.INFO: count ==21
[2025-03-10 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650234') start
[2025-03-10 14:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:49:04] Production.INFO: Account Balance Start.
[2025-03-10 14:49:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:49:04] Production.INFO: 117
[2025-03-10 14:49:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650234') end
[2025-03-10 14:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:49:04] Production.INFO: 1
[2025-03-10 14:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:49:04] Production.INFO: Total Charge 0
[2025-03-10 14:49:04] Production.INFO: CreateAllLog End
[2025-03-10 14:49:04] Production.INFO: ==18354== Releasing lock...
[2025-03-10 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:49:04] Production.INFO: ==18346== Releasing lock...
[2025-03-10 14:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:49:05] Production.ERROR: done
[2025-03-10 14:49:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:49:05] Production.INFO: Account Balance End.
[2025-03-10 14:49:05] Production.ERROR: done
[2025-03-10 14:49:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:49:05] Production.INFO: ==18350== Releasing lock...
[2025-03-10 14:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:49:06
[end_date_ymd] => 2025-03-10 14:49:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:49:06' and `end` < '2025-03-10 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-03-10 14:49:14] Production.ERROR: CronJobId end10
[2025-03-10 14:49:14] Production.INFO: ==18348== Releasing lock...
[2025-03-10 14:49:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:49:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:49:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:49:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:49:15] Production.INFO: call_cost start
[2025-03-10 14:49:15] Production.INFO: call_cost end
[2025-03-10 14:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:49:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:49:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:49:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:49:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:49:16] Production.INFO: ==18344== Releasing lock...
[2025-03-10 14:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:49:19] Production.INFO: count ==5062
[2025-03-10 14:49:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:49:06 - End Time 2025-03-10 14:49:06
[2025-03-10 14:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650236', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650236', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650236', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650236', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:49:21] Production.INFO: ProcessCDR(1,14650236,1,1,2)
[2025-03-10 14:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:49:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:49:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650236', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650236', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:49:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:49:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:49:27] Production.INFO: ==18352== Releasing lock...
[2025-03-10 14:49:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:49:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:50:01] Production.INFO: ==18410== Lock acquired, processing the job...
[2025-03-10 18:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:50:01] Production.INFO: neon service started
[2025-03-10 18:50:01] Production.INFO: neon service started
[2025-03-10 18:50:01] Production.INFO: ==18410== Releasing lock...
[2025-03-10 18:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:50:02] Production.INFO: ==18412== Lock acquired, processing the job...
[2025-03-10 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:50:02] Production.INFO: ==18414== Lock acquired, processing the job...
[2025-03-10 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:50:02] Production.INFO: ==18414== Releasing lock...
[2025-03-10 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:50:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:50:02] Production.INFO: ==18412== Releasing lock...
[2025-03-10 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:50:03] Production.INFO: ==18424== Lock acquired, processing the job...
[2025-03-10 14:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:50:03] Production.INFO: Account Balance Start.
[2025-03-10 14:50:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:50:03] Production.INFO: 117
[2025-03-10 14:50:03] Production.INFO: Date 2025-03-08
[2025-03-10 14:50:03] Production.INFO: ==18429== Lock acquired, processing the job...
[2025-03-10 14:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 14:50:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:50:03] Production.INFO: ==18431== Lock acquired, processing the job...
[2025-03-10 14:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:50:03] Production.INFO: Date 2025-03-09
[2025-03-10 14:50:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:50:03] Production.INFO: Date 2025-03-10
[2025-03-10 14:50:03] Production.INFO: Reseller ==> 0
[2025-03-10 14:50:03] Production.INFO: Total Charge 0
[2025-03-10 14:50:03] Production.INFO: CreateAllLog End
[2025-03-10 14:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 14:50:04] Production.INFO: ==18418== Lock acquired, processing the job...
[2025-03-10 14:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:50:04] Production.INFO: ==18420== Lock acquired, processing the job...
[2025-03-10 14:50:04] Production.INFO: ==18416== Lock acquired, processing the job...
[2025-03-10 14:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:50:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:50:04] Production.INFO: count ==21
[2025-03-10 14:50:04] Production.INFO: ==18422== Lock acquired, processing the job...
[2025-03-10 14:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650238') start
[2025-03-10 14:50:04] Production.INFO: ==18426== Lock acquired, processing the job...
[2025-03-10 14:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 14:50:04] Production.ERROR: CronJob PID - 18418
[2025-03-10 14:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 14:50:04] Production.ERROR: CronJob ID - 5
[2025-03-10 14:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 14:50:00
[2025-03-10 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 14:50:04] Production.ERROR: CronJob PID - 18420
[2025-03-10 14:50:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 14:50:04] Production.ERROR: CronJob ID - 7
[2025-03-10 14:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 14:50:00
[2025-03-10 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 14:50:04] Production.ERROR: CronJob PID - 18422
[2025-03-10 14:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 14:50:04] Production.ERROR: CronJob ID - 10
[2025-03-10 14:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 14:50:00
[2025-03-10 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 14:50:04] Production.ERROR: CronJob PID - 18424
[2025-03-10 14:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 14:50:04] Production.ERROR: CronJob ID - 12
[2025-03-10 14:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 14:50:00
[2025-03-10 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 14:50:04] Production.ERROR: CronJob PID - 18429
[2025-03-10 14:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 14:50:04] Production.ERROR: CronJob ID - 17
[2025-03-10 14:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 14:50:00
[2025-03-10 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 14:50:04] Production.ERROR: CronJob PID - 18431
[2025-03-10 14:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 14:50:04] Production.ERROR: CronJob ID - 19
[2025-03-10 14:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 14:50:00
[2025-03-10 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 14:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650238') end
[2025-03-10 14:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:50:04] Production.INFO: 1
[2025-03-10 14:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 14:50:04] Production.INFO: ==18416== Releasing lock...
[2025-03-10 14:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 14:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 14:50:04] Production.INFO: ==18431== Releasing lock...
[2025-03-10 14:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:50:04] Production.ERROR: done
[2025-03-10 14:50:04] Production.INFO: Account Balance End.
[2025-03-10 14:50:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:50:04] Production.INFO: ==18424== Releasing lock...
[2025-03-10 14:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 14:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650241', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 14:50:04] Production.INFO: ==18420== Releasing lock...
[2025-03-10 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:50:05] Production.ERROR: done
[2025-03-10 14:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:50:05] Production.ERROR: done
[2025-03-10 14:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:50:06
[end_date_ymd] => 2025-03-10 14:50:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:50:06' and `end` < '2025-03-10 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-03-10 14:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650241', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 14:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 14:50:09] Production.INFO: ProcessCDR(1,14650241,1,1,2)
[2025-03-10 14:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650241,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650241,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:50:09] Production.INFO: ==18429== Releasing lock...
[2025-03-10 14:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 14:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 14:50:15] Production.ERROR: CronJobId end10
[2025-03-10 14:50:15] Production.INFO: ==18422== Releasing lock...
[2025-03-10 14:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:50:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:50:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:50:17] Production.INFO: call_cost start
[2025-03-10 14:50:17] Production.INFO: call_cost end
[2025-03-10 14:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:50:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:50:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:50:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:50:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:50:18] Production.INFO: ==18418== Releasing lock...
[2025-03-10 14:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:50:19] Production.INFO: count ==5073
[2025-03-10 14:50:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:50:06 - End Time 2025-03-10 14:50:06
[2025-03-10 14:50:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650242', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650242', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650242', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650242', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:50:21] Production.INFO: ProcessCDR(1,14650242,1,1,2)
[2025-03-10 14:50:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:50:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:50:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:50:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:50:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650242', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650242', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:50:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:50:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:50:27] Production.INFO: ==18426== Releasing lock...
[2025-03-10 14:50:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:50:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:51:02] Production.INFO: ==18484== Lock acquired, processing the job...
[2025-03-10 18:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:51:02] Production.INFO: neon service started
[2025-03-10 18:51:02] Production.INFO: neon service started
[2025-03-10 18:51:02] Production.INFO: ==18484== Releasing lock...
[2025-03-10 18:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:51:02] Production.INFO: ==18486== Lock acquired, processing the job...
[2025-03-10 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:51:03] Production.INFO: ==18486== Releasing lock...
[2025-03-10 14:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:51:03] Production.INFO: ==18488== Lock acquired, processing the job...
[2025-03-10 18:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:51:03] Production.INFO: ==18488== Releasing lock...
[2025-03-10 18:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:51:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:51:03] Production.INFO: ==18490== Lock acquired, processing the job...
[2025-03-10 14:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:51:03] Production.INFO: ==18492== Lock acquired, processing the job...
[2025-03-10 14:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:51:03] Production.INFO: ==18496== Lock acquired, processing the job...
[2025-03-10 14:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:51:03] Production.INFO: Account Balance Start.
[2025-03-10 14:51:03] Production.INFO: CreateAllLog Start
[2025-03-10 14:51:04] Production.INFO: 117
[2025-03-10 14:51:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:51:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:51:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:51:04] Production.INFO: Total Charge 0
[2025-03-10 14:51:04] Production.INFO: CreateAllLog End
[2025-03-10 14:51:04] Production.INFO: ==18494== Lock acquired, processing the job...
[2025-03-10 14:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:51:04] Production.INFO: ==18500== Lock acquired, processing the job...
[2025-03-10 14:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:51:04] Production.INFO: ==18492== Releasing lock...
[2025-03-10 14:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 14:51:04] Production.INFO: ==18498== Lock acquired, processing the job...
[2025-03-10 14:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:51:04] Production.INFO: Account Balance End.
[2025-03-10 14:51:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:51:04] Production.INFO: ==18496== Releasing lock...
[2025-03-10 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:51:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:51:04] Production.INFO: count ==21
[2025-03-10 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650246') start
[2025-03-10 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650246') end
[2025-03-10 14:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:51:04] Production.INFO: 1
[2025-03-10 14:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:51:04] Production.INFO: ==18500== Releasing lock...
[2025-03-10 14:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:51:04] Production.ERROR: done
[2025-03-10 14:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:51:05] Production.ERROR: done
[2025-03-10 14:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:51:06
[end_date_ymd] => 2025-03-10 14:51:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:51:06' and `end` < '2025-03-10 14: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-03-10 14:51:13] Production.ERROR: CronJobId end10
[2025-03-10 14:51:13] Production.INFO: ==18494== Releasing lock...
[2025-03-10 14:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:51:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:51:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:51:15] Production.INFO: call_cost start
[2025-03-10 14:51:15] Production.INFO: call_cost end
[2025-03-10 14:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:51:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:51:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:51:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:51:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:51:16] Production.INFO: ==18490== Releasing lock...
[2025-03-10 14:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:51:19] Production.INFO: count ==5121
[2025-03-10 14:51:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:51:06 - End Time 2025-03-10 14:51:06
[2025-03-10 14:51:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650247', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650247', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650247', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650247', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:51:21] Production.INFO: ProcessCDR(1,14650247,1,1,2)
[2025-03-10 14:51:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:51:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:51:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650247', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650247', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:51:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:51:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:51:26] Production.INFO: ==18498== Releasing lock...
[2025-03-10 14:51:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:51:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 18:52:01] Production.INFO: ==18554== Lock acquired, processing the job...
[2025-03-10 18:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:52:01] Production.INFO: neon service started
[2025-03-10 18:52:01] Production.INFO: neon service started
[2025-03-10 18:52:01] Production.INFO: ==18554== Releasing lock...
[2025-03-10 18:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:52:02] Production.INFO: ==18556== Lock acquired, processing the job...
[2025-03-10 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:52:02] Production.INFO: ==18558== Lock acquired, processing the job...
[2025-03-10 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:52:02] Production.INFO: ==18558== Releasing lock...
[2025-03-10 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:52:02] Production.INFO: ==18556== Releasing lock...
[2025-03-10 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:52:03] Production.INFO: ==18561== Lock acquired, processing the job...
[2025-03-10 14:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:52:03] Production.INFO: ==18565== Lock acquired, processing the job...
[2025-03-10 14:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:52:03] Production.INFO: ==18563== Lock acquired, processing the job...
[2025-03-10 14:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:52:03] Production.INFO: ==18567== Lock acquired, processing the job...
[2025-03-10 14:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:52:04] Production.INFO: ==18563== Releasing lock...
[2025-03-10 14:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:52:04] Production.INFO: ==18569== Lock acquired, processing the job...
[2025-03-10 14:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:52:04] Production.INFO: ==18571== Lock acquired, processing the job...
[2025-03-10 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:52:04] Production.INFO: Account Balance Start.
[2025-03-10 14:52:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:52:04] Production.INFO: 117
[2025-03-10 14:52:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:52:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 14:52:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:52:04] Production.INFO: count ==13
[2025-03-10 14:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 14:52:04] Production.INFO: count ==21
[2025-03-10 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650251') start
[2025-03-10 14:52:04] Production.INFO: Total Charge 0
[2025-03-10 14:52:04] Production.INFO: CreateAllLog End
[2025-03-10 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650251') end
[2025-03-10 14:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:52:04] Production.INFO: 1
[2025-03-10 14:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:52:04] Production.INFO: ==18571== Releasing lock...
[2025-03-10 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:52:04] Production.ERROR: done
[2025-03-10 14:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:52:04] Production.INFO: Account Balance End.
[2025-03-10 14:52:04] Production.ERROR: done
[2025-03-10 14:52:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:52:04] Production.INFO: ==18567== Releasing lock...
[2025-03-10 14:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:52:06
[end_date_ymd] => 2025-03-10 14:52:06
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:52:06' and `end` < '2025-03-10 14: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-03-10 14:52:13] Production.ERROR: CronJobId end10
[2025-03-10 14:52:13] Production.INFO: ==18565== Releasing lock...
[2025-03-10 14:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:52:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:52:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:52:15] Production.INFO: call_cost start
[2025-03-10 14:52:15] Production.INFO: call_cost end
[2025-03-10 14:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:52:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:52:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:52:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:52:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:52:16] Production.INFO: ==18561== Releasing lock...
[2025-03-10 14:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:52:19] Production.INFO: count ==5101
[2025-03-10 14:52:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:52:06 - End Time 2025-03-10 14:52:06
[2025-03-10 14:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650252', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650252', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650252', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650252', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:52:21] Production.INFO: ProcessCDR(1,14650252,1,1,2)
[2025-03-10 14:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:52:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:52:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:52:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650252', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650252', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:52:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:52:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:52:26] Production.INFO: ==18569== Releasing lock...
[2025-03-10 14:52:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:52:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 18:53:02] Production.INFO: ==18628== Lock acquired, processing the job...
[2025-03-10 18:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:53:02] Production.INFO: neon service started
[2025-03-10 18:53:02] Production.INFO: neon service started
[2025-03-10 18:53:02] Production.INFO: ==18628== Releasing lock...
[2025-03-10 18:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:53:02] Production.INFO: ==18630== Lock acquired, processing the job...
[2025-03-10 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:53:02] Production.INFO: ==18630== Releasing lock...
[2025-03-10 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:53:03] Production.INFO: ==18632== Lock acquired, processing the job...
[2025-03-10 18:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:53:03] Production.INFO: ==18632== Releasing lock...
[2025-03-10 18:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:53:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:53:03] Production.INFO: ==18634== Lock acquired, processing the job...
[2025-03-10 14:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:53:03] Production.INFO: ==18636== Lock acquired, processing the job...
[2025-03-10 14:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:53:03] Production.INFO: ==18642== Lock acquired, processing the job...
[2025-03-10 14:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:53:04] Production.INFO: ==18638== Lock acquired, processing the job...
[2025-03-10 14:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:53:04] Production.INFO: ==18644== Lock acquired, processing the job...
[2025-03-10 14:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:53:04] Production.INFO: ==18636== Releasing lock...
[2025-03-10 14:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:53:04] Production.INFO: ==18640== Lock acquired, processing the job...
[2025-03-10 14:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 14:53:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:53:04] Production.INFO: count ==21
[2025-03-10 14:53:04] Production.ERROR: done
[2025-03-10 14:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:53:04] Production.INFO: Account Balance Start.
[2025-03-10 14:53:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:53:04] Production.INFO: 117
[2025-03-10 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650255') start
[2025-03-10 14:53:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:53:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:53:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:53:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650255') end
[2025-03-10 14:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:53:04] Production.INFO: 1
[2025-03-10 14:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:53:04] Production.INFO: Total Charge 0
[2025-03-10 14:53:04] Production.INFO: ==18644== Releasing lock...
[2025-03-10 14:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:53:04] Production.INFO: CreateAllLog End
[2025-03-10 14:53:04] Production.ERROR: done
[2025-03-10 14:53:04] Production.INFO: Account Balance End.
[2025-03-10 14:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:53:04] Production.INFO: ==18640== Releasing lock...
[2025-03-10 14:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:53:05
[end_date_ymd] => 2025-03-10 14:53:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:53:05' and `end` < '2025-03-10 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-03-10 14:53:14] Production.ERROR: CronJobId end10
[2025-03-10 14:53:14] Production.INFO: ==18638== Releasing lock...
[2025-03-10 14:53:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:53:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:53:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:53:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:53:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:53:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:53:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:53:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:53:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:53:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:53:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:53:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:53:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:53:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:53:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:53:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:53:16] Production.INFO: call_cost start
[2025-03-10 14:53:16] Production.INFO: call_cost end
[2025-03-10 14:53:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:53:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:53:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:53:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:53:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:53:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:53:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:53:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:53:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:53:17] Production.INFO: ==18634== Releasing lock...
[2025-03-10 14:53:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:53:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:53:18] Production.INFO: count ==5068
[2025-03-10 14:53:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:53:05 - End Time 2025-03-10 14:53:05
[2025-03-10 14:53:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650257', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650257', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650257', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650257', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:53:21] Production.INFO: ProcessCDR(1,14650257,1,1,2)
[2025-03-10 14:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:53:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:53:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:53:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650257', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650257', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:53:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:53:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:53:26] Production.INFO: ==18642== Releasing lock...
[2025-03-10 14:53:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:53:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:54:01] Production.INFO: ==18699== Lock acquired, processing the job...
[2025-03-10 18:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:54:01] Production.INFO: neon service started
[2025-03-10 18:54:01] Production.INFO: neon service started
[2025-03-10 18:54:01] Production.INFO: ==18699== Releasing lock...
[2025-03-10 18:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:54:02] Production.INFO: ==18701== Lock acquired, processing the job...
[2025-03-10 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 18:54:02] Production.INFO: ==18703== Lock acquired, processing the job...
[2025-03-10 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:54:02] Production.INFO: ==18703== Releasing lock...
[2025-03-10 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:54:02] Production.INFO: ==18701== Releasing lock...
[2025-03-10 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:54:03] Production.INFO: ==18706== Lock acquired, processing the job...
[2025-03-10 14:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:54:03] Production.INFO: ==18708== Lock acquired, processing the job...
[2025-03-10 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:54:03] Production.INFO: ==18714== Lock acquired, processing the job...
[2025-03-10 14:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:54:03] Production.INFO: ==18708== Releasing lock...
[2025-03-10 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:54:04] Production.INFO: ==18710== Lock acquired, processing the job...
[2025-03-10 14:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:54:04] Production.INFO: ==18712== Lock acquired, processing the job...
[2025-03-10 14:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:54:04] Production.INFO: ==18716== Lock acquired, processing the job...
[2025-03-10 14:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:54:04] Production.INFO: Account Balance Start.
[2025-03-10 14:54:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:54:04] Production.INFO: 117
[2025-03-10 14:54:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 14:54:04] Production.ERROR: done
[2025-03-10 14:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:54:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:54:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:54:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:54:04] Production.INFO: Total Charge 0
[2025-03-10 14:54:04] Production.INFO: count ==21
[2025-03-10 14:54:04] Production.INFO: CreateAllLog End
[2025-03-10 14:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650261') start
[2025-03-10 14:54:04] Production.INFO: Account Balance End.
[2025-03-10 14:54:04] Production.ERROR: done
[2025-03-10 14:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650261') end
[2025-03-10 14:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:54:04] Production.INFO: 1
[2025-03-10 14:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:54:04] Production.INFO: ==18712== Releasing lock...
[2025-03-10 14:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:54:04] Production.INFO: ==18716== Releasing lock...
[2025-03-10 14:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:54:05
[end_date_ymd] => 2025-03-10 14:54:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:54:05' and `end` < '2025-03-10 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-03-10 14:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:54:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:54:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:54:14] Production.ERROR: CronJobId end10
[2025-03-10 14:54:14] Production.INFO: ==18710== Releasing lock...
[2025-03-10 14:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:54:14] Production.INFO: call_cost start
[2025-03-10 14:54:14] Production.INFO: call_cost end
[2025-03-10 14:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:54:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:54:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:54:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:54:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:54:15] Production.INFO: ==18706== Releasing lock...
[2025-03-10 14:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:54:18] Production.INFO: count ==5084
[2025-03-10 14:54:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:54:05 - End Time 2025-03-10 14:54:05
[2025-03-10 14:54:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650262', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650262', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650262', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650262', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:54:21] Production.INFO: ProcessCDR(1,14650262,1,1,2)
[2025-03-10 14:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:54:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:54:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:54:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650262', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650262', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:54:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:54:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:54:26] Production.INFO: ==18714== Releasing lock...
[2025-03-10 14:54:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:54:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:55:02] Production.INFO: ==18771== Lock acquired, processing the job...
[2025-03-10 18:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:55:02] Production.INFO: neon service started
[2025-03-10 18:55:02] Production.INFO: neon service started
[2025-03-10 18:55:02] Production.INFO: ==18771== Releasing lock...
[2025-03-10 18:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:55:02] Production.INFO: ==18773== Lock acquired, processing the job...
[2025-03-10 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:55:03] Production.INFO: ==18773== Releasing lock...
[2025-03-10 14:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:55:03] Production.INFO: ==18775== Lock acquired, processing the job...
[2025-03-10 18:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:55:03] Production.INFO: ==18775== Releasing lock...
[2025-03-10 18:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:55:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:55:03] Production.INFO: ==18778== Lock acquired, processing the job...
[2025-03-10 14:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:55:03] Production.INFO: ==18780== Lock acquired, processing the job...
[2025-03-10 14:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:55:04] Production.INFO: ==18786== Lock acquired, processing the job...
[2025-03-10 14:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:55:04] Production.INFO: ==18788== Lock acquired, processing the job...
[2025-03-10 14:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:55:04] Production.INFO: ==18782== Lock acquired, processing the job...
[2025-03-10 14:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:55:04] Production.INFO: ==18784== Lock acquired, processing the job...
[2025-03-10 14:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:55:04] Production.INFO: Account Balance Start.
[2025-03-10 14:55:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:55:04] Production.INFO: 117
[2025-03-10 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-03-10 14:55:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:55:04] Production.INFO: count ==13
[2025-03-10 14:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 14:55:04] Production.INFO: count ==21
[2025-03-10 14:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:55:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650265') start
[2025-03-10 14:55:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:55:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:55:04] Production.INFO: ==18780== Releasing lock...
[2025-03-10 14:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:55:04] Production.INFO: Total Charge 0
[2025-03-10 14:55:04] Production.INFO: CreateAllLog End
[2025-03-10 14:55:04] Production.ERROR: done
[2025-03-10 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650265') end
[2025-03-10 14:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:55:04] Production.INFO: 1
[2025-03-10 14:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:55:04] Production.INFO: ==18788== Releasing lock...
[2025-03-10 14:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:55:04] Production.ERROR: done
[2025-03-10 14:55:04] Production.INFO: Account Balance End.
[2025-03-10 14:55:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:55:05] Production.INFO: ==18784== Releasing lock...
[2025-03-10 14:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:55:05
[end_date_ymd] => 2025-03-10 14:55:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:55:05' and `end` < '2025-03-10 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-03-10 14:55:13] Production.ERROR: CronJobId end10
[2025-03-10 14:55:13] Production.INFO: ==18782== Releasing lock...
[2025-03-10 14:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:55:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:55:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:55:16] Production.INFO: call_cost start
[2025-03-10 14:55:16] Production.INFO: call_cost end
[2025-03-10 14:55:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:55:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:55:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:55:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:55:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:55:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:55:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:55:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:55:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:55:17] Production.INFO: ==18778== Releasing lock...
[2025-03-10 14:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:55:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:55:19] Production.INFO: count ==5098
[2025-03-10 14:55:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:55:05 - End Time 2025-03-10 14:55:05
[2025-03-10 14:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650267', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650267', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650267', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650267', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:55:21] Production.INFO: ProcessCDR(1,14650267,1,1,2)
[2025-03-10 14:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:55:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650267', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650267', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:55:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:55:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:55:26] Production.INFO: ==18786== Releasing lock...
[2025-03-10 14:55:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:55:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 18:56:01] Production.INFO: ==18844== Lock acquired, processing the job...
[2025-03-10 18:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:56:01] Production.INFO: neon service started
[2025-03-10 18:56:01] Production.INFO: neon service started
[2025-03-10 18:56:01] Production.INFO: ==18844== Releasing lock...
[2025-03-10 18:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 18:56:02] Production.INFO: ==18848== Lock acquired, processing the job...
[2025-03-10 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:56:02] Production.INFO: ==18848== Releasing lock...
[2025-03-10 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:56:02] Production.INFO: ==18846== Lock acquired, processing the job...
[2025-03-10 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:56:02] Production.INFO: ==18846== Releasing lock...
[2025-03-10 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 14:56:03] Production.INFO: ==18859== Lock acquired, processing the job...
[2025-03-10 14:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:56:03] Production.INFO: ==18851== Lock acquired, processing the job...
[2025-03-10 14:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:56:03] Production.INFO: ==18861== Lock acquired, processing the job...
[2025-03-10 14:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:56:03] Production.INFO: ==18853== Lock acquired, processing the job...
[2025-03-10 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:56:04] Production.INFO: ==18855== Lock acquired, processing the job...
[2025-03-10 14:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:56:04] Production.INFO: ==18857== Lock acquired, processing the job...
[2025-03-10 14:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14: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-03-10 14:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:56:04] Production.INFO: count ==13
[2025-03-10 14: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-03-10 14:56:04] Production.INFO: count ==21
[2025-03-10 14:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:56:04] Production.INFO: Account Balance Start.
[2025-03-10 14:56:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:56:04] Production.INFO: 117
[2025-03-10 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650268') start
[2025-03-10 14:56:04] Production.ERROR: done
[2025-03-10 14:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:56:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650268') end
[2025-03-10 14:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:56:04] Production.INFO: 1
[2025-03-10 14:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:56:04] Production.INFO: ==18861== Releasing lock...
[2025-03-10 14:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:56:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:56:04] Production.ERROR: done
[2025-03-10 14:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:56:04] Production.INFO: ==18853== Releasing lock...
[2025-03-10 14:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:56:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:56:04] Production.INFO: Total Charge 0
[2025-03-10 14:56:04] Production.INFO: CreateAllLog End
[2025-03-10 14:56:04] Production.INFO: Account Balance End.
[2025-03-10 14:56:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:56:04] Production.INFO: ==18857== Releasing lock...
[2025-03-10 14:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:56:05
[end_date_ymd] => 2025-03-10 14:56:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:56:05' and `end` < '2025-03-10 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-03-10 14:56:13] Production.ERROR: CronJobId end10
[2025-03-10 14:56:13] Production.INFO: ==18855== Releasing lock...
[2025-03-10 14:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:56:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:56:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:56:15] Production.INFO: call_cost start
[2025-03-10 14:56:15] Production.INFO: call_cost end
[2025-03-10 14:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:56:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:56:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:56:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:56:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:56:16] Production.INFO: ==18851== Releasing lock...
[2025-03-10 14:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:56:18] Production.INFO: count ==5091
[2025-03-10 14:56:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:56:05 - End Time 2025-03-10 14:56:05
[2025-03-10 14:56:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650272', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650272', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650272', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650272', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:56:21] Production.INFO: ProcessCDR(1,14650272,1,1,2)
[2025-03-10 14:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:56:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:56:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:56:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650272', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650272', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:56:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:56:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:56:26] Production.INFO: ==18859== Releasing lock...
[2025-03-10 14:56:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:56:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:57:02] Production.INFO: ==18920== Lock acquired, processing the job...
[2025-03-10 18:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:57:02] Production.INFO: neon service started
[2025-03-10 18:57:02] Production.INFO: neon service started
[2025-03-10 18:57:02] Production.INFO: ==18920== Releasing lock...
[2025-03-10 18:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:57:02] Production.INFO: ==18922== Lock acquired, processing the job...
[2025-03-10 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:57:02] Production.INFO: ==18922== Releasing lock...
[2025-03-10 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:57:03] Production.INFO: ==18924== Lock acquired, processing the job...
[2025-03-10 18:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:57:03] Production.INFO: ==18924== Releasing lock...
[2025-03-10 18:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:57:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:57:03] Production.INFO: ==18937== Lock acquired, processing the job...
[2025-03-10 14:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:57:03] Production.INFO: ==18932== Lock acquired, processing the job...
[2025-03-10 14:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:57:03] Production.INFO: ==18926== Lock acquired, processing the job...
[2025-03-10 14:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:57:03] Production.INFO: ==18928== Lock acquired, processing the job...
[2025-03-10 14:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:57:03] Production.INFO: ==18930== Lock acquired, processing the job...
[2025-03-10 14:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:57:04] Production.INFO: Account Balance Start.
[2025-03-10 14:57:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:57:04] Production.INFO: 117
[2025-03-10 14:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:57:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 14:57:04] Production.INFO: count ==13
[2025-03-10 14:57:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 14:57:04] Production.INFO: count ==21
[2025-03-10 14:57:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650274') start
[2025-03-10 14:57:04] Production.INFO: ==18935== Lock acquired, processing the job...
[2025-03-10 14:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:57:04] Production.INFO: Total Charge 0
[2025-03-10 14:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:57:04] Production.INFO: ==18928== Releasing lock...
[2025-03-10 14:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:57:04] Production.INFO: CreateAllLog End
[2025-03-10 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650274') end
[2025-03-10 14:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:57:04] Production.INFO: 1
[2025-03-10 14:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:57:04] Production.INFO: ==18937== Releasing lock...
[2025-03-10 14:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:57:04] Production.INFO: Account Balance End.
[2025-03-10 14:57:04] Production.ERROR: done
[2025-03-10 14:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:57:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:57:04] Production.INFO: ==18932== Releasing lock...
[2025-03-10 14:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:57:04] Production.ERROR: done
[2025-03-10 14:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:57:05
[end_date_ymd] => 2025-03-10 14:57:05
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:57:05' and `end` < '2025-03-10 14: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-03-10 14:57:12] Production.ERROR: CronJobId end10
[2025-03-10 14:57:12] Production.INFO: ==18930== Releasing lock...
[2025-03-10 14:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:57:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:57:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:57:15] Production.INFO: call_cost start
[2025-03-10 14:57:15] Production.INFO: call_cost end
[2025-03-10 14:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:57:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:57:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:57:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:57:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:57:16] Production.INFO: ==18926== Releasing lock...
[2025-03-10 14:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:57:19] Production.INFO: count ==5076
[2025-03-10 14:57:21] Production.ERROR: pbx CDR StartTime 2025-03-10 11:57:05 - End Time 2025-03-10 14:57:05
[2025-03-10 14:57:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650277', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650277', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650277', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650277', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:57:21] Production.INFO: ProcessCDR(1,14650277,1,1,2)
[2025-03-10 14:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:57:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650277', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650277', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:57:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:57:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:57:26] Production.INFO: ==18935== Releasing lock...
[2025-03-10 14:57:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:57:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:58:01] Production.INFO: ==18990== Lock acquired, processing the job...
[2025-03-10 18:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:58:01] Production.INFO: neon service started
[2025-03-10 18:58:01] Production.INFO: neon service started
[2025-03-10 18:58:01] Production.INFO: ==18990== Releasing lock...
[2025-03-10 18:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:58:02] Production.INFO: ==18992== Lock acquired, processing the job...
[2025-03-10 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:58:02] Production.INFO: ==18992== Releasing lock...
[2025-03-10 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:58:02] Production.INFO: ==18994== Lock acquired, processing the job...
[2025-03-10 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:58:02] Production.INFO: ==18994== Releasing lock...
[2025-03-10 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:58:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:58:03] Production.INFO: ==19006== Lock acquired, processing the job...
[2025-03-10 14:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:58:03] Production.INFO: ==19004== Lock acquired, processing the job...
[2025-03-10 14:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 14:58:03] Production.INFO: ==18996== Lock acquired, processing the job...
[2025-03-10 14:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:58:03] Production.INFO: ==18998== Lock acquired, processing the job...
[2025-03-10 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:58:03] Production.INFO: ==19000== Lock acquired, processing the job...
[2025-03-10 14:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 14:58:03] Production.INFO: count ==13
[2025-03-10 14:58:03] Production.INFO: ==19002== Lock acquired, processing the job...
[2025-03-10 14:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 14:58:03] Production.INFO: count ==21
[2025-03-10 14:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650278') start
[2025-03-10 14:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:58:04] Production.INFO: Account Balance Start.
[2025-03-10 14:58:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:58:04] Production.INFO: 117
[2025-03-10 14:58:04] Production.ERROR: done
[2025-03-10 14:58:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650278') end
[2025-03-10 14:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:58:04] Production.INFO: 1
[2025-03-10 14:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:58:04] Production.INFO: ==18998== Releasing lock...
[2025-03-10 14:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:58:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:58:04] Production.INFO: ==19006== Releasing lock...
[2025-03-10 14:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:58:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:58:04] Production.ERROR: done
[2025-03-10 14:58:04] Production.INFO: Total Charge 0
[2025-03-10 14:58:04] Production.INFO: CreateAllLog End
[2025-03-10 14:58:04] Production.INFO: Account Balance End.
[2025-03-10 14:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 14:58:04] Production.INFO: ==19002== Releasing lock...
[2025-03-10 14:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:58:04
[end_date_ymd] => 2025-03-10 14:58:04
[RateCDR] => 1
)
[2025-03-10 14: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-03-10 11:58:04' and `end` < '2025-03-10 14: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-03-10 14:58:13] Production.ERROR: CronJobId end10
[2025-03-10 14:58:13] Production.INFO: ==19000== Releasing lock...
[2025-03-10 14:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:58:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:58:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:58:15] Production.INFO: call_cost start
[2025-03-10 14:58:15] Production.INFO: call_cost end
[2025-03-10 14:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:58:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:58:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:58:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:58:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:58:16] Production.INFO: ==18996== Releasing lock...
[2025-03-10 14:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:58:18] Production.INFO: count ==5081
[2025-03-10 14:58:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:58:04 - End Time 2025-03-10 14:58:04
[2025-03-10 14:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650282', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650282', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650282', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650282', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:58:20] Production.INFO: ProcessCDR(1,14650282,1,1,2)
[2025-03-10 14:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:58:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:58:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:58:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650282', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650282', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:58:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:58:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:58:25] Production.INFO: ==19004== Releasing lock...
[2025-03-10 14:58:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:58:25] Production.INFO: 66 MB #Memory Used#
[2025-03-10 18:59:02] Production.INFO: ==19060== Lock acquired, processing the job...
[2025-03-10 18:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 18:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 18:59:02] Production.INFO: neon service started
[2025-03-10 18:59:02] Production.INFO: neon service started
[2025-03-10 18:59:02] Production.INFO: ==19060== Releasing lock...
[2025-03-10 18:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 18:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 14:59:02] Production.INFO: ==19062== Lock acquired, processing the job...
[2025-03-10 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 14:59:03] Production.INFO: ==19062== Releasing lock...
[2025-03-10 14:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 14:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 18:59:03] Production.INFO: ==19064== Lock acquired, processing the job...
[2025-03-10 18:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 18:59:03] Production.INFO: ==19064== Releasing lock...
[2025-03-10 18:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 18:59:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 14:59:04] Production.INFO: ==19075== Lock acquired, processing the job...
[2025-03-10 14:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 14:59:04] Production.INFO: ==19077== Lock acquired, processing the job...
[2025-03-10 14:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 14:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 14:59:04] Production.INFO: ==19067== Lock acquired, processing the job...
[2025-03-10 14:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 14:59:04] Production.INFO: ==19069== Lock acquired, processing the job...
[2025-03-10 14:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 14:59:04] Production.INFO: ==19071== Lock acquired, processing the job...
[2025-03-10 14:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 14:59:04] Production.INFO: ==19073== Lock acquired, processing the job...
[2025-03-10 14:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 14:59:04] Production.INFO: count ==13
[2025-03-10 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-03-10 14:59:04] Production.INFO: count ==21
[2025-03-10 14:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650283') start
[2025-03-10 14:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 14:59:04] Production.INFO: Account Balance Start.
[2025-03-10 14:59:04] Production.INFO: CreateAllLog Start
[2025-03-10 14:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650283') end
[2025-03-10 14:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 14:59:04] Production.INFO: 1
[2025-03-10 14:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 14:59:04] Production.INFO: 117
[2025-03-10 14:59:04] Production.INFO: ==19077== Releasing lock...
[2025-03-10 14:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 14:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 14:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 14:59:04] Production.ERROR: done
[2025-03-10 14:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 14:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 14:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 14:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 14:59:04] Production.INFO: Date 2025-03-08
[2025-03-10 14:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:59:04] Production.ERROR: done
[2025-03-10 14:59:04] Production.INFO: Date 2025-03-09
[2025-03-10 14:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:59:04] Production.INFO: Date 2025-03-10
[2025-03-10 14:59:04] Production.INFO: Reseller ==> 0
[2025-03-10 14:59:04] Production.INFO: ==19069== Releasing lock...
[2025-03-10 14:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 14:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 14:59:04] Production.INFO: Total Charge 0
[2025-03-10 14:59:04] Production.INFO: CreateAllLog End
[2025-03-10 14:59:04] Production.INFO: Account Balance End.
[2025-03-10 14:59:05] Production.ERROR: CronJobId end 12
[2025-03-10 14:59:05] Production.INFO: ==19073== Releasing lock...
[2025-03-10 14:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 14:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 14:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 11:59:05
[end_date_ymd] => 2025-03-10 14:59:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 11:59:05' and `end` < '2025-03-10 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-03-10 14:59:13] Production.ERROR: CronJobId end10
[2025-03-10 14:59:13] Production.INFO: ==19071== Releasing lock...
[2025-03-10 14:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 14:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 14:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 14:59:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 14:59:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 14:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 14:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 14:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 14:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 14:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 14:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 14:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 14:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 14:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 14:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 14:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 14:59:15] Production.INFO: call_cost start
[2025-03-10 14:59:15] Production.INFO: call_cost end
[2025-03-10 14:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 14:59:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 14:59:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 14:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 14:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 14:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 14:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 14:59:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 14:59:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 14:59:16] Production.INFO: ==19067== Releasing lock...
[2025-03-10 14:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 14:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 14:59:18] Production.INFO: count ==5093
[2025-03-10 14:59:20] Production.ERROR: pbx CDR StartTime 2025-03-10 11:59:05 - End Time 2025-03-10 14:59:05
[2025-03-10 14:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 14:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650287', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650287', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650287', 'tblTempVendorCDR_20' ) start
[2025-03-10 14:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650287', 'tblTempVendorCDR_20' ) end
[2025-03-10 14:59:20] Production.INFO: ProcessCDR(1,14650287,1,1,2)
[2025-03-10 14:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:59:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 14:59:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:59:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 14:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650287', 'tblTempUsageDetail_20' ) start
[2025-03-10 14:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650287', 'tblTempUsageDetail_20' ) end
[2025-03-10 14:59:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 14:59:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 14:59:26] Production.INFO: ==19075== Releasing lock...
[2025-03-10 14:59:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 14:59:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 19:00:01] Production.INFO: ==19137== Lock acquired, processing the job...
[2025-03-10 19:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:00:01] Production.INFO: neon service started
[2025-03-10 19:00:01] Production.INFO: neon service started
[2025-03-10 19:00:01] Production.INFO: ==19137== Releasing lock...
[2025-03-10 19:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:00:02] Production.INFO: ==19139== Lock acquired, processing the job...
[2025-03-10 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:00:02] Production.INFO: ==19141== Lock acquired, processing the job...
[2025-03-10 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:00:02] Production.INFO: ==19141== Releasing lock...
[2025-03-10 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:00:02] Production.INFO: ==19139== Releasing lock...
[2025-03-10 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:00:03] Production.INFO: ==19144== Lock acquired, processing the job...
[2025-03-10 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 15:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 15:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 15:00:03] Production.INFO: ==19144== Releasing lock...
[2025-03-10 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 15:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 15:00:03] Production.INFO: ==19146== Lock acquired, processing the job...
[2025-03-10 15:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:00:04] Production.INFO: ==19148== Lock acquired, processing the job...
[2025-03-10 15:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:00:04] Production.INFO: ==19158== Lock acquired, processing the job...
[2025-03-10 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 15:00:04] Production.INFO: ==19150== Lock acquired, processing the job...
[2025-03-10 15:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:00:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:00:04] Production.INFO: count ==21
[2025-03-10 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650290') start
[2025-03-10 15:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:00:04] Production.INFO: ==19148== Releasing lock...
[2025-03-10 15:00:04] Production.INFO: ==19154== Lock acquired, processing the job...
[2025-03-10 15:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650290') end
[2025-03-10 15:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:00:04] Production.INFO: 1
[2025-03-10 15:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:00:04] Production.INFO: ==19152== Lock acquired, processing the job...
[2025-03-10 15:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:00:04] Production.INFO: ==19158== Releasing lock...
[2025-03-10 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:00:04] Production.INFO: ==19156== Lock acquired, processing the job...
[2025-03-10 15:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 15:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:00:04] Production.INFO: Account Balance Start.
[2025-03-10 15:00:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:00:04] Production.INFO: 117
[2025-03-10 15:00:04] Production.ERROR: done
[2025-03-10 15:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:00:05] Production.INFO: Reseller ==> 0
[2025-03-10 15:00:05] Production.INFO: Date 2025-03-09
[2025-03-10 15:00:05] Production.INFO: Reseller ==> 0
[2025-03-10 15:00:05] Production.INFO: Date 2025-03-10
[2025-03-10 15:00:05] Production.INFO: Reseller ==> 0
[2025-03-10 15:00:05] Production.ERROR: done
[2025-03-10 15:00:05] Production.ERROR: done
[2025-03-10 15:00:05] Production.INFO: Total Charge 0
[2025-03-10 15:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 15:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650292', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 15:00:05] Production.INFO: CreateAllLog End
[2025-03-10 15:00:05] Production.INFO: Account Balance End.
[2025-03-10 15:00:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:00:05] Production.INFO: ==19152== Releasing lock...
[2025-03-10 15:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:00:06
[end_date_ymd] => 2025-03-10 15:00:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:00:06' and `end` < '2025-03-10 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-03-10 15:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650292', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 15:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 15:00:09] Production.INFO: ProcessCDR(1,14650292,1,1,2)
[2025-03-10 15:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650292,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650292,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:00:09] Production.INFO: ==19156== Releasing lock...
[2025-03-10 15:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 15:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 15:00:16] Production.ERROR: CronJobId end10
[2025-03-10 15:00:16] Production.INFO: ==19150== Releasing lock...
[2025-03-10 15:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:00:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:00:18] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:00:18] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:00:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:00:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:00:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:00:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:00:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:00:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:00:18] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:00:18] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:00:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:00:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:00:18] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:00:18] Production.INFO: call_cost start
[2025-03-10 15:00:18] Production.INFO: call_cost end
[2025-03-10 15:00:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:00:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:00:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:00:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:00:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:00:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:00:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:00:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:00:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:00:19] Production.INFO: ==19146== Releasing lock...
[2025-03-10 15:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:00:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:00:19] Production.INFO: count ==5069
[2025-03-10 15:00:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:00:06 - End Time 2025-03-10 15:00:06
[2025-03-10 15:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650293', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650293', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650293', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650293', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:00:22] Production.INFO: ProcessCDR(1,14650293,1,1,2)
[2025-03-10 15:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:00:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:00:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:00:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650293', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650293', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:00:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:00:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:00:27] Production.INFO: ==19154== Releasing lock...
[2025-03-10 15:00:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:00:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 19:01:01] Production.INFO: ==19300== Lock acquired, processing the job...
[2025-03-10 19:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:01:01] Production.INFO: neon service started
[2025-03-10 19:01:01] Production.INFO: neon service started
[2025-03-10 19:01:01] Production.INFO: ==19300== Releasing lock...
[2025-03-10 19:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:01:02] Production.INFO: ==19307== Lock acquired, processing the job...
[2025-03-10 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:01:02] Production.INFO: ==19309== Lock acquired, processing the job...
[2025-03-10 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:01:02] Production.INFO: ==19309== Releasing lock...
[2025-03-10 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:01:02] Production.INFO: ==19307== Releasing lock...
[2025-03-10 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:01:03] Production.INFO: ==19312== Lock acquired, processing the job...
[2025-03-10 15:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:01:03] Production.INFO: ==19316== Lock acquired, processing the job...
[2025-03-10 15:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:01:03] Production.INFO: ==19318== Lock acquired, processing the job...
[2025-03-10 15:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:01:03] Production.INFO: Account Balance Start.
[2025-03-10 15:01:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:01:03] Production.INFO: 117
[2025-03-10 15:01:03] Production.INFO: ==19314== Lock acquired, processing the job...
[2025-03-10 15:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:01:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:01:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:01:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:01:03] Production.INFO: Total Charge 0
[2025-03-10 15:01:04] Production.INFO: ==19321== Lock acquired, processing the job...
[2025-03-10 15:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:01:04] Production.INFO: CreateAllLog End
[2025-03-10 15:01:04] Production.INFO: ==19323== Lock acquired, processing the job...
[2025-03-10 15:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 15:01:04] Production.INFO: Account Balance End.
[2025-03-10 15:01:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:01:04] Production.INFO: count ==21
[2025-03-10 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650297') start
[2025-03-10 15:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:01:04] Production.INFO: ==19318== Releasing lock...
[2025-03-10 15:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:01:04] Production.INFO: ==19314== Releasing lock...
[2025-03-10 15:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650297') end
[2025-03-10 15:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:01:04] Production.INFO: 1
[2025-03-10 15:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:01:04] Production.ERROR: done
[2025-03-10 15:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:01:04] Production.INFO: ==19323== Releasing lock...
[2025-03-10 15:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:01:04] Production.ERROR: done
[2025-03-10 15:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:01:05
[end_date_ymd] => 2025-03-10 15:01:05
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:01:05' and `end` < '2025-03-10 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-03-10 15:01:13] Production.ERROR: CronJobId end10
[2025-03-10 15:01:13] Production.INFO: ==19316== Releasing lock...
[2025-03-10 15:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:01:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:01:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:01:15] Production.INFO: call_cost start
[2025-03-10 15:01:15] Production.INFO: call_cost end
[2025-03-10 15:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:01:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:01:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:01:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:01:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:01:16] Production.INFO: ==19312== Releasing lock...
[2025-03-10 15:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:01:19] Production.INFO: count ==5079
[2025-03-10 15:01:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:01:05 - End Time 2025-03-10 15:01:05
[2025-03-10 15:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650298', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650298', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650298', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650298', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:01:21] Production.INFO: ProcessCDR(1,14650298,1,1,2)
[2025-03-10 15:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:01:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650298', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650298', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:01:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:01:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:01:26] Production.INFO: ==19321== Releasing lock...
[2025-03-10 15:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:01:26] Production.INFO: 66 MB #Memory Used#
[2025-03-10 19:02:01] Production.INFO: ==19376== Lock acquired, processing the job...
[2025-03-10 19:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:02:02] Production.INFO: neon service started
[2025-03-10 19:02:02] Production.INFO: neon service started
[2025-03-10 19:02:02] Production.INFO: ==19376== Releasing lock...
[2025-03-10 19:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:02:02] Production.INFO: ==19378== Lock acquired, processing the job...
[2025-03-10 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:02:02] Production.INFO: ==19378== Releasing lock...
[2025-03-10 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:02:02] Production.INFO: ==19380== Lock acquired, processing the job...
[2025-03-10 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:02:02] Production.INFO: ==19380== Releasing lock...
[2025-03-10 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:02:03] Production.INFO: ==19385== Lock acquired, processing the job...
[2025-03-10 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:02:03] Production.INFO: ==19389== Lock acquired, processing the job...
[2025-03-10 15:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:02:03] Production.INFO: ==19391== Lock acquired, processing the job...
[2025-03-10 15:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:02:03] Production.INFO: Account Balance Start.
[2025-03-10 15:02:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:02:03] Production.INFO: 117
[2025-03-10 15:02:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:02:03] Production.INFO: ==19383== Lock acquired, processing the job...
[2025-03-10 15:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:02:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:02:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:02:03] Production.INFO: ==19387== Lock acquired, processing the job...
[2025-03-10 15:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:02:03] Production.INFO: ==19385== Releasing lock...
[2025-03-10 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:02:04] Production.INFO: ==19393== Lock acquired, processing the job...
[2025-03-10 15:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:02:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:02:04] Production.INFO: Total Charge 0
[2025-03-10 15:02:04] Production.INFO: CreateAllLog End
[2025-03-10 15:02:04] Production.ERROR: done
[2025-03-10 15:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15: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-03-10 15:02:04] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:02:04] Production.INFO: count ==21
[2025-03-10 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650302') start
[2025-03-10 15:02:04] Production.ERROR: done
[2025-03-10 15:02:04] Production.INFO: Account Balance End.
[2025-03-10 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650302') end
[2025-03-10 15:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:02:04] Production.INFO: 1
[2025-03-10 15:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:02:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:02:04] Production.INFO: ==19389== Releasing lock...
[2025-03-10 15:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:02:04] Production.INFO: ==19393== Releasing lock...
[2025-03-10 15:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:02:05
[end_date_ymd] => 2025-03-10 15:02:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:02:05' and `end` < '2025-03-10 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-03-10 15:02:12] Production.ERROR: CronJobId end10
[2025-03-10 15:02:12] Production.INFO: ==19387== Releasing lock...
[2025-03-10 15:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:02:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:02:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:02:15] Production.INFO: call_cost start
[2025-03-10 15:02:15] Production.INFO: call_cost end
[2025-03-10 15:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:02:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:02:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:02:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:02:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:02:16] Production.INFO: ==19383== Releasing lock...
[2025-03-10 15:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:02:19] Production.INFO: count ==5087
[2025-03-10 15:02:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:02:05 - End Time 2025-03-10 15:02:05
[2025-03-10 15:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650303', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650303', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650303', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650303', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:02:21] Production.INFO: ProcessCDR(1,14650303,1,1,2)
[2025-03-10 15:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:02:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:02:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:02:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650303', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650303', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:02:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:02:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:02:27] Production.INFO: ==19391== Releasing lock...
[2025-03-10 15:02:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:02:27] Production.INFO: 66 MB #Memory Used#
[2025-03-10 19:03:01] Production.INFO: ==19445== Lock acquired, processing the job...
[2025-03-10 19:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:03:01] Production.INFO: neon service started
[2025-03-10 19:03:01] Production.INFO: neon service started
[2025-03-10 19:03:01] Production.INFO: ==19445== Releasing lock...
[2025-03-10 19:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 19:03:01] Production.INFO: ==19449== Lock acquired, processing the job...
[2025-03-10 19:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:03:01] Production.INFO: ==19449== Releasing lock...
[2025-03-10 19:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:03:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:03:02] Production.INFO: ==19447== Lock acquired, processing the job...
[2025-03-10 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:03:02] Production.INFO: ==19447== Releasing lock...
[2025-03-10 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:03:03] Production.INFO: ==19460== Lock acquired, processing the job...
[2025-03-10 15:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:03:03] Production.INFO: ==19452== Lock acquired, processing the job...
[2025-03-10 15:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:03:03] Production.INFO: ==19458== Lock acquired, processing the job...
[2025-03-10 15:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:03:03] Production.INFO: ==19454== Lock acquired, processing the job...
[2025-03-10 15:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:03:03] Production.INFO: Account Balance Start.
[2025-03-10 15:03:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:03:03] Production.INFO: 117
[2025-03-10 15:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:03:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:03:03] Production.INFO: ==19456== Lock acquired, processing the job...
[2025-03-10 15:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:03:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:03:03] Production.INFO: ==19462== Lock acquired, processing the job...
[2025-03-10 15:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:03:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:03:03] Production.INFO: Total Charge 0
[2025-03-10 15:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:03:03] Production.INFO: CreateAllLog End
[2025-03-10 15:03:03] Production.INFO: ==19454== Releasing lock...
[2025-03-10 15:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:03:03] Production.ERROR: done
[2025-03-10 15:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 15:03:04] Production.INFO: count ==13
[2025-03-10 15:03:04] Production.ERROR: done
[2025-03-10 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-03-10 15:03:04] Production.INFO: count ==21
[2025-03-10 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650307') start
[2025-03-10 15:03:04] Production.INFO: Account Balance End.
[2025-03-10 15:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:03:04] Production.INFO: ==19458== Releasing lock...
[2025-03-10 15:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650307') end
[2025-03-10 15:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:03:04] Production.INFO: 1
[2025-03-10 15:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:03:04] Production.INFO: ==19462== Releasing lock...
[2025-03-10 15:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:03:05
[end_date_ymd] => 2025-03-10 15:03:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:03:05' and `end` < '2025-03-10 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-03-10 15:03:12] Production.ERROR: CronJobId end10
[2025-03-10 15:03:12] Production.INFO: ==19456== Releasing lock...
[2025-03-10 15:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:03:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:03:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:03:15] Production.INFO: call_cost start
[2025-03-10 15:03:15] Production.INFO: call_cost end
[2025-03-10 15:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:03:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:03:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:03:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:03:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:03:16] Production.INFO: ==19452== Releasing lock...
[2025-03-10 15:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:03:18] Production.INFO: count ==5105
[2025-03-10 15:03:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:03:05 - End Time 2025-03-10 15:03:05
[2025-03-10 15:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650308', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650308', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650308', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650308', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:03:21] Production.INFO: ProcessCDR(1,14650308,1,1,2)
[2025-03-10 15:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:03:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650308', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650308', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:03:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:03:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:03:26] Production.INFO: ==19460== Releasing lock...
[2025-03-10 15:03:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:03:26] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 19:04:01] Production.INFO: ==19516== Lock acquired, processing the job...
[2025-03-10 19:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:04:01] Production.INFO: neon service started
[2025-03-10 19:04:01] Production.INFO: neon service started
[2025-03-10 19:04:01] Production.INFO: ==19516== Releasing lock...
[2025-03-10 19:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 19:04:02] Production.INFO: ==19520== Lock acquired, processing the job...
[2025-03-10 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:04:02] Production.INFO: ==19520== Releasing lock...
[2025-03-10 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:04:02] Production.INFO: ==19518== Lock acquired, processing the job...
[2025-03-10 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:04:03] Production.INFO: ==19518== Releasing lock...
[2025-03-10 15:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:04:04] Production.INFO: ==19523== Lock acquired, processing the job...
[2025-03-10 15:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:04:04] Production.INFO: ==19527== Lock acquired, processing the job...
[2025-03-10 15:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:04:04] Production.INFO: ==19529== Lock acquired, processing the job...
[2025-03-10 15:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:04:04] Production.INFO: ==19525== Lock acquired, processing the job...
[2025-03-10 15:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:04:04] Production.INFO: Account Balance Start.
[2025-03-10 15:04:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:04:04] Production.INFO: 117
[2025-03-10 15:04:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:04:04] Production.INFO: ==19531== Lock acquired, processing the job...
[2025-03-10 15:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:04:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:04:04] Production.INFO: ==19533== Lock acquired, processing the job...
[2025-03-10 15:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:04:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:04:04] Production.INFO: Total Charge 0
[2025-03-10 15:04:04] Production.INFO: CreateAllLog End
[2025-03-10 15: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-03-10 15:04:04] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:04:04] Production.INFO: count ==21
[2025-03-10 15:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650312') start
[2025-03-10 15:04:04] Production.ERROR: done
[2025-03-10 15:04:04] Production.INFO: ==19525== Releasing lock...
[2025-03-10 15:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:04:05] Production.INFO: Account Balance End.
[2025-03-10 15:04:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:04:05] Production.INFO: ==19529== Releasing lock...
[2025-03-10 15:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:04:05] Production.ERROR: done
[2025-03-10 15:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650312') end
[2025-03-10 15:04:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:04:05] Production.INFO: 1
[2025-03-10 15:04:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:04:05] Production.INFO: ==19533== Releasing lock...
[2025-03-10 15:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:04:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:04:06
[end_date_ymd] => 2025-03-10 15:04:06
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:04:06' and `end` < '2025-03-10 15: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-03-10 15:04:14] Production.ERROR: CronJobId end10
[2025-03-10 15:04:14] Production.INFO: ==19527== Releasing lock...
[2025-03-10 15:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:04:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:04:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:04:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:04:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:04:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:04:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:04:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:04:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:04:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:04:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:04:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:04:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:04:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:04:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:04:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:04:17] Production.INFO: call_cost start
[2025-03-10 15:04:17] Production.INFO: call_cost end
[2025-03-10 15:04:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:04:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:04:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:04:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:04:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:04:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:04:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:04:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:04:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:04:18] Production.INFO: ==19523== Releasing lock...
[2025-03-10 15:04:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:04:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:04:19] Production.INFO: count ==5107
[2025-03-10 15:04:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:04:06 - End Time 2025-03-10 15:04:06
[2025-03-10 15:04:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650313', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650313', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650313', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650313', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:04:21] Production.INFO: ProcessCDR(1,14650313,1,1,2)
[2025-03-10 15:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650313', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650313', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:04:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:04:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:04:27] Production.INFO: ==19531== Releasing lock...
[2025-03-10 15:04:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:04:27] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 19:05:01] Production.INFO: ==19705== Lock acquired, processing the job...
[2025-03-10 19:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:05:01] Production.INFO: neon service started
[2025-03-10 19:05:01] Production.INFO: neon service started
[2025-03-10 19:05:01] Production.INFO: ==19705== Releasing lock...
[2025-03-10 19:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:05:02] Production.INFO: ==19707== Lock acquired, processing the job...
[2025-03-10 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:05:02] Production.INFO: ==19709== Lock acquired, processing the job...
[2025-03-10 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:05:02] Production.INFO: ==19709== Releasing lock...
[2025-03-10 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:05:02] Production.INFO: 26 MB #Memory Used#
[2025-03-10 15:05:02] Production.INFO: ==19707== Releasing lock...
[2025-03-10 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:05:03] Production.INFO: ==19712== Lock acquired, processing the job...
[2025-03-10 15:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:05:03] Production.INFO: ==19714== Lock acquired, processing the job...
[2025-03-10 15:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:05:03] Production.INFO: ==19716== Lock acquired, processing the job...
[2025-03-10 15:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:05:03] Production.INFO: ==19714== Releasing lock...
[2025-03-10 15:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:05:03] Production.INFO: ==19718== Lock acquired, processing the job...
[2025-03-10 15:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:05:03] Production.INFO: ==19720== Lock acquired, processing the job...
[2025-03-10 15:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:05:03] Production.INFO: ==19722== Lock acquired, processing the job...
[2025-03-10 15:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:05:03] Production.INFO: Account Balance Start.
[2025-03-10 15:05:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:05:03] Production.INFO: 117
[2025-03-10 15:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:05:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:05:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:05:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:05:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 15:05:04] Production.INFO: CreateAllLog End
[2025-03-10 15:05:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:05:04] Production.INFO: count ==21
[2025-03-10 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650317') start
[2025-03-10 15:05:04] Production.ERROR: done
[2025-03-10 15:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650317') end
[2025-03-10 15:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:05:04] Production.INFO: 1
[2025-03-10 15:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:05:04] Production.INFO: Account Balance End.
[2025-03-10 15:05:04] Production.INFO: ==19722== Releasing lock...
[2025-03-10 15:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:05:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:05:04] Production.INFO: ==19718== Releasing lock...
[2025-03-10 15:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:05:04] Production.ERROR: done
[2025-03-10 15:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:05:05
[end_date_ymd] => 2025-03-10 15:05:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:05:05' and `end` < '2025-03-10 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-03-10 15:05:11] Production.ERROR: CronJobId end10
[2025-03-10 15:05:11] Production.INFO: ==19716== Releasing lock...
[2025-03-10 15:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:05:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:05:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:05:14] Production.INFO: call_cost start
[2025-03-10 15:05:14] Production.INFO: call_cost end
[2025-03-10 15:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:05:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:05:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:05:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:05:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:05:15] Production.INFO: ==19712== Releasing lock...
[2025-03-10 15:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:05:18] Production.INFO: count ==5123
[2025-03-10 15:05:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:05:05 - End Time 2025-03-10 15:05:05
[2025-03-10 15:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650318', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650318', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650318', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650318', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:05:20] Production.INFO: ProcessCDR(1,14650318,1,1,2)
[2025-03-10 15:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:05:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650318', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650318', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:05:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:05:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:05:25] Production.INFO: ==19720== Releasing lock...
[2025-03-10 15:05:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:05:25] Production.INFO: 66.25 MB #Memory Used#
[2025-03-10 19:06:01] Production.INFO: ==19776== Lock acquired, processing the job...
[2025-03-10 19:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:06:01] Production.INFO: neon service started
[2025-03-10 19:06:01] Production.INFO: neon service started
[2025-03-10 19:06:01] Production.INFO: ==19776== Releasing lock...
[2025-03-10 19:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:06:02] Production.INFO: ==19778== Lock acquired, processing the job...
[2025-03-10 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:06:02] Production.INFO: ==19778== Releasing lock...
[2025-03-10 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:06:02] Production.INFO: ==19780== Lock acquired, processing the job...
[2025-03-10 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:06:02] Production.INFO: ==19780== Releasing lock...
[2025-03-10 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:06:03] Production.INFO: ==19782== Lock acquired, processing the job...
[2025-03-10 15:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:06:03] Production.INFO: ==19786== Lock acquired, processing the job...
[2025-03-10 15:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:06:03] Production.INFO: ==19784== Lock acquired, processing the job...
[2025-03-10 15:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:06:03] Production.INFO: ==19791== Lock acquired, processing the job...
[2025-03-10 15:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:06:03] Production.INFO: ==19789== Lock acquired, processing the job...
[2025-03-10 15:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:06:03] Production.INFO: ==19793== Lock acquired, processing the job...
[2025-03-10 15:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15: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-03-10 15:06:04] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:06:04] Production.INFO: count ==21
[2025-03-10 15:06:04] Production.INFO: Account Balance Start.
[2025-03-10 15:06:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:06:04] Production.INFO: 117
[2025-03-10 15:06:04] Production.INFO: ==19784== Releasing lock...
[2025-03-10 15:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:06:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650321') start
[2025-03-10 15:06:04] Production.ERROR: done
[2025-03-10 15:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:06:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:06:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:06:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:06:04] Production.ERROR: done
[2025-03-10 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650321') end
[2025-03-10 15:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:06:04] Production.INFO: 1
[2025-03-10 15:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:06:04] Production.INFO: Total Charge 0
[2025-03-10 15:06:04] Production.INFO: CreateAllLog End
[2025-03-10 15:06:04] Production.INFO: ==19793== Releasing lock...
[2025-03-10 15:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:06:04] Production.INFO: Account Balance End.
[2025-03-10 15:06:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:06:04] Production.INFO: ==19789== Releasing lock...
[2025-03-10 15:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:06:05
[end_date_ymd] => 2025-03-10 15:06:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:06:05' and `end` < '2025-03-10 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-03-10 15:06:12] Production.ERROR: CronJobId end10
[2025-03-10 15:06:12] Production.INFO: ==19786== Releasing lock...
[2025-03-10 15:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:06:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:06:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:06:14] Production.INFO: call_cost start
[2025-03-10 15:06:14] Production.INFO: call_cost end
[2025-03-10 15:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:06:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:06:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:06:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:06:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:06:15] Production.INFO: ==19782== Releasing lock...
[2025-03-10 15:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:06:19] Production.INFO: count ==5144
[2025-03-10 15:06:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:06:05 - End Time 2025-03-10 15:06:05
[2025-03-10 15:06:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650323', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650323', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650323', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650323', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:06:21] Production.INFO: ProcessCDR(1,14650323,1,1,2)
[2025-03-10 15:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:06:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:06:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650323', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650323', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:06:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:06:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:06:26] Production.INFO: ==19791== Releasing lock...
[2025-03-10 15:06:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:06:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 19:07:01] Production.INFO: ==19851== Lock acquired, processing the job...
[2025-03-10 19:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:07:01] Production.INFO: neon service started
[2025-03-10 19:07:01] Production.INFO: neon service started
[2025-03-10 19:07:01] Production.INFO: ==19851== Releasing lock...
[2025-03-10 19:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:07:01] Production.INFO: ==19853== Lock acquired, processing the job...
[2025-03-10 15:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:07:02] Production.INFO: ==19853== Releasing lock...
[2025-03-10 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:07:02] Production.INFO: ==19855== Lock acquired, processing the job...
[2025-03-10 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:07:02] Production.INFO: ==19855== Releasing lock...
[2025-03-10 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:07:03] Production.INFO: ==19866== Lock acquired, processing the job...
[2025-03-10 15:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:07:03] Production.INFO: ==19857== Lock acquired, processing the job...
[2025-03-10 15:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:07:03] Production.INFO: ==19868== Lock acquired, processing the job...
[2025-03-10 15:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:07:03] Production.INFO: ==19859== Lock acquired, processing the job...
[2025-03-10 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:07:03] Production.INFO: ==19861== Lock acquired, processing the job...
[2025-03-10 15:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:07:03] Production.INFO: ==19864== Lock acquired, processing the job...
[2025-03-10 15:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15: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-03-10 15:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:07:03] Production.INFO: count ==13
[2025-03-10 15:07:03] Production.INFO: Account Balance Start.
[2025-03-10 15:07:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:07:03] Production.INFO: 117
[2025-03-10 15: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-03-10 15:07:03] Production.INFO: count ==21
[2025-03-10 15:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650325') start
[2025-03-10 15:07:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:07:03] Production.ERROR: done
[2025-03-10 15:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:07:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:07:03] Production.ERROR: done
[2025-03-10 15:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650325') end
[2025-03-10 15:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:07:03] Production.INFO: 1
[2025-03-10 15:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:07:03] Production.INFO: ==19859== Releasing lock...
[2025-03-10 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:07:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:07:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:07:03] Production.INFO: ==19868== Releasing lock...
[2025-03-10 15:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:07:03] Production.INFO: Total Charge 0
[2025-03-10 15:07:03] Production.INFO: CreateAllLog End
[2025-03-10 15:07:04] Production.INFO: Account Balance End.
[2025-03-10 15:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:07:04] Production.INFO: ==19864== Releasing lock...
[2025-03-10 15:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:07:04
[end_date_ymd] => 2025-03-10 15:07:04
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:07:04' and `end` < '2025-03-10 15: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-03-10 15:07:12] Production.ERROR: CronJobId end10
[2025-03-10 15:07:12] Production.INFO: ==19861== Releasing lock...
[2025-03-10 15:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:07:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:07:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:07:14] Production.INFO: call_cost start
[2025-03-10 15:07:14] Production.INFO: call_cost end
[2025-03-10 15:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:07:14] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:07:14] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:07:14] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:07:14] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:07:14] Production.INFO: ==19857== Releasing lock...
[2025-03-10 15:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:07:18] Production.INFO: count ==5151
[2025-03-10 15:07:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:07:04 - End Time 2025-03-10 15:07:04
[2025-03-10 15:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650328', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650328', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650328', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650328', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:07:20] Production.INFO: ProcessCDR(1,14650328,1,1,2)
[2025-03-10 15:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:07:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:07:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:07:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650328', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650328', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:07:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:07:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:07:25] Production.INFO: ==19866== Releasing lock...
[2025-03-10 15:07:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:07:25] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 19:08:01] Production.INFO: ==20001== Lock acquired, processing the job...
[2025-03-10 19:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:08:01] Production.INFO: neon service started
[2025-03-10 19:08:01] Production.INFO: neon service started
[2025-03-10 19:08:01] Production.INFO: ==20001== Releasing lock...
[2025-03-10 19:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:08:02] Production.INFO: ==20004== Lock acquired, processing the job...
[2025-03-10 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:08:02] Production.INFO: ==20004== Releasing lock...
[2025-03-10 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:08:02] Production.INFO: ==20006== Lock acquired, processing the job...
[2025-03-10 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:08:02] Production.INFO: ==20006== Releasing lock...
[2025-03-10 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:08:03] Production.INFO: ==20014== Lock acquired, processing the job...
[2025-03-10 15:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:08:03] Production.INFO: ==20008== Lock acquired, processing the job...
[2025-03-10 15:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:08:03] Production.INFO: ==20018== Lock acquired, processing the job...
[2025-03-10 15:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:08:03] Production.INFO: ==20010== Lock acquired, processing the job...
[2025-03-10 15:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:08:03] Production.INFO: Account Balance Start.
[2025-03-10 15:08:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:08:03] Production.INFO: 117
[2025-03-10 15:08:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:08:03] Production.INFO: ==20012== Lock acquired, processing the job...
[2025-03-10 15:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 15:08:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:08:03] Production.INFO: count ==13
[2025-03-10 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-03-10 15:08:03] Production.INFO: count ==21
[2025-03-10 15:08:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:08:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650331') start
[2025-03-10 15:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:08:03] Production.INFO: Total Charge 0
[2025-03-10 15:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:08:03] Production.INFO: ==20016== Lock acquired, processing the job...
[2025-03-10 15:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:08:03] Production.INFO: CreateAllLog End
[2025-03-10 15:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650331') end
[2025-03-10 15:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:08:03] Production.INFO: 1
[2025-03-10 15:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:08:03] Production.INFO: ==20018== Releasing lock...
[2025-03-10 15:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:08:04] Production.INFO: ==20010== Releasing lock...
[2025-03-10 15:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:08:04] Production.INFO: Account Balance End.
[2025-03-10 15:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:08:04] Production.INFO: ==20014== Releasing lock...
[2025-03-10 15:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:08:04] Production.ERROR: done
[2025-03-10 15:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:08:04] Production.ERROR: done
[2025-03-10 15:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:08:05
[end_date_ymd] => 2025-03-10 15:08:05
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:08:05' and `end` < '2025-03-10 15: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-03-10 15:08:13] Production.ERROR: CronJobId end10
[2025-03-10 15:08:13] Production.INFO: ==20012== Releasing lock...
[2025-03-10 15:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:08:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:08:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:08:15] Production.INFO: call_cost start
[2025-03-10 15:08:15] Production.INFO: call_cost end
[2025-03-10 15:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:08:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:08:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:08:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:08:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:08:16] Production.INFO: ==20008== Releasing lock...
[2025-03-10 15:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:08:18] Production.INFO: count ==5157
[2025-03-10 15:08:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:08:05 - End Time 2025-03-10 15:08:05
[2025-03-10 15:08:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650333', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650333', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650333', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650333', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:08:21] Production.INFO: ProcessCDR(1,14650333,1,1,2)
[2025-03-10 15:08:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:08:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:08:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:08:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650333', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650333', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:08:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:08:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:08:26] Production.INFO: ==20016== Releasing lock...
[2025-03-10 15:08:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:08:26] Production.INFO: 66.5 MB #Memory Used#
[2025-03-10 19:09:02] Production.INFO: ==20074== Lock acquired, processing the job...
[2025-03-10 19:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:09:02] Production.INFO: neon service started
[2025-03-10 19:09:02] Production.INFO: neon service started
[2025-03-10 19:09:02] Production.INFO: ==20074== Releasing lock...
[2025-03-10 19:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:09:02] Production.INFO: ==20076== Lock acquired, processing the job...
[2025-03-10 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:09:03] Production.INFO: ==20078== Lock acquired, processing the job...
[2025-03-10 19:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:09:03] Production.INFO: ==20078== Releasing lock...
[2025-03-10 19:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:09:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:09:03] Production.INFO: ==20076== Releasing lock...
[2025-03-10 15:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:09:04] Production.INFO: ==20089== Lock acquired, processing the job...
[2025-03-10 15:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:09:04] Production.INFO: ==20080== Lock acquired, processing the job...
[2025-03-10 15:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:09:04] Production.INFO: ==20091== Lock acquired, processing the job...
[2025-03-10 15:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:09:04] Production.INFO: ==20082== Lock acquired, processing the job...
[2025-03-10 15:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:09:04] Production.INFO: ==20085== Lock acquired, processing the job...
[2025-03-10 15:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15: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-03-10 15:09:04] Production.INFO: count ==13
[2025-03-10 15:09:04] Production.INFO: ==20087== Lock acquired, processing the job...
[2025-03-10 15:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15: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-03-10 15:09:04] Production.INFO: count ==21
[2025-03-10 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650334') start
[2025-03-10 15:09:04] Production.ERROR: done
[2025-03-10 15:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650334') end
[2025-03-10 15:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:09:04] Production.INFO: 1
[2025-03-10 15:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:09:04] Production.INFO: Account Balance Start.
[2025-03-10 15:09:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:09:04] Production.INFO: 117
[2025-03-10 15:09:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:09:04] Production.INFO: ==20082== Releasing lock...
[2025-03-10 15:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:09:04] Production.INFO: ==20091== Releasing lock...
[2025-03-10 15:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:09:04] Production.ERROR: done
[2025-03-10 15:09:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:09:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:09:04] Production.INFO: Total Charge 0
[2025-03-10 15:09:04] Production.INFO: CreateAllLog End
[2025-03-10 15:09:05] Production.INFO: Account Balance End.
[2025-03-10 15:09:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:09:05] Production.INFO: ==20087== Releasing lock...
[2025-03-10 15:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:09:05
[end_date_ymd] => 2025-03-10 15:09:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:09:05' and `end` < '2025-03-10 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-03-10 15:09:14] Production.ERROR: CronJobId end10
[2025-03-10 15:09:14] Production.INFO: ==20085== Releasing lock...
[2025-03-10 15:09:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:09:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:09:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:09:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:09:15] Production.INFO: call_cost start
[2025-03-10 15:09:15] Production.INFO: call_cost end
[2025-03-10 15:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:09:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:09:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:09:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:09:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:09:16] Production.INFO: ==20080== Releasing lock...
[2025-03-10 15:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:09:18] Production.INFO: count ==5165
[2025-03-10 15:09:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:09:05 - End Time 2025-03-10 15:09:05
[2025-03-10 15:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650338', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650338', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650338', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650338', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:09:21] Production.INFO: ProcessCDR(1,14650338,1,1,2)
[2025-03-10 15:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:09:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:09:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650338', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:09:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650338', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:09:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:09:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:09:25] Production.INFO: ==20089== Releasing lock...
[2025-03-10 15:09:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:09:25] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 19:10:01] Production.INFO: ==20148== Lock acquired, processing the job...
[2025-03-10 19:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:10:01] Production.INFO: neon service started
[2025-03-10 19:10:01] Production.INFO: neon service started
[2025-03-10 19:10:01] Production.INFO: ==20148== Releasing lock...
[2025-03-10 19:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:10:02] Production.INFO: ==20150== Lock acquired, processing the job...
[2025-03-10 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:10:02] Production.INFO: ==20150== Releasing lock...
[2025-03-10 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:10:02] Production.INFO: ==20152== Lock acquired, processing the job...
[2025-03-10 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:10:02] Production.INFO: ==20152== Releasing lock...
[2025-03-10 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:10:03] Production.INFO: ==20154== Lock acquired, processing the job...
[2025-03-10 15:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 15:10:04] Production.INFO: ==20156== Lock acquired, processing the job...
[2025-03-10 15:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:10:04] Production.INFO: ==20158== Lock acquired, processing the job...
[2025-03-10 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 15:10:04] Production.ERROR: CronJob PID - 20156
[2025-03-10 15:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 15:10:04] Production.ERROR: CronJob ID - 5
[2025-03-10 15:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 15:10:00
[2025-03-10 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 15:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 15:10:04] Production.INFO: ==20154== Releasing lock...
[2025-03-10 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 15:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 15:10:04] Production.INFO: ==20166== Lock acquired, processing the job...
[2025-03-10 15:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 15:10:04] Production.INFO: ==20160== Lock acquired, processing the job...
[2025-03-10 15:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:10:04] Production.INFO: ==20162== Lock acquired, processing the job...
[2025-03-10 15:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:10:04] Production.INFO: ==20164== Lock acquired, processing the job...
[2025-03-10 15:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:10:04] Production.INFO: ==20168== Lock acquired, processing the job...
[2025-03-10 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:10:04] Production.INFO: Account Balance Start.
[2025-03-10 15:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:10:04] Production.INFO: 117
[2025-03-10 15:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:10:04] Production.INFO: ==20158== Releasing lock...
[2025-03-10 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 15:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:10:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:10:04] Production.INFO: count ==21
[2025-03-10 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650342') start
[2025-03-10 15:10:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:10:04] Production.ERROR: done
[2025-03-10 15:10:04] Production.INFO: Total Charge 0
[2025-03-10 15:10:04] Production.INFO: CreateAllLog End
[2025-03-10 15:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 15:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650343', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 15:10:04] Production.ERROR: done
[2025-03-10 15:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650342') end
[2025-03-10 15:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:10:04] Production.INFO: 1
[2025-03-10 15:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:10:04] Production.INFO: ==20168== Releasing lock...
[2025-03-10 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:10:05] Production.ERROR: done
[2025-03-10 15:10:05] Production.INFO: Account Balance End.
[2025-03-10 15:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:10:05] Production.INFO: ==20162== Releasing lock...
[2025-03-10 15:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:10:06
[end_date_ymd] => 2025-03-10 15:10:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:10:06' and `end` < '2025-03-10 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-03-10 15:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650343', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 15:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 15:10:09] Production.INFO: ProcessCDR(1,14650343,1,1,2)
[2025-03-10 15:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650343,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650343,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:10:09] Production.INFO: ==20166== Releasing lock...
[2025-03-10 15:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 15:10:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 15:10:15] Production.ERROR: CronJobId end10
[2025-03-10 15:10:15] Production.INFO: ==20160== Releasing lock...
[2025-03-10 15:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:10:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:10:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:10:16] Production.INFO: call_cost start
[2025-03-10 15:10:16] Production.INFO: call_cost end
[2025-03-10 15:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:10:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:10:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:10:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:10:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:10:17] Production.INFO: ==20156== Releasing lock...
[2025-03-10 15:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:10:19] Production.INFO: count ==5168
[2025-03-10 15:10:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:10:06 - End Time 2025-03-10 15:10:06
[2025-03-10 15:10:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650344', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650344', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650344', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650344', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:10:21] Production.INFO: ProcessCDR(1,14650344,1,1,2)
[2025-03-10 15:10:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:10:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:10:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:10:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650344', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650344', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:10:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:10:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:10:26] Production.INFO: ==20164== Releasing lock...
[2025-03-10 15:10:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:10:26] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 19:11:01] Production.INFO: ==20223== Lock acquired, processing the job...
[2025-03-10 19:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:11:01] Production.INFO: neon service started
[2025-03-10 19:11:01] Production.INFO: neon service started
[2025-03-10 19:11:01] Production.INFO: ==20223== Releasing lock...
[2025-03-10 19:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:11:01] Production.INFO: ==20225== Lock acquired, processing the job...
[2025-03-10 15:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:11:02] Production.INFO: ==20225== Releasing lock...
[2025-03-10 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:11:02] Production.INFO: ==20227== Lock acquired, processing the job...
[2025-03-10 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:11:02] Production.INFO: ==20227== Releasing lock...
[2025-03-10 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:11:03] Production.INFO: ==20233== Lock acquired, processing the job...
[2025-03-10 15:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:11:03] Production.INFO: ==20229== Lock acquired, processing the job...
[2025-03-10 15:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:11:03] Production.INFO: ==20239== Lock acquired, processing the job...
[2025-03-10 15:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:11:03] Production.INFO: ==20231== Lock acquired, processing the job...
[2025-03-10 15:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:11:03] Production.INFO: ==20235== Lock acquired, processing the job...
[2025-03-10 15:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:11:03] Production.INFO: ==20237== Lock acquired, processing the job...
[2025-03-10 15:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:11:03] Production.INFO: Account Balance Start.
[2025-03-10 15:11:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:11:03] Production.INFO: 117
[2025-03-10 15:11:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 15: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-03-10 15:11:03] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:11:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:11:03] Production.INFO: count ==21
[2025-03-10 15:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650346') start
[2025-03-10 15:11:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:11:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:11:03] Production.INFO: Total Charge 0
[2025-03-10 15:11:03] Production.INFO: CreateAllLog End
[2025-03-10 15:11:03] Production.INFO: ==20231== Releasing lock...
[2025-03-10 15:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:11:03] Production.ERROR: done
[2025-03-10 15:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650346') end
[2025-03-10 15:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:11:03] Production.INFO: 1
[2025-03-10 15:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:11:03] Production.INFO: Account Balance End.
[2025-03-10 15:11:03] Production.ERROR: CronJobId end 12
[2025-03-10 15:11:03] Production.INFO: ==20235== Releasing lock...
[2025-03-10 15:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:11:04] Production.INFO: ==20239== Releasing lock...
[2025-03-10 15:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:11:04] Production.ERROR: done
[2025-03-10 15:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:11:05
[end_date_ymd] => 2025-03-10 15:11:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:11:05' and `end` < '2025-03-10 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-03-10 15:11:12] Production.ERROR: CronJobId end10
[2025-03-10 15:11:12] Production.INFO: ==20233== Releasing lock...
[2025-03-10 15:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:11:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:11:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:11:15] Production.INFO: call_cost start
[2025-03-10 15:11:15] Production.INFO: call_cost end
[2025-03-10 15:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:11:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:11:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:11:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:11:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:11:15] Production.INFO: ==20229== Releasing lock...
[2025-03-10 15:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:11:18] Production.INFO: count ==5180
[2025-03-10 15:11:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:11:05 - End Time 2025-03-10 15:11:05
[2025-03-10 15:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650349', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650349', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650349', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650349', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:11:20] Production.INFO: ProcessCDR(1,14650349,1,1,2)
[2025-03-10 15:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:11:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:11:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650349', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650349', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:11:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:11:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:11:25] Production.INFO: ==20237== Releasing lock...
[2025-03-10 15:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:11:25] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 19:12:01] Production.INFO: ==20371== Lock acquired, processing the job...
[2025-03-10 19:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:12:01] Production.INFO: neon service started
[2025-03-10 19:12:01] Production.INFO: neon service started
[2025-03-10 19:12:01] Production.INFO: ==20371== Releasing lock...
[2025-03-10 19:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:12:02] Production.INFO: ==20373== Lock acquired, processing the job...
[2025-03-10 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:12:02] Production.INFO: ==20375== Lock acquired, processing the job...
[2025-03-10 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:12:02] Production.INFO: ==20375== Releasing lock...
[2025-03-10 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:12:02] Production.INFO: ==20373== Releasing lock...
[2025-03-10 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:12:03] Production.INFO: ==20378== Lock acquired, processing the job...
[2025-03-10 15:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:12:03] Production.INFO: ==20382== Lock acquired, processing the job...
[2025-03-10 15:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:12:03] Production.INFO: ==20380== Lock acquired, processing the job...
[2025-03-10 15:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:12:03] Production.INFO: ==20384== Lock acquired, processing the job...
[2025-03-10 15:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:12:04] Production.INFO: Account Balance Start.
[2025-03-10 15:12:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:12:04] Production.INFO: ==20386== Lock acquired, processing the job...
[2025-03-10 15:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:12:04] Production.INFO: 117
[2025-03-10 15:12:04] Production.INFO: ==20380== Releasing lock...
[2025-03-10 15:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:12:04] Production.INFO: ==20388== Lock acquired, processing the job...
[2025-03-10 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:12:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:12:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:12:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:12:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:12:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 15:12:04] Production.INFO: CreateAllLog End
[2025-03-10 15:12:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:12:04] Production.INFO: count ==21
[2025-03-10 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650353') start
[2025-03-10 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650353') end
[2025-03-10 15:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:12:04] Production.INFO: 1
[2025-03-10 15:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:12:04] Production.INFO: ==20388== Releasing lock...
[2025-03-10 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:12:04] Production.ERROR: done
[2025-03-10 15:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:12:04] Production.INFO: Account Balance End.
[2025-03-10 15:12:04] Production.ERROR: done
[2025-03-10 15:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:12:04] Production.INFO: ==20384== Releasing lock...
[2025-03-10 15:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:12:05
[end_date_ymd] => 2025-03-10 15:12:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:12:05' and `end` < '2025-03-10 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-03-10 15:12:13] Production.ERROR: CronJobId end10
[2025-03-10 15:12:13] Production.INFO: ==20382== Releasing lock...
[2025-03-10 15:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:12:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:12:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:12:15] Production.INFO: call_cost start
[2025-03-10 15:12:15] Production.INFO: call_cost end
[2025-03-10 15:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:12:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:12:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:12:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:12:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:12:16] Production.INFO: ==20378== Releasing lock...
[2025-03-10 15:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:12:19] Production.INFO: count ==5167
[2025-03-10 15:12:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:12:05 - End Time 2025-03-10 15:12:05
[2025-03-10 15:12:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650354', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650354', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650354', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650354', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:12:21] Production.INFO: ProcessCDR(1,14650354,1,1,2)
[2025-03-10 15:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:12:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:12:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:12:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650354', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650354', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:12:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:12:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:12:26] Production.INFO: ==20386== Releasing lock...
[2025-03-10 15:12:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:12:26] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 19:13:02] Production.INFO: ==20443== Lock acquired, processing the job...
[2025-03-10 19:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:13:02] Production.INFO: neon service started
[2025-03-10 19:13:02] Production.INFO: neon service started
[2025-03-10 19:13:02] Production.INFO: ==20443== Releasing lock...
[2025-03-10 19:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 19:13:02] Production.INFO: ==20447== Lock acquired, processing the job...
[2025-03-10 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:13:02] Production.INFO: ==20447== Releasing lock...
[2025-03-10 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:13:02] Production.INFO: ==20445== Lock acquired, processing the job...
[2025-03-10 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:13:03] Production.INFO: ==20445== Releasing lock...
[2025-03-10 15:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:13:04] Production.INFO: ==20450== Lock acquired, processing the job...
[2025-03-10 15:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:13:04] Production.INFO: ==20454== Lock acquired, processing the job...
[2025-03-10 15:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:13:04] Production.INFO: ==20452== Lock acquired, processing the job...
[2025-03-10 15:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:13:04] Production.INFO: ==20456== Lock acquired, processing the job...
[2025-03-10 15:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:13:04] Production.INFO: ==20460== Lock acquired, processing the job...
[2025-03-10 15:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:13:04] Production.INFO: Account Balance Start.
[2025-03-10 15:13:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:13:04] Production.INFO: 117
[2025-03-10 15:13:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:13:04] Production.INFO: ==20458== Lock acquired, processing the job...
[2025-03-10 15:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15: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-03-10 15:13:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:13:04] Production.INFO: count ==13
[2025-03-10 15:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 15:13:04] Production.INFO: count ==21
[2025-03-10 15:13:04] Production.INFO: Total Charge 0
[2025-03-10 15:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650358') start
[2025-03-10 15:13:04] Production.INFO: CreateAllLog End
[2025-03-10 15:13:04] Production.INFO: ==20452== Releasing lock...
[2025-03-10 15:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650358') end
[2025-03-10 15:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:13:04] Production.INFO: 1
[2025-03-10 15:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:13:05] Production.INFO: Account Balance End.
[2025-03-10 15:13:05] Production.INFO: ==20460== Releasing lock...
[2025-03-10 15:13:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:13:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:13:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:13:05] Production.INFO: ==20456== Releasing lock...
[2025-03-10 15:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:13:05] Production.ERROR: done
[2025-03-10 15:13:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:13:05] Production.ERROR: done
[2025-03-10 15:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:13:06
[end_date_ymd] => 2025-03-10 15:13:06
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:13:06' and `end` < '2025-03-10 15: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-03-10 15:13:14] Production.ERROR: CronJobId end10
[2025-03-10 15:13:14] Production.INFO: ==20454== Releasing lock...
[2025-03-10 15:13:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:13:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:13:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:13:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:13:16] Production.INFO: call_cost start
[2025-03-10 15:13:16] Production.INFO: call_cost end
[2025-03-10 15:13:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:13:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:13:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:13:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:13:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:13:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:13:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:13:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:13:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:13:17] Production.INFO: ==20450== Releasing lock...
[2025-03-10 15:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:13:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:13:19] Production.INFO: count ==5170
[2025-03-10 15:13:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:13:06 - End Time 2025-03-10 15:13:06
[2025-03-10 15:13:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650359', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650359', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650359', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650359', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:13:22] Production.INFO: ProcessCDR(1,14650359,1,1,2)
[2025-03-10 15:13:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:13:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:13:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:13:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:13:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650359', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:13:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650359', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:13:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:13:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:13:27] Production.INFO: ==20458== Releasing lock...
[2025-03-10 15:13:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:13:27] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 19:14:01] Production.INFO: ==20513== Lock acquired, processing the job...
[2025-03-10 19:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:14:01] Production.INFO: neon service started
[2025-03-10 19:14:01] Production.INFO: neon service started
[2025-03-10 19:14:01] Production.INFO: ==20513== Releasing lock...
[2025-03-10 19:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:14:02] Production.INFO: ==20515== Lock acquired, processing the job...
[2025-03-10 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:14:02] Production.INFO: ==20515== Releasing lock...
[2025-03-10 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:14:02] Production.INFO: ==20517== Lock acquired, processing the job...
[2025-03-10 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:14:02] Production.INFO: ==20517== Releasing lock...
[2025-03-10 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:14:03] Production.INFO: ==20530== Lock acquired, processing the job...
[2025-03-10 15:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:14:03] Production.INFO: ==20528== Lock acquired, processing the job...
[2025-03-10 15:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:14:03] Production.INFO: ==20520== Lock acquired, processing the job...
[2025-03-10 15:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15: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-03-10 15:14:03] Production.INFO: count ==13
[2025-03-10 15:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:14:03] Production.INFO: ==20522== Lock acquired, processing the job...
[2025-03-10 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 15:14:04] Production.INFO: count ==21
[2025-03-10 15:14:04] Production.INFO: ==20526== Lock acquired, processing the job...
[2025-03-10 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:14:04] Production.INFO: ==20524== Lock acquired, processing the job...
[2025-03-10 15:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650360') start
[2025-03-10 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650360') end
[2025-03-10 15:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:14:04] Production.INFO: 1
[2025-03-10 15:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:14:04] Production.INFO: Account Balance Start.
[2025-03-10 15:14:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:14:04] Production.INFO: 117
[2025-03-10 15:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:14:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:14:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:14:04] Production.INFO: ==20530== Releasing lock...
[2025-03-10 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:14:04] Production.ERROR: done
[2025-03-10 15:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:14:04] Production.INFO: ==20522== Releasing lock...
[2025-03-10 15:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:14:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:14:04] Production.INFO: Total Charge 0
[2025-03-10 15:14:04] Production.INFO: CreateAllLog End
[2025-03-10 15:14:04] Production.ERROR: done
[2025-03-10 15:14:04] Production.INFO: Account Balance End.
[2025-03-10 15:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:14:04] Production.INFO: ==20526== Releasing lock...
[2025-03-10 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:14:05
[end_date_ymd] => 2025-03-10 15:14:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:14:05' and `end` < '2025-03-10 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-03-10 15:14:12] Production.ERROR: CronJobId end10
[2025-03-10 15:14:12] Production.INFO: ==20524== Releasing lock...
[2025-03-10 15:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:14:15] Production.INFO: call_cost start
[2025-03-10 15:14:15] Production.INFO: call_cost end
[2025-03-10 15:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:14:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:14:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:14:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:14:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:14:16] Production.INFO: ==20520== Releasing lock...
[2025-03-10 15:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:14:18] Production.INFO: count ==5175
[2025-03-10 15:14:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:14:05 - End Time 2025-03-10 15:14:05
[2025-03-10 15:14:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650364', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650364', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650364', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650364', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:14:20] Production.INFO: ProcessCDR(1,14650364,1,1,2)
[2025-03-10 15:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:14:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:14:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:14:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650364', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650364', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:14:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:14:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:14:25] Production.INFO: ==20528== Releasing lock...
[2025-03-10 15:14:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:14:25] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 19:15:01] Production.INFO: ==20664== Lock acquired, processing the job...
[2025-03-10 19:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:15:01] Production.INFO: neon service started
[2025-03-10 19:15:01] Production.INFO: neon service started
[2025-03-10 19:15:01] Production.INFO: ==20664== Releasing lock...
[2025-03-10 19:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:15:02] Production.INFO: ==20666== Lock acquired, processing the job...
[2025-03-10 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:15:02] Production.INFO: ==20668== Lock acquired, processing the job...
[2025-03-10 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:15:02] Production.INFO: ==20668== Releasing lock...
[2025-03-10 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:15:02] Production.INFO: ==20666== Releasing lock...
[2025-03-10 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:15:03] Production.INFO: ==20677== Lock acquired, processing the job...
[2025-03-10 15:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:15:03] Production.INFO: Account Balance Start.
[2025-03-10 15:15:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:15:03] Production.INFO: ==20681== Lock acquired, processing the job...
[2025-03-10 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:15:03] Production.INFO: 117
[2025-03-10 15:15:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:15:03] Production.INFO: ==20671== Lock acquired, processing the job...
[2025-03-10 15:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:15:03] Production.INFO: ==20673== Lock acquired, processing the job...
[2025-03-10 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:15:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 15:15:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:15:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:15:03] Production.INFO: count ==13
[2025-03-10 15:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 15:15:03] Production.INFO: count ==21
[2025-03-10 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650366') start
[2025-03-10 15:15:03] Production.INFO: Total Charge 0
[2025-03-10 15:15:03] Production.INFO: ==20675== Lock acquired, processing the job...
[2025-03-10 15:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:15:03] Production.INFO: CreateAllLog End
[2025-03-10 15:15:03] Production.INFO: ==20679== Lock acquired, processing the job...
[2025-03-10 15:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650366') end
[2025-03-10 15:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:15:03] Production.INFO: 1
[2025-03-10 15:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:15:03] Production.INFO: ==20681== Releasing lock...
[2025-03-10 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:15:04] Production.INFO: ==20673== Releasing lock...
[2025-03-10 15:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:15:04] Production.ERROR: done
[2025-03-10 15:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:15:04] Production.INFO: Account Balance End.
[2025-03-10 15:15:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:15:04] Production.INFO: ==20677== Releasing lock...
[2025-03-10 15:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:15:04] Production.ERROR: done
[2025-03-10 15:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:15:05
[end_date_ymd] => 2025-03-10 15:15:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:15:05' and `end` < '2025-03-10 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-03-10 15:15:12] Production.ERROR: CronJobId end10
[2025-03-10 15:15:12] Production.INFO: ==20675== Releasing lock...
[2025-03-10 15:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:15:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:15:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:15:14] Production.INFO: call_cost start
[2025-03-10 15:15:14] Production.INFO: call_cost end
[2025-03-10 15:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:15:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:15:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:15:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:15:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:15:15] Production.INFO: ==20671== Releasing lock...
[2025-03-10 15:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:15:18] Production.INFO: count ==5174
[2025-03-10 15:15:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:15:05 - End Time 2025-03-10 15:15:05
[2025-03-10 15:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650369', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650369', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650369', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650369', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:15:20] Production.INFO: ProcessCDR(1,14650369,1,1,2)
[2025-03-10 15:15:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:15:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:15:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:15:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650369', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650369', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:15:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:15:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:15:25] Production.INFO: ==20679== Releasing lock...
[2025-03-10 15:15:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:15:25] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 19:16:01] Production.INFO: ==20734== Lock acquired, processing the job...
[2025-03-10 19:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:16:01] Production.INFO: neon service started
[2025-03-10 19:16:01] Production.INFO: neon service started
[2025-03-10 19:16:01] Production.INFO: ==20734== Releasing lock...
[2025-03-10 19:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:16:02] Production.INFO: ==20736== Lock acquired, processing the job...
[2025-03-10 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:16:02] Production.INFO: ==20738== Lock acquired, processing the job...
[2025-03-10 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:16:02] Production.INFO: ==20738== Releasing lock...
[2025-03-10 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:16:02] Production.INFO: ==20736== Releasing lock...
[2025-03-10 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:16:03] Production.INFO: ==20741== Lock acquired, processing the job...
[2025-03-10 15:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:16:03] Production.INFO: ==20743== Lock acquired, processing the job...
[2025-03-10 15:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:16:03] Production.INFO: ==20745== Lock acquired, processing the job...
[2025-03-10 15:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:16:04] Production.INFO: ==20747== Lock acquired, processing the job...
[2025-03-10 15:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:16:04] Production.INFO: ==20749== Lock acquired, processing the job...
[2025-03-10 15:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:16:04] Production.INFO: ==20743== Releasing lock...
[2025-03-10 15:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:16:04] Production.INFO: Account Balance Start.
[2025-03-10 15:16:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:16:04] Production.INFO: 117
[2025-03-10 15:16:04] Production.INFO: ==20751== Lock acquired, processing the job...
[2025-03-10 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:16:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:16:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:16:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:16:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:16:04] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 15:16:04] Production.INFO: CreateAllLog End
[2025-03-10 15:16:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:16:04] Production.INFO: count ==21
[2025-03-10 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650373') start
[2025-03-10 15:16:04] Production.ERROR: done
[2025-03-10 15:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650373') end
[2025-03-10 15:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:16:04] Production.INFO: 1
[2025-03-10 15:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:16:05] Production.INFO: ==20751== Releasing lock...
[2025-03-10 15:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:16:05] Production.ERROR: done
[2025-03-10 15:16:05] Production.INFO: Account Balance End.
[2025-03-10 15:16:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:16:05] Production.INFO: ==20747== Releasing lock...
[2025-03-10 15:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:16:06
[end_date_ymd] => 2025-03-10 15:16:06
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:16:06' and `end` < '2025-03-10 15: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-03-10 15:16:13] Production.ERROR: CronJobId end10
[2025-03-10 15:16:13] Production.INFO: ==20745== Releasing lock...
[2025-03-10 15:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:16:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:16:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:16:14] Production.INFO: call_cost start
[2025-03-10 15:16:14] Production.INFO: call_cost end
[2025-03-10 15:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:16:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:16:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:16:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:16:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:16:15] Production.INFO: ==20741== Releasing lock...
[2025-03-10 15:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:16:19] Production.INFO: count ==5182
[2025-03-10 15:16:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:16:06 - End Time 2025-03-10 15:16:06
[2025-03-10 15:16:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650374', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650374', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650374', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650374', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:16:21] Production.INFO: ProcessCDR(1,14650374,1,1,2)
[2025-03-10 15:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:16:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:16:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:16:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650374', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650374', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:16:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:16:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:16:27] Production.INFO: ==20749== Releasing lock...
[2025-03-10 15:16:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:16:27] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 19:17:01] Production.INFO: ==20805== Lock acquired, processing the job...
[2025-03-10 19:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:17:01] Production.INFO: neon service started
[2025-03-10 19:17:01] Production.INFO: neon service started
[2025-03-10 19:17:01] Production.INFO: ==20805== Releasing lock...
[2025-03-10 19:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:17:01] Production.INFO: ==20807== Lock acquired, processing the job...
[2025-03-10 15:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:17:01] Production.INFO: ==20809== Lock acquired, processing the job...
[2025-03-10 19:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:17:01] Production.INFO: ==20809== Releasing lock...
[2025-03-10 19:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:17:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:17:02] Production.INFO: ==20807== Releasing lock...
[2025-03-10 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:17:02] Production.INFO: ==20811== Lock acquired, processing the job...
[2025-03-10 15:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:17:03] Production.INFO: ==20813== Lock acquired, processing the job...
[2025-03-10 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:17:03] Production.INFO: ==20815== Lock acquired, processing the job...
[2025-03-10 15:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:17:03] Production.INFO: ==20813== Releasing lock...
[2025-03-10 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:17:03] Production.INFO: ==20817== Lock acquired, processing the job...
[2025-03-10 15:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:17:03] Production.INFO: ==20821== Lock acquired, processing the job...
[2025-03-10 15:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:17:03] Production.INFO: Account Balance Start.
[2025-03-10 15:17:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:17:03] Production.INFO: 117
[2025-03-10 15:17:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:17:03] Production.INFO: ==20819== Lock acquired, processing the job...
[2025-03-10 15:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:17:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:17:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:17:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:17:03] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 15:17:03] Production.INFO: CreateAllLog End
[2025-03-10 15:17:03] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:17:03] Production.INFO: count ==21
[2025-03-10 15:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650378') start
[2025-03-10 15:17:03] Production.ERROR: done
[2025-03-10 15:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:17:04] Production.INFO: Account Balance End.
[2025-03-10 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650378') end
[2025-03-10 15:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:17:04] Production.INFO: 1
[2025-03-10 15:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:17:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:17:04] Production.INFO: ==20817== Releasing lock...
[2025-03-10 15:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:17:04] Production.INFO: ==20821== Releasing lock...
[2025-03-10 15:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:17:04] Production.ERROR: done
[2025-03-10 15:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:17:05
[end_date_ymd] => 2025-03-10 15:17:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:17:05' and `end` < '2025-03-10 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-03-10 15:17:11] Production.ERROR: CronJobId end10
[2025-03-10 15:17:11] Production.INFO: ==20815== Releasing lock...
[2025-03-10 15:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:17:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:17:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:17:14] Production.INFO: call_cost start
[2025-03-10 15:17:14] Production.INFO: call_cost end
[2025-03-10 15:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:17:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:17:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:17:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:17:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:17:15] Production.INFO: ==20811== Releasing lock...
[2025-03-10 15:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:17:18] Production.INFO: count ==5179
[2025-03-10 15:17:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:17:05 - End Time 2025-03-10 15:17:05
[2025-03-10 15:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650379', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650379', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650379', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650379', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:17:20] Production.INFO: ProcessCDR(1,14650379,1,1,2)
[2025-03-10 15:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:17:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:17:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:17:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650379', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650379', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:17:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:17:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:17:25] Production.INFO: ==20819== Releasing lock...
[2025-03-10 15:17:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:17:25] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 19:18:01] Production.INFO: ==20875== Lock acquired, processing the job...
[2025-03-10 19:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:18:01] Production.INFO: neon service started
[2025-03-10 19:18:01] Production.INFO: neon service started
[2025-03-10 19:18:01] Production.INFO: ==20875== Releasing lock...
[2025-03-10 19:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:18:02] Production.INFO: ==20878== Lock acquired, processing the job...
[2025-03-10 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:18:02] Production.INFO: ==20880== Lock acquired, processing the job...
[2025-03-10 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:18:02] Production.INFO: ==20880== Releasing lock...
[2025-03-10 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:18:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:18:02] Production.INFO: ==20878== Releasing lock...
[2025-03-10 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:18:03] Production.INFO: ==20882== Lock acquired, processing the job...
[2025-03-10 15:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:18:03] Production.INFO: ==20884== Lock acquired, processing the job...
[2025-03-10 15:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:18:03] Production.INFO: ==20888== Lock acquired, processing the job...
[2025-03-10 15:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:18:04] Production.INFO: ==20886== Lock acquired, processing the job...
[2025-03-10 15:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:18:04] Production.INFO: Account Balance Start.
[2025-03-10 15:18:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:18:04] Production.INFO: ==20890== Lock acquired, processing the job...
[2025-03-10 15:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:18:04] Production.INFO: 117
[2025-03-10 15:18:04] Production.INFO: ==20892== Lock acquired, processing the job...
[2025-03-10 15:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:18:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:18:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 15:18:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:18:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:18:04] Production.INFO: count ==13
[2025-03-10 15:18:04] Production.INFO: Total Charge 0
[2025-03-10 15:18:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 15:18:04] Production.INFO: count ==21
[2025-03-10 15:18:04] Production.INFO: ==20884== Releasing lock...
[2025-03-10 15:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650383') start
[2025-03-10 15:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650383') end
[2025-03-10 15:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:18:04] Production.INFO: 1
[2025-03-10 15:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:18:04] Production.ERROR: done
[2025-03-10 15:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:18:04] Production.INFO: ==20892== Releasing lock...
[2025-03-10 15:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:18:04] Production.INFO: Account Balance End.
[2025-03-10 15:18:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:18:04] Production.INFO: ==20888== Releasing lock...
[2025-03-10 15:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:18:04] Production.ERROR: done
[2025-03-10 15:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:18:05
[end_date_ymd] => 2025-03-10 15:18:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:18:05' and `end` < '2025-03-10 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-03-10 15:18:12] Production.ERROR: CronJobId end10
[2025-03-10 15:18:12] Production.INFO: ==20886== Releasing lock...
[2025-03-10 15:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:18:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:18:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:18:15] Production.INFO: call_cost start
[2025-03-10 15:18:15] Production.INFO: call_cost end
[2025-03-10 15:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:18:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:18:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:18:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:18:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:18:16] Production.INFO: ==20882== Releasing lock...
[2025-03-10 15:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:18:19] Production.INFO: count ==5187
[2025-03-10 15:18:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:18:05 - End Time 2025-03-10 15:18:05
[2025-03-10 15:18:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650384', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650384', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650384', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650384', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:18:21] Production.INFO: ProcessCDR(1,14650384,1,1,2)
[2025-03-10 15:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:18:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:18:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:18:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:18:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650384', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:18:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650384', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:18:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:18:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:18:27] Production.INFO: ==20890== Releasing lock...
[2025-03-10 15:18:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:18:27] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 19:19:02] Production.INFO: ==20948== Lock acquired, processing the job...
[2025-03-10 19:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:19:02] Production.INFO: neon service started
[2025-03-10 19:19:02] Production.INFO: neon service started
[2025-03-10 19:19:02] Production.INFO: ==20948== Releasing lock...
[2025-03-10 19:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:19:02] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 15:19:02] Production.INFO: ==20951== Lock acquired, processing the job...
[2025-03-10 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:19:03] Production.INFO: ==20951== Releasing lock...
[2025-03-10 15:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:19:03] Production.INFO: ==20953== Lock acquired, processing the job...
[2025-03-10 19:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:19:03] Production.INFO: ==20953== Releasing lock...
[2025-03-10 19:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:19:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:19:04] Production.INFO: ==20957== Lock acquired, processing the job...
[2025-03-10 15:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:19:04] Production.INFO: ==20965== Lock acquired, processing the job...
[2025-03-10 15:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:19:04] Production.INFO: ==20955== Lock acquired, processing the job...
[2025-03-10 15:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15: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-03-10 15:19:04] Production.INFO: ==20959== Lock acquired, processing the job...
[2025-03-10 15:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:19:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:19:04] Production.INFO: ==20961== Lock acquired, processing the job...
[2025-03-10 15:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:19:04] Production.INFO: count ==21
[2025-03-10 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650386') start
[2025-03-10 15:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:19:04] Production.INFO: ==20963== Lock acquired, processing the job...
[2025-03-10 15:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:19:04] Production.INFO: Account Balance Start.
[2025-03-10 15:19:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:19:04] Production.INFO: 117
[2025-03-10 15:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:19:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650386') end
[2025-03-10 15:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:19:04] Production.INFO: 1
[2025-03-10 15:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:19:04] Production.INFO: ==20957== Releasing lock...
[2025-03-10 15:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:19:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:19:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:19:04] Production.INFO: Total Charge 0
[2025-03-10 15:19:04] Production.INFO: CreateAllLog End
[2025-03-10 15:19:04] Production.INFO: ==20965== Releasing lock...
[2025-03-10 15:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:19:04] Production.ERROR: done
[2025-03-10 15:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:19:04] Production.ERROR: done
[2025-03-10 15:19:05] Production.INFO: Account Balance End.
[2025-03-10 15:19:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:19:05] Production.INFO: ==20961== Releasing lock...
[2025-03-10 15:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:19:05
[end_date_ymd] => 2025-03-10 15:19:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:19:05' and `end` < '2025-03-10 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-03-10 15:19:13] Production.ERROR: CronJobId end10
[2025-03-10 15:19:13] Production.INFO: ==20959== Releasing lock...
[2025-03-10 15:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:19:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:19:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:19:15] Production.INFO: call_cost start
[2025-03-10 15:19:15] Production.INFO: call_cost end
[2025-03-10 15:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:19:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:19:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:19:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:19:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:19:16] Production.INFO: ==20955== Releasing lock...
[2025-03-10 15:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:19:19] Production.INFO: count ==5178
[2025-03-10 15:19:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:19:05 - End Time 2025-03-10 15:19:05
[2025-03-10 15:19:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650389', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650389', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650389', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650389', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:19:21] Production.INFO: ProcessCDR(1,14650389,1,1,2)
[2025-03-10 15:19:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:19:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:19:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:19:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650389', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650389', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:19:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:19:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:19:26] Production.INFO: ==20963== Releasing lock...
[2025-03-10 15:19:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:19:26] Production.INFO: 66.75 MB #Memory Used#
[2025-03-10 19:20:01] Production.INFO: ==21059== Lock acquired, processing the job...
[2025-03-10 19:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:20:01] Production.INFO: neon service started
[2025-03-10 19:20:01] Production.INFO: neon service started
[2025-03-10 19:20:01] Production.INFO: ==21059== Releasing lock...
[2025-03-10 19:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:20:02] Production.INFO: ==21061== Lock acquired, processing the job...
[2025-03-10 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:20:02] Production.INFO: ==21063== Lock acquired, processing the job...
[2025-03-10 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:20:02] Production.INFO: ==21063== Releasing lock...
[2025-03-10 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:20:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:20:03] Production.INFO: ==21061== Releasing lock...
[2025-03-10 15:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:20:04] Production.INFO: ==21070== Lock acquired, processing the job...
[2025-03-10 15:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:20:04] Production.INFO: ==21076== Lock acquired, processing the job...
[2025-03-10 15:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:20:04] Production.INFO: ==21080== Lock acquired, processing the job...
[2025-03-10 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:20:04] Production.INFO: ==21068== Lock acquired, processing the job...
[2025-03-10 15:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:20:04] Production.INFO: ==21066== Lock acquired, processing the job...
[2025-03-10 15:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 15:20:04] Production.INFO: ==21072== Lock acquired, processing the job...
[2025-03-10 15:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:20:04] Production.INFO: ==21074== Lock acquired, processing the job...
[2025-03-10 15:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:20:04] Production.INFO: ==21070== Releasing lock...
[2025-03-10 15:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:20:04] Production.INFO: ==21078== Lock acquired, processing the job...
[2025-03-10 15:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 15:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 15:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 15:20:04] Production.ERROR: CronJob PID - 21068
[2025-03-10 15:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 15:20:04] Production.ERROR: CronJob ID - 5
[2025-03-10 15:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 15:20:00
[2025-03-10 15:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 15:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 15:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 15:20:04] Production.ERROR: CronJob PID - 21072
[2025-03-10 15:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 15:20:04] Production.ERROR: CronJob ID - 10
[2025-03-10 15:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 15:20:00
[2025-03-10 15:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 15:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 15:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 15:20:04] Production.ERROR: CronJob PID - 21074
[2025-03-10 15:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 15:20:04] Production.ERROR: CronJob ID - 12
[2025-03-10 15:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 15:20:00
[2025-03-10 15:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 15:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 15:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 15:20:04] Production.ERROR: CronJob PID - 21076
[2025-03-10 15:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 15:20:04] Production.ERROR: CronJob ID - 16
[2025-03-10 15:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 15:20:00
[2025-03-10 15:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 15:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 15:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 15:20:04] Production.ERROR: CronJob PID - 21080
[2025-03-10 15:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 15:20:04] Production.ERROR: CronJob ID - 19
[2025-03-10 15:20:04] Production.ERROR: CronJob Last Run Time 2025-03-10 15:20:00
[2025-03-10 15:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 15:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 15:20:04] Production.INFO: Account Balance Start.
[2025-03-10 15:20:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:20:04] Production.INFO: 117
[2025-03-10 15:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 15:20:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:20:04] Production.INFO: count ==13
[2025-03-10 15:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 15:20:04] Production.INFO: count ==21
[2025-03-10 15:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 15:20:04] Production.INFO: ==21066== Releasing lock...
[2025-03-10 15:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 15:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650391') start
[2025-03-10 15:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:20:04] Production.ERROR: done
[2025-03-10 15:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:20:05] Production.INFO: Total Charge 0
[2025-03-10 15:20:05] Production.INFO: CreateAllLog End
[2025-03-10 15:20:05] Production.ERROR: done
[2025-03-10 15:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650391') end
[2025-03-10 15:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:20:05] Production.INFO: 1
[2025-03-10 15:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:20:05] Production.INFO: ==21080== Releasing lock...
[2025-03-10 15:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:20:05] Production.ERROR: done
[2025-03-10 15:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 15:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650395', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 15:20:05] Production.INFO: Account Balance End.
[2025-03-10 15:20:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:20:05] Production.INFO: ==21074== Releasing lock...
[2025-03-10 15:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:20:06
[end_date_ymd] => 2025-03-10 15:20:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:20:06' and `end` < '2025-03-10 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-03-10 15:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650395', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 15:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 15:20:10] Production.INFO: ProcessCDR(1,14650395,1,1,2)
[2025-03-10 15:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650395,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650395,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:20:10] Production.INFO: ==21078== Releasing lock...
[2025-03-10 15:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 15:20:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 15:20:15] Production.ERROR: CronJobId end10
[2025-03-10 15:20:15] Production.INFO: ==21072== Releasing lock...
[2025-03-10 15:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:20:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:20:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:20:17] Production.INFO: call_cost start
[2025-03-10 15:20:17] Production.INFO: call_cost end
[2025-03-10 15:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:20:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:20:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:20:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:20:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:20:18] Production.INFO: ==21068== Releasing lock...
[2025-03-10 15:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:20:19] Production.INFO: count ==5196
[2025-03-10 15:20:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:20:06 - End Time 2025-03-10 15:20:06
[2025-03-10 15:20:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650394', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650394', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650394', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650394', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:20:22] Production.INFO: ProcessCDR(1,14650394,1,1,2)
[2025-03-10 15:20:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:20:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:20:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:20:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650394', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650394', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:20:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:20:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:20:26] Production.INFO: ==21076== Releasing lock...
[2025-03-10 15:20:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:20:26] Production.INFO: 67 MB #Memory Used#
[2025-03-10 19:21:02] Production.INFO: ==21135== Lock acquired, processing the job...
[2025-03-10 19:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:21:02] Production.INFO: neon service started
[2025-03-10 19:21:02] Production.INFO: neon service started
[2025-03-10 19:21:02] Production.INFO: ==21135== Releasing lock...
[2025-03-10 19:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:21:02] Production.INFO: ==21137== Lock acquired, processing the job...
[2025-03-10 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:21:03] Production.INFO: ==21137== Releasing lock...
[2025-03-10 15:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:21:03] Production.INFO: ==21139== Lock acquired, processing the job...
[2025-03-10 19:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:21:03] Production.INFO: ==21139== Releasing lock...
[2025-03-10 19:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:21:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:21:03] Production.INFO: ==21147== Lock acquired, processing the job...
[2025-03-10 15:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:21:04] Production.INFO: ==21151== Lock acquired, processing the job...
[2025-03-10 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:21:04] Production.INFO: Account Balance Start.
[2025-03-10 15:21:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:21:04] Production.INFO: 117
[2025-03-10 15:21:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:21:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:21:04] Production.INFO: ==21141== Lock acquired, processing the job...
[2025-03-10 15:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:21:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:21:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:21:04] Production.INFO: Total Charge 0
[2025-03-10 15:21:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 15:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:21:04] Production.INFO: ==21143== Lock acquired, processing the job...
[2025-03-10 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:21:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:21:04] Production.INFO: count ==21
[2025-03-10 15:21:04] Production.INFO: ==21145== Lock acquired, processing the job...
[2025-03-10 15:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:21:04] Production.INFO: Account Balance End.
[2025-03-10 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650397') start
[2025-03-10 15:21:04] Production.INFO: ==21149== Lock acquired, processing the job...
[2025-03-10 15:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:21:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:21:04] Production.INFO: ==21147== Releasing lock...
[2025-03-10 15:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650397') end
[2025-03-10 15:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:21:04] Production.INFO: 1
[2025-03-10 15:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:21:04] Production.INFO: ==21151== Releasing lock...
[2025-03-10 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:21:04] Production.INFO: ==21143== Releasing lock...
[2025-03-10 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:21:04] Production.ERROR: done
[2025-03-10 15:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:21:05] Production.ERROR: done
[2025-03-10 15:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:21:06
[end_date_ymd] => 2025-03-10 15:21:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:21:06' and `end` < '2025-03-10 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-03-10 15:21:13] Production.ERROR: CronJobId end10
[2025-03-10 15:21:13] Production.INFO: ==21145== Releasing lock...
[2025-03-10 15:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:21:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:21:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:21:15] Production.INFO: call_cost start
[2025-03-10 15:21:15] Production.INFO: call_cost end
[2025-03-10 15:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:21:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:21:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:21:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:21:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:21:16] Production.INFO: ==21141== Releasing lock...
[2025-03-10 15:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:21:19] Production.INFO: count ==5231
[2025-03-10 15:21:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:21:06 - End Time 2025-03-10 15:21:06
[2025-03-10 15:21:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650400', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650400', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650400', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650400', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:21:21] Production.INFO: ProcessCDR(1,14650400,1,1,2)
[2025-03-10 15:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:21:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:21:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:21:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650400', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650400', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:21:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:21:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:21:27] Production.INFO: ==21149== Releasing lock...
[2025-03-10 15:21:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:21:27] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 19:22:01] Production.INFO: ==21207== Lock acquired, processing the job...
[2025-03-10 19:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:22:01] Production.INFO: neon service started
[2025-03-10 19:22:01] Production.INFO: neon service started
[2025-03-10 19:22:01] Production.INFO: ==21207== Releasing lock...
[2025-03-10 19:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:22:02] Production.INFO: ==21209== Lock acquired, processing the job...
[2025-03-10 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:22:02] Production.INFO: ==21211== Lock acquired, processing the job...
[2025-03-10 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:22:02] Production.INFO: ==21211== Releasing lock...
[2025-03-10 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:22:02] Production.INFO: ==21209== Releasing lock...
[2025-03-10 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:22:03] Production.INFO: ==21218== Lock acquired, processing the job...
[2025-03-10 15:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:22:03] Production.INFO: ==21222== Lock acquired, processing the job...
[2025-03-10 15:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:22:03] Production.INFO: ==21216== Lock acquired, processing the job...
[2025-03-10 15:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:22:04] Production.INFO: ==21214== Lock acquired, processing the job...
[2025-03-10 15:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:22:04] Production.INFO: ==21220== Lock acquired, processing the job...
[2025-03-10 15:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:22:04] Production.INFO: ==21224== Lock acquired, processing the job...
[2025-03-10 15:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:22:04] Production.ERROR: done
[2025-03-10 15:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:22:04] Production.INFO: ==21216== Releasing lock...
[2025-03-10 15:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:22:04] Production.INFO: Account Balance Start.
[2025-03-10 15:22:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:22:04] Production.INFO: 117
[2025-03-10 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-03-10 15:22:04] Production.INFO: count ==13
[2025-03-10 15:22:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 15:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:22:04] Production.ERROR: done
[2025-03-10 15:22:04] Production.INFO: count ==21
[2025-03-10 15:22:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650403') start
[2025-03-10 15:22:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:22:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:22:04] Production.INFO: Total Charge 0
[2025-03-10 15:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650403') end
[2025-03-10 15:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:22:04] Production.INFO: 1
[2025-03-10 15:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:22:04] Production.INFO: CreateAllLog End
[2025-03-10 15:22:04] Production.INFO: ==21224== Releasing lock...
[2025-03-10 15:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:22:04] Production.INFO: Account Balance End.
[2025-03-10 15:22:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:22:04] Production.INFO: ==21220== Releasing lock...
[2025-03-10 15:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:22:05
[end_date_ymd] => 2025-03-10 15:22:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:22:05' and `end` < '2025-03-10 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-03-10 15:22:14] Production.ERROR: CronJobId end10
[2025-03-10 15:22:14] Production.INFO: ==21218== Releasing lock...
[2025-03-10 15:22:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:22:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:22:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:22:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:22:15] Production.INFO: call_cost start
[2025-03-10 15:22:15] Production.INFO: call_cost end
[2025-03-10 15:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:22:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:22:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:22:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:22:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:22:16] Production.INFO: ==21214== Releasing lock...
[2025-03-10 15:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:22:19] Production.INFO: count ==5245
[2025-03-10 15:22:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:22:05 - End Time 2025-03-10 15:22:05
[2025-03-10 15:22:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650405', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650405', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650405', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650405', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:22:21] Production.INFO: ProcessCDR(1,14650405,1,1,2)
[2025-03-10 15:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650405', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650405', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:22:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:22:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:22:26] Production.INFO: ==21222== Releasing lock...
[2025-03-10 15:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:22:26] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 19:23:02] Production.INFO: ==21277== Lock acquired, processing the job...
[2025-03-10 19:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:23:02] Production.INFO: neon service started
[2025-03-10 19:23:02] Production.INFO: neon service started
[2025-03-10 19:23:02] Production.INFO: ==21277== Releasing lock...
[2025-03-10 19:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:23:03] Production.INFO: ==21280== Lock acquired, processing the job...
[2025-03-10 15:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:23:03] Production.INFO: ==21282== Lock acquired, processing the job...
[2025-03-10 19:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:23:03] Production.INFO: ==21282== Releasing lock...
[2025-03-10 19:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:23:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:23:03] Production.INFO: ==21280== Releasing lock...
[2025-03-10 15:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:23:04] Production.INFO: ==21291== Lock acquired, processing the job...
[2025-03-10 15:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:23:04] Production.INFO: ==21293== Lock acquired, processing the job...
[2025-03-10 15:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:23:04] Production.INFO: Account Balance Start.
[2025-03-10 15:23:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:23:04] Production.INFO: 117
[2025-03-10 15:23:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:23:04] Production.INFO: ==21285== Lock acquired, processing the job...
[2025-03-10 15:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:23:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:23:04] Production.INFO: ==21289== Lock acquired, processing the job...
[2025-03-10 15:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:23:04] Production.INFO: ==21287== Lock acquired, processing the job...
[2025-03-10 15:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:23:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:23:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:23:04] Production.INFO: ==21295== Lock acquired, processing the job...
[2025-03-10 15:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:23:04] Production.INFO: Total Charge 0
[2025-03-10 15:23:04] Production.INFO: CreateAllLog End
[2025-03-10 15:23:04] Production.ERROR: done
[2025-03-10 15:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:23:05] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:23:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:23:05] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:23: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-03-10 15:23:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:23:05] Production.INFO: count ==13
[2025-03-10 15:23: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-03-10 15:23:05] Production.INFO: count ==21
[2025-03-10 15:23:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650409') start
[2025-03-10 15:23:05] Production.INFO: Account Balance End.
[2025-03-10 15:23:05] Production.ERROR: done
[2025-03-10 15:23:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:23:05] Production.INFO: ==21291== Releasing lock...
[2025-03-10 15:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:23:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650409') end
[2025-03-10 15:23:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:23:05] Production.INFO: 1
[2025-03-10 15:23:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:23:05] Production.INFO: ==21295== Releasing lock...
[2025-03-10 15:23:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:23:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:23:05] Production.INFO: ==21287== Releasing lock...
[2025-03-10 15:23:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:23:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:23:06
[end_date_ymd] => 2025-03-10 15:23:06
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:23:06' and `end` < '2025-03-10 15: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-03-10 15:23:14] Production.ERROR: CronJobId end10
[2025-03-10 15:23:14] Production.INFO: ==21289== Releasing lock...
[2025-03-10 15:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:23:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:23:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:23:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:23:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:23:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:23:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:23:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:23:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:23:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:23:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:23:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:23:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:23:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:23:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:23:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:23:16] Production.INFO: call_cost start
[2025-03-10 15:23:16] Production.INFO: call_cost end
[2025-03-10 15:23:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:23:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:23:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:23:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:23:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:23:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:23:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:23:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:23:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:23:17] Production.INFO: ==21285== Releasing lock...
[2025-03-10 15:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:23:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:23:19] Production.INFO: count ==5274
[2025-03-10 15:23:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:23:06 - End Time 2025-03-10 15:23:06
[2025-03-10 15:23:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650410', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650410', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650410', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650410', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:23:21] Production.INFO: ProcessCDR(1,14650410,1,1,2)
[2025-03-10 15:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:23:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:23:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:23:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650410', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650410', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:23:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:23:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:23:27] Production.INFO: ==21293== Releasing lock...
[2025-03-10 15:23:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:23:27] Production.INFO: 67.5 MB #Memory Used#
[2025-03-10 19:24:02] Production.INFO: ==21354== Lock acquired, processing the job...
[2025-03-10 19:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:24:02] Production.INFO: neon service started
[2025-03-10 19:24:02] Production.INFO: neon service started
[2025-03-10 19:24:02] Production.INFO: ==21354== Releasing lock...
[2025-03-10 19:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:24:02] Production.INFO: ==21356== Lock acquired, processing the job...
[2025-03-10 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:24:02] Production.INFO: ==21358== Lock acquired, processing the job...
[2025-03-10 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:24:02] Production.INFO: ==21358== Releasing lock...
[2025-03-10 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:24:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:24:03] Production.INFO: ==21356== Releasing lock...
[2025-03-10 15:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:24:03] Production.INFO: ==21365== Lock acquired, processing the job...
[2025-03-10 15:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:24:04] Production.INFO: ==21369== Lock acquired, processing the job...
[2025-03-10 15:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:24:04] Production.INFO: ==21361== Lock acquired, processing the job...
[2025-03-10 15:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:24:04] Production.INFO: ==21371== Lock acquired, processing the job...
[2025-03-10 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:24:04] Production.INFO: ==21363== Lock acquired, processing the job...
[2025-03-10 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:24:04] Production.INFO: ==21367== Lock acquired, processing the job...
[2025-03-10 15:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 15:24:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:24:04] Production.INFO: count ==21
[2025-03-10 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650412') start
[2025-03-10 15:24:04] Production.ERROR: done
[2025-03-10 15:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:24:04] Production.INFO: Account Balance Start.
[2025-03-10 15:24:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:24:04] Production.INFO: 117
[2025-03-10 15:24:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650412') end
[2025-03-10 15:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:24:04] Production.INFO: 1
[2025-03-10 15:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:24:04] Production.ERROR: done
[2025-03-10 15:24:04] Production.INFO: ==21371== Releasing lock...
[2025-03-10 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:24:04] Production.INFO: ==21363== Releasing lock...
[2025-03-10 15:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:24:04] Production.INFO: Total Charge 0
[2025-03-10 15:24:05] Production.INFO: CreateAllLog End
[2025-03-10 15:24:05] Production.INFO: Account Balance End.
[2025-03-10 15:24:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:24:05] Production.INFO: ==21367== Releasing lock...
[2025-03-10 15:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:24:05
[end_date_ymd] => 2025-03-10 15:24:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:24:05' and `end` < '2025-03-10 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-03-10 15:24:13] Production.ERROR: CronJobId end10
[2025-03-10 15:24:13] Production.INFO: ==21365== Releasing lock...
[2025-03-10 15:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:24:14] Production.INFO: call_cost start
[2025-03-10 15:24:14] Production.INFO: call_cost end
[2025-03-10 15:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:24:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:24:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:24:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:24:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:24:15] Production.INFO: ==21361== Releasing lock...
[2025-03-10 15:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:24:19] Production.INFO: count ==5262
[2025-03-10 15:24:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:24:05 - End Time 2025-03-10 15:24:05
[2025-03-10 15:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650415', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650415', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650415', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650415', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:24:21] Production.INFO: ProcessCDR(1,14650415,1,1,2)
[2025-03-10 15:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:24:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:24:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650415', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650415', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:24:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:24:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:24:26] Production.INFO: ==21369== Releasing lock...
[2025-03-10 15:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:24:26] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 19:25:01] Production.INFO: ==21427== Lock acquired, processing the job...
[2025-03-10 19:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:25:01] Production.INFO: neon service started
[2025-03-10 19:25:01] Production.INFO: neon service started
[2025-03-10 19:25:01] Production.INFO: ==21427== Releasing lock...
[2025-03-10 19:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:25:01] Production.INFO: ==21429== Lock acquired, processing the job...
[2025-03-10 15:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:25:02] Production.INFO: ==21429== Releasing lock...
[2025-03-10 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:25:02] Production.INFO: ==21431== Lock acquired, processing the job...
[2025-03-10 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:25:02] Production.INFO: ==21431== Releasing lock...
[2025-03-10 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:25:03] Production.INFO: ==21439== Lock acquired, processing the job...
[2025-03-10 15:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:25:03] Production.INFO: ==21443== Lock acquired, processing the job...
[2025-03-10 15:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:25:03] Production.INFO: Account Balance Start.
[2025-03-10 15:25:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:25:03] Production.INFO: 117
[2025-03-10 15:25:03] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 15:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:25:03] Production.INFO: count ==13
[2025-03-10 15:25:03] Production.INFO: ==21433== Lock acquired, processing the job...
[2025-03-10 15:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 15:25:03] Production.INFO: count ==21
[2025-03-10 15:25:03] Production.INFO: ==21437== Lock acquired, processing the job...
[2025-03-10 15:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:25:03] Production.INFO: ==21435== Lock acquired, processing the job...
[2025-03-10 15:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:25:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650417') start
[2025-03-10 15:25:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:25:03] Production.INFO: Total Charge 0
[2025-03-10 15:25:03] Production.INFO: ==21441== Lock acquired, processing the job...
[2025-03-10 15:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:25:03] Production.INFO: CreateAllLog End
[2025-03-10 15:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650417') end
[2025-03-10 15:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:25:03] Production.INFO: 1
[2025-03-10 15:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:25:03] Production.INFO: ==21443== Releasing lock...
[2025-03-10 15:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:25:03] Production.INFO: ==21435== Releasing lock...
[2025-03-10 15:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:25:03] Production.INFO: Account Balance End.
[2025-03-10 15:25:03] Production.ERROR: done
[2025-03-10 15:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:25:04] Production.INFO: ==21439== Releasing lock...
[2025-03-10 15:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:25:04] Production.ERROR: done
[2025-03-10 15:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:25:05
[end_date_ymd] => 2025-03-10 15:25:05
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:25:05' and `end` < '2025-03-10 15: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-03-10 15:25:13] Production.ERROR: CronJobId end10
[2025-03-10 15:25:13] Production.INFO: ==21437== Releasing lock...
[2025-03-10 15:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:25:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:25:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:25:14] Production.INFO: call_cost start
[2025-03-10 15:25:14] Production.INFO: call_cost end
[2025-03-10 15:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:25:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:25:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:25:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:25:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:25:15] Production.INFO: ==21433== Releasing lock...
[2025-03-10 15:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:25:18] Production.INFO: count ==5262
[2025-03-10 15:25:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:25:05 - End Time 2025-03-10 15:25:05
[2025-03-10 15:25:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650420', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650420', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650420', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650420', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:25:20] Production.INFO: ProcessCDR(1,14650420,1,1,2)
[2025-03-10 15:25:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:25:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:25:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:25:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650420', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:25:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650420', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:25:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:25:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:25:25] Production.INFO: ==21441== Releasing lock...
[2025-03-10 15:25:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:25:25] Production.INFO: 67.5 MB #Memory Used#
[2025-03-10 19:26:01] Production.INFO: ==21498== Lock acquired, processing the job...
[2025-03-10 19:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:26:01] Production.INFO: neon service started
[2025-03-10 19:26:02] Production.INFO: neon service started
[2025-03-10 19:26:02] Production.INFO: ==21498== Releasing lock...
[2025-03-10 19:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:26:02] Production.INFO: ==21500== Lock acquired, processing the job...
[2025-03-10 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:26:02] Production.INFO: ==21500== Releasing lock...
[2025-03-10 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:26:02] Production.INFO: ==21502== Lock acquired, processing the job...
[2025-03-10 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:26:02] Production.INFO: ==21502== Releasing lock...
[2025-03-10 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:26:03] Production.INFO: ==21513== Lock acquired, processing the job...
[2025-03-10 15:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:26:03] Production.INFO: ==21515== Lock acquired, processing the job...
[2025-03-10 15:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:26:03] Production.INFO: ==21505== Lock acquired, processing the job...
[2025-03-10 15:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15: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-03-10 15:26:03] Production.INFO: count ==13
[2025-03-10 15:26:03] Production.INFO: ==21509== Lock acquired, processing the job...
[2025-03-10 15:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:26:03] Production.INFO: ==21507== Lock acquired, processing the job...
[2025-03-10 15:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:26:03] Production.INFO: ==21511== Lock acquired, processing the job...
[2025-03-10 15:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15: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-03-10 15:26:03] Production.INFO: count ==21
[2025-03-10 15:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650421') start
[2025-03-10 15:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:26:04] Production.INFO: Account Balance Start.
[2025-03-10 15:26:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:26:04] Production.INFO: 117
[2025-03-10 15:26:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650421') end
[2025-03-10 15:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:26:04] Production.INFO: 1
[2025-03-10 15:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:26:04] Production.INFO: ==21515== Releasing lock...
[2025-03-10 15:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:26:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:26:04] Production.ERROR: done
[2025-03-10 15:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:26:04] Production.INFO: Total Charge 0
[2025-03-10 15:26:04] Production.INFO: CreateAllLog End
[2025-03-10 15:26:04] Production.ERROR: done
[2025-03-10 15:26:04] Production.INFO: ==21507== Releasing lock...
[2025-03-10 15:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:26:04] Production.INFO: Account Balance End.
[2025-03-10 15:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:26:04] Production.INFO: ==21511== Releasing lock...
[2025-03-10 15:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:26:05
[end_date_ymd] => 2025-03-10 15:26:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:26:05' and `end` < '2025-03-10 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-03-10 15:26:14] Production.ERROR: CronJobId end10
[2025-03-10 15:26:14] Production.INFO: ==21509== Releasing lock...
[2025-03-10 15:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:26:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:26:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:26:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:26:15] Production.INFO: call_cost start
[2025-03-10 15:26:15] Production.INFO: call_cost end
[2025-03-10 15:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:26:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:26:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:26:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:26:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:26:16] Production.INFO: ==21505== Releasing lock...
[2025-03-10 15:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:26:18] Production.INFO: count ==5266
[2025-03-10 15:26:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:26:05 - End Time 2025-03-10 15:26:05
[2025-03-10 15:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650425', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650425', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650425', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650425', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:26:21] Production.INFO: ProcessCDR(1,14650425,1,1,2)
[2025-03-10 15:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650425', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650425', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:26:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:26:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:26:24] Production.INFO: ==21513== Releasing lock...
[2025-03-10 15:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:26:24] Production.INFO: 67.5 MB #Memory Used#
[2025-03-10 19:27:01] Production.INFO: ==21574== Lock acquired, processing the job...
[2025-03-10 19:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:27:01] Production.INFO: neon service started
[2025-03-10 19:27:01] Production.INFO: neon service started
[2025-03-10 19:27:01] Production.INFO: ==21574== Releasing lock...
[2025-03-10 19:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:27:01] Production.INFO: ==21576== Lock acquired, processing the job...
[2025-03-10 15:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:27:02] Production.INFO: ==21576== Releasing lock...
[2025-03-10 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:27:02] Production.INFO: ==21578== Lock acquired, processing the job...
[2025-03-10 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:27:02] Production.INFO: ==21578== Releasing lock...
[2025-03-10 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:27:03] Production.INFO: ==21589== Lock acquired, processing the job...
[2025-03-10 15:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:27:03] Production.INFO: ==21591== Lock acquired, processing the job...
[2025-03-10 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:27:03] Production.INFO: ==21581== Lock acquired, processing the job...
[2025-03-10 15:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:27:03] Production.INFO: ==21585== Lock acquired, processing the job...
[2025-03-10 15:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:27:03] Production.INFO: ==21583== Lock acquired, processing the job...
[2025-03-10 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15: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-03-10 15:27:03] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:27:03] Production.INFO: count ==21
[2025-03-10 15:27:03] Production.INFO: ==21587== Lock acquired, processing the job...
[2025-03-10 15:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650426') start
[2025-03-10 15:27:03] Production.ERROR: done
[2025-03-10 15:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650426') end
[2025-03-10 15:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:27:03] Production.INFO: 1
[2025-03-10 15:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:27:03] Production.INFO: Account Balance Start.
[2025-03-10 15:27:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:27:03] Production.INFO: 117
[2025-03-10 15:27:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:27:03] Production.INFO: ==21591== Releasing lock...
[2025-03-10 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:27:03] Production.ERROR: done
[2025-03-10 15:27:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:27:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:27:03] Production.INFO: ==21583== Releasing lock...
[2025-03-10 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:27:03] Production.INFO: Total Charge 0
[2025-03-10 15:27:03] Production.INFO: CreateAllLog End
[2025-03-10 15:27:03] Production.INFO: Account Balance End.
[2025-03-10 15:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:27:04] Production.INFO: ==21587== Releasing lock...
[2025-03-10 15:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:27:04
[end_date_ymd] => 2025-03-10 15:27:04
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:27:04' and `end` < '2025-03-10 15: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-03-10 15:27:12] Production.ERROR: CronJobId end10
[2025-03-10 15:27:12] Production.INFO: ==21585== Releasing lock...
[2025-03-10 15:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:27:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:27:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:27:15] Production.INFO: call_cost start
[2025-03-10 15:27:15] Production.INFO: call_cost end
[2025-03-10 15:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:27:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:27:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:27:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:27:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:27:16] Production.INFO: ==21581== Releasing lock...
[2025-03-10 15:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:27:18] Production.INFO: count ==5262
[2025-03-10 15:27:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:27:04 - End Time 2025-03-10 15:27:04
[2025-03-10 15:27:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650430', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650430', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650430', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650430', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:27:20] Production.INFO: ProcessCDR(1,14650430,1,1,2)
[2025-03-10 15:27:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:27:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:27:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:27:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:27:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650430', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:27:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650430', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:27:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:27:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:27:25] Production.INFO: ==21589== Releasing lock...
[2025-03-10 15:27:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:27:25] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 19:28:01] Production.INFO: ==21647== Lock acquired, processing the job...
[2025-03-10 19:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:28:01] Production.INFO: neon service started
[2025-03-10 19:28:02] Production.INFO: neon service started
[2025-03-10 19:28:02] Production.INFO: ==21647== Releasing lock...
[2025-03-10 19:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:28:02] Production.INFO: ==21649== Lock acquired, processing the job...
[2025-03-10 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:28:02] Production.INFO: ==21649== Releasing lock...
[2025-03-10 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:28:02] Production.INFO: ==21651== Lock acquired, processing the job...
[2025-03-10 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:28:02] Production.INFO: ==21651== Releasing lock...
[2025-03-10 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:28:03] Production.INFO: ==21658== Lock acquired, processing the job...
[2025-03-10 15:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:28:03] Production.INFO: ==21660== Lock acquired, processing the job...
[2025-03-10 15:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:28:03] Production.INFO: ==21654== Lock acquired, processing the job...
[2025-03-10 15:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:28:03] Production.INFO: ==21656== Lock acquired, processing the job...
[2025-03-10 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:28:03] Production.INFO: Account Balance Start.
[2025-03-10 15:28:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:28:04] Production.INFO: 117
[2025-03-10 15:28:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:28:04] Production.INFO: ==21662== Lock acquired, processing the job...
[2025-03-10 15:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:28:04] Production.INFO: ==21664== Lock acquired, processing the job...
[2025-03-10 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:28:04] Production.INFO: Total Charge 0
[2025-03-10 15:28:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 15:28:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:28:04] Production.INFO: count ==21
[2025-03-10 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650434') start
[2025-03-10 15:28:04] Production.INFO: ==21656== Releasing lock...
[2025-03-10 15:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650434') end
[2025-03-10 15:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:28:04] Production.INFO: 1
[2025-03-10 15:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:28:04] Production.INFO: Account Balance End.
[2025-03-10 15:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:28:04] Production.INFO: ==21660== Releasing lock...
[2025-03-10 15:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:28:04] Production.INFO: ==21664== Releasing lock...
[2025-03-10 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:28:04] Production.ERROR: done
[2025-03-10 15:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:28:04] Production.ERROR: done
[2025-03-10 15:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:28:05
[end_date_ymd] => 2025-03-10 15:28:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:28:05' and `end` < '2025-03-10 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-03-10 15: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,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-03-10 15:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:28:12] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:28:12] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:28:12] Production.INFO: call_cost start
[2025-03-10 15:28:12] Production.INFO: call_cost end
[2025-03-10 15:28:13] Production.ERROR: CronJobId end10
[2025-03-10 15:28:13] Production.INFO: ==21658== Releasing lock...
[2025-03-10 15:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:28:13] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:28:13] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:28:13] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:28:13] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:28:13] Production.INFO: ==21654== Releasing lock...
[2025-03-10 15:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:28:19] Production.INFO: count ==5234
[2025-03-10 15:28:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:28:05 - End Time 2025-03-10 15:28:05
[2025-03-10 15:28:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650435', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650435', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650435', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650435', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:28:21] Production.INFO: ProcessCDR(1,14650435,1,1,2)
[2025-03-10 15:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:28:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:28:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:28:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650435', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650435', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:28:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:28:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:28:27] Production.INFO: ==21662== Releasing lock...
[2025-03-10 15:28:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:28:27] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 19:29:01] Production.INFO: ==21717== Lock acquired, processing the job...
[2025-03-10 19:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:29:01] Production.INFO: neon service started
[2025-03-10 19:29:01] Production.INFO: neon service started
[2025-03-10 19:29:01] Production.INFO: ==21717== Releasing lock...
[2025-03-10 19:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:29:02] Production.INFO: ==21719== Lock acquired, processing the job...
[2025-03-10 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:29:02] Production.INFO: ==21719== Releasing lock...
[2025-03-10 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:29:02] Production.INFO: ==21721== Lock acquired, processing the job...
[2025-03-10 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:29:02] Production.INFO: ==21721== Releasing lock...
[2025-03-10 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:29:03] Production.INFO: ==21734== Lock acquired, processing the job...
[2025-03-10 15:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:29:03] Production.INFO: ==21730== Lock acquired, processing the job...
[2025-03-10 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:29:03] Production.INFO: ==21724== Lock acquired, processing the job...
[2025-03-10 15:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:29:03] Production.INFO: Account Balance Start.
[2025-03-10 15:29:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:29:03] Production.INFO: 117
[2025-03-10 15: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-03-10 15:29:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:29:03] Production.INFO: ==21726== Lock acquired, processing the job...
[2025-03-10 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:29:03] Production.INFO: count ==13
[2025-03-10 15:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15: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-03-10 15:29:03] Production.INFO: ==21728== Lock acquired, processing the job...
[2025-03-10 15:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:29:03] Production.INFO: count ==21
[2025-03-10 15:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650436') start
[2025-03-10 15:29:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:29:03] Production.INFO: ==21732== Lock acquired, processing the job...
[2025-03-10 15:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:29:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:29:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650436') end
[2025-03-10 15:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:29:03] Production.INFO: 1
[2025-03-10 15:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:29:04] Production.INFO: Total Charge 0
[2025-03-10 15:29:04] Production.INFO: CreateAllLog End
[2025-03-10 15:29:04] Production.INFO: ==21734== Releasing lock...
[2025-03-10 15:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:29:04] Production.INFO: ==21726== Releasing lock...
[2025-03-10 15:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:29:04] Production.ERROR: done
[2025-03-10 15:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:29:04] Production.INFO: Account Balance End.
[2025-03-10 15:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:29:04] Production.INFO: ==21730== Releasing lock...
[2025-03-10 15:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:29:04] Production.ERROR: done
[2025-03-10 15:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:29:05
[end_date_ymd] => 2025-03-10 15:29:05
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:29:05' and `end` < '2025-03-10 15: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-03-10 15:29:13] Production.ERROR: CronJobId end10
[2025-03-10 15:29:13] Production.INFO: ==21728== Releasing lock...
[2025-03-10 15:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:29:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:29:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:29:15] Production.INFO: call_cost start
[2025-03-10 15:29:15] Production.INFO: call_cost end
[2025-03-10 15:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:29:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:29:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:29:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:29:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:29:16] Production.INFO: ==21724== Releasing lock...
[2025-03-10 15:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:29:18] Production.INFO: count ==5222
[2025-03-10 15:29:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:29:05 - End Time 2025-03-10 15:29:05
[2025-03-10 15:29:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650440', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650440', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650440', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650440', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:29:21] Production.INFO: ProcessCDR(1,14650440,1,1,2)
[2025-03-10 15:29:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:29:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:29:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:29:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650440', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650440', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:29:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:29:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:29:26] Production.INFO: ==21732== Releasing lock...
[2025-03-10 15:29:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:29:26] Production.INFO: 67 MB #Memory Used#
[2025-03-10 19:30:02] Production.INFO: ==21792== Lock acquired, processing the job...
[2025-03-10 19:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:30:02] Production.INFO: neon service started
[2025-03-10 19:30:02] Production.INFO: neon service started
[2025-03-10 19:30:02] Production.INFO: ==21792== Releasing lock...
[2025-03-10 19:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:30:02] Production.INFO: ==21794== Lock acquired, processing the job...
[2025-03-10 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:30:02] Production.INFO: ==21796== Lock acquired, processing the job...
[2025-03-10 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:30:03] Production.INFO: ==21794== Releasing lock...
[2025-03-10 15:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:30:03] Production.INFO: ==21796== Releasing lock...
[2025-03-10 19:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:30:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:30:04] Production.INFO: ==21798== Lock acquired, processing the job...
[2025-03-10 15:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 15:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 15:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 15:30:04] Production.INFO: ==21798== Releasing lock...
[2025-03-10 15:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 15:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 15:30:04] Production.INFO: ==21800== Lock acquired, processing the job...
[2025-03-10 15:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:30:04] Production.INFO: ==21802== Lock acquired, processing the job...
[2025-03-10 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:30:04] Production.INFO: ==21807== Lock acquired, processing the job...
[2025-03-10 15:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:30:04] Production.INFO: ==21805== Lock acquired, processing the job...
[2025-03-10 15:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:30:04] Production.INFO: Account Balance Start.
[2025-03-10 15:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:30:04] Production.INFO: ==21809== Lock acquired, processing the job...
[2025-03-10 15:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:30:04] Production.INFO: 117
[2025-03-10 15:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:30:04] Production.INFO: ==21811== Lock acquired, processing the job...
[2025-03-10 15:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 15:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:30:04] Production.INFO: ==21813== Lock acquired, processing the job...
[2025-03-10 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:30:04] Production.INFO: Total Charge 0
[2025-03-10 15:30:04] Production.INFO: CreateAllLog End
[2025-03-10 15:30:04] Production.INFO: ==21802== Releasing lock...
[2025-03-10 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:30:04] Production.ERROR: done
[2025-03-10 15:30:04] Production.ERROR: done
[2025-03-10 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-03-10 15:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 15:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650445', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 15:30:05] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:30:05] Production.INFO: count ==21
[2025-03-10 15:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650444') start
[2025-03-10 15:30:05] Production.ERROR: done
[2025-03-10 15:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650444') end
[2025-03-10 15:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:30:05] Production.INFO: 1
[2025-03-10 15:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:30:05] Production.INFO: ==21813== Releasing lock...
[2025-03-10 15:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:30:05] Production.INFO: Account Balance End.
[2025-03-10 15:30:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:30:05] Production.INFO: ==21807== Releasing lock...
[2025-03-10 15:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:30:06
[end_date_ymd] => 2025-03-10 15:30:06
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:30:06' and `end` < '2025-03-10 15: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-03-10 15:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650445', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 15:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 15:30:09] Production.INFO: ProcessCDR(1,14650445,1,1,2)
[2025-03-10 15:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650445,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650445,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:30:09] Production.INFO: ==21811== Releasing lock...
[2025-03-10 15:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 15:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 15:30:15] Production.ERROR: CronJobId end10
[2025-03-10 15:30:15] Production.INFO: ==21805== Releasing lock...
[2025-03-10 15:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:30:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:30:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:30:18] Production.INFO: call_cost start
[2025-03-10 15:30:18] Production.INFO: call_cost end
[2025-03-10 15:30:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:30:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:30:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:30:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:30:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:30:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:30:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:30:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:30:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:30:19] Production.INFO: ==21800== Releasing lock...
[2025-03-10 15:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:30:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:30:20] Production.INFO: count ==5229
[2025-03-10 15:30:22] Production.ERROR: pbx CDR StartTime 2025-03-10 12:30:06 - End Time 2025-03-10 15:30:06
[2025-03-10 15:30:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650446', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650446', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650446', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650446', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:30:22] Production.INFO: ProcessCDR(1,14650446,1,1,2)
[2025-03-10 15:30:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:30:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:30:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:30:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650446', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650446', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:30:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:30:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:30:28] Production.INFO: ==21809== Releasing lock...
[2025-03-10 15:30:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:30:28] Production.INFO: 67.25 MB #Memory Used#
[2025-03-10 19:31:01] Production.INFO: ==21865== Lock acquired, processing the job...
[2025-03-10 19:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:31:01] Production.INFO: neon service started
[2025-03-10 19:31:01] Production.INFO: neon service started
[2025-03-10 19:31:01] Production.INFO: ==21865== Releasing lock...
[2025-03-10 19:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:31:02] Production.INFO: ==21867== Lock acquired, processing the job...
[2025-03-10 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:31:02] Production.INFO: ==21869== Lock acquired, processing the job...
[2025-03-10 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:31:02] Production.INFO: ==21869== Releasing lock...
[2025-03-10 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:31:02] Production.INFO: ==21867== Releasing lock...
[2025-03-10 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:31:03] Production.INFO: ==21872== Lock acquired, processing the job...
[2025-03-10 15:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:31:03] Production.INFO: ==21876== Lock acquired, processing the job...
[2025-03-10 15:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:31:03] Production.INFO: ==21880== Lock acquired, processing the job...
[2025-03-10 15:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:31:03] Production.INFO: ==21874== Lock acquired, processing the job...
[2025-03-10 15:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:31:03] Production.INFO: ==21878== Lock acquired, processing the job...
[2025-03-10 15:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:31:04] Production.INFO: ==21882== Lock acquired, processing the job...
[2025-03-10 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:31:04] Production.INFO: Account Balance Start.
[2025-03-10 15:31:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:31:04] Production.INFO: 117
[2025-03-10 15:31:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:31:04] Production.ERROR: done
[2025-03-10 15:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:31:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 15:31:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:31:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:31:04] Production.INFO: count ==21
[2025-03-10 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650450') start
[2025-03-10 15:31:04] Production.ERROR: done
[2025-03-10 15:31:04] Production.INFO: ==21874== Releasing lock...
[2025-03-10 15:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:31:04] Production.INFO: Total Charge 0
[2025-03-10 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650450') end
[2025-03-10 15:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:31:04] Production.INFO: 1
[2025-03-10 15:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:31:04] Production.INFO: CreateAllLog End
[2025-03-10 15:31:04] Production.INFO: ==21882== Releasing lock...
[2025-03-10 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:31:04] Production.INFO: Account Balance End.
[2025-03-10 15:31:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:31:04] Production.INFO: ==21878== Releasing lock...
[2025-03-10 15:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:31:05
[end_date_ymd] => 2025-03-10 15:31:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:31:05' and `end` < '2025-03-10 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-03-10 15:31:13] Production.ERROR: CronJobId end10
[2025-03-10 15:31:13] Production.INFO: ==21876== Releasing lock...
[2025-03-10 15:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:31:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:31:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:31:14] Production.INFO: call_cost start
[2025-03-10 15:31:14] Production.INFO: call_cost end
[2025-03-10 15:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:31:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:31:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:31:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:31:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:31:15] Production.INFO: ==21872== Releasing lock...
[2025-03-10 15:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:31:18] Production.INFO: count ==5286
[2025-03-10 15:31:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:31:05 - End Time 2025-03-10 15:31:05
[2025-03-10 15:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650451', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650451', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650451', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650451', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:31:20] Production.INFO: ProcessCDR(1,14650451,1,1,2)
[2025-03-10 15:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:31:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:31:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650451', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650451', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:31:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:31:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:31:26] Production.INFO: ==21880== Releasing lock...
[2025-03-10 15:31:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:31:26] Production.INFO: 67.5 MB #Memory Used#
[2025-03-10 19:32:02] Production.INFO: ==21936== Lock acquired, processing the job...
[2025-03-10 19:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:32:02] Production.INFO: neon service started
[2025-03-10 19:32:02] Production.INFO: neon service started
[2025-03-10 19:32:02] Production.INFO: ==21936== Releasing lock...
[2025-03-10 19:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:32:02] Production.INFO: ==21939== Lock acquired, processing the job...
[2025-03-10 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:32:02] Production.INFO: ==21941== Lock acquired, processing the job...
[2025-03-10 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:32:02] Production.INFO: ==21941== Releasing lock...
[2025-03-10 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:32:03] Production.INFO: ==21939== Releasing lock...
[2025-03-10 15:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:32:04] Production.INFO: ==21945== Lock acquired, processing the job...
[2025-03-10 15:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:32:04] Production.INFO: ==21943== Lock acquired, processing the job...
[2025-03-10 15:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:32:04] Production.INFO: ==21949== Lock acquired, processing the job...
[2025-03-10 15:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:32:04] Production.INFO: ==21947== Lock acquired, processing the job...
[2025-03-10 15:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:32:04] Production.INFO: Account Balance Start.
[2025-03-10 15:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:32:04] Production.INFO: 117
[2025-03-10 15:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:32:04] Production.INFO: ==21945== Releasing lock...
[2025-03-10 15:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:32:04] Production.INFO: ==21951== Lock acquired, processing the job...
[2025-03-10 15:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:32:04] Production.INFO: Total Charge 0
[2025-03-10 15:32:04] Production.INFO: ==21953== Lock acquired, processing the job...
[2025-03-10 15:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:32:04] Production.INFO: CreateAllLog End
[2025-03-10 15:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15: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-03-10 15:32:04] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:32:04] Production.INFO: count ==21
[2025-03-10 15:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650455') start
[2025-03-10 15:32:04] Production.ERROR: done
[2025-03-10 15:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650455') end
[2025-03-10 15:32:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:32:05] Production.INFO: 1
[2025-03-10 15:32:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:32:05] Production.INFO: ==21953== Releasing lock...
[2025-03-10 15:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:32:05] Production.INFO: Account Balance End.
[2025-03-10 15:32:05] Production.ERROR: done
[2025-03-10 15:32:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:32:05] Production.INFO: ==21949== Releasing lock...
[2025-03-10 15:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:32:06
[end_date_ymd] => 2025-03-10 15:32:06
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:32:06' and `end` < '2025-03-10 15: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-03-10 15:32:13] Production.ERROR: CronJobId end10
[2025-03-10 15:32:13] Production.INFO: ==21947== Releasing lock...
[2025-03-10 15:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:32:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:32:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:32:15] Production.INFO: call_cost start
[2025-03-10 15:32:15] Production.INFO: call_cost end
[2025-03-10 15:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:32:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:32:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:32:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:32:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:32:16] Production.INFO: ==21943== Releasing lock...
[2025-03-10 15:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:32:19] Production.INFO: count ==5308
[2025-03-10 15:32:22] Production.ERROR: pbx CDR StartTime 2025-03-10 12:32:06 - End Time 2025-03-10 15:32:06
[2025-03-10 15:32:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650456', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650456', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650456', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650456', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:32:22] Production.INFO: ProcessCDR(1,14650456,1,1,2)
[2025-03-10 15:32:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:32:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:32:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:32:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650456', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650456', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:32:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:32:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:32:27] Production.INFO: ==21951== Releasing lock...
[2025-03-10 15:32:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:32:27] Production.INFO: 67.75 MB #Memory Used#
[2025-03-10 19:33:01] Production.INFO: ==22008== Lock acquired, processing the job...
[2025-03-10 19:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:33:01] Production.INFO: neon service started
[2025-03-10 19:33:01] Production.INFO: neon service started
[2025-03-10 19:33:01] Production.INFO: ==22008== Releasing lock...
[2025-03-10 19:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:33:02] Production.INFO: ==22010== Lock acquired, processing the job...
[2025-03-10 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:33:02] Production.INFO: ==22012== Lock acquired, processing the job...
[2025-03-10 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:33:02] Production.INFO: ==22012== Releasing lock...
[2025-03-10 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:33:02] Production.INFO: ==22010== Releasing lock...
[2025-03-10 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:33:03] Production.INFO: ==22023== Lock acquired, processing the job...
[2025-03-10 15:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:33:03] Production.INFO: ==22025== Lock acquired, processing the job...
[2025-03-10 15:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:33:04] Production.INFO: ==22015== Lock acquired, processing the job...
[2025-03-10 15:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:33:04] Production.INFO: ==22017== Lock acquired, processing the job...
[2025-03-10 15:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:33:04] Production.INFO: ==22019== Lock acquired, processing the job...
[2025-03-10 15:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:33:04] Production.INFO: ==22021== Lock acquired, processing the job...
[2025-03-10 15:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 15:33:04] Production.INFO: Account Balance Start.
[2025-03-10 15:33:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:33:04] Production.INFO: 117
[2025-03-10 15:33:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:33:04] Production.INFO: count ==21
[2025-03-10 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650457') start
[2025-03-10 15:33:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:33:04] Production.ERROR: done
[2025-03-10 15:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:33:04] Production.INFO: ==22017== Releasing lock...
[2025-03-10 15:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650457') end
[2025-03-10 15:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:33:04] Production.INFO: 1
[2025-03-10 15:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:33:04] Production.INFO: ==22025== Releasing lock...
[2025-03-10 15:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:33:04] Production.ERROR: done
[2025-03-10 15:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:33:04] Production.INFO: Total Charge 0
[2025-03-10 15:33:04] Production.INFO: CreateAllLog End
[2025-03-10 15:33:04] Production.INFO: Account Balance End.
[2025-03-10 15:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:33:04] Production.INFO: ==22021== Releasing lock...
[2025-03-10 15:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:33:05
[end_date_ymd] => 2025-03-10 15:33:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:33:05' and `end` < '2025-03-10 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-03-10 15:33:13] Production.ERROR: CronJobId end10
[2025-03-10 15:33:13] Production.INFO: ==22019== Releasing lock...
[2025-03-10 15:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:33:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:33:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:33:15] Production.INFO: call_cost start
[2025-03-10 15:33:15] Production.INFO: call_cost end
[2025-03-10 15:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:33:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:33:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:33:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:33:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:33:15] Production.INFO: ==22015== Releasing lock...
[2025-03-10 15:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:33:20] Production.INFO: count ==5311
[2025-03-10 15:33:22] Production.ERROR: pbx CDR StartTime 2025-03-10 12:33:05 - End Time 2025-03-10 15:33:05
[2025-03-10 15:33:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650461', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650461', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650461', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650461', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:33:22] Production.INFO: ProcessCDR(1,14650461,1,1,2)
[2025-03-10 15:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:33:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:33:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:33:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650461', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:33:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650461', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:33:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:33:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:33:28] Production.INFO: ==22023== Releasing lock...
[2025-03-10 15:33:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:33:28] Production.INFO: 67.75 MB #Memory Used#
[2025-03-10 19:34:02] Production.INFO: ==22080== Lock acquired, processing the job...
[2025-03-10 19:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:34:02] Production.INFO: neon service started
[2025-03-10 19:34:02] Production.INFO: neon service started
[2025-03-10 19:34:02] Production.INFO: ==22080== Releasing lock...
[2025-03-10 19:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 19:34:02] Production.INFO: ==22084== Lock acquired, processing the job...
[2025-03-10 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:34:02] Production.INFO: ==22084== Releasing lock...
[2025-03-10 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:34:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:34:02] Production.INFO: ==22082== Lock acquired, processing the job...
[2025-03-10 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:34:03] Production.INFO: ==22082== Releasing lock...
[2025-03-10 15:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:34:04] Production.INFO: ==22089== Lock acquired, processing the job...
[2025-03-10 15:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:34:04] Production.INFO: ==22087== Lock acquired, processing the job...
[2025-03-10 15:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:34:04] Production.INFO: ==22093== Lock acquired, processing the job...
[2025-03-10 15:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:34:04] Production.INFO: ==22091== Lock acquired, processing the job...
[2025-03-10 15:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:34:04] Production.INFO: Account Balance Start.
[2025-03-10 15:34:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:34:04] Production.INFO: 117
[2025-03-10 15:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:34:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:34:04] Production.INFO: ==22089== Releasing lock...
[2025-03-10 15:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:34:04] Production.INFO: ==22095== Lock acquired, processing the job...
[2025-03-10 15:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:34:04] Production.INFO: ==22097== Lock acquired, processing the job...
[2025-03-10 15:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 15: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-03-10 15:34:05] Production.INFO: count ==13
[2025-03-10 15:34: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-03-10 15:34:05] Production.INFO: count ==21
[2025-03-10 15:34:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650465') start
[2025-03-10 15:34:05] Production.INFO: Total Charge 0
[2025-03-10 15:34:05] Production.INFO: CreateAllLog End
[2025-03-10 15:34:05] Production.ERROR: done
[2025-03-10 15:34:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:34:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650465') end
[2025-03-10 15:34:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:34:05] Production.INFO: 1
[2025-03-10 15:34:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:34:05] Production.INFO: ==22097== Releasing lock...
[2025-03-10 15:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:34:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:34:05] Production.ERROR: done
[2025-03-10 15:34:05] Production.INFO: Account Balance End.
[2025-03-10 15:34:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:34:05] Production.INFO: ==22093== Releasing lock...
[2025-03-10 15:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:34:06
[end_date_ymd] => 2025-03-10 15:34:06
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:34:06' and `end` < '2025-03-10 15: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-03-10 15:34:13] Production.ERROR: CronJobId end10
[2025-03-10 15:34:13] Production.INFO: ==22091== Releasing lock...
[2025-03-10 15:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:34:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:34:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:34:15] Production.INFO: call_cost start
[2025-03-10 15:34:15] Production.INFO: call_cost end
[2025-03-10 15:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:34:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:34:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:34:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:34:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:34:16] Production.INFO: ==22087== Releasing lock...
[2025-03-10 15:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:34:21] Production.INFO: count ==5332
[2025-03-10 15:34:23] Production.ERROR: pbx CDR StartTime 2025-03-10 12:34:06 - End Time 2025-03-10 15:34:06
[2025-03-10 15:34:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650466', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650466', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650466', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650466', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:34:23] Production.INFO: ProcessCDR(1,14650466,1,1,2)
[2025-03-10 15:34:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:34:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:34:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:34:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:34:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650466', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:34:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650466', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:34:29] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:34:29] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:34:29] Production.INFO: ==22095== Releasing lock...
[2025-03-10 15:34:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:34:29] Production.INFO: 68 MB #Memory Used#
[2025-03-10 19:35:01] Production.INFO: ==22203== Lock acquired, processing the job...
[2025-03-10 19:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:35:01] Production.INFO: neon service started
[2025-03-10 19:35:01] Production.INFO: neon service started
[2025-03-10 19:35:01] Production.INFO: ==22203== Releasing lock...
[2025-03-10 19:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:35:02] Production.INFO: ==22205== Lock acquired, processing the job...
[2025-03-10 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:35:02] Production.INFO: ==22205== Releasing lock...
[2025-03-10 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:35:02] Production.INFO: ==22207== Lock acquired, processing the job...
[2025-03-10 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:35:02] Production.INFO: ==22207== Releasing lock...
[2025-03-10 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:35:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:35:03] Production.INFO: ==22209== Lock acquired, processing the job...
[2025-03-10 15:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:35:03] Production.INFO: ==22211== Lock acquired, processing the job...
[2025-03-10 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:35:03] Production.INFO: ==22213== Lock acquired, processing the job...
[2025-03-10 15:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:35:03] Production.INFO: ==22211== Releasing lock...
[2025-03-10 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:35:03] Production.INFO: ==22215== Lock acquired, processing the job...
[2025-03-10 15:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:35:03] Production.INFO: ==22218== Lock acquired, processing the job...
[2025-03-10 15:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:35:03] Production.INFO: ==22220== Lock acquired, processing the job...
[2025-03-10 15:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:35:03] Production.INFO: Account Balance Start.
[2025-03-10 15:35:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:35:03] Production.INFO: 117
[2025-03-10 15:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:35:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:35:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:35:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:35:04] Production.INFO: Total Charge 0
[2025-03-10 15:35:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 15:35:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:35:04] Production.INFO: count ==21
[2025-03-10 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650470') start
[2025-03-10 15:35:04] Production.ERROR: done
[2025-03-10 15:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650470') end
[2025-03-10 15:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:35:04] Production.INFO: 1
[2025-03-10 15:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:35:04] Production.INFO: ==22220== Releasing lock...
[2025-03-10 15:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:35:04] Production.ERROR: done
[2025-03-10 15:35:04] Production.INFO: Account Balance End.
[2025-03-10 15:35:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:35:04] Production.INFO: ==22215== Releasing lock...
[2025-03-10 15:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:35:05
[end_date_ymd] => 2025-03-10 15:35:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:35:05' and `end` < '2025-03-10 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-03-10 15:35:13] Production.ERROR: CronJobId end10
[2025-03-10 15:35:13] Production.INFO: ==22213== Releasing lock...
[2025-03-10 15:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:35:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:35:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:35:15] Production.INFO: call_cost start
[2025-03-10 15:35:15] Production.INFO: call_cost end
[2025-03-10 15:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:35:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:35:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:35:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:35:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:35:16] Production.INFO: ==22209== Releasing lock...
[2025-03-10 15:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:35:19] Production.INFO: count ==5348
[2025-03-10 15:35:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:35:05 - End Time 2025-03-10 15:35:05
[2025-03-10 15:35:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650471', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650471', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650471', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650471', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:35:21] Production.INFO: ProcessCDR(1,14650471,1,1,2)
[2025-03-10 15:35:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:35:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:35:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:35:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650471', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650471', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:35:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:35:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:35:27] Production.INFO: ==22218== Releasing lock...
[2025-03-10 15:35:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:35:27] Production.INFO: 68 MB #Memory Used#
[2025-03-10 19:36:02] Production.INFO: ==22273== Lock acquired, processing the job...
[2025-03-10 19:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:36:02] Production.INFO: neon service started
[2025-03-10 19:36:02] Production.INFO: neon service started
[2025-03-10 19:36:02] Production.INFO: ==22273== Releasing lock...
[2025-03-10 19:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:36:02] Production.INFO: ==22275== Lock acquired, processing the job...
[2025-03-10 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:36:03] Production.INFO: ==22275== Releasing lock...
[2025-03-10 15:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:36:03] Production.INFO: ==22277== Lock acquired, processing the job...
[2025-03-10 19:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:36:03] Production.INFO: ==22277== Releasing lock...
[2025-03-10 19:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:36:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:36:04] Production.INFO: ==22279== Lock acquired, processing the job...
[2025-03-10 15:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:36:04] Production.INFO: ==22287== Lock acquired, processing the job...
[2025-03-10 15:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:36:04] Production.INFO: ==22281== Lock acquired, processing the job...
[2025-03-10 15:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:36:04] Production.INFO: ==22290== Lock acquired, processing the job...
[2025-03-10 15:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:36:04] Production.INFO: ==22285== Lock acquired, processing the job...
[2025-03-10 15:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:36:04] Production.INFO: ==22283== Lock acquired, processing the job...
[2025-03-10 15:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:36:04] Production.INFO: Account Balance Start.
[2025-03-10 15:36:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:36:04] Production.INFO: 117
[2025-03-10 15:36:04] Production.INFO: Date 2025-03-08
[2025-03-10 15: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-03-10 15:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:36:04] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:36:04] Production.INFO: count ==21
[2025-03-10 15:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650473') start
[2025-03-10 15:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:36:04] Production.INFO: Total Charge 0
[2025-03-10 15:36:04] Production.ERROR: done
[2025-03-10 15:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:36:04] Production.INFO: CreateAllLog End
[2025-03-10 15:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650473') end
[2025-03-10 15:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:36:04] Production.INFO: 1
[2025-03-10 15:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:36:04] Production.INFO: ==22290== Releasing lock...
[2025-03-10 15:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:36:04] Production.INFO: ==22281== Releasing lock...
[2025-03-10 15:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:36:04] Production.ERROR: done
[2025-03-10 15:36:05] Production.INFO: Account Balance End.
[2025-03-10 15:36:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:36:05] Production.INFO: ==22285== Releasing lock...
[2025-03-10 15:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:36:06
[end_date_ymd] => 2025-03-10 15:36:06
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:36:06' and `end` < '2025-03-10 15: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-03-10 15:36:13] Production.ERROR: CronJobId end10
[2025-03-10 15:36:13] Production.INFO: ==22283== Releasing lock...
[2025-03-10 15:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:36:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:36:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:36:15] Production.INFO: call_cost start
[2025-03-10 15:36:15] Production.INFO: call_cost end
[2025-03-10 15:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:36:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:36:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:36:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:36:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:36:16] Production.INFO: ==22279== Releasing lock...
[2025-03-10 15:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:36:20] Production.INFO: count ==5362
[2025-03-10 15:36:22] Production.ERROR: pbx CDR StartTime 2025-03-10 12:36:06 - End Time 2025-03-10 15:36:06
[2025-03-10 15:36:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650476', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650476', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650476', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650476', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:36:22] Production.INFO: ProcessCDR(1,14650476,1,1,2)
[2025-03-10 15:36:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:36:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:36:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:36:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:36:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650476', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:36:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650476', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:36:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:36:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:36:27] Production.INFO: ==22287== Releasing lock...
[2025-03-10 15:36:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:36:27] Production.INFO: 68.25 MB #Memory Used#
[2025-03-10 19:37:01] Production.INFO: ==22346== Lock acquired, processing the job...
[2025-03-10 19:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:37:01] Production.INFO: neon service started
[2025-03-10 19:37:01] Production.INFO: neon service started
[2025-03-10 19:37:01] Production.INFO: ==22346== Releasing lock...
[2025-03-10 19:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 19:37:02] Production.INFO: ==22350== Lock acquired, processing the job...
[2025-03-10 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:37:02] Production.INFO: ==22350== Releasing lock...
[2025-03-10 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:37:02] Production.INFO: ==22348== Lock acquired, processing the job...
[2025-03-10 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:37:02] Production.INFO: ==22348== Releasing lock...
[2025-03-10 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:37:03] Production.INFO: ==22357== Lock acquired, processing the job...
[2025-03-10 15:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:37:03] Production.INFO: ==22355== Lock acquired, processing the job...
[2025-03-10 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:37:03] Production.INFO: ==22353== Lock acquired, processing the job...
[2025-03-10 15:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:37:03] Production.INFO: ==22359== Lock acquired, processing the job...
[2025-03-10 15:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:37:03] Production.INFO: ==22363== Lock acquired, processing the job...
[2025-03-10 15:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:37:03] Production.INFO: ==22361== Lock acquired, processing the job...
[2025-03-10 15:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:37:03] Production.INFO: Account Balance Start.
[2025-03-10 15:37:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:37:03] Production.INFO: 117
[2025-03-10 15:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:37:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 15: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-03-10 15:37:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:37:03] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:37:03] Production.INFO: count ==21
[2025-03-10 15:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650480') start
[2025-03-10 15:37:03] Production.INFO: ==22355== Releasing lock...
[2025-03-10 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:37:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:37:03] Production.INFO: Total Charge 0
[2025-03-10 15:37:04] Production.INFO: CreateAllLog End
[2025-03-10 15:37:04] Production.ERROR: done
[2025-03-10 15:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650480') end
[2025-03-10 15:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:37:04] Production.INFO: 1
[2025-03-10 15:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:37:04] Production.INFO: ==22363== Releasing lock...
[2025-03-10 15:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:37:04] Production.ERROR: done
[2025-03-10 15:37:04] Production.INFO: Account Balance End.
[2025-03-10 15:37:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:37:04] Production.INFO: ==22359== Releasing lock...
[2025-03-10 15:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:37:05
[end_date_ymd] => 2025-03-10 15:37:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:37:05' and `end` < '2025-03-10 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-03-10 15:37:12] Production.ERROR: CronJobId end10
[2025-03-10 15:37:12] Production.INFO: ==22357== Releasing lock...
[2025-03-10 15:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:37:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:37:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:37:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:37:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:37:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:37:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:37:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:37:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:37:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:37:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:37:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:37:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:37:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:37:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:37:15] Production.INFO: call_cost start
[2025-03-10 15:37:15] Production.INFO: call_cost end
[2025-03-10 15:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:37:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:37:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:37:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:37:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:37:16] Production.INFO: ==22353== Releasing lock...
[2025-03-10 15:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:37:19] Production.INFO: count ==5378
[2025-03-10 15:37:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:37:05 - End Time 2025-03-10 15:37:05
[2025-03-10 15:37:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650481', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650481', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650481', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650481', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:37:21] Production.INFO: ProcessCDR(1,14650481,1,1,2)
[2025-03-10 15:37:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:37:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:37:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:37:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650481', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650481', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:37:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:37:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:37:26] Production.INFO: ==22361== Releasing lock...
[2025-03-10 15:37:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:37:26] Production.INFO: 68.25 MB #Memory Used#
[2025-03-10 19:38:02] Production.INFO: ==22422== Lock acquired, processing the job...
[2025-03-10 19:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:38:02] Production.INFO: neon service started
[2025-03-10 19:38:02] Production.INFO: neon service started
[2025-03-10 19:38:02] Production.INFO: ==22422== Releasing lock...
[2025-03-10 19:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 19:38:02] Production.INFO: ==22426== Lock acquired, processing the job...
[2025-03-10 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:38:02] Production.INFO: ==22424== Lock acquired, processing the job...
[2025-03-10 19:38:02] Production.INFO: ==22426== Releasing lock...
[2025-03-10 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:38:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:38:03] Production.INFO: ==22424== Releasing lock...
[2025-03-10 15:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:38:04] Production.INFO: ==22431== Lock acquired, processing the job...
[2025-03-10 15:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:38:04] Production.INFO: ==22440== Lock acquired, processing the job...
[2025-03-10 15:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:38:04] Production.INFO: ==22429== Lock acquired, processing the job...
[2025-03-10 15:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 15:38:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:38:04] Production.INFO: count ==21
[2025-03-10 15:38:04] Production.INFO: ==22431== Releasing lock...
[2025-03-10 15:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650483') start
[2025-03-10 15:38:04] Production.INFO: ==22435== Lock acquired, processing the job...
[2025-03-10 15:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:38:04] Production.INFO: ==22433== Lock acquired, processing the job...
[2025-03-10 15:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:38:04] Production.INFO: ==22437== Lock acquired, processing the job...
[2025-03-10 15:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:38:04] Production.INFO: Account Balance Start.
[2025-03-10 15:38:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:38:04] Production.INFO: 117
[2025-03-10 15:38:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650483') end
[2025-03-10 15:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:38:04] Production.INFO: 1
[2025-03-10 15:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:38:04] Production.INFO: ==22440== Releasing lock...
[2025-03-10 15:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:38:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:38:04] Production.INFO: Total Charge 0
[2025-03-10 15:38:04] Production.INFO: CreateAllLog End
[2025-03-10 15:38:05] Production.ERROR: done
[2025-03-10 15:38:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:38:05] Production.INFO: Account Balance End.
[2025-03-10 15:38:05] Production.ERROR: done
[2025-03-10 15:38:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:38:05] Production.INFO: ==22435== Releasing lock...
[2025-03-10 15:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:38:06
[end_date_ymd] => 2025-03-10 15:38:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:38:06' and `end` < '2025-03-10 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-03-10 15:38:14] Production.ERROR: CronJobId end10
[2025-03-10 15:38:14] Production.INFO: ==22433== Releasing lock...
[2025-03-10 15:38:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:38:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:38:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:38:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:38:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:38:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:38:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:38:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:38:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:38:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:38:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:38:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:38:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:38:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:38:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:38:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:38:16] Production.INFO: call_cost start
[2025-03-10 15:38:16] Production.INFO: call_cost end
[2025-03-10 15:38:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:38:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:38:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:38:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:38:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:38:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:38:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:38:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:38:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:38:18] Production.INFO: ==22429== Releasing lock...
[2025-03-10 15:38:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:38:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:38:20] Production.INFO: count ==5400
[2025-03-10 15:38:22] Production.ERROR: pbx CDR StartTime 2025-03-10 12:38:06 - End Time 2025-03-10 15:38:06
[2025-03-10 15:38:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650486', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650486', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650486', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650486', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:38:22] Production.INFO: ProcessCDR(1,14650486,1,1,2)
[2025-03-10 15:38:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:38:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:38:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:38:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:38:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650486', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:38:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650486', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:38:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:38:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:38:28] Production.INFO: ==22437== Releasing lock...
[2025-03-10 15:38:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:38:28] Production.INFO: 68.5 MB #Memory Used#
[2025-03-10 19:39:01] Production.INFO: ==22496== Lock acquired, processing the job...
[2025-03-10 19:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:39:01] Production.INFO: neon service started
[2025-03-10 19:39:01] Production.INFO: neon service started
[2025-03-10 19:39:01] Production.INFO: ==22496== Releasing lock...
[2025-03-10 19:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 19:39:02] Production.INFO: ==22501== Lock acquired, processing the job...
[2025-03-10 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:39:02] Production.INFO: ==22501== Releasing lock...
[2025-03-10 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:39:02] Production.INFO: ==22499== Lock acquired, processing the job...
[2025-03-10 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:39:02] Production.INFO: ==22499== Releasing lock...
[2025-03-10 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:39:03] Production.INFO: ==22507== Lock acquired, processing the job...
[2025-03-10 15:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:39:03] Production.INFO: ==22513== Lock acquired, processing the job...
[2025-03-10 15:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:39:03] Production.INFO: ==22505== Lock acquired, processing the job...
[2025-03-10 15:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:39:03] Production.INFO: ==22511== Lock acquired, processing the job...
[2025-03-10 15:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:39:03] Production.INFO: ==22509== Lock acquired, processing the job...
[2025-03-10 15:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:39:04] Production.INFO: ==22515== Lock acquired, processing the job...
[2025-03-10 15:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:39:04] Production.INFO: ==22507== Releasing lock...
[2025-03-10 15:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:39:04] Production.INFO: Account Balance Start.
[2025-03-10 15:39:04] Production.ERROR: done
[2025-03-10 15:39:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:39:04] Production.INFO: 117
[2025-03-10 15:39:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 15: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-03-10 15:39:04] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:39:04] Production.INFO: count ==21
[2025-03-10 15:39:04] Production.ERROR: done
[2025-03-10 15:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650490') start
[2025-03-10 15:39:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:39:04] Production.INFO: Total Charge 0
[2025-03-10 15:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650490') end
[2025-03-10 15:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:39:04] Production.INFO: 1
[2025-03-10 15:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:39:04] Production.INFO: CreateAllLog End
[2025-03-10 15:39:04] Production.INFO: ==22515== Releasing lock...
[2025-03-10 15:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:39:04] Production.INFO: Account Balance End.
[2025-03-10 15:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:39:04] Production.INFO: ==22511== Releasing lock...
[2025-03-10 15:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:39:05
[end_date_ymd] => 2025-03-10 15:39:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:39:05' and `end` < '2025-03-10 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-03-10 15:39:15] Production.ERROR: CronJobId end10
[2025-03-10 15:39:15] Production.INFO: ==22509== Releasing lock...
[2025-03-10 15:39:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:39:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:39:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:39:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:39:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:39:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:39:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:39:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:39:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:39:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:39:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:39:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:39:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:39:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:39:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:39:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:39:17] Production.INFO: call_cost start
[2025-03-10 15:39:17] Production.INFO: call_cost end
[2025-03-10 15:39:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:39:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:39:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:39:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:39:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:39:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:39:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:39:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:39:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:39:18] Production.INFO: ==22505== Releasing lock...
[2025-03-10 15:39:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:39:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:39:18] Production.INFO: count ==5406
[2025-03-10 15:39:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:39:05 - End Time 2025-03-10 15:39:05
[2025-03-10 15:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650491', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650491', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650491', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650491', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:39:21] Production.INFO: ProcessCDR(1,14650491,1,1,2)
[2025-03-10 15:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:39:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650491', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650491', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:39:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:39:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:39:27] Production.INFO: ==22513== Releasing lock...
[2025-03-10 15:39:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:39:27] Production.INFO: 68.5 MB #Memory Used#
[2025-03-10 19:40:02] Production.INFO: ==22617== Lock acquired, processing the job...
[2025-03-10 19:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:40:02] Production.INFO: neon service started
[2025-03-10 19:40:02] Production.INFO: neon service started
[2025-03-10 19:40:02] Production.INFO: ==22617== Releasing lock...
[2025-03-10 19:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 19:40:02] Production.INFO: ==22621== Lock acquired, processing the job...
[2025-03-10 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:40:02] Production.INFO: ==22621== Releasing lock...
[2025-03-10 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:40:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:40:02] Production.INFO: ==22619== Lock acquired, processing the job...
[2025-03-10 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:40:03] Production.INFO: ==22619== Releasing lock...
[2025-03-10 15:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:40:04] Production.INFO: ==22628== Lock acquired, processing the job...
[2025-03-10 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:40:04] Production.INFO: ==22624== Lock acquired, processing the job...
[2025-03-10 15:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 15:40:04] Production.INFO: ==22632== Lock acquired, processing the job...
[2025-03-10 15:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:40:04] Production.INFO: ==22638== Lock acquired, processing the job...
[2025-03-10 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:40:04] Production.INFO: Account Balance Start.
[2025-03-10 15:40:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:40:04] Production.INFO: 117
[2025-03-10 15:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 15:40:04] Production.ERROR: CronJob PID - 22628
[2025-03-10 15:40:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 15:40:04] Production.ERROR: CronJob ID - 7
[2025-03-10 15:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 15:40:00
[2025-03-10 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 15:40:04] Production.ERROR: CronJob PID - 22632
[2025-03-10 15:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 15:40:04] Production.ERROR: CronJob ID - 12
[2025-03-10 15:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 15:40:00
[2025-03-10 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 15:40:04] Production.ERROR: CronJob PID - 22638
[2025-03-10 15:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-03-10 15:40:04] Production.ERROR: CronJob ID - 19
[2025-03-10 15:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 15:40:00
[2025-03-10 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 15:40:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:40:04] Production.INFO: ==22626== Lock acquired, processing the job...
[2025-03-10 15:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15: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-03-10 15:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 15:40:04] Production.INFO: ==22624== Releasing lock...
[2025-03-10 15:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 15:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 15:40:04] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:40:04] Production.INFO: count ==21
[2025-03-10 15:40:04] Production.INFO: ==22630== Lock acquired, processing the job...
[2025-03-10 15:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650494') start
[2025-03-10 15:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:40:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:40:04] Production.INFO: ==22628== Releasing lock...
[2025-03-10 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:40:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:40:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:40:04] Production.INFO: ==22634== Lock acquired, processing the job...
[2025-03-10 15:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:40:04] Production.INFO: ==22636== Lock acquired, processing the job...
[2025-03-10 15:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 15:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:40:04] Production.INFO: Total Charge 0
[2025-03-10 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:40:04] Production.INFO: CreateAllLog End
[2025-03-10 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650494') end
[2025-03-10 15:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:40:04] Production.INFO: 1
[2025-03-10 15:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:40:04] Production.INFO: ==22638== Releasing lock...
[2025-03-10 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:40:05] Production.ERROR: done
[2025-03-10 15:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:40:05] Production.ERROR: done
[2025-03-10 15:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 15:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650496', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 15:40:05] Production.INFO: Account Balance End.
[2025-03-10 15:40:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:40:05] Production.INFO: ==22632== Releasing lock...
[2025-03-10 15:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:40:05] Production.ERROR: done
[2025-03-10 15:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:40:06
[end_date_ymd] => 2025-03-10 15:40:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:40:06' and `end` < '2025-03-10 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-03-10 15:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650496', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 15:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 15:40:09] Production.INFO: ProcessCDR(1,14650496,1,1,2)
[2025-03-10 15:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650496,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650496,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:40:09] Production.INFO: ==22636== Releasing lock...
[2025-03-10 15:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 15:40:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 15:40:15] Production.ERROR: CronJobId end10
[2025-03-10 15:40:15] Production.INFO: ==22630== Releasing lock...
[2025-03-10 15:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:40:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:40:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:40:17] Production.INFO: call_cost start
[2025-03-10 15:40:17] Production.INFO: call_cost end
[2025-03-10 15:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:40:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:40:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:40:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:40:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:40:18] Production.INFO: ==22626== Releasing lock...
[2025-03-10 15:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:40:20] Production.INFO: count ==5464
[2025-03-10 15:40:22] Production.ERROR: pbx CDR StartTime 2025-03-10 12:40:06 - End Time 2025-03-10 15:40:06
[2025-03-10 15:40:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650497', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650497', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650497', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650497', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:40:22] Production.INFO: ProcessCDR(1,14650497,1,1,2)
[2025-03-10 15:40:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:40:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:40:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:40:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650497', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650497', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:40:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:40:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:40:27] Production.INFO: ==22634== Releasing lock...
[2025-03-10 15:40:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:40:27] Production.INFO: 69 MB #Memory Used#
[2025-03-10 19:41:01] Production.INFO: ==22722== Lock acquired, processing the job...
[2025-03-10 19:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:41:01] Production.INFO: neon service started
[2025-03-10 19:41:01] Production.INFO: neon service started
[2025-03-10 19:41:01] Production.INFO: ==22722== Releasing lock...
[2025-03-10 19:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:41:01] Production.INFO: ==22724== Lock acquired, processing the job...
[2025-03-10 15:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:41:02] Production.INFO: ==22724== Releasing lock...
[2025-03-10 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:41:02] Production.INFO: ==22726== Lock acquired, processing the job...
[2025-03-10 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:41:02] Production.INFO: ==22726== Releasing lock...
[2025-03-10 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:41:03] Production.INFO: ==22730== Lock acquired, processing the job...
[2025-03-10 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:41:03] Production.INFO: ==22728== Lock acquired, processing the job...
[2025-03-10 15:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:41:03] Production.INFO: ==22736== Lock acquired, processing the job...
[2025-03-10 15:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:41:03] Production.INFO: ==22732== Lock acquired, processing the job...
[2025-03-10 15:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:41:03] Production.INFO: ==22734== Lock acquired, processing the job...
[2025-03-10 15:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:41:03] Production.INFO: ==22738== Lock acquired, processing the job...
[2025-03-10 15:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:41:03] Production.INFO: ==22730== Releasing lock...
[2025-03-10 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:41:03] Production.INFO: Account Balance Start.
[2025-03-10 15:41:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:41:03] Production.INFO: 117
[2025-03-10 15:41:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 15:41:03] Production.INFO: count ==13
[2025-03-10 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-03-10 15:41:03] Production.INFO: count ==21
[2025-03-10 15:41:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650501') start
[2025-03-10 15:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:41:03] Production.ERROR: done
[2025-03-10 15:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:41:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650501') end
[2025-03-10 15:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:41:03] Production.INFO: 1
[2025-03-10 15:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:41:03] Production.ERROR: done
[2025-03-10 15:41:03] Production.INFO: Total Charge 0
[2025-03-10 15:41:03] Production.INFO: ==22738== Releasing lock...
[2025-03-10 15:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:41:03] Production.INFO: CreateAllLog End
[2025-03-10 15:41:04] Production.INFO: Account Balance End.
[2025-03-10 15:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:41:04] Production.INFO: ==22734== Releasing lock...
[2025-03-10 15:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:41:04
[end_date_ymd] => 2025-03-10 15:41:04
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:41:04' and `end` < '2025-03-10 15: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-03-10 15:41:13] Production.ERROR: CronJobId end10
[2025-03-10 15:41:13] Production.INFO: ==22732== Releasing lock...
[2025-03-10 15:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:41:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:41:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:41:15] Production.INFO: call_cost start
[2025-03-10 15:41:15] Production.INFO: call_cost end
[2025-03-10 15:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:41:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:41:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:41:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:41:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:41:16] Production.INFO: ==22728== Releasing lock...
[2025-03-10 15:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:41:18] Production.INFO: count ==5494
[2025-03-10 15:41:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:41:04 - End Time 2025-03-10 15:41:04
[2025-03-10 15:41:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650502', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650502', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650502', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650502', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:41:21] Production.INFO: ProcessCDR(1,14650502,1,1,2)
[2025-03-10 15:41:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:41:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:41:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:41:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650502', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650502', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:41:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:41:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:41:26] Production.INFO: ==22736== Releasing lock...
[2025-03-10 15:41:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:41:26] Production.INFO: 69 MB #Memory Used#
[2025-03-10 19:42:02] Production.INFO: ==22792== Lock acquired, processing the job...
[2025-03-10 19:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:42:02] Production.INFO: neon service started
[2025-03-10 19:42:02] Production.INFO: neon service started
[2025-03-10 19:42:02] Production.INFO: ==22792== Releasing lock...
[2025-03-10 19:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:42:02] Production.INFO: ==22794== Lock acquired, processing the job...
[2025-03-10 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:42:02] Production.INFO: ==22794== Releasing lock...
[2025-03-10 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:42:02] Production.INFO: ==22796== Lock acquired, processing the job...
[2025-03-10 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:42:02] Production.INFO: ==22796== Releasing lock...
[2025-03-10 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:42:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:42:03] Production.INFO: ==22809== Lock acquired, processing the job...
[2025-03-10 15:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:42:03] Production.INFO: ==22807== Lock acquired, processing the job...
[2025-03-10 15:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15: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-03-10 15:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:42:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:42:04] Production.INFO: count ==21
[2025-03-10 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650503') start
[2025-03-10 15:42:04] Production.INFO: ==22801== Lock acquired, processing the job...
[2025-03-10 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:42:04] Production.INFO: ==22799== Lock acquired, processing the job...
[2025-03-10 15:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:42:04] Production.INFO: ==22803== Lock acquired, processing the job...
[2025-03-10 15:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:42:04] Production.INFO: ==22805== Lock acquired, processing the job...
[2025-03-10 15:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650503') end
[2025-03-10 15:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:42:04] Production.INFO: 1
[2025-03-10 15:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:42:04] Production.INFO: Account Balance Start.
[2025-03-10 15:42:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:42:04] Production.INFO: 117
[2025-03-10 15:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:42:04] Production.ERROR: done
[2025-03-10 15:42:04] Production.INFO: ==22809== Releasing lock...
[2025-03-10 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:42:04] Production.INFO: Total Charge 0
[2025-03-10 15:42:04] Production.INFO: CreateAllLog End
[2025-03-10 15:42:04] Production.INFO: ==22801== Releasing lock...
[2025-03-10 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:42:04] Production.ERROR: done
[2025-03-10 15:42:04] Production.INFO: Account Balance End.
[2025-03-10 15:42:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:42:05] Production.INFO: ==22805== Releasing lock...
[2025-03-10 15:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:42:05
[end_date_ymd] => 2025-03-10 15:42:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:42:05' and `end` < '2025-03-10 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-03-10 15:42:13] Production.ERROR: CronJobId end10
[2025-03-10 15:42:13] Production.INFO: ==22803== Releasing lock...
[2025-03-10 15:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:42:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:42:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:42:15] Production.INFO: call_cost start
[2025-03-10 15:42:15] Production.INFO: call_cost end
[2025-03-10 15:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:42:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:42:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:42:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:42:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:42:16] Production.INFO: ==22799== Releasing lock...
[2025-03-10 15:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:42:19] Production.INFO: count ==5538
[2025-03-10 15:42:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:42:05 - End Time 2025-03-10 15:42:05
[2025-03-10 15:42:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650507', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650507', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650507', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650507', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:42:21] Production.INFO: ProcessCDR(1,14650507,1,1,2)
[2025-03-10 15:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:42:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:42:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:42:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650507', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650507', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:42:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:42:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:42:26] Production.INFO: ==22807== Releasing lock...
[2025-03-10 15:42:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:42:26] Production.INFO: 69.5 MB #Memory Used#
[2025-03-10 19:43:01] Production.INFO: ==22863== Lock acquired, processing the job...
[2025-03-10 19:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:43:01] Production.INFO: neon service started
[2025-03-10 19:43:01] Production.INFO: neon service started
[2025-03-10 19:43:01] Production.INFO: ==22863== Releasing lock...
[2025-03-10 19:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 19:43:01] Production.INFO: ==22868== Lock acquired, processing the job...
[2025-03-10 19:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:43:02] Production.INFO: ==22868== Releasing lock...
[2025-03-10 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:43:02] Production.INFO: ==22866== Lock acquired, processing the job...
[2025-03-10 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:43:02] Production.INFO: ==22866== Releasing lock...
[2025-03-10 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:43:03] Production.INFO: ==22870== Lock acquired, processing the job...
[2025-03-10 15:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:43:03] Production.INFO: ==22876== Lock acquired, processing the job...
[2025-03-10 15:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:43:03] Production.INFO: Account Balance Start.
[2025-03-10 15:43:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:43:03] Production.INFO: ==22880== Lock acquired, processing the job...
[2025-03-10 15:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:43:03] Production.INFO: 117
[2025-03-10 15:43:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:43:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 15:43:03] Production.INFO: count ==13
[2025-03-10 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-03-10 15:43:03] Production.INFO: count ==21
[2025-03-10 15:43:03] Production.INFO: ==22872== Lock acquired, processing the job...
[2025-03-10 15:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:43:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:43:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650510') start
[2025-03-10 15:43:03] Production.INFO: ==22874== Lock acquired, processing the job...
[2025-03-10 15:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:43:03] Production.INFO: Total Charge 0
[2025-03-10 15:43:03] Production.INFO: CreateAllLog End
[2025-03-10 15:43:03] Production.INFO: ==22878== Lock acquired, processing the job...
[2025-03-10 15:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650510') end
[2025-03-10 15:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:43:03] Production.INFO: 1
[2025-03-10 15:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:43:03] Production.INFO: Account Balance End.
[2025-03-10 15:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:43:04] Production.INFO: ==22880== Releasing lock...
[2025-03-10 15:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:43:04] Production.INFO: ==22876== Releasing lock...
[2025-03-10 15:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:43:04] Production.INFO: ==22872== Releasing lock...
[2025-03-10 15:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:43:04] Production.ERROR: done
[2025-03-10 15:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:43:04] Production.ERROR: done
[2025-03-10 15:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:43:05
[end_date_ymd] => 2025-03-10 15:43:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:43:05' and `end` < '2025-03-10 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-03-10 15:43:14] Production.ERROR: CronJobId end10
[2025-03-10 15:43:14] Production.INFO: ==22874== Releasing lock...
[2025-03-10 15:43:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:43:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:43:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:43:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:43:15] Production.INFO: call_cost start
[2025-03-10 15:43:15] Production.INFO: call_cost end
[2025-03-10 15:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:43:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:43:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:43:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:43:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:43:16] Production.INFO: ==22870== Releasing lock...
[2025-03-10 15:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:43:19] Production.INFO: count ==5534
[2025-03-10 15:43:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:43:05 - End Time 2025-03-10 15:43:05
[2025-03-10 15:43:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650512', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650512', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650512', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650512', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:43:21] Production.INFO: ProcessCDR(1,14650512,1,1,2)
[2025-03-10 15:43:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:43:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:43:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:43:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650512', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650512', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:43:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:43:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:43:27] Production.INFO: ==22878== Releasing lock...
[2025-03-10 15:43:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:43:27] Production.INFO: 69.5 MB #Memory Used#
[2025-03-10 19:44:02] Production.INFO: ==22936== Lock acquired, processing the job...
[2025-03-10 19:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:44:02] Production.INFO: neon service started
[2025-03-10 19:44:02] Production.INFO: neon service started
[2025-03-10 19:44:02] Production.INFO: ==22936== Releasing lock...
[2025-03-10 19:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:44:02] Production.INFO: ==22938== Lock acquired, processing the job...
[2025-03-10 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:44:02] Production.INFO: ==22940== Lock acquired, processing the job...
[2025-03-10 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:44:02] Production.INFO: ==22940== Releasing lock...
[2025-03-10 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:44:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:44:03] Production.INFO: ==22938== Releasing lock...
[2025-03-10 15:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:44:03] Production.INFO: ==22945== Lock acquired, processing the job...
[2025-03-10 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:44:03] Production.INFO: ==22947== Lock acquired, processing the job...
[2025-03-10 15:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:44:04] Production.INFO: ==22951== Lock acquired, processing the job...
[2025-03-10 15:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:44:04] Production.INFO: ==22945== Releasing lock...
[2025-03-10 15:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:44:04] Production.INFO: ==22949== Lock acquired, processing the job...
[2025-03-10 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:44:04] Production.INFO: ==22943== Lock acquired, processing the job...
[2025-03-10 15:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:44:04] Production.INFO: Account Balance Start.
[2025-03-10 15:44:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:44:04] Production.INFO: 117
[2025-03-10 15:44:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:44:04] Production.ERROR: done
[2025-03-10 15:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:44:04] Production.INFO: Total Charge 0
[2025-03-10 15:44:04] Production.INFO: ==22953== Lock acquired, processing the job...
[2025-03-10 15:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:44:04] Production.INFO: CreateAllLog End
[2025-03-10 15:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:44:04] Production.ERROR: done
[2025-03-10 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-03-10 15:44:04] Production.INFO: Account Balance End.
[2025-03-10 15:44:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:44:04] Production.INFO: count ==21
[2025-03-10 15:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650516') start
[2025-03-10 15:44:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:44:05] Production.INFO: ==22949== Releasing lock...
[2025-03-10 15:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650516') end
[2025-03-10 15:44:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:44:05] Production.INFO: 1
[2025-03-10 15:44:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:44:05] Production.INFO: ==22953== Releasing lock...
[2025-03-10 15:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:44:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:44:05
[end_date_ymd] => 2025-03-10 15:44:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:44:05' and `end` < '2025-03-10 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-03-10 15:44:13] Production.ERROR: CronJobId end10
[2025-03-10 15:44:13] Production.INFO: ==22947== Releasing lock...
[2025-03-10 15:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:44:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:44:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:44:15] Production.INFO: call_cost start
[2025-03-10 15:44:15] Production.INFO: call_cost end
[2025-03-10 15:44:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:44:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:44:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:44:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:44:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:44:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:44:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:44:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:44:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:44:17] Production.INFO: ==22943== Releasing lock...
[2025-03-10 15:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:44:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:44:19] Production.INFO: count ==5493
[2025-03-10 15:44:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:44:05 - End Time 2025-03-10 15:44:05
[2025-03-10 15:44:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650517', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650517', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650517', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650517', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:44:21] Production.INFO: ProcessCDR(1,14650517,1,1,2)
[2025-03-10 15:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650517', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650517', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:44:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:44:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:44:27] Production.INFO: ==22951== Releasing lock...
[2025-03-10 15:44:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:44:27] Production.INFO: 69 MB #Memory Used#
[2025-03-10 19:45:01] Production.INFO: ==23008== Lock acquired, processing the job...
[2025-03-10 19:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:45:01] Production.INFO: neon service started
[2025-03-10 19:45:01] Production.INFO: neon service started
[2025-03-10 19:45:01] Production.INFO: ==23008== Releasing lock...
[2025-03-10 19:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:45:01] Production.INFO: ==23010== Lock acquired, processing the job...
[2025-03-10 15:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:45:02] Production.INFO: ==23010== Releasing lock...
[2025-03-10 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:45:02] Production.INFO: ==23012== Lock acquired, processing the job...
[2025-03-10 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:45:02] Production.INFO: ==23012== Releasing lock...
[2025-03-10 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:45:03] Production.INFO: ==23017== Lock acquired, processing the job...
[2025-03-10 15:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:45:03] Production.INFO: ==23021== Lock acquired, processing the job...
[2025-03-10 15:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:45:03] Production.INFO: ==23023== Lock acquired, processing the job...
[2025-03-10 15:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:45:03] Production.INFO: Account Balance Start.
[2025-03-10 15:45:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:45:03] Production.INFO: 117
[2025-03-10 15:45:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:45:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:45:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:45:03] Production.INFO: Total Charge 0
[2025-03-10 15:45:03] Production.INFO: CreateAllLog End
[2025-03-10 15:45:03] Production.INFO: ==23015== Lock acquired, processing the job...
[2025-03-10 15:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:45:03] Production.INFO: ==23019== Lock acquired, processing the job...
[2025-03-10 15:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:45:03] Production.INFO: ==23025== Lock acquired, processing the job...
[2025-03-10 15:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:45:03] Production.INFO: ==23017== Releasing lock...
[2025-03-10 15:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:45:03] Production.ERROR: done
[2025-03-10 15:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:45:03] Production.INFO: Account Balance End.
[2025-03-10 15:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 15:45:03] Production.INFO: count ==13
[2025-03-10 15:45:03] Production.ERROR: CronJobId end 12
[2025-03-10 15:45:03] Production.INFO: ==23021== Releasing lock...
[2025-03-10 15:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:45:03] Production.ERROR: done
[2025-03-10 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-03-10 15:45:03] Production.INFO: count ==21
[2025-03-10 15:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650521') start
[2025-03-10 15:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650521') end
[2025-03-10 15:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:45:04] Production.INFO: 1
[2025-03-10 15:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:45:04] Production.INFO: ==23025== Releasing lock...
[2025-03-10 15:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:45:05
[end_date_ymd] => 2025-03-10 15:45:05
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:45:05' and `end` < '2025-03-10 15: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-03-10 15:45:14] Production.ERROR: CronJobId end10
[2025-03-10 15:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:45:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:45:14] Production.INFO: ==23019== Releasing lock...
[2025-03-10 15:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:45:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:45:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:45:15] Production.INFO: call_cost start
[2025-03-10 15:45:15] Production.INFO: call_cost end
[2025-03-10 15:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:45:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:45:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:45:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:45:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:45:16] Production.INFO: ==23015== Releasing lock...
[2025-03-10 15:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:45:19] Production.INFO: count ==5505
[2025-03-10 15:45:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:45:05 - End Time 2025-03-10 15:45:05
[2025-03-10 15:45:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650522', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650522', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650522', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650522', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:45:21] Production.INFO: ProcessCDR(1,14650522,1,1,2)
[2025-03-10 15:45:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:45:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:45:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650522', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650522', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:45:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:45:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:45:27] Production.INFO: ==23023== Releasing lock...
[2025-03-10 15:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:45:27] Production.INFO: 69.25 MB #Memory Used#
[2025-03-10 19:46:01] Production.INFO: ==23088== Lock acquired, processing the job...
[2025-03-10 19:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:46:02] Production.INFO: neon service started
[2025-03-10 19:46:02] Production.INFO: neon service started
[2025-03-10 19:46:02] Production.INFO: ==23088== Releasing lock...
[2025-03-10 19:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:46:02] Production.INFO: ==23090== Lock acquired, processing the job...
[2025-03-10 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:46:02] Production.INFO: ==23090== Releasing lock...
[2025-03-10 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:46:02] Production.INFO: ==23092== Lock acquired, processing the job...
[2025-03-10 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:46:02] Production.INFO: ==23092== Releasing lock...
[2025-03-10 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:46:03] Production.INFO: ==23094== Lock acquired, processing the job...
[2025-03-10 15:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:46:03] Production.INFO: ==23098== Lock acquired, processing the job...
[2025-03-10 15:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:46:03] Production.INFO: ==23100== Lock acquired, processing the job...
[2025-03-10 15:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:46:03] Production.INFO: Account Balance Start.
[2025-03-10 15:46:03] Production.INFO: ==23096== Lock acquired, processing the job...
[2025-03-10 15:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:46:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:46:03] Production.INFO: 117
[2025-03-10 15:46:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:46:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:46:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:46:04] Production.INFO: ==23102== Lock acquired, processing the job...
[2025-03-10 15:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:46:04] Production.INFO: ==23104== Lock acquired, processing the job...
[2025-03-10 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:46:04] Production.INFO: Total Charge 0
[2025-03-10 15:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:46:04] Production.INFO: CreateAllLog End
[2025-03-10 15:46:04] Production.INFO: ==23096== Releasing lock...
[2025-03-10 15:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 15:46:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:46:04] Production.INFO: count ==21
[2025-03-10 15:46:04] Production.ERROR: done
[2025-03-10 15:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650526') start
[2025-03-10 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650526') end
[2025-03-10 15:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:46:04] Production.INFO: 1
[2025-03-10 15:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:46:04] Production.INFO: ==23104== Releasing lock...
[2025-03-10 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:46:04] Production.ERROR: done
[2025-03-10 15:46:04] Production.INFO: Account Balance End.
[2025-03-10 15:46:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:46:04] Production.INFO: ==23100== Releasing lock...
[2025-03-10 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:46:06
[end_date_ymd] => 2025-03-10 15:46:06
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:46:06' and `end` < '2025-03-10 15: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-03-10 15:46:14] Production.ERROR: CronJobId end10
[2025-03-10 15:46:14] Production.INFO: ==23098== Releasing lock...
[2025-03-10 15:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:46:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:46:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:46:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:46:16] Production.INFO: call_cost start
[2025-03-10 15:46:16] Production.INFO: call_cost end
[2025-03-10 15:46:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:46:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:46:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:46:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:46:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:46:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:46:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:46:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:46:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:46:17] Production.INFO: ==23094== Releasing lock...
[2025-03-10 15:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:46:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:46:19] Production.INFO: count ==5486
[2025-03-10 15:46:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:46:06 - End Time 2025-03-10 15:46:06
[2025-03-10 15:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650527', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650527', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650527', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650527', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:46:21] Production.INFO: ProcessCDR(1,14650527,1,1,2)
[2025-03-10 15:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:46:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:46:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:46:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650527', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650527', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:46:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:46:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:46:26] Production.INFO: ==23102== Releasing lock...
[2025-03-10 15:46:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:46:26] Production.INFO: 69 MB #Memory Used#
[2025-03-10 19:47:01] Production.INFO: ==23158== Lock acquired, processing the job...
[2025-03-10 19:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:47:01] Production.INFO: neon service started
[2025-03-10 19:47:01] Production.INFO: neon service started
[2025-03-10 19:47:01] Production.INFO: ==23158== Releasing lock...
[2025-03-10 19:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:47:02] Production.INFO: ==23161== Lock acquired, processing the job...
[2025-03-10 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:47:02] Production.INFO: ==23161== Releasing lock...
[2025-03-10 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:47:02] Production.INFO: ==23163== Lock acquired, processing the job...
[2025-03-10 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:47:02] Production.INFO: ==23163== Releasing lock...
[2025-03-10 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:47:03] Production.INFO: ==23173== Lock acquired, processing the job...
[2025-03-10 15:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:47:03] Production.INFO: ==23175== Lock acquired, processing the job...
[2025-03-10 15:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:47:03] Production.INFO: ==23165== Lock acquired, processing the job...
[2025-03-10 15:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 15:47:03] Production.INFO: ==23167== Lock acquired, processing the job...
[2025-03-10 15:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:47:03] Production.INFO: count ==13
[2025-03-10 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-03-10 15:47:03] Production.INFO: count ==21
[2025-03-10 15:47:03] Production.INFO: ==23169== Lock acquired, processing the job...
[2025-03-10 15:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650528') start
[2025-03-10 15:47:03] Production.INFO: ==23171== Lock acquired, processing the job...
[2025-03-10 15:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:47:03] Production.ERROR: done
[2025-03-10 15:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650528') end
[2025-03-10 15:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:47:03] Production.INFO: 1
[2025-03-10 15:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:47:03] Production.INFO: Account Balance Start.
[2025-03-10 15:47:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:47:03] Production.INFO: 117
[2025-03-10 15:47:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:47:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:47:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:47:03] Production.INFO: ==23175== Releasing lock...
[2025-03-10 15:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:47:03] Production.ERROR: done
[2025-03-10 15:47:04] Production.INFO: ==23167== Releasing lock...
[2025-03-10 15:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:47:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:47:04] Production.INFO: Total Charge 0
[2025-03-10 15:47:04] Production.INFO: CreateAllLog End
[2025-03-10 15:47:04] Production.INFO: Account Balance End.
[2025-03-10 15:47:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:47:04] Production.INFO: ==23171== Releasing lock...
[2025-03-10 15:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:47:05
[end_date_ymd] => 2025-03-10 15:47:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:47:05' and `end` < '2025-03-10 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-03-10 15:47:13] Production.ERROR: CronJobId end10
[2025-03-10 15:47:13] Production.INFO: ==23169== Releasing lock...
[2025-03-10 15:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:47:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:47:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:47:15] Production.INFO: call_cost start
[2025-03-10 15:47:15] Production.INFO: call_cost end
[2025-03-10 15:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:47:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:47:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:47:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:47:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:47:16] Production.INFO: ==23165== Releasing lock...
[2025-03-10 15:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:47:18] Production.INFO: count ==5445
[2025-03-10 15:47:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:47:05 - End Time 2025-03-10 15:47:05
[2025-03-10 15:47:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650532', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650532', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650532', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650532', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:47:21] Production.INFO: ProcessCDR(1,14650532,1,1,2)
[2025-03-10 15:47:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:47:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650532', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650532', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:47:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:47:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:47:26] Production.INFO: ==23173== Releasing lock...
[2025-03-10 15:47:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:47:26] Production.INFO: 68.75 MB #Memory Used#
[2025-03-10 19:48:02] Production.INFO: ==23230== Lock acquired, processing the job...
[2025-03-10 19:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:48:02] Production.INFO: neon service started
[2025-03-10 19:48:02] Production.INFO: neon service started
[2025-03-10 19:48:02] Production.INFO: ==23230== Releasing lock...
[2025-03-10 19:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:48:02] Production.INFO: ==23232== Lock acquired, processing the job...
[2025-03-10 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:48:02] Production.INFO: ==23234== Lock acquired, processing the job...
[2025-03-10 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:48:02] Production.INFO: ==23234== Releasing lock...
[2025-03-10 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:48:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:48:02] Production.INFO: ==23232== Releasing lock...
[2025-03-10 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:48:03] Production.INFO: ==23241== Lock acquired, processing the job...
[2025-03-10 15:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:48:03] Production.INFO: ==23245== Lock acquired, processing the job...
[2025-03-10 15:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:48:03] Production.INFO: ==23237== Lock acquired, processing the job...
[2025-03-10 15:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:48:04] Production.INFO: ==23239== Lock acquired, processing the job...
[2025-03-10 15:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:48:04] Production.INFO: ==23243== Lock acquired, processing the job...
[2025-03-10 15:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:48:04] Production.INFO: ==23247== Lock acquired, processing the job...
[2025-03-10 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:48:04] Production.INFO: Account Balance Start.
[2025-03-10 15:48:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:48:04] Production.INFO: 117
[2025-03-10 15:48:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 15: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-03-10 15:48:04] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:48:04] Production.INFO: count ==21
[2025-03-10 15:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650536') start
[2025-03-10 15:48:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650536') end
[2025-03-10 15:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:48:04] Production.INFO: 1
[2025-03-10 15:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:48:04] Production.INFO: ==23239== Releasing lock...
[2025-03-10 15:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:48:04] Production.ERROR: done
[2025-03-10 15:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:48:04] Production.INFO: ==23247== Releasing lock...
[2025-03-10 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:48:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:48:04] Production.INFO: Total Charge 0
[2025-03-10 15:48:04] Production.INFO: CreateAllLog End
[2025-03-10 15:48:04] Production.ERROR: done
[2025-03-10 15:48:04] Production.INFO: Account Balance End.
[2025-03-10 15:48:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:48:04] Production.INFO: ==23243== Releasing lock...
[2025-03-10 15:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:48:05
[end_date_ymd] => 2025-03-10 15:48:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:48:05' and `end` < '2025-03-10 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-03-10 15:48:13] Production.ERROR: CronJobId end10
[2025-03-10 15:48:13] Production.INFO: ==23241== Releasing lock...
[2025-03-10 15:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:48:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:48:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:48:15] Production.INFO: call_cost start
[2025-03-10 15:48:15] Production.INFO: call_cost end
[2025-03-10 15:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:48:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:48:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:48:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:48:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:48:16] Production.INFO: ==23237== Releasing lock...
[2025-03-10 15:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:48:19] Production.INFO: count ==5464
[2025-03-10 15:48:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:48:05 - End Time 2025-03-10 15:48:05
[2025-03-10 15:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650537', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650537', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650537', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650537', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:48:21] Production.INFO: ProcessCDR(1,14650537,1,1,2)
[2025-03-10 15:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:48:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650537', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650537', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:48:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:48:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:48:26] Production.INFO: ==23245== Releasing lock...
[2025-03-10 15:48:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:48:26] Production.INFO: 69 MB #Memory Used#
[2025-03-10 19:49:01] Production.INFO: ==23304== Lock acquired, processing the job...
[2025-03-10 19:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:49:01] Production.INFO: neon service started
[2025-03-10 19:49:01] Production.INFO: neon service started
[2025-03-10 19:49:01] Production.INFO: ==23304== Releasing lock...
[2025-03-10 19:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:49:02] Production.INFO: ==23306== Lock acquired, processing the job...
[2025-03-10 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:49:02] Production.INFO: ==23306== Releasing lock...
[2025-03-10 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:49:02] Production.INFO: ==23308== Lock acquired, processing the job...
[2025-03-10 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:49:02] Production.INFO: ==23308== Releasing lock...
[2025-03-10 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:49:03] Production.INFO: ==23310== Lock acquired, processing the job...
[2025-03-10 15:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:49:03] Production.INFO: ==23314== Lock acquired, processing the job...
[2025-03-10 15:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:49:03] Production.INFO: ==23319== Lock acquired, processing the job...
[2025-03-10 15:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:49:03] Production.INFO: ==23312== Lock acquired, processing the job...
[2025-03-10 15:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:49:03] Production.INFO: ==23321== Lock acquired, processing the job...
[2025-03-10 15:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:49:03] Production.INFO: ==23316== Lock acquired, processing the job...
[2025-03-10 15:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 15:49:03] Production.INFO: Account Balance Start.
[2025-03-10 15:49:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:49:03] Production.INFO: 117
[2025-03-10 15:49:03] Production.INFO: count ==13
[2025-03-10 15:49:03] Production.ERROR: done
[2025-03-10 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-03-10 15:49:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:49:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:49:03] Production.INFO: count ==21
[2025-03-10 15:49:03] Production.INFO: ==23312== Releasing lock...
[2025-03-10 15:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650541') start
[2025-03-10 15:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650541') end
[2025-03-10 15:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:49:04] Production.INFO: 1
[2025-03-10 15:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:49:04] Production.INFO: Total Charge 0
[2025-03-10 15:49:04] Production.INFO: CreateAllLog End
[2025-03-10 15:49:04] Production.INFO: ==23321== Releasing lock...
[2025-03-10 15:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:49:04] Production.ERROR: done
[2025-03-10 15:49:04] Production.INFO: Account Balance End.
[2025-03-10 15:49:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:49:04] Production.INFO: ==23316== Releasing lock...
[2025-03-10 15:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:49:05
[end_date_ymd] => 2025-03-10 15:49:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:49:05' and `end` < '2025-03-10 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-03-10 15:49:12] Production.ERROR: CronJobId end10
[2025-03-10 15:49:12] Production.INFO: ==23314== Releasing lock...
[2025-03-10 15:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:49:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:49:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:49:14] Production.INFO: call_cost start
[2025-03-10 15:49:14] Production.INFO: call_cost end
[2025-03-10 15:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:49:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:49:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:49:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:49:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:49:15] Production.INFO: ==23310== Releasing lock...
[2025-03-10 15:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:49:18] Production.INFO: count ==5458
[2025-03-10 15:49:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:49:05 - End Time 2025-03-10 15:49:05
[2025-03-10 15:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650542', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650542', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650542', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650542', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:49:21] Production.INFO: ProcessCDR(1,14650542,1,1,2)
[2025-03-10 15:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:49:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:49:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650542', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650542', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:49:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:49:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:49:26] Production.INFO: ==23319== Releasing lock...
[2025-03-10 15:49:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:49:26] Production.INFO: 68.75 MB #Memory Used#
[2025-03-10 19:50:02] Production.INFO: ==23374== Lock acquired, processing the job...
[2025-03-10 19:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:50:02] Production.INFO: neon service started
[2025-03-10 19:50:02] Production.INFO: neon service started
[2025-03-10 19:50:02] Production.INFO: ==23374== Releasing lock...
[2025-03-10 19:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 19:50:02] Production.INFO: ==23378== Lock acquired, processing the job...
[2025-03-10 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:50:02] Production.INFO: ==23378== Releasing lock...
[2025-03-10 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:50:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:50:02] Production.INFO: ==23376== Lock acquired, processing the job...
[2025-03-10 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:50:03] Production.INFO: ==23376== Releasing lock...
[2025-03-10 15:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:50:04] Production.INFO: ==23385== Lock acquired, processing the job...
[2025-03-10 15:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:50:04] Production.INFO: ==23391== Lock acquired, processing the job...
[2025-03-10 15:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:50:04] Production.INFO: ==23381== Lock acquired, processing the job...
[2025-03-10 15:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 15:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:50:04] Production.INFO: ==23395== Lock acquired, processing the job...
[2025-03-10 15:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:50:04] Production.INFO: ==23383== Lock acquired, processing the job...
[2025-03-10 15:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 15:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 15:50:04] Production.ERROR: CronJob PID - 23385
[2025-03-10 15:50:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 15:50:04] Production.ERROR: CronJob ID - 7
[2025-03-10 15:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 15:50:00
[2025-03-10 15:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 15:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 15:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 15:50:04] Production.ERROR: CronJob PID - 23391
[2025-03-10 15:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 15:50:04] Production.ERROR: CronJob ID - 16
[2025-03-10 15:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 15:50:00
[2025-03-10 15:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 15:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 15:50:04] Production.INFO: ==23387== Lock acquired, processing the job...
[2025-03-10 15:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 15:50:04] Production.INFO: ==23381== Releasing lock...
[2025-03-10 15:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 15:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 15:50:04] Production.INFO: ==23385== Releasing lock...
[2025-03-10 15:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:50:04] Production.INFO: ==23389== Lock acquired, processing the job...
[2025-03-10 15:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:50:04] Production.INFO: ==23393== Lock acquired, processing the job...
[2025-03-10 15:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 15:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:50:04] Production.INFO: Account Balance Start.
[2025-03-10 15:50:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:50:04] Production.INFO: 117
[2025-03-10 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-03-10 15:50:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:50:04] Production.INFO: count ==13
[2025-03-10 15:50:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:50:04] Production.ERROR: done
[2025-03-10 15:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 15:50:04] Production.INFO: count ==21
[2025-03-10 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650544') start
[2025-03-10 15:50:05] Production.ERROR: done
[2025-03-10 15:50:05] Production.INFO: Date 2025-03-09
[2025-03-10 15:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 15:50:05] Production.INFO: Date 2025-03-10
[2025-03-10 15:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 15:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650544') end
[2025-03-10 15:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:50:05] Production.INFO: 1
[2025-03-10 15:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:50:05] Production.INFO: Total Charge 0
[2025-03-10 15:50:05] Production.ERROR: done
[2025-03-10 15:50:05] Production.INFO: CreateAllLog End
[2025-03-10 15:50:05] Production.INFO: ==23395== Releasing lock...
[2025-03-10 15:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:50:05] Production.INFO: Account Balance End.
[2025-03-10 15:50:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:50:05] Production.INFO: ==23389== Releasing lock...
[2025-03-10 15:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 15:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650548', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 15:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:50:06
[end_date_ymd] => 2025-03-10 15:50:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:50:06' and `end` < '2025-03-10 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-03-10 15:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650548', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 15:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 15:50:09] Production.INFO: ProcessCDR(1,14650548,1,1,2)
[2025-03-10 15:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650548,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650548,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:50:09] Production.INFO: ==23393== Releasing lock...
[2025-03-10 15:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 15:50:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 15:50:15] Production.ERROR: CronJobId end10
[2025-03-10 15:50:15] Production.INFO: ==23387== Releasing lock...
[2025-03-10 15:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:50:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:50:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:50:17] Production.INFO: call_cost start
[2025-03-10 15:50:17] Production.INFO: call_cost end
[2025-03-10 15:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:50:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:50:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:50:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:50:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:50:18] Production.INFO: ==23383== Releasing lock...
[2025-03-10 15:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:50:19] Production.INFO: count ==5462
[2025-03-10 15:50:22] Production.ERROR: pbx CDR StartTime 2025-03-10 12:50:06 - End Time 2025-03-10 15:50:06
[2025-03-10 15:50:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650547', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650547', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650547', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650547', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:50:22] Production.INFO: ProcessCDR(1,14650547,1,1,2)
[2025-03-10 15:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:50:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:50:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:50:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650547', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650547', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:50:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:50:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:50:27] Production.INFO: ==23391== Releasing lock...
[2025-03-10 15:50:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:50:27] Production.INFO: 69 MB #Memory Used#
[2025-03-10 19:51:01] Production.INFO: ==23494== Lock acquired, processing the job...
[2025-03-10 19:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:51:01] Production.INFO: neon service started
[2025-03-10 19:51:01] Production.INFO: neon service started
[2025-03-10 19:51:01] Production.INFO: ==23494== Releasing lock...
[2025-03-10 19:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:51:01] Production.INFO: ==23496== Lock acquired, processing the job...
[2025-03-10 15:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:51:02] Production.INFO: ==23496== Releasing lock...
[2025-03-10 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:51:02] Production.INFO: ==23498== Lock acquired, processing the job...
[2025-03-10 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:51:02] Production.INFO: ==23498== Releasing lock...
[2025-03-10 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:51:03] Production.INFO: ==23506== Lock acquired, processing the job...
[2025-03-10 15:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:51:03] Production.INFO: ==23511== Lock acquired, processing the job...
[2025-03-10 15:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:51:03] Production.INFO: Account Balance Start.
[2025-03-10 15:51:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:51:03] Production.INFO: 117
[2025-03-10 15:51:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 15: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-03-10 15:51:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:51:03] Production.INFO: count ==13
[2025-03-10 15:51:03] Production.INFO: ==23500== Lock acquired, processing the job...
[2025-03-10 15:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:51:03] Production.INFO: ==23502== Lock acquired, processing the job...
[2025-03-10 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15: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-03-10 15:51:03] Production.INFO: count ==21
[2025-03-10 15:51:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650550') start
[2025-03-10 15:51:03] Production.INFO: Total Charge 0
[2025-03-10 15:51:03] Production.INFO: ==23504== Lock acquired, processing the job...
[2025-03-10 15:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:51:03] Production.INFO: CreateAllLog End
[2025-03-10 15:51:03] Production.INFO: ==23508== Lock acquired, processing the job...
[2025-03-10 15:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650550') end
[2025-03-10 15:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:51:03] Production.INFO: 1
[2025-03-10 15:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:51:03] Production.INFO: ==23511== Releasing lock...
[2025-03-10 15:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:51:03] Production.INFO: Account Balance End.
[2025-03-10 15:51:03] Production.ERROR: CronJobId end 12
[2025-03-10 15:51:03] Production.INFO: ==23506== Releasing lock...
[2025-03-10 15:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:51:03] Production.INFO: ==23502== Releasing lock...
[2025-03-10 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:51:04] Production.ERROR: done
[2025-03-10 15:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:51:04] Production.ERROR: done
[2025-03-10 15:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:51:05
[end_date_ymd] => 2025-03-10 15:51:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:51:05' and `end` < '2025-03-10 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-03-10 15:51:13] Production.ERROR: CronJobId end10
[2025-03-10 15:51:13] Production.INFO: ==23504== Releasing lock...
[2025-03-10 15:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:51:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:51:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:51:15] Production.INFO: call_cost start
[2025-03-10 15:51:15] Production.INFO: call_cost end
[2025-03-10 15:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:51:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:51:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:51:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:51:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:51:16] Production.INFO: ==23500== Releasing lock...
[2025-03-10 15:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:51:18] Production.INFO: count ==5530
[2025-03-10 15:51:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:51:05 - End Time 2025-03-10 15:51:05
[2025-03-10 15:51:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650553', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650553', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650553', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650553', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:51:21] Production.INFO: ProcessCDR(1,14650553,1,1,2)
[2025-03-10 15:51:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:51:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:51:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650553', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650553', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:51:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:51:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:51:27] Production.INFO: ==23508== Releasing lock...
[2025-03-10 15:51:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:51:27] Production.INFO: 69.5 MB #Memory Used#
[2025-03-10 19:52:02] Production.INFO: ==23564== Lock acquired, processing the job...
[2025-03-10 19:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:52:02] Production.INFO: neon service started
[2025-03-10 19:52:02] Production.INFO: neon service started
[2025-03-10 19:52:02] Production.INFO: ==23564== Releasing lock...
[2025-03-10 19:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:52:02] Production.INFO: ==23567== Lock acquired, processing the job...
[2025-03-10 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:52:02] Production.INFO: ==23569== Lock acquired, processing the job...
[2025-03-10 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:52:02] Production.INFO: ==23569== Releasing lock...
[2025-03-10 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:52:03] Production.INFO: ==23567== Releasing lock...
[2025-03-10 15:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:52:04] Production.INFO: ==23575== Lock acquired, processing the job...
[2025-03-10 15:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:52:04] Production.INFO: ==23579== Lock acquired, processing the job...
[2025-03-10 15:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:52:04] Production.INFO: ==23571== Lock acquired, processing the job...
[2025-03-10 15:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:52:04] Production.INFO: ==23573== Lock acquired, processing the job...
[2025-03-10 15:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:52:04] Production.INFO: ==23577== Lock acquired, processing the job...
[2025-03-10 15:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:52:04] Production.INFO: ==23581== Lock acquired, processing the job...
[2025-03-10 15:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:52:04] Production.ERROR: done
[2025-03-10 15:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:52:04] Production.INFO: Account Balance Start.
[2025-03-10 15:52:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:52:04] Production.INFO: 117
[2025-03-10 15:52:04] Production.INFO: Date 2025-03-08
[2025-03-10 15: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-03-10 15:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:52:04] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:52:04] Production.INFO: count ==21
[2025-03-10 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650556') start
[2025-03-10 15:52:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:52:05] Production.ERROR: done
[2025-03-10 15:52:05] Production.INFO: Date 2025-03-10
[2025-03-10 15:52:05] Production.INFO: Reseller ==> 0
[2025-03-10 15:52:05] Production.INFO: ==23573== Releasing lock...
[2025-03-10 15:52:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:52:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650556') end
[2025-03-10 15:52:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:52:05] Production.INFO: 1
[2025-03-10 15:52:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:52:05] Production.INFO: Total Charge 0
[2025-03-10 15:52:05] Production.INFO: CreateAllLog End
[2025-03-10 15:52:05] Production.INFO: ==23581== Releasing lock...
[2025-03-10 15:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:52:05] Production.INFO: Account Balance End.
[2025-03-10 15:52:05] Production.ERROR: CronJobId end 12
[2025-03-10 15:52:05] Production.INFO: ==23577== Releasing lock...
[2025-03-10 15:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:52:06
[end_date_ymd] => 2025-03-10 15:52:06
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:52:06' and `end` < '2025-03-10 15: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-03-10 15:52:13] Production.ERROR: CronJobId end10
[2025-03-10 15:52:13] Production.INFO: ==23575== Releasing lock...
[2025-03-10 15:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:52:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:52:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:52:15] Production.INFO: call_cost start
[2025-03-10 15:52:15] Production.INFO: call_cost end
[2025-03-10 15:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:52:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:52:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:52:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:52:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:52:16] Production.INFO: ==23571== Releasing lock...
[2025-03-10 15:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:52:19] Production.INFO: count ==5579
[2025-03-10 15:52:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:52:06 - End Time 2025-03-10 15:52:06
[2025-03-10 15:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650558', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650558', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650558', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650558', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:52:21] Production.INFO: ProcessCDR(1,14650558,1,1,2)
[2025-03-10 15:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:52:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:52:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:52:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650558', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650558', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:52:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:52:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:52:27] Production.INFO: ==23579== Releasing lock...
[2025-03-10 15:52:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:52:27] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 19:53:01] Production.INFO: ==23636== Lock acquired, processing the job...
[2025-03-10 19:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:53:01] Production.INFO: neon service started
[2025-03-10 19:53:01] Production.INFO: neon service started
[2025-03-10 19:53:01] Production.INFO: ==23636== Releasing lock...
[2025-03-10 19:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:53:01] Production.INFO: ==23638== Lock acquired, processing the job...
[2025-03-10 15:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:53:02] Production.INFO: ==23638== Releasing lock...
[2025-03-10 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:53:02] Production.INFO: ==23640== Lock acquired, processing the job...
[2025-03-10 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:53:02] Production.INFO: ==23640== Releasing lock...
[2025-03-10 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:53:03] Production.INFO: ==23644== Lock acquired, processing the job...
[2025-03-10 15:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:53:03] Production.INFO: ==23642== Lock acquired, processing the job...
[2025-03-10 15:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:53:03] Production.INFO: ==23646== Lock acquired, processing the job...
[2025-03-10 15:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:53:03] Production.INFO: ==23648== Lock acquired, processing the job...
[2025-03-10 15:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:53:03] Production.INFO: ==23652== Lock acquired, processing the job...
[2025-03-10 15:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:53:03] Production.INFO: ==23650== Lock acquired, processing the job...
[2025-03-10 15:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:53:03] Production.INFO: Account Balance Start.
[2025-03-10 15:53:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:53:03] Production.INFO: 117
[2025-03-10 15:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:53:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:53:03] Production.INFO: ==23644== Releasing lock...
[2025-03-10 15:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 15:53:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:53:03] Production.INFO: count ==13
[2025-03-10 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-03-10 15:53:03] Production.INFO: count ==21
[2025-03-10 15:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650562') start
[2025-03-10 15:53:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:53:03] Production.ERROR: done
[2025-03-10 15:53:03] Production.INFO: Total Charge 0
[2025-03-10 15:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:53:03] Production.INFO: CreateAllLog End
[2025-03-10 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650562') end
[2025-03-10 15:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:53:04] Production.INFO: 1
[2025-03-10 15:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:53:04] Production.ERROR: done
[2025-03-10 15:53:04] Production.INFO: ==23652== Releasing lock...
[2025-03-10 15:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:53:04] Production.INFO: Account Balance End.
[2025-03-10 15:53:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:53:04] Production.INFO: ==23648== Releasing lock...
[2025-03-10 15:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:53:05
[end_date_ymd] => 2025-03-10 15:53:05
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:53:05' and `end` < '2025-03-10 15: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-03-10 15:53:12] Production.ERROR: CronJobId end10
[2025-03-10 15:53:12] Production.INFO: ==23646== Releasing lock...
[2025-03-10 15:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:53:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:53:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:53:14] Production.INFO: call_cost start
[2025-03-10 15:53:14] Production.INFO: call_cost end
[2025-03-10 15:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:53:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:53:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:53:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:53:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:53:15] Production.INFO: ==23642== Releasing lock...
[2025-03-10 15:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:53:18] Production.INFO: count ==5581
[2025-03-10 15:53:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:53:05 - End Time 2025-03-10 15:53:05
[2025-03-10 15:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650563', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650563', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650563', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650563', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:53:21] Production.INFO: ProcessCDR(1,14650563,1,1,2)
[2025-03-10 15:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:53:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:53:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:53:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650563', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650563', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:53:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:53:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:53:26] Production.INFO: ==23650== Releasing lock...
[2025-03-10 15:53:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:53:26] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 19:54:02] Production.INFO: ==23709== Lock acquired, processing the job...
[2025-03-10 19:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:54:02] Production.INFO: neon service started
[2025-03-10 19:54:02] Production.INFO: neon service started
[2025-03-10 19:54:02] Production.INFO: ==23709== Releasing lock...
[2025-03-10 19:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:54:02] Production.INFO: ==23711== Lock acquired, processing the job...
[2025-03-10 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:54:02] Production.INFO: ==23711== Releasing lock...
[2025-03-10 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:54:02] Production.INFO: ==23713== Lock acquired, processing the job...
[2025-03-10 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:54:03] Production.INFO: ==23713== Releasing lock...
[2025-03-10 19:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:54:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:54:03] Production.INFO: ==23723== Lock acquired, processing the job...
[2025-03-10 15:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:54:03] Production.INFO: ==23721== Lock acquired, processing the job...
[2025-03-10 15:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:54:03] Production.INFO: ==23715== Lock acquired, processing the job...
[2025-03-10 15:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:54:03] Production.INFO: ==23717== Lock acquired, processing the job...
[2025-03-10 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:54:03] Production.INFO: Account Balance Start.
[2025-03-10 15:54:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:54:03] Production.INFO: 117
[2025-03-10 15:54:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:54:04] Production.INFO: ==23719== Lock acquired, processing the job...
[2025-03-10 15:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:54:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:54:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:54:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:54:04] Production.INFO: ==23726== Lock acquired, processing the job...
[2025-03-10 15:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:54:04] Production.INFO: Total Charge 0
[2025-03-10 15:54:04] Production.INFO: CreateAllLog End
[2025-03-10 15:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:54:04] Production.ERROR: done
[2025-03-10 15:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:54:04] Production.INFO: Account Balance End.
[2025-03-10 15: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-03-10 15:54:04] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:54:04] Production.INFO: count ==21
[2025-03-10 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650567') start
[2025-03-10 15:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:54:04] Production.INFO: ==23721== Releasing lock...
[2025-03-10 15:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:54:04] Production.INFO: ==23717== Releasing lock...
[2025-03-10 15:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:54:04] Production.ERROR: done
[2025-03-10 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650567') end
[2025-03-10 15:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:54:04] Production.INFO: 1
[2025-03-10 15:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:54:04] Production.INFO: ==23726== Releasing lock...
[2025-03-10 15:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:54:05
[end_date_ymd] => 2025-03-10 15:54:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:54:05' and `end` < '2025-03-10 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-03-10 15:54:14] Production.ERROR: CronJobId end10
[2025-03-10 15:54:14] Production.INFO: ==23719== Releasing lock...
[2025-03-10 15:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:54:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:54:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:54:16] Production.INFO: call_cost start
[2025-03-10 15:54:16] Production.INFO: call_cost end
[2025-03-10 15:54:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:54:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:54:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:54:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:54:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:54:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:54:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:54:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:54:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:54:17] Production.INFO: ==23715== Releasing lock...
[2025-03-10 15:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:54:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:54:18] Production.INFO: count ==5580
[2025-03-10 15:54:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:54:05 - End Time 2025-03-10 15:54:05
[2025-03-10 15:54:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650568', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650568', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650568', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650568', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:54:21] Production.INFO: ProcessCDR(1,14650568,1,1,2)
[2025-03-10 15:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:54:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:54:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650568', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650568', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:54:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:54:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:54:26] Production.INFO: ==23723== Releasing lock...
[2025-03-10 15:54:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:54:26] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 19:55:01] Production.INFO: ==23782== Lock acquired, processing the job...
[2025-03-10 19:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:55:01] Production.INFO: neon service started
[2025-03-10 19:55:01] Production.INFO: neon service started
[2025-03-10 19:55:01] Production.INFO: ==23782== Releasing lock...
[2025-03-10 19:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:55:01] Production.INFO: ==23784== Lock acquired, processing the job...
[2025-03-10 15:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:55:02] Production.INFO: ==23784== Releasing lock...
[2025-03-10 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:55:02] Production.INFO: ==23787== Lock acquired, processing the job...
[2025-03-10 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:55:02] Production.INFO: ==23787== Releasing lock...
[2025-03-10 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:55:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:55:02] Production.INFO: ==23797== Lock acquired, processing the job...
[2025-03-10 15:55:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:55:03] Production.INFO: ==23795== Lock acquired, processing the job...
[2025-03-10 15:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:55:03] Production.ERROR: done
[2025-03-10 15:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:55:03] Production.INFO: Account Balance Start.
[2025-03-10 15:55:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:55:03] Production.INFO: 117
[2025-03-10 15:55:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:55:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:55:03] Production.INFO: ==23789== Lock acquired, processing the job...
[2025-03-10 15:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:55:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:55:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:55:03] Production.INFO: ==23793== Lock acquired, processing the job...
[2025-03-10 15:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:55:03] Production.INFO: ==23791== Lock acquired, processing the job...
[2025-03-10 15:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:55:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:55:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:55:03] Production.INFO: ==23799== Lock acquired, processing the job...
[2025-03-10 15:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:55:03] Production.ERROR: done
[2025-03-10 15:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:55:03] Production.INFO: Total Charge 0
[2025-03-10 15:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:55:03] Production.INFO: CreateAllLog End
[2025-03-10 15:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:55:03] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 15:55:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:55:04] Production.INFO: ==23795== Releasing lock...
[2025-03-10 15:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:55:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:55:04] Production.INFO: count ==21
[2025-03-10 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650573') start
[2025-03-10 15:55:04] Production.INFO: ==23791== Releasing lock...
[2025-03-10 15:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650573') end
[2025-03-10 15:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:55:04] Production.INFO: 1
[2025-03-10 15:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:55:04] Production.INFO: ==23799== Releasing lock...
[2025-03-10 15:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:55:05
[end_date_ymd] => 2025-03-10 15:55:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:55:05' and `end` < '2025-03-10 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-03-10 15:55:12] Production.ERROR: CronJobId end10
[2025-03-10 15:55:12] Production.INFO: ==23793== Releasing lock...
[2025-03-10 15:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:55:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:55:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:55:14] Production.INFO: call_cost start
[2025-03-10 15:55:14] Production.INFO: call_cost end
[2025-03-10 15:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:55:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:55:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:55:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:55:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:55:15] Production.INFO: ==23789== Releasing lock...
[2025-03-10 15:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:55:18] Production.INFO: count ==5575
[2025-03-10 15:55:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:55:05 - End Time 2025-03-10 15:55:05
[2025-03-10 15:55:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650571', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650571', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650571', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650571', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:55:20] Production.INFO: ProcessCDR(1,14650571,1,1,2)
[2025-03-10 15:55:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:55:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:55:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:55:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:55:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650571', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:55:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650571', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:55:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:55:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:55:25] Production.INFO: ==23797== Releasing lock...
[2025-03-10 15:55:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:55:25] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 19:56:01] Production.INFO: ==23857== Lock acquired, processing the job...
[2025-03-10 19:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:56:01] Production.INFO: neon service started
[2025-03-10 19:56:01] Production.INFO: neon service started
[2025-03-10 19:56:01] Production.INFO: ==23857== Releasing lock...
[2025-03-10 19:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 19:56:02] Production.INFO: ==23861== Lock acquired, processing the job...
[2025-03-10 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 15:56:02] Production.INFO: ==23859== Lock acquired, processing the job...
[2025-03-10 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 19:56:02] Production.INFO: ==23861== Releasing lock...
[2025-03-10 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:56:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:56:02] Production.INFO: ==23859== Releasing lock...
[2025-03-10 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 15:56:03] Production.INFO: ==23864== Lock acquired, processing the job...
[2025-03-10 15:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:56:03] Production.INFO: ==23868== Lock acquired, processing the job...
[2025-03-10 15:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:56:03] Production.INFO: ==23870== Lock acquired, processing the job...
[2025-03-10 15:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:56:04] Production.INFO: Account Balance Start.
[2025-03-10 15:56:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:56:04] Production.INFO: ==23866== Lock acquired, processing the job...
[2025-03-10 15:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:56:04] Production.INFO: 117
[2025-03-10 15:56:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:56:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:56:04] Production.INFO: ==23872== Lock acquired, processing the job...
[2025-03-10 15:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:56:04] Production.INFO: ==23874== Lock acquired, processing the job...
[2025-03-10 15:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:56:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:56:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:56:04] Production.INFO: Total Charge 0
[2025-03-10 15:56:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 15:56:04] Production.INFO: ==23866== Releasing lock...
[2025-03-10 15:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:56:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:56:04] Production.INFO: count ==21
[2025-03-10 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650577') start
[2025-03-10 15:56:04] Production.ERROR: done
[2025-03-10 15:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:56:04] Production.INFO: Account Balance End.
[2025-03-10 15:56:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:56:04] Production.INFO: ==23870== Releasing lock...
[2025-03-10 15:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:56:05] Production.ERROR: done
[2025-03-10 15:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650577') end
[2025-03-10 15:56:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:56:05] Production.INFO: 1
[2025-03-10 15:56:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:56:05] Production.INFO: ==23874== Releasing lock...
[2025-03-10 15:56:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:56:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:56:06
[end_date_ymd] => 2025-03-10 15:56:06
[RateCDR] => 1
)
[2025-03-10 15: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-03-10 12:56:06' and `end` < '2025-03-10 15: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-03-10 15:56:13] Production.ERROR: CronJobId end10
[2025-03-10 15:56:13] Production.INFO: ==23868== Releasing lock...
[2025-03-10 15:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:56:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:56:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:56:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:56:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:56:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:56:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:56:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:56:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:56:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:56:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:56:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:56:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:56:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:56:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:56:16] Production.INFO: call_cost start
[2025-03-10 15:56:16] Production.INFO: call_cost end
[2025-03-10 15:56:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:56:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:56:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:56:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:56:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:56:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:56:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:56:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:56:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:56:17] Production.INFO: ==23864== Releasing lock...
[2025-03-10 15:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:56:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:56:19] Production.INFO: count ==5571
[2025-03-10 15:56:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:56:06 - End Time 2025-03-10 15:56:06
[2025-03-10 15:56:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650578', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650578', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650578', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650578', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:56:21] Production.INFO: ProcessCDR(1,14650578,1,1,2)
[2025-03-10 15:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:56:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650578', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650578', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:56:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:56:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:56:27] Production.INFO: ==23872== Releasing lock...
[2025-03-10 15:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:56:27] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 19:57:01] Production.INFO: ==23927== Lock acquired, processing the job...
[2025-03-10 19:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:57:01] Production.INFO: neon service started
[2025-03-10 19:57:01] Production.INFO: neon service started
[2025-03-10 19:57:01] Production.INFO: ==23927== Releasing lock...
[2025-03-10 19:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:57:01] Production.INFO: ==23929== Lock acquired, processing the job...
[2025-03-10 15:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:57:02] Production.INFO: ==23929== Releasing lock...
[2025-03-10 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:57:02] Production.INFO: ==23931== Lock acquired, processing the job...
[2025-03-10 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:57:02] Production.INFO: ==23931== Releasing lock...
[2025-03-10 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:57:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:57:03] Production.INFO: ==23938== Lock acquired, processing the job...
[2025-03-10 15:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:57:03] Production.INFO: ==23944== Lock acquired, processing the job...
[2025-03-10 15:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:57:03] Production.INFO: ==23936== Lock acquired, processing the job...
[2025-03-10 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:57:03] Production.INFO: ==23934== Lock acquired, processing the job...
[2025-03-10 15:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15: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-03-10 15:57:03] Production.INFO: ==23940== Lock acquired, processing the job...
[2025-03-10 15:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:57:03] Production.INFO: count ==13
[2025-03-10 15:57:03] Production.INFO: ==23942== Lock acquired, processing the job...
[2025-03-10 15:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15: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-03-10 15:57:03] Production.INFO: count ==21
[2025-03-10 15:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650579') start
[2025-03-10 15:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650579') end
[2025-03-10 15:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:57:03] Production.INFO: 1
[2025-03-10 15:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:57:03] Production.INFO: Account Balance Start.
[2025-03-10 15:57:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:57:03] Production.INFO: 117
[2025-03-10 15:57:03] Production.INFO: ==23944== Releasing lock...
[2025-03-10 15:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:57:03] Production.INFO: ==23936== Releasing lock...
[2025-03-10 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:57:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:57:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:57:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:57:04] Production.ERROR: done
[2025-03-10 15:57:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:57:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:57:04] Production.INFO: Total Charge 0
[2025-03-10 15:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:57:04] Production.INFO: CreateAllLog End
[2025-03-10 15:57:04] Production.ERROR: done
[2025-03-10 15:57:04] Production.INFO: Account Balance End.
[2025-03-10 15:57:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:57:04] Production.INFO: ==23940== Releasing lock...
[2025-03-10 15:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:57:05
[end_date_ymd] => 2025-03-10 15:57:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:57:05' and `end` < '2025-03-10 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-03-10 15:57:11] Production.ERROR: CronJobId end10
[2025-03-10 15:57:11] Production.INFO: ==23938== Releasing lock...
[2025-03-10 15:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:57:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:57:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:57:14] Production.INFO: call_cost start
[2025-03-10 15:57:14] Production.INFO: call_cost end
[2025-03-10 15:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:57:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:57:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:57:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:57:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:57:15] Production.INFO: ==23934== Releasing lock...
[2025-03-10 15:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:57:18] Production.INFO: count ==5573
[2025-03-10 15:57:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:57:05 - End Time 2025-03-10 15:57:05
[2025-03-10 15:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650583', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650583', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650583', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650583', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:57:21] Production.INFO: ProcessCDR(1,14650583,1,1,2)
[2025-03-10 15:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:57:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:57:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:57:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650583', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650583', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:57:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:57:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:57:26] Production.INFO: ==23942== Releasing lock...
[2025-03-10 15:57:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:57:26] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 19:58:02] Production.INFO: ==23997== Lock acquired, processing the job...
[2025-03-10 19:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:58:02] Production.INFO: neon service started
[2025-03-10 19:58:02] Production.INFO: neon service started
[2025-03-10 19:58:02] Production.INFO: ==23997== Releasing lock...
[2025-03-10 19:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:58:02] Production.INFO: ==23999== Lock acquired, processing the job...
[2025-03-10 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:58:02] Production.INFO: ==23999== Releasing lock...
[2025-03-10 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:58:02] Production.INFO: ==24001== Lock acquired, processing the job...
[2025-03-10 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:58:03] Production.INFO: ==24001== Releasing lock...
[2025-03-10 19:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:58:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:58:03] Production.INFO: ==24005== Lock acquired, processing the job...
[2025-03-10 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:58:03] Production.INFO: ==24009== Lock acquired, processing the job...
[2025-03-10 15:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:58:04] Production.INFO: Account Balance Start.
[2025-03-10 15:58:04] Production.INFO: CreateAllLog Start
[2025-03-10 15:58:04] Production.INFO: 117
[2025-03-10 15:58:04] Production.INFO: Date 2025-03-08
[2025-03-10 15:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:58:04] Production.INFO: ==24003== Lock acquired, processing the job...
[2025-03-10 15:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:58:04] Production.INFO: ==24005== Releasing lock...
[2025-03-10 15:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:58:04] Production.INFO: Date 2025-03-09
[2025-03-10 15:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:58:04] Production.INFO: ==24007== Lock acquired, processing the job...
[2025-03-10 15:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:58:04] Production.INFO: Date 2025-03-10
[2025-03-10 15:58:04] Production.INFO: Reseller ==> 0
[2025-03-10 15:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:58:04] Production.INFO: ==24011== Lock acquired, processing the job...
[2025-03-10 15:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:58:04] Production.INFO: ==24014== Lock acquired, processing the job...
[2025-03-10 15:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:58:04] Production.INFO: Total Charge 0
[2025-03-10 15:58:04] Production.INFO: CreateAllLog End
[2025-03-10 15:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 15:58:04] Production.INFO: count ==13
[2025-03-10 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-03-10 15:58:04] Production.INFO: count ==21
[2025-03-10 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650587') start
[2025-03-10 15:58:04] Production.INFO: Account Balance End.
[2025-03-10 15:58:04] Production.ERROR: CronJobId end 12
[2025-03-10 15:58:04] Production.INFO: ==24009== Releasing lock...
[2025-03-10 15:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650587') end
[2025-03-10 15:58:04] Production.ERROR: done
[2025-03-10 15:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:58:04] Production.INFO: 1
[2025-03-10 15:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:58:04] Production.INFO: ==24014== Releasing lock...
[2025-03-10 15:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:58:05] Production.ERROR: done
[2025-03-10 15:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:58:06
[end_date_ymd] => 2025-03-10 15:58:06
[RateCDR] => 1
)
[2025-03-10 15:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 12:58:06' and `end` < '2025-03-10 15:58:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 15:58:13] Production.ERROR: CronJobId end10
[2025-03-10 15:58:13] Production.INFO: ==24007== Releasing lock...
[2025-03-10 15:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:58:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:58:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:58:14] Production.INFO: call_cost start
[2025-03-10 15:58:14] Production.INFO: call_cost end
[2025-03-10 15:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:58:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:58:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:58:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:58:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:58:15] Production.INFO: ==24003== Releasing lock...
[2025-03-10 15:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:58:19] Production.INFO: count ==5577
[2025-03-10 15:58:21] Production.ERROR: pbx CDR StartTime 2025-03-10 12:58:06 - End Time 2025-03-10 15:58:06
[2025-03-10 15:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650588', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650588', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650588', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650588', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:58:21] Production.INFO: ProcessCDR(1,14650588,1,1,2)
[2025-03-10 15:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650588', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650588', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:58:26] Production.INFO: ==24011== Releasing lock...
[2025-03-10 15:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:58:26] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 19:59:01] Production.INFO: ==24066== Lock acquired, processing the job...
[2025-03-10 19:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 19:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 19:59:01] Production.INFO: neon service started
[2025-03-10 19:59:01] Production.INFO: neon service started
[2025-03-10 19:59:01] Production.INFO: ==24066== Releasing lock...
[2025-03-10 19:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 19:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 15:59:01] Production.INFO: ==24068== Lock acquired, processing the job...
[2025-03-10 15:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 15:59:02] Production.INFO: ==24068== Releasing lock...
[2025-03-10 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 15:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 19:59:02] Production.INFO: ==24070== Lock acquired, processing the job...
[2025-03-10 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 19:59:02] Production.INFO: ==24070== Releasing lock...
[2025-03-10 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 19:59:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 15:59:03] Production.INFO: ==24072== Lock acquired, processing the job...
[2025-03-10 15:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 15:59:03] Production.INFO: ==24074== Lock acquired, processing the job...
[2025-03-10 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 15:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 15:59:03] Production.INFO: ==24078== Lock acquired, processing the job...
[2025-03-10 15:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 15:59:03] Production.INFO: ==24076== Lock acquired, processing the job...
[2025-03-10 15:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 15:59:03] Production.INFO: Account Balance Start.
[2025-03-10 15:59:03] Production.INFO: CreateAllLog Start
[2025-03-10 15:59:03] Production.INFO: 117
[2025-03-10 15:59:03] Production.INFO: Date 2025-03-08
[2025-03-10 15:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:59:03] Production.INFO: Date 2025-03-09
[2025-03-10 15:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 15:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 15:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 15:59:03] Production.INFO: ==24082== Lock acquired, processing the job...
[2025-03-10 15:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 15:59:03] Production.INFO: Date 2025-03-10
[2025-03-10 15:59:03] Production.INFO: Reseller ==> 0
[2025-03-10 15:59:03] Production.INFO: ==24074== Releasing lock...
[2025-03-10 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 15:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 15:59:03] Production.INFO: Total Charge 0
[2025-03-10 15:59:03] Production.INFO: CreateAllLog End
[2025-03-10 15:59:03] Production.INFO: ==24080== Lock acquired, processing the job...
[2025-03-10 15:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 15:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 15:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 15:59:03] Production.INFO: Account Balance End.
[2025-03-10 15: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-03-10 15:59:03] Production.ERROR: CronJobId end 12
[2025-03-10 15:59:03] Production.INFO: ==24078== Releasing lock...
[2025-03-10 15:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 15:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 15:59:03] Production.INFO: count ==13
[2025-03-10 15: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-03-10 15:59:03] Production.INFO: count ==21
[2025-03-10 15:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650592') start
[2025-03-10 15:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650592') end
[2025-03-10 15:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 15:59:03] Production.INFO: 1
[2025-03-10 15:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 15:59:04] Production.INFO: ==24082== Releasing lock...
[2025-03-10 15:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 15:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 15:59:04] Production.ERROR: done
[2025-03-10 15:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 15:59:04] Production.ERROR: done
[2025-03-10 15:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 12:59:05
[end_date_ymd] => 2025-03-10 15:59:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 12:59:05' and `end` < '2025-03-10 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-03-10 15:59:12] Production.ERROR: CronJobId end10
[2025-03-10 15:59:12] Production.INFO: ==24076== Releasing lock...
[2025-03-10 15:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 15:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 15:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 15:59:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 15:59:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 15:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 15:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 15:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 15:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 15:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 15:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 15:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 15:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 15:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 15:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 15:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 15:59:14] Production.INFO: call_cost start
[2025-03-10 15:59:14] Production.INFO: call_cost end
[2025-03-10 15:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 15:59:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 15:59:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 15:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 15:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 15:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 15:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 15:59:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 15:59:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 15:59:15] Production.INFO: ==24072== Releasing lock...
[2025-03-10 15:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 15:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 15:59:18] Production.INFO: count ==5587
[2025-03-10 15:59:20] Production.ERROR: pbx CDR StartTime 2025-03-10 12:59:05 - End Time 2025-03-10 15:59:05
[2025-03-10 15:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 15:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650593', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650593', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650593', 'tblTempVendorCDR_20' ) start
[2025-03-10 15:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650593', 'tblTempVendorCDR_20' ) end
[2025-03-10 15:59:20] Production.INFO: ProcessCDR(1,14650593,1,1,2)
[2025-03-10 15:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:59:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 15:59:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:59:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 15:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650593', 'tblTempUsageDetail_20' ) start
[2025-03-10 15:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650593', 'tblTempUsageDetail_20' ) end
[2025-03-10 15:59:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 15:59:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 15:59:25] Production.INFO: ==24080== Releasing lock...
[2025-03-10 15:59:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 15:59:25] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 20:00:02] Production.INFO: ==24138== Lock acquired, processing the job...
[2025-03-10 20:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:00:02] Production.INFO: neon service started
[2025-03-10 20:00:02] Production.INFO: neon service started
[2025-03-10 20:00:02] Production.INFO: ==24138== Releasing lock...
[2025-03-10 20:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:00:02] Production.INFO: ==24140== Lock acquired, processing the job...
[2025-03-10 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:00:02] Production.INFO: ==24142== Lock acquired, processing the job...
[2025-03-10 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:00:02] Production.INFO: ==24142== Releasing lock...
[2025-03-10 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:00:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:00:02] Production.INFO: ==24140== Releasing lock...
[2025-03-10 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:00:03] Production.INFO: ==24144== Lock acquired, processing the job...
[2025-03-10 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 16:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 16:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 16:00:03] Production.INFO: ==24144== Releasing lock...
[2025-03-10 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 16:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 16:00:04] Production.INFO: ==24152== Lock acquired, processing the job...
[2025-03-10 16:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:00:04] Production.INFO: ==24154== Lock acquired, processing the job...
[2025-03-10 16:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:00:04] Production.INFO: ==24146== Lock acquired, processing the job...
[2025-03-10 16:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:00:04] Production.INFO: ==24148== Lock acquired, processing the job...
[2025-03-10 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:00:04] Production.INFO: ==24156== Lock acquired, processing the job...
[2025-03-10 16:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 16:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:00:04] Production.INFO: ==24150== Lock acquired, processing the job...
[2025-03-10 16:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:00:04] Production.INFO: Account Balance Start.
[2025-03-10 16:00:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:00:04] Production.INFO: 117
[2025-03-10 16:00:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:00:04] Production.INFO: ==24159== Lock acquired, processing the job...
[2025-03-10 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:00:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:00:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:00:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:00:04] Production.INFO: ==24148== Releasing lock...
[2025-03-10 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:00:04] Production.ERROR: done
[2025-03-10 16:00:04] Production.ERROR: done
[2025-03-10 16:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16: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-03-10 16:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 16:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650598', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 16:00:04] Production.INFO: Total Charge 0
[2025-03-10 16:00:04] Production.INFO: CreateAllLog End
[2025-03-10 16:00:04] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:00:04] Production.INFO: count ==21
[2025-03-10 16:00:04] Production.ERROR: done
[2025-03-10 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650597') start
[2025-03-10 16:00:04] Production.INFO: Account Balance End.
[2025-03-10 16:00:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:00:04] Production.INFO: ==24152== Releasing lock...
[2025-03-10 16:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650597') end
[2025-03-10 16:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:00:05] Production.INFO: 1
[2025-03-10 16:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:00:05] Production.INFO: ==24159== Releasing lock...
[2025-03-10 16:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:00:06
[end_date_ymd] => 2025-03-10 16:00:06
[RateCDR] => 1
)
[2025-03-10 16:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 13:00:06' and `end` < '2025-03-10 16:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 16:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650598', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 16:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 16:00:09] Production.INFO: ProcessCDR(1,14650598,1,1,2)
[2025-03-10 16:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650598,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650598,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:00:09] Production.INFO: ==24156== Releasing lock...
[2025-03-10 16:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 16:00:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 16:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:00:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:00:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:00:15] Production.ERROR: CronJobId end10
[2025-03-10 16:00:15] Production.INFO: ==24150== Releasing lock...
[2025-03-10 16:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:00:15] Production.INFO: call_cost start
[2025-03-10 16:00:15] Production.INFO: call_cost end
[2025-03-10 16:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:00:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:00:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:00:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:00:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:00:16] Production.INFO: ==24146== Releasing lock...
[2025-03-10 16:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:00:19] Production.INFO: count ==5601
[2025-03-10 16:00:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:00:06 - End Time 2025-03-10 16:00:06
[2025-03-10 16:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650599', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650599', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650599', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650599', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:00:22] Production.INFO: ProcessCDR(1,14650599,1,1,2)
[2025-03-10 16:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:00:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:00:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:00:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:00:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650599', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:00:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650599', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:00:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:00:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:00:26] Production.INFO: ==24154== Releasing lock...
[2025-03-10 16:00:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:00:26] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:01:01] Production.INFO: ==24225== Lock acquired, processing the job...
[2025-03-10 20:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:01:01] Production.INFO: neon service started
[2025-03-10 20:01:01] Production.INFO: neon service started
[2025-03-10 20:01:01] Production.INFO: ==24225== Releasing lock...
[2025-03-10 20:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:01:01] Production.INFO: ==24227== Lock acquired, processing the job...
[2025-03-10 16:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:01:02] Production.INFO: ==24229== Lock acquired, processing the job...
[2025-03-10 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:01:02] Production.INFO: ==24229== Releasing lock...
[2025-03-10 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:01:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:01:02] Production.INFO: ==24227== Releasing lock...
[2025-03-10 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:01:03] Production.INFO: ==24231== Lock acquired, processing the job...
[2025-03-10 16:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:01:03] Production.INFO: ==24233== Lock acquired, processing the job...
[2025-03-10 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:01:03] Production.INFO: ==24237== Lock acquired, processing the job...
[2025-03-10 16:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:01:03] Production.INFO: ==24235== Lock acquired, processing the job...
[2025-03-10 16:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:01:03] Production.INFO: ==24239== Lock acquired, processing the job...
[2025-03-10 16:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:01:03] Production.INFO: ==24241== Lock acquired, processing the job...
[2025-03-10 16:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:01:03] Production.INFO: Account Balance Start.
[2025-03-10 16:01:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:01:03] Production.INFO: 117
[2025-03-10 16:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:01:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 16:01:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:01:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:01:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:01:03] Production.INFO: count ==13
[2025-03-10 16:01:03] Production.INFO: ==24233== Releasing lock...
[2025-03-10 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 16:01:03] Production.INFO: count ==21
[2025-03-10 16:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650603') start
[2025-03-10 16:01:03] Production.INFO: Total Charge 0
[2025-03-10 16:01:03] Production.INFO: CreateAllLog End
[2025-03-10 16:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650603') end
[2025-03-10 16:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:01:03] Production.INFO: 1
[2025-03-10 16:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:01:03] Production.INFO: ==24241== Releasing lock...
[2025-03-10 16:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:01:03] Production.ERROR: done
[2025-03-10 16:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:01:03] Production.ERROR: done
[2025-03-10 16:01:04] Production.INFO: Account Balance End.
[2025-03-10 16:01:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:01:04] Production.INFO: ==24237== Releasing lock...
[2025-03-10 16:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:01:04
[end_date_ymd] => 2025-03-10 16:01:04
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:01:04' and `end` < '2025-03-10 16: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-03-10 16:01:13] Production.ERROR: CronJobId end10
[2025-03-10 16:01:13] Production.INFO: ==24235== Releasing lock...
[2025-03-10 16:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:01:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:01:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:01:14] Production.INFO: call_cost start
[2025-03-10 16:01:14] Production.INFO: call_cost end
[2025-03-10 16:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:01:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:01:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:01:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:01:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:01:15] Production.INFO: ==24231== Releasing lock...
[2025-03-10 16:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:01:18] Production.INFO: count ==5605
[2025-03-10 16:01:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:01:04 - End Time 2025-03-10 16:01:04
[2025-03-10 16:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650604', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650604', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650604', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650604', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:01:21] Production.INFO: ProcessCDR(1,14650604,1,1,2)
[2025-03-10 16:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:01:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650604', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650604', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:01:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:01:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:01:26] Production.INFO: ==24239== Releasing lock...
[2025-03-10 16:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:01:26] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:02:01] Production.INFO: ==24298== Lock acquired, processing the job...
[2025-03-10 20:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:02:02] Production.INFO: neon service started
[2025-03-10 20:02:02] Production.INFO: neon service started
[2025-03-10 20:02:02] Production.INFO: ==24298== Releasing lock...
[2025-03-10 20:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:02:02] Production.INFO: ==24300== Lock acquired, processing the job...
[2025-03-10 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:02:02] Production.INFO: ==24302== Lock acquired, processing the job...
[2025-03-10 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:02:02] Production.INFO: ==24302== Releasing lock...
[2025-03-10 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:02:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:02:03] Production.INFO: ==24300== Releasing lock...
[2025-03-10 16:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:02:04] Production.INFO: ==24311== Lock acquired, processing the job...
[2025-03-10 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:02:04] Production.INFO: ==24313== Lock acquired, processing the job...
[2025-03-10 16:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:02:04] Production.INFO: Account Balance Start.
[2025-03-10 16:02:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:02:04] Production.INFO: 117
[2025-03-10 16:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:02:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:02:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:02:04] Production.INFO: ==24305== Lock acquired, processing the job...
[2025-03-10 16:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:02:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:02:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:02:04] Production.INFO: Total Charge 0
[2025-03-10 16:02:04] Production.INFO: ==24307== Lock acquired, processing the job...
[2025-03-10 16:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:02:04] Production.INFO: CreateAllLog End
[2025-03-10 16:02:04] Production.INFO: ==24309== Lock acquired, processing the job...
[2025-03-10 16:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:02:04] Production.INFO: ==24315== Lock acquired, processing the job...
[2025-03-10 16:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:02:04] Production.ERROR: done
[2025-03-10 16:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 16:02:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:02:04] Production.INFO: count ==21
[2025-03-10 16:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650608') start
[2025-03-10 16:02:04] Production.ERROR: done
[2025-03-10 16:02:04] Production.INFO: ==24307== Releasing lock...
[2025-03-10 16:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650608') end
[2025-03-10 16:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:02:04] Production.INFO: 1
[2025-03-10 16:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:02:04] Production.INFO: Account Balance End.
[2025-03-10 16:02:05] Production.INFO: ==24315== Releasing lock...
[2025-03-10 16:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:02:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:02:05] Production.ERROR: CronJobId end 12
[2025-03-10 16:02:05] Production.INFO: ==24311== Releasing lock...
[2025-03-10 16:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:02:06
[end_date_ymd] => 2025-03-10 16:02:06
[RateCDR] => 1
)
[2025-03-10 16:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-03-10 13:02:06' and `end` < '2025-03-10 16:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-03-10 16:02:14] Production.ERROR: CronJobId end10
[2025-03-10 16:02:14] Production.INFO: ==24309== Releasing lock...
[2025-03-10 16:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:02:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:02:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:02:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:02:16] Production.INFO: call_cost start
[2025-03-10 16:02:16] Production.INFO: call_cost end
[2025-03-10 16:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:02:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:02:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:02:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:02:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:02:17] Production.INFO: ==24305== Releasing lock...
[2025-03-10 16:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:02:19] Production.INFO: count ==5608
[2025-03-10 16:02:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:02:06 - End Time 2025-03-10 16:02:06
[2025-03-10 16:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650609', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650609', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650609', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650609', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:02:21] Production.INFO: ProcessCDR(1,14650609,1,1,2)
[2025-03-10 16:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:02:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:02:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:02:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650609', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650609', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:02:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:02:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:02:26] Production.INFO: ==24313== Releasing lock...
[2025-03-10 16:02:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:02:26] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:03:01] Production.INFO: ==24373== Lock acquired, processing the job...
[2025-03-10 20:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:03:01] Production.INFO: neon service started
[2025-03-10 20:03:01] Production.INFO: neon service started
[2025-03-10 20:03:01] Production.INFO: ==24373== Releasing lock...
[2025-03-10 20:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:03:01] Production.INFO: ==24375== Lock acquired, processing the job...
[2025-03-10 16:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:03:02] Production.INFO: ==24375== Releasing lock...
[2025-03-10 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:03:02] Production.INFO: ==24377== Lock acquired, processing the job...
[2025-03-10 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:03:02] Production.INFO: ==24377== Releasing lock...
[2025-03-10 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:03:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:03:03] Production.INFO: ==24390== Lock acquired, processing the job...
[2025-03-10 16:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:03:03] Production.INFO: ==24384== Lock acquired, processing the job...
[2025-03-10 16:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:03:03] Production.INFO: ==24380== Lock acquired, processing the job...
[2025-03-10 16:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16: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-03-10 16:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:03:03] Production.INFO: ==24382== Lock acquired, processing the job...
[2025-03-10 16:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:03:03] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:03:03] Production.INFO: ==24386== Lock acquired, processing the job...
[2025-03-10 16:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:03:03] Production.INFO: count ==21
[2025-03-10 16:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650610') start
[2025-03-10 16:03:03] Production.INFO: Account Balance Start.
[2025-03-10 16:03:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:03:03] Production.INFO: 117
[2025-03-10 16:03:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:03:03] Production.INFO: ==24388== Lock acquired, processing the job...
[2025-03-10 16:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:03:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650610') end
[2025-03-10 16:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:03:03] Production.INFO: 1
[2025-03-10 16:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:03:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:03:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:03:03] Production.INFO: Total Charge 0
[2025-03-10 16:03:03] Production.INFO: ==24390== Releasing lock...
[2025-03-10 16:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:03:03] Production.INFO: CreateAllLog End
[2025-03-10 16:03:04] Production.ERROR: done
[2025-03-10 16:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:03:04] Production.INFO: ==24382== Releasing lock...
[2025-03-10 16:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:03:04] Production.ERROR: done
[2025-03-10 16:03:04] Production.INFO: Account Balance End.
[2025-03-10 16:03:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:03:04] Production.INFO: ==24386== Releasing lock...
[2025-03-10 16:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:03:05
[end_date_ymd] => 2025-03-10 16:03:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:03:05' and `end` < '2025-03-10 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-03-10 16:03:13] Production.ERROR: CronJobId end10
[2025-03-10 16:03:13] Production.INFO: ==24384== Releasing lock...
[2025-03-10 16:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:03:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:03:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:03:14] Production.INFO: call_cost start
[2025-03-10 16:03:14] Production.INFO: call_cost end
[2025-03-10 16:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:03:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:03:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:03:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:03:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:03:15] Production.INFO: ==24380== Releasing lock...
[2025-03-10 16:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:03:18] Production.INFO: count ==5608
[2025-03-10 16:03:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:03:05 - End Time 2025-03-10 16:03:05
[2025-03-10 16:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650614', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650614', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650614', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650614', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:03:20] Production.INFO: ProcessCDR(1,14650614,1,1,2)
[2025-03-10 16:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650614', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650614', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:03:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:03:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:03:25] Production.INFO: ==24388== Releasing lock...
[2025-03-10 16:03:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:03:25] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:04:01] Production.INFO: ==24452== Lock acquired, processing the job...
[2025-03-10 20:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:04:02] Production.INFO: neon service started
[2025-03-10 20:04:02] Production.INFO: neon service started
[2025-03-10 20:04:02] Production.INFO: ==24452== Releasing lock...
[2025-03-10 20:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:04:02] Production.INFO: ==24456== Lock acquired, processing the job...
[2025-03-10 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:04:02] Production.INFO: ==24456== Releasing lock...
[2025-03-10 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:04:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:04:02] Production.INFO: ==24454== Lock acquired, processing the job...
[2025-03-10 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:04:02] Production.INFO: ==24454== Releasing lock...
[2025-03-10 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:04:03] Production.INFO: ==24459== Lock acquired, processing the job...
[2025-03-10 16:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:04:03] Production.INFO: ==24461== Lock acquired, processing the job...
[2025-03-10 16:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:04:03] Production.INFO: ==24463== Lock acquired, processing the job...
[2025-03-10 16:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:04:04] Production.INFO: ==24465== Lock acquired, processing the job...
[2025-03-10 16:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:04:04] Production.INFO: ==24467== Lock acquired, processing the job...
[2025-03-10 16:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:04:04] Production.INFO: Account Balance Start.
[2025-03-10 16:04:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:04:04] Production.INFO: 117
[2025-03-10 16:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:04:04] Production.INFO: ==24469== Lock acquired, processing the job...
[2025-03-10 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:04:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:04:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:04:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:04:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:04:04] Production.INFO: ==24461== Releasing lock...
[2025-03-10 16:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:04:04] Production.INFO: Total Charge 0
[2025-03-10 16:04:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 16:04:04] Production.INFO: count ==13
[2025-03-10 16:04:04] Production.ERROR: done
[2025-03-10 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-03-10 16:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:04:04] Production.INFO: count ==21
[2025-03-10 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650618') start
[2025-03-10 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650618') end
[2025-03-10 16:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:04:04] Production.INFO: 1
[2025-03-10 16:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:04:04] Production.ERROR: done
[2025-03-10 16:04:04] Production.INFO: ==24469== Releasing lock...
[2025-03-10 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:04:04] Production.INFO: Account Balance End.
[2025-03-10 16:04:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:04:04] Production.INFO: ==24465== Releasing lock...
[2025-03-10 16:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:04:05
[end_date_ymd] => 2025-03-10 16:04:05
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:04:05' and `end` < '2025-03-10 16: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-03-10 16:04:14] Production.ERROR: CronJobId end10
[2025-03-10 16:04:14] Production.INFO: ==24463== Releasing lock...
[2025-03-10 16:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:04:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:04:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:04:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:04:15] Production.INFO: call_cost start
[2025-03-10 16:04:15] Production.INFO: call_cost end
[2025-03-10 16:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:04:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:04:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:04:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:04:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:04:16] Production.INFO: ==24459== Releasing lock...
[2025-03-10 16:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:04:19] Production.INFO: count ==5613
[2025-03-10 16:04:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:04:05 - End Time 2025-03-10 16:04:05
[2025-03-10 16:04:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650619', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650619', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650619', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650619', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:04:21] Production.INFO: ProcessCDR(1,14650619,1,1,2)
[2025-03-10 16:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650619', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650619', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:04:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:04:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:04:26] Production.INFO: ==24467== Releasing lock...
[2025-03-10 16:04:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:04:26] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:05:01] Production.INFO: ==24529== Lock acquired, processing the job...
[2025-03-10 20:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:05:01] Production.INFO: neon service started
[2025-03-10 20:05:01] Production.INFO: neon service started
[2025-03-10 20:05:01] Production.INFO: ==24529== Releasing lock...
[2025-03-10 20:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:05:01] Production.INFO: ==24531== Lock acquired, processing the job...
[2025-03-10 16:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:05:02] Production.INFO: ==24531== Releasing lock...
[2025-03-10 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:05:02] Production.INFO: ==24533== Lock acquired, processing the job...
[2025-03-10 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:05:02] Production.INFO: ==24533== Releasing lock...
[2025-03-10 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:05:02] Production.INFO: 26 MB #Memory Used#
[2025-03-10 16:05:03] Production.INFO: ==24537== Lock acquired, processing the job...
[2025-03-10 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:05:03] Production.INFO: ==24535== Lock acquired, processing the job...
[2025-03-10 16:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:05:03] Production.INFO: ==24541== Lock acquired, processing the job...
[2025-03-10 16:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:05:03] Production.INFO: ==24539== Lock acquired, processing the job...
[2025-03-10 16:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:05:03] Production.INFO: ==24543== Lock acquired, processing the job...
[2025-03-10 16:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:05:03] Production.INFO: Account Balance Start.
[2025-03-10 16:05:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:05:03] Production.INFO: 117
[2025-03-10 16:05:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:05:03] Production.INFO: ==24545== Lock acquired, processing the job...
[2025-03-10 16:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:05:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:05:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:05:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:05:03] Production.INFO: Total Charge 0
[2025-03-10 16:05:03] Production.INFO: CreateAllLog End
[2025-03-10 16:05:03] Production.INFO: ==24537== Releasing lock...
[2025-03-10 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:05:03] Production.INFO: Account Balance End.
[2025-03-10 16:05:03] Production.ERROR: done
[2025-03-10 16:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 16:05:03] Production.ERROR: CronJobId end 12
[2025-03-10 16:05:03] Production.INFO: ==24541== Releasing lock...
[2025-03-10 16:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:05:03] Production.INFO: count ==13
[2025-03-10 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-03-10 16:05:03] Production.INFO: count ==21
[2025-03-10 16:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650623') start
[2025-03-10 16:05:04] Production.ERROR: done
[2025-03-10 16:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650623') end
[2025-03-10 16:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:05:04] Production.INFO: 1
[2025-03-10 16:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:05:04] Production.INFO: ==24545== Releasing lock...
[2025-03-10 16:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:05:05
[end_date_ymd] => 2025-03-10 16:05:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:05:05' and `end` < '2025-03-10 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-03-10 16:05:13] Production.ERROR: CronJobId end10
[2025-03-10 16:05:13] Production.INFO: ==24539== Releasing lock...
[2025-03-10 16:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:05:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:05:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:05:15] Production.INFO: call_cost start
[2025-03-10 16:05:15] Production.INFO: call_cost end
[2025-03-10 16:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:05:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:05:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:05:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:05:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:05:16] Production.INFO: ==24535== Releasing lock...
[2025-03-10 16:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:05:18] Production.INFO: count ==5608
[2025-03-10 16:05:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:05:05 - End Time 2025-03-10 16:05:05
[2025-03-10 16:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650624', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650624', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650624', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650624', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:05:20] Production.INFO: ProcessCDR(1,14650624,1,1,2)
[2025-03-10 16:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:05:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650624', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650624', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:05:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:05:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:05:25] Production.INFO: ==24543== Releasing lock...
[2025-03-10 16:05:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:05:25] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:06:01] Production.INFO: ==24644== Lock acquired, processing the job...
[2025-03-10 20:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:06:01] Production.INFO: neon service started
[2025-03-10 20:06:01] Production.INFO: neon service started
[2025-03-10 20:06:01] Production.INFO: ==24644== Releasing lock...
[2025-03-10 20:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:06:02] Production.INFO: ==24646== Lock acquired, processing the job...
[2025-03-10 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:06:02] Production.INFO: ==24646== Releasing lock...
[2025-03-10 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:06:02] Production.INFO: ==24648== Lock acquired, processing the job...
[2025-03-10 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:06:02] Production.INFO: ==24648== Releasing lock...
[2025-03-10 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:06:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:06:03] Production.INFO: ==24650== Lock acquired, processing the job...
[2025-03-10 16:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:06:03] Production.INFO: ==24652== Lock acquired, processing the job...
[2025-03-10 16:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:06:03] Production.INFO: ==24656== Lock acquired, processing the job...
[2025-03-10 16:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:06:03] Production.INFO: Account Balance Start.
[2025-03-10 16:06:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:06:03] Production.INFO: 117
[2025-03-10 16:06:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:06:03] Production.INFO: ==24654== Lock acquired, processing the job...
[2025-03-10 16:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:06:03] Production.INFO: ==24658== Lock acquired, processing the job...
[2025-03-10 16:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:06:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:06:03] Production.INFO: ==24652== Releasing lock...
[2025-03-10 16:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:06:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:06:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:06:03] Production.INFO: ==24660== Lock acquired, processing the job...
[2025-03-10 16:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:06:04] Production.INFO: Total Charge 0
[2025-03-10 16:06:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 16:06:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:06:04] Production.INFO: count ==21
[2025-03-10 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650628') start
[2025-03-10 16:06:04] Production.ERROR: done
[2025-03-10 16:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:06:04] Production.INFO: Account Balance End.
[2025-03-10 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650628') end
[2025-03-10 16:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:06:04] Production.INFO: 1
[2025-03-10 16:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:06:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:06:04] Production.INFO: ==24656== Releasing lock...
[2025-03-10 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:06:04] Production.INFO: ==24660== Releasing lock...
[2025-03-10 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:06:04] Production.ERROR: done
[2025-03-10 16:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:06:05
[end_date_ymd] => 2025-03-10 16:06:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:06:05' and `end` < '2025-03-10 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-03-10 16:06:13] Production.ERROR: CronJobId end10
[2025-03-10 16:06:13] Production.INFO: ==24654== Releasing lock...
[2025-03-10 16:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:06:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:06:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:06:15] Production.INFO: call_cost start
[2025-03-10 16:06:15] Production.INFO: call_cost end
[2025-03-10 16:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:06:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:06:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:06:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:06:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:06:16] Production.INFO: ==24650== Releasing lock...
[2025-03-10 16:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:06:19] Production.INFO: count ==5604
[2025-03-10 16:06:22] Production.ERROR: pbx CDR StartTime 2025-03-10 13:06:05 - End Time 2025-03-10 16:06:05
[2025-03-10 16:06:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650629', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650629', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650629', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650629', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:06:22] Production.INFO: ProcessCDR(1,14650629,1,1,2)
[2025-03-10 16:06:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:06:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:06:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650629', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:06:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650629', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:06:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:06:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:06:27] Production.INFO: ==24658== Releasing lock...
[2025-03-10 16:06:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:06:27] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:07:02] Production.INFO: ==24716== Lock acquired, processing the job...
[2025-03-10 20:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:07:02] Production.INFO: neon service started
[2025-03-10 20:07:02] Production.INFO: neon service started
[2025-03-10 20:07:02] Production.INFO: ==24716== Releasing lock...
[2025-03-10 20:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:07:02] Production.INFO: ==24720== Lock acquired, processing the job...
[2025-03-10 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:07:02] Production.INFO: ==24720== Releasing lock...
[2025-03-10 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:07:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:07:02] Production.INFO: ==24718== Lock acquired, processing the job...
[2025-03-10 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:07:03] Production.INFO: ==24718== Releasing lock...
[2025-03-10 16:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:07:04] Production.INFO: ==24729== Lock acquired, processing the job...
[2025-03-10 16:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:07:04] Production.INFO: ==24731== Lock acquired, processing the job...
[2025-03-10 16:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:07:04] Production.INFO: Account Balance Start.
[2025-03-10 16:07:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:07:04] Production.INFO: 117
[2025-03-10 16:07:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:07:04] Production.INFO: ==24722== Lock acquired, processing the job...
[2025-03-10 16:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:07:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:07:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:07:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:07:04] Production.INFO: ==24727== Lock acquired, processing the job...
[2025-03-10 16:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:07:04] Production.INFO: ==24724== Lock acquired, processing the job...
[2025-03-10 16:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:07:04] Production.INFO: Total Charge 0
[2025-03-10 16:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:07:04] Production.INFO: CreateAllLog End
[2025-03-10 16:07:04] Production.INFO: ==24733== Lock acquired, processing the job...
[2025-03-10 16:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16: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-03-10 16:07:04] Production.INFO: count ==13
[2025-03-10 16:07:04] Production.INFO: Account Balance End.
[2025-03-10 16: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-03-10 16:07:04] Production.ERROR: done
[2025-03-10 16:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:07:04] Production.INFO: count ==21
[2025-03-10 16:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650633') start
[2025-03-10 16:07:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:07:04] Production.INFO: ==24729== Releasing lock...
[2025-03-10 16:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650633') end
[2025-03-10 16:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:07:04] Production.INFO: 1
[2025-03-10 16:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:07:04] Production.INFO: ==24724== Releasing lock...
[2025-03-10 16:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:07:04] Production.ERROR: done
[2025-03-10 16:07:04] Production.INFO: ==24733== Releasing lock...
[2025-03-10 16:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:07:06
[end_date_ymd] => 2025-03-10 16:07:06
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:07:06' and `end` < '2025-03-10 16: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-03-10 16:07:14] Production.ERROR: CronJobId end10
[2025-03-10 16:07:14] Production.INFO: ==24727== Releasing lock...
[2025-03-10 16:07:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:07:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:07:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:07:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:07:15] Production.INFO: call_cost start
[2025-03-10 16:07:15] Production.INFO: call_cost end
[2025-03-10 16:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:07:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:07:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:07:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:07:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:07:16] Production.INFO: ==24722== Releasing lock...
[2025-03-10 16:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:07:19] Production.INFO: count ==5580
[2025-03-10 16:07:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:07:06 - End Time 2025-03-10 16:07:06
[2025-03-10 16:07:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650634', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650634', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650634', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650634', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:07:21] Production.INFO: ProcessCDR(1,14650634,1,1,2)
[2025-03-10 16:07:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:07:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:07:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:07:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650634', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650634', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:07:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:07:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:07:26] Production.INFO: ==24731== Releasing lock...
[2025-03-10 16:07:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:07:26] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 20:08:01] Production.INFO: ==24792== Lock acquired, processing the job...
[2025-03-10 20:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:08:01] Production.INFO: neon service started
[2025-03-10 20:08:01] Production.INFO: neon service started
[2025-03-10 20:08:01] Production.INFO: ==24792== Releasing lock...
[2025-03-10 20:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:08:02] Production.INFO: ==24794== Lock acquired, processing the job...
[2025-03-10 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:08:02] Production.INFO: ==24796== Lock acquired, processing the job...
[2025-03-10 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:08:02] Production.INFO: ==24796== Releasing lock...
[2025-03-10 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:08:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:08:02] Production.INFO: ==24794== Releasing lock...
[2025-03-10 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:08:03] Production.INFO: ==24805== Lock acquired, processing the job...
[2025-03-10 16:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:08:03] Production.INFO: ==24801== Lock acquired, processing the job...
[2025-03-10 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:08:03] Production.INFO: ==24799== Lock acquired, processing the job...
[2025-03-10 16:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:08:04] Production.INFO: ==24803== Lock acquired, processing the job...
[2025-03-10 16:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:08:04] Production.INFO: ==24807== Lock acquired, processing the job...
[2025-03-10 16:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:08:04] Production.INFO: Account Balance Start.
[2025-03-10 16:08:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:08:04] Production.INFO: 117
[2025-03-10 16:08:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:08:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:08:04] Production.INFO: ==24809== Lock acquired, processing the job...
[2025-03-10 16:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:08:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:08:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:08:04] Production.INFO: ==24801== Releasing lock...
[2025-03-10 16:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 16:08:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:08:04] Production.INFO: count ==21
[2025-03-10 16:08:04] Production.INFO: Total Charge 0
[2025-03-10 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650638') start
[2025-03-10 16:08:04] Production.ERROR: done
[2025-03-10 16:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:08:04] Production.INFO: CreateAllLog End
[2025-03-10 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650638') end
[2025-03-10 16:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:08:04] Production.INFO: 1
[2025-03-10 16:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:08:04] Production.INFO: ==24809== Releasing lock...
[2025-03-10 16:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:08:04] Production.ERROR: done
[2025-03-10 16:08:04] Production.INFO: Account Balance End.
[2025-03-10 16:08:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:08:04] Production.INFO: ==24805== Releasing lock...
[2025-03-10 16:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:08:05
[end_date_ymd] => 2025-03-10 16:08:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:08:05' and `end` < '2025-03-10 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-03-10 16:08:13] Production.ERROR: CronJobId end10
[2025-03-10 16:08:13] Production.INFO: ==24803== Releasing lock...
[2025-03-10 16:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:08:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:08:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:08:16] Production.INFO: call_cost start
[2025-03-10 16:08:16] Production.INFO: call_cost end
[2025-03-10 16:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:08:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:08:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:08:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:08:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:08:16] Production.INFO: ==24799== Releasing lock...
[2025-03-10 16:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:08:19] Production.INFO: count ==5573
[2025-03-10 16:08:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:08:05 - End Time 2025-03-10 16:08:05
[2025-03-10 16:08:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650639', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650639', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650639', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650639', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:08:21] Production.INFO: ProcessCDR(1,14650639,1,1,2)
[2025-03-10 16:08:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:08:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:08:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:08:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650639', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650639', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:08:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:08:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:08:26] Production.INFO: ==24807== Releasing lock...
[2025-03-10 16:08:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:08:26] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 20:09:02] Production.INFO: ==24871== Lock acquired, processing the job...
[2025-03-10 20:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:09:02] Production.INFO: neon service started
[2025-03-10 20:09:02] Production.INFO: neon service started
[2025-03-10 20:09:02] Production.INFO: ==24871== Releasing lock...
[2025-03-10 20:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:09:02] Production.INFO: ==24874== Lock acquired, processing the job...
[2025-03-10 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:09:03] Production.INFO: ==24876== Lock acquired, processing the job...
[2025-03-10 20:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:09:03] Production.INFO: ==24876== Releasing lock...
[2025-03-10 20:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:09:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:09:03] Production.INFO: ==24874== Releasing lock...
[2025-03-10 16:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:09:04] Production.INFO: ==24878== Lock acquired, processing the job...
[2025-03-10 16:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:09:04] Production.INFO: ==24880== Lock acquired, processing the job...
[2025-03-10 16:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:09:04] Production.INFO: ==24882== Lock acquired, processing the job...
[2025-03-10 16:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:09:04] Production.INFO: ==24888== Lock acquired, processing the job...
[2025-03-10 16:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:09:04] Production.INFO: ==24880== Releasing lock...
[2025-03-10 16:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:09:04] Production.INFO: ==24884== Lock acquired, processing the job...
[2025-03-10 16:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:09:04] Production.INFO: ==24886== Lock acquired, processing the job...
[2025-03-10 16:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:09:04] Production.INFO: Account Balance Start.
[2025-03-10 16:09:04] Production.INFO: CreateAllLog Start
[2025-03-10 16: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-03-10 16:09:04] Production.INFO: 117
[2025-03-10 16:09:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:09:04] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:09:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:09:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:09:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:09:04] Production.INFO: count ==21
[2025-03-10 16:09:04] Production.INFO: Total Charge 0
[2025-03-10 16:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650642') start
[2025-03-10 16:09:04] Production.INFO: CreateAllLog End
[2025-03-10 16:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650642') end
[2025-03-10 16:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:09:04] Production.INFO: 1
[2025-03-10 16:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:09:04] Production.ERROR: done
[2025-03-10 16:09:04] Production.INFO: Account Balance End.
[2025-03-10 16:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:09:04] Production.INFO: ==24888== Releasing lock...
[2025-03-10 16:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:09:05] Production.ERROR: CronJobId end 12
[2025-03-10 16:09:05] Production.INFO: ==24884== Releasing lock...
[2025-03-10 16:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:09:05] Production.ERROR: done
[2025-03-10 16:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:09:06
[end_date_ymd] => 2025-03-10 16:09:06
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:09:06' and `end` < '2025-03-10 16: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-03-10 16:09:13] Production.ERROR: CronJobId end10
[2025-03-10 16:09:13] Production.INFO: ==24882== Releasing lock...
[2025-03-10 16:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:09:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:09:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:09:15] Production.INFO: call_cost start
[2025-03-10 16:09:15] Production.INFO: call_cost end
[2025-03-10 16:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:09:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:09:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:09:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:09:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:09:16] Production.INFO: ==24878== Releasing lock...
[2025-03-10 16:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:09:19] Production.INFO: count ==5555
[2025-03-10 16:09:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:09:06 - End Time 2025-03-10 16:09:06
[2025-03-10 16:09:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650644', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650644', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650644', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650644', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:09:21] Production.INFO: ProcessCDR(1,14650644,1,1,2)
[2025-03-10 16:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:09:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:09:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650644', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650644', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:09:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:09:26] Production.INFO: ==24886== Releasing lock...
[2025-03-10 16:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:09:26] Production.INFO: 69.5 MB #Memory Used#
[2025-03-10 20:10:01] Production.INFO: ==24947== Lock acquired, processing the job...
[2025-03-10 20:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:10:01] Production.INFO: neon service started
[2025-03-10 20:10:01] Production.INFO: neon service started
[2025-03-10 20:10:01] Production.INFO: ==24947== Releasing lock...
[2025-03-10 20:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:10:02] Production.INFO: ==24949== Lock acquired, processing the job...
[2025-03-10 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:10:02] Production.INFO: ==24951== Lock acquired, processing the job...
[2025-03-10 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:10:02] Production.INFO: ==24951== Releasing lock...
[2025-03-10 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:10:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:10:03] Production.INFO: ==24949== Releasing lock...
[2025-03-10 16:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:10:04] Production.INFO: ==24958== Lock acquired, processing the job...
[2025-03-10 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:10:04] Production.INFO: ==24960== Lock acquired, processing the job...
[2025-03-10 16:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:10:04] Production.INFO: ==24954== Lock acquired, processing the job...
[2025-03-10 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 16:10:04] Production.INFO: ==24966== Lock acquired, processing the job...
[2025-03-10 16:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 16:10:04] Production.INFO: ==24956== Lock acquired, processing the job...
[2025-03-10 16:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:10:04] Production.INFO: ==24962== Lock acquired, processing the job...
[2025-03-10 16:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:10:04] Production.ERROR: CronJob PID - 24956
[2025-03-10 16:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 16:10:04] Production.ERROR: CronJob ID - 5
[2025-03-10 16:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:10:00
[2025-03-10 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:10:04] Production.ERROR: CronJob PID - 24958
[2025-03-10 16:10:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 16:10:04] Production.ERROR: CronJob ID - 7
[2025-03-10 16:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:10:00
[2025-03-10 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:10:04] Production.ERROR: CronJob PID - 24960
[2025-03-10 16:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 16:10:04] Production.ERROR: CronJob ID - 10
[2025-03-10 16:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:10:00
[2025-03-10 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:10:04] Production.ERROR: CronJob PID - 24966
[2025-03-10 16:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-03-10 16:10:04] Production.ERROR: CronJob ID - 17
[2025-03-10 16:10:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:10:00
[2025-03-10 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:10:04] Production.INFO: ==24964== Lock acquired, processing the job...
[2025-03-10 16:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:10:04] Production.INFO: ==24968== Lock acquired, processing the job...
[2025-03-10 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 16:10:04] Production.INFO: ==24954== Releasing lock...
[2025-03-10 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 16:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 16:10:04] Production.INFO: ==24958== Releasing lock...
[2025-03-10 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:10:04] Production.INFO: Account Balance Start.
[2025-03-10 16:10:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:10:04] Production.INFO: 117
[2025-03-10 16:10:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 16:10:04] Production.INFO: count ==13
[2025-03-10 16:10:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:10:04] Production.INFO: Reseller ==> 0
[2025-03-10 16: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-03-10 16:10:05] Production.INFO: count ==21
[2025-03-10 16:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650647') start
[2025-03-10 16:10:05] Production.ERROR: done
[2025-03-10 16:10:05] Production.INFO: Date 2025-03-10
[2025-03-10 16:10:05] Production.INFO: Reseller ==> 0
[2025-03-10 16:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 16:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650649', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 16:10:05] Production.INFO: Total Charge 0
[2025-03-10 16:10:05] Production.INFO: CreateAllLog End
[2025-03-10 16:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650647') end
[2025-03-10 16:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:10:05] Production.INFO: 1
[2025-03-10 16:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:10:05] Production.INFO: ==24968== Releasing lock...
[2025-03-10 16:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:10:05] Production.ERROR: done
[2025-03-10 16:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:10:05] Production.ERROR: done
[2025-03-10 16:10:05] Production.INFO: Account Balance End.
[2025-03-10 16:10:05] Production.ERROR: CronJobId end 12
[2025-03-10 16:10:05] Production.INFO: ==24962== Releasing lock...
[2025-03-10 16:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:10:06
[end_date_ymd] => 2025-03-10 16:10:06
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:10:06' and `end` < '2025-03-10 16: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-03-10 16:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650649', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 16:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 16:10:10] Production.INFO: ProcessCDR(1,14650649,1,1,2)
[2025-03-10 16:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650649,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650649,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:10:10] Production.INFO: ==24966== Releasing lock...
[2025-03-10 16:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 16:10:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 16:10:16] Production.ERROR: CronJobId end10
[2025-03-10 16:10:16] Production.INFO: ==24960== Releasing lock...
[2025-03-10 16:10:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:10:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:10:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:10:18] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:10:18] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:10:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:10:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:10:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:10:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:10:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:10:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:10:18] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:10:18] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:10:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:10:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:10:18] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:10:18] Production.INFO: call_cost start
[2025-03-10 16:10:18] Production.INFO: call_cost end
[2025-03-10 16:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:10:19] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:10:19] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:10:19] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:10:19] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:10:19] Production.INFO: ==24956== Releasing lock...
[2025-03-10 16:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:10:20] Production.INFO: count ==5546
[2025-03-10 16:10:22] Production.ERROR: pbx CDR StartTime 2025-03-10 13:10:06 - End Time 2025-03-10 16:10:06
[2025-03-10 16:10:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650650', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650650', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650650', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650650', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:10:22] Production.INFO: ProcessCDR(1,14650650,1,1,2)
[2025-03-10 16:10:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:10:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:10:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:10:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:10:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650650', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:10:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650650', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:10:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:10:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:10:27] Production.INFO: ==24964== Releasing lock...
[2025-03-10 16:10:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:10:27] Production.INFO: 69.5 MB #Memory Used#
[2025-03-10 20:11:02] Production.INFO: ==25030== Lock acquired, processing the job...
[2025-03-10 20:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:11:02] Production.INFO: neon service started
[2025-03-10 20:11:02] Production.INFO: neon service started
[2025-03-10 20:11:02] Production.INFO: ==25030== Releasing lock...
[2025-03-10 20:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:11:02] Production.INFO: ==25034== Lock acquired, processing the job...
[2025-03-10 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:11:02] Production.INFO: ==25034== Releasing lock...
[2025-03-10 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:11:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:11:02] Production.INFO: ==25032== Lock acquired, processing the job...
[2025-03-10 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:11:03] Production.INFO: ==25032== Releasing lock...
[2025-03-10 16:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:11:04] Production.INFO: ==25037== Lock acquired, processing the job...
[2025-03-10 16:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:11:04] Production.INFO: ==25039== Lock acquired, processing the job...
[2025-03-10 16:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:11:04] Production.INFO: ==25045== Lock acquired, processing the job...
[2025-03-10 16:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:11:04] Production.INFO: ==25043== Lock acquired, processing the job...
[2025-03-10 16:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:11:04] Production.INFO: ==25041== Lock acquired, processing the job...
[2025-03-10 16:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:11:04] Production.INFO: ==25047== Lock acquired, processing the job...
[2025-03-10 16:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:11:04] Production.INFO: ==25039== Releasing lock...
[2025-03-10 16:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:11:04] Production.INFO: Account Balance Start.
[2025-03-10 16:11:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:11:04] Production.INFO: 117
[2025-03-10 16:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:11:04] Production.INFO: Date 2025-03-08
[2025-03-10 16: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-03-10 16:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:11:04] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:11:04] Production.INFO: count ==21
[2025-03-10 16:11:04] Production.ERROR: done
[2025-03-10 16:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650654') start
[2025-03-10 16:11:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:11:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:11:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:11:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650654') end
[2025-03-10 16:11:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:11:05] Production.INFO: 1
[2025-03-10 16:11:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:11:05] Production.INFO: Total Charge 0
[2025-03-10 16:11:05] Production.INFO: CreateAllLog End
[2025-03-10 16:11:05] Production.INFO: ==25047== Releasing lock...
[2025-03-10 16:11:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:11:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:11:05] Production.ERROR: done
[2025-03-10 16:11:05] Production.INFO: Account Balance End.
[2025-03-10 16:11:05] Production.ERROR: CronJobId end 12
[2025-03-10 16:11:05] Production.INFO: ==25043== Releasing lock...
[2025-03-10 16:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:11:06
[end_date_ymd] => 2025-03-10 16:11:06
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:11:06' and `end` < '2025-03-10 16: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-03-10 16:11:15] Production.ERROR: CronJobId end10
[2025-03-10 16:11:15] Production.INFO: ==25041== Releasing lock...
[2025-03-10 16:11:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:11:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:11:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:11:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:11:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:11:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:11:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:11:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:11:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:11:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:11:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:11:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:11:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:11:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:11:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:11:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:11:16] Production.INFO: call_cost start
[2025-03-10 16:11:16] Production.INFO: call_cost end
[2025-03-10 16:11:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:11:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:11:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:11:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:11:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:11:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:11:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:11:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:11:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:11:17] Production.INFO: ==25037== Releasing lock...
[2025-03-10 16:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:11:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:11:19] Production.INFO: count ==5574
[2025-03-10 16:11:22] Production.ERROR: pbx CDR StartTime 2025-03-10 13:11:06 - End Time 2025-03-10 16:11:06
[2025-03-10 16:11:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650655', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650655', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650655', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650655', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:11:22] Production.INFO: ProcessCDR(1,14650655,1,1,2)
[2025-03-10 16:11:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:11:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:11:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:11:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650655', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650655', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:11:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:11:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:11:27] Production.INFO: ==25045== Releasing lock...
[2025-03-10 16:11:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:11:27] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 20:12:01] Production.INFO: ==25107== Lock acquired, processing the job...
[2025-03-10 20:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:12:01] Production.INFO: neon service started
[2025-03-10 20:12:01] Production.INFO: neon service started
[2025-03-10 20:12:01] Production.INFO: ==25107== Releasing lock...
[2025-03-10 20:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:12:02] Production.INFO: ==25111== Lock acquired, processing the job...
[2025-03-10 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:12:02] Production.INFO: ==25111== Releasing lock...
[2025-03-10 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:12:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:12:02] Production.INFO: ==25109== Lock acquired, processing the job...
[2025-03-10 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:12:02] Production.INFO: ==25109== Releasing lock...
[2025-03-10 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:12:03] Production.INFO: ==25120== Lock acquired, processing the job...
[2025-03-10 16:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:12:03] Production.INFO: Account Balance Start.
[2025-03-10 16:12:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:12:03] Production.INFO: 117
[2025-03-10 16:12:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:12:03] Production.INFO: ==25124== Lock acquired, processing the job...
[2025-03-10 16:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:12:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:12:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:12:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:12:03] Production.INFO: Total Charge 0
[2025-03-10 16:12:03] Production.INFO: CreateAllLog End
[2025-03-10 16:12:03] Production.INFO: ==25114== Lock acquired, processing the job...
[2025-03-10 16:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:12:03] Production.INFO: ==25116== Lock acquired, processing the job...
[2025-03-10 16:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:12:04] Production.INFO: ==25118== Lock acquired, processing the job...
[2025-03-10 16:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 16:12:04] Production.INFO: Account Balance End.
[2025-03-10 16:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:12:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:12:04] Production.INFO: count ==21
[2025-03-10 16:12:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:12:04] Production.INFO: ==25120== Releasing lock...
[2025-03-10 16:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:12:04] Production.INFO: ==25122== Lock acquired, processing the job...
[2025-03-10 16:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650657') start
[2025-03-10 16:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650657') end
[2025-03-10 16:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:12:04] Production.INFO: 1
[2025-03-10 16:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:12:04] Production.INFO: ==25124== Releasing lock...
[2025-03-10 16:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:12:04] Production.INFO: ==25116== Releasing lock...
[2025-03-10 16:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:12:04] Production.ERROR: done
[2025-03-10 16:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:12:04] Production.ERROR: done
[2025-03-10 16:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:12:05
[end_date_ymd] => 2025-03-10 16:12:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:12:05' and `end` < '2025-03-10 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-03-10 16:12:13] Production.ERROR: CronJobId end10
[2025-03-10 16:12:13] Production.INFO: ==25118== Releasing lock...
[2025-03-10 16:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:12:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:12:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:12:15] Production.INFO: call_cost start
[2025-03-10 16:12:15] Production.INFO: call_cost end
[2025-03-10 16:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:12:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:12:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:12:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:12:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:12:16] Production.INFO: ==25114== Releasing lock...
[2025-03-10 16:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:12:19] Production.INFO: count ==5559
[2025-03-10 16:12:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:12:05 - End Time 2025-03-10 16:12:05
[2025-03-10 16:12:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650660', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650660', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650660', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650660', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:12:21] Production.INFO: ProcessCDR(1,14650660,1,1,2)
[2025-03-10 16:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:12:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:12:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:12:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650660', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650660', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:12:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:12:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:12:26] Production.INFO: ==25122== Releasing lock...
[2025-03-10 16:12:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:12:26] Production.INFO: 69.5 MB #Memory Used#
[2025-03-10 20:13:02] Production.INFO: ==25183== Lock acquired, processing the job...
[2025-03-10 20:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:13:02] Production.INFO: neon service started
[2025-03-10 20:13:02] Production.INFO: neon service started
[2025-03-10 20:13:02] Production.INFO: ==25183== Releasing lock...
[2025-03-10 20:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:13:02] Production.INFO: ==25187== Lock acquired, processing the job...
[2025-03-10 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:13:02] Production.INFO: ==25187== Releasing lock...
[2025-03-10 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:13:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:13:02] Production.INFO: ==25185== Lock acquired, processing the job...
[2025-03-10 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:13:03] Production.INFO: ==25185== Releasing lock...
[2025-03-10 16:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:13:03] Production.INFO: ==25192== Lock acquired, processing the job...
[2025-03-10 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:13:03] Production.INFO: ==25190== Lock acquired, processing the job...
[2025-03-10 16:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:13:04] Production.INFO: ==25198== Lock acquired, processing the job...
[2025-03-10 16:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:13:04] Production.INFO: ==25194== Lock acquired, processing the job...
[2025-03-10 16:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:13:04] Production.INFO: ==25200== Lock acquired, processing the job...
[2025-03-10 16:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:13:04] Production.INFO: ==25196== Lock acquired, processing the job...
[2025-03-10 16:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:13:04] Production.INFO: ==25192== Releasing lock...
[2025-03-10 16:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:13:04] Production.INFO: Account Balance Start.
[2025-03-10 16:13:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:13:04] Production.INFO: 117
[2025-03-10 16:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:13:04] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 16:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:13:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:13:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:13:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:13:04] Production.INFO: Total Charge 0
[2025-03-10 16:13:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:13:04] Production.INFO: CreateAllLog End
[2025-03-10 16:13:04] Production.INFO: count ==21
[2025-03-10 16:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650663') start
[2025-03-10 16:13:04] Production.ERROR: done
[2025-03-10 16:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650663') end
[2025-03-10 16:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:13:04] Production.INFO: 1
[2025-03-10 16:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:13:04] Production.INFO: Account Balance End.
[2025-03-10 16:13:04] Production.INFO: ==25200== Releasing lock...
[2025-03-10 16:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:13:04] Production.ERROR: done
[2025-03-10 16:13:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:13:04] Production.INFO: ==25196== Releasing lock...
[2025-03-10 16:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:13:05
[end_date_ymd] => 2025-03-10 16:13:05
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:13:05' and `end` < '2025-03-10 16: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-03-10 16:13:13] Production.ERROR: CronJobId end10
[2025-03-10 16:13:13] Production.INFO: ==25194== Releasing lock...
[2025-03-10 16:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:13:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:13:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:13:15] Production.INFO: call_cost start
[2025-03-10 16:13:15] Production.INFO: call_cost end
[2025-03-10 16:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:13:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:13:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:13:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:13:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:13:15] Production.INFO: ==25190== Releasing lock...
[2025-03-10 16:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:13:18] Production.INFO: count ==5571
[2025-03-10 16:13:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:13:05 - End Time 2025-03-10 16:13:05
[2025-03-10 16:13:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650665', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650665', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650665', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650665', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:13:21] Production.INFO: ProcessCDR(1,14650665,1,1,2)
[2025-03-10 16:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:13:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650665', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650665', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:13:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:13:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:13:26] Production.INFO: ==25198== Releasing lock...
[2025-03-10 16:13:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:13:26] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 20:14:01] Production.INFO: ==25260== Lock acquired, processing the job...
[2025-03-10 20:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:14:01] Production.INFO: neon service started
[2025-03-10 20:14:01] Production.INFO: neon service started
[2025-03-10 20:14:01] Production.INFO: ==25260== Releasing lock...
[2025-03-10 20:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:14:02] Production.INFO: ==25264== Lock acquired, processing the job...
[2025-03-10 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:14:02] Production.INFO: ==25264== Releasing lock...
[2025-03-10 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:14:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:14:02] Production.INFO: ==25262== Lock acquired, processing the job...
[2025-03-10 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:14:02] Production.INFO: ==25262== Releasing lock...
[2025-03-10 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:14:03] Production.INFO: ==25269== Lock acquired, processing the job...
[2025-03-10 16:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:14:03] Production.INFO: ==25277== Lock acquired, processing the job...
[2025-03-10 16:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16: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-03-10 16:14:03] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:14:03] Production.INFO: count ==21
[2025-03-10 16:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650667') start
[2025-03-10 16:14:03] Production.INFO: ==25267== Lock acquired, processing the job...
[2025-03-10 16:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:14:03] Production.INFO: ==25269== Releasing lock...
[2025-03-10 16:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:14:03] Production.INFO: ==25271== Lock acquired, processing the job...
[2025-03-10 16:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650667') end
[2025-03-10 16:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:14:03] Production.INFO: 1
[2025-03-10 16:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:14:03] Production.INFO: ==25273== Lock acquired, processing the job...
[2025-03-10 16:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:14:03] Production.INFO: ==25275== Lock acquired, processing the job...
[2025-03-10 16:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:14:03] Production.INFO: ==25277== Releasing lock...
[2025-03-10 16:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:14:03] Production.INFO: Account Balance Start.
[2025-03-10 16:14:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:14:03] Production.INFO: 117
[2025-03-10 16:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:14:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:14:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:14:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:14:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:14:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:14:04] Production.INFO: Total Charge 0
[2025-03-10 16:14:04] Production.INFO: CreateAllLog End
[2025-03-10 16:14:04] Production.ERROR: done
[2025-03-10 16:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:14:04] Production.INFO: Account Balance End.
[2025-03-10 16:14:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:14:04] Production.INFO: ==25273== Releasing lock...
[2025-03-10 16:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:14:04] Production.ERROR: done
[2025-03-10 16:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:14:05
[end_date_ymd] => 2025-03-10 16:14:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:14:05' and `end` < '2025-03-10 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-03-10 16:14:13] Production.ERROR: CronJobId end10
[2025-03-10 16:14:13] Production.INFO: ==25271== Releasing lock...
[2025-03-10 16:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:14:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:14:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:14:14] Production.INFO: call_cost start
[2025-03-10 16:14:14] Production.INFO: call_cost end
[2025-03-10 16:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:14:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:14:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:14:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:14:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:14:15] Production.INFO: ==25267== Releasing lock...
[2025-03-10 16:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:14:18] Production.INFO: count ==5578
[2025-03-10 16:14:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:14:05 - End Time 2025-03-10 16:14:05
[2025-03-10 16:14:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650670', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650670', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650670', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650670', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:14:20] Production.INFO: ProcessCDR(1,14650670,1,1,2)
[2025-03-10 16:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:14:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:14:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:14:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650670', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650670', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:14:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:14:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:14:25] Production.INFO: ==25275== Releasing lock...
[2025-03-10 16:14:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:14:25] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 20:15:02] Production.INFO: ==25339== Lock acquired, processing the job...
[2025-03-10 20:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:15:02] Production.INFO: neon service started
[2025-03-10 20:15:02] Production.INFO: neon service started
[2025-03-10 20:15:02] Production.INFO: ==25339== Releasing lock...
[2025-03-10 20:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:15:02] Production.INFO: ==25341== Lock acquired, processing the job...
[2025-03-10 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:15:02] Production.INFO: ==25343== Lock acquired, processing the job...
[2025-03-10 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:15:02] Production.INFO: ==25343== Releasing lock...
[2025-03-10 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:15:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:15:02] Production.INFO: ==25341== Releasing lock...
[2025-03-10 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:15:03] Production.INFO: ==25346== Lock acquired, processing the job...
[2025-03-10 16:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:15:03] Production.INFO: ==25348== Lock acquired, processing the job...
[2025-03-10 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:15:03] Production.INFO: ==25356== Lock acquired, processing the job...
[2025-03-10 16:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 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-03-10 16:15:03] Production.INFO: count ==13
[2025-03-10 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-03-10 16:15:03] Production.INFO: count ==21
[2025-03-10 16:15:03] Production.INFO: ==25350== Lock acquired, processing the job...
[2025-03-10 16:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:15:03] Production.INFO: ==25352== Lock acquired, processing the job...
[2025-03-10 16:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650672') start
[2025-03-10 16:15:04] Production.INFO: ==25354== Lock acquired, processing the job...
[2025-03-10 16:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650672') end
[2025-03-10 16:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:15:04] Production.INFO: 1
[2025-03-10 16:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:15:04] Production.INFO: ==25348== Releasing lock...
[2025-03-10 16:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:15:04] Production.INFO: ==25356== Releasing lock...
[2025-03-10 16:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:15:04] Production.INFO: Account Balance Start.
[2025-03-10 16:15:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:15:04] Production.INFO: 117
[2025-03-10 16:15:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:15:04] Production.ERROR: done
[2025-03-10 16:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:15:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:15:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:15:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:15:04] Production.INFO: Total Charge 0
[2025-03-10 16:15:04] Production.INFO: CreateAllLog End
[2025-03-10 16:15:04] Production.ERROR: done
[2025-03-10 16:15:04] Production.INFO: Account Balance End.
[2025-03-10 16:15:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:15:04] Production.INFO: ==25352== Releasing lock...
[2025-03-10 16:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:15:05
[end_date_ymd] => 2025-03-10 16:15:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:15:05' and `end` < '2025-03-10 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-03-10 16:15:14] 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-03-10 16:15:14] Production.ERROR: CronJobId end10
[2025-03-10 16:15:14] Production.INFO: ==25350== Releasing lock...
[2025-03-10 16:15:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:15:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:15:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:15:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:15:15] Production.INFO: call_cost start
[2025-03-10 16:15:15] Production.INFO: call_cost end
[2025-03-10 16:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:15:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:15:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:15:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:15:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:15:16] Production.INFO: ==25346== Releasing lock...
[2025-03-10 16:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:15:19] Production.INFO: count ==5600
[2025-03-10 16:15:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:15:05 - End Time 2025-03-10 16:15:05
[2025-03-10 16:15:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650675', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650675', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650675', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650675', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:15:21] Production.INFO: ProcessCDR(1,14650675,1,1,2)
[2025-03-10 16:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:15:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:15:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:15:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650675', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650675', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:15:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:15:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:15:26] Production.INFO: ==25354== Releasing lock...
[2025-03-10 16:15:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:15:26] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:16:01] Production.INFO: ==25414== Lock acquired, processing the job...
[2025-03-10 20:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:16:01] Production.INFO: neon service started
[2025-03-10 20:16:01] Production.INFO: neon service started
[2025-03-10 20:16:01] Production.INFO: ==25414== Releasing lock...
[2025-03-10 20:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:16:02] Production.INFO: ==25416== Lock acquired, processing the job...
[2025-03-10 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:16:02] Production.INFO: ==25418== Lock acquired, processing the job...
[2025-03-10 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:16:02] Production.INFO: ==25418== Releasing lock...
[2025-03-10 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:16:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:16:02] Production.INFO: ==25416== Releasing lock...
[2025-03-10 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:16:03] Production.INFO: ==25427== Lock acquired, processing the job...
[2025-03-10 16:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:16:03] Production.INFO: ==25421== Lock acquired, processing the job...
[2025-03-10 16:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:16:03] Production.INFO: Account Balance Start.
[2025-03-10 16:16:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:16:03] Production.INFO: 117
[2025-03-10 16:16:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:16:03] Production.INFO: ==25431== Lock acquired, processing the job...
[2025-03-10 16:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:16:03] Production.INFO: ==25423== Lock acquired, processing the job...
[2025-03-10 16:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:16:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:16:03] Production.INFO: ==25425== Lock acquired, processing the job...
[2025-03-10 16:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:16:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:16:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 16:16:03] Production.INFO: ==25429== Lock acquired, processing the job...
[2025-03-10 16:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:16:03] Production.INFO: Total Charge 0
[2025-03-10 16:16:03] Production.INFO: CreateAllLog End
[2025-03-10 16:16:03] Production.INFO: count ==13
[2025-03-10 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-03-10 16:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:16:03] Production.INFO: count ==21
[2025-03-10 16:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650678') start
[2025-03-10 16:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650678') end
[2025-03-10 16:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:16:04] Production.INFO: 1
[2025-03-10 16:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:16:04] Production.INFO: ==25423== Releasing lock...
[2025-03-10 16:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:16:04] Production.INFO: Account Balance End.
[2025-03-10 16:16:04] Production.INFO: ==25431== Releasing lock...
[2025-03-10 16:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:16:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:16:04] Production.INFO: ==25427== Releasing lock...
[2025-03-10 16:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:16:04] Production.ERROR: done
[2025-03-10 16:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:16:04] Production.ERROR: done
[2025-03-10 16:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:16:05
[end_date_ymd] => 2025-03-10 16:16:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:16:05' and `end` < '2025-03-10 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-03-10 16:16:14] Production.ERROR: CronJobId end10
[2025-03-10 16:16:14] Production.INFO: ==25425== Releasing lock...
[2025-03-10 16:16:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:16:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:16:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:16:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:16:14] Production.INFO: call_cost start
[2025-03-10 16:16:14] Production.INFO: call_cost end
[2025-03-10 16:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:16:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:16:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:16:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:16:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:16:15] Production.INFO: ==25421== Releasing lock...
[2025-03-10 16:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:16:18] Production.INFO: count ==5591
[2025-03-10 16:16:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:16:05 - End Time 2025-03-10 16:16:05
[2025-03-10 16:16:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650680', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650680', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650680', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650680', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:16:21] Production.INFO: ProcessCDR(1,14650680,1,1,2)
[2025-03-10 16:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:16:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:16:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650680', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650680', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:16:24] Production.INFO: ==25429== Releasing lock...
[2025-03-10 16:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:16:24] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 20:17:02] Production.INFO: ==25493== Lock acquired, processing the job...
[2025-03-10 20:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:17:02] Production.INFO: neon service started
[2025-03-10 20:17:02] Production.INFO: neon service started
[2025-03-10 20:17:02] Production.INFO: ==25493== Releasing lock...
[2025-03-10 20:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:17:02] Production.INFO: ==25496== Lock acquired, processing the job...
[2025-03-10 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:17:02] Production.INFO: ==25496== Releasing lock...
[2025-03-10 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:17:02] Production.INFO: ==25498== Lock acquired, processing the job...
[2025-03-10 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:17:03] Production.INFO: ==25498== Releasing lock...
[2025-03-10 20:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:17:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:17:03] Production.INFO: ==25500== Lock acquired, processing the job...
[2025-03-10 16:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:17:03] Production.INFO: ==25502== Lock acquired, processing the job...
[2025-03-10 16:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:17:03] Production.INFO: ==25510== Lock acquired, processing the job...
[2025-03-10 16:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:17:03] Production.INFO: ==25504== Lock acquired, processing the job...
[2025-03-10 16:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:17:04] Production.INFO: ==25506== Lock acquired, processing the job...
[2025-03-10 16:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:17:04] Production.INFO: ==25508== Lock acquired, processing the job...
[2025-03-10 16:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16: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-03-10 16:17:04] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:17:04] Production.INFO: count ==21
[2025-03-10 16:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650683') start
[2025-03-10 16:17:04] Production.INFO: Account Balance Start.
[2025-03-10 16:17:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:17:04] Production.INFO: 117
[2025-03-10 16:17:04] Production.INFO: ==25502== Releasing lock...
[2025-03-10 16:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:17:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650683') end
[2025-03-10 16:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:17:04] Production.INFO: 1
[2025-03-10 16:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:17:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:17:04] Production.INFO: ==25510== Releasing lock...
[2025-03-10 16:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:17:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:17:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:17:04] Production.INFO: Total Charge 0
[2025-03-10 16:17:04] Production.INFO: CreateAllLog End
[2025-03-10 16:17:04] Production.ERROR: done
[2025-03-10 16:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:17:04] Production.INFO: Account Balance End.
[2025-03-10 16:17:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:17:04] Production.INFO: ==25506== Releasing lock...
[2025-03-10 16:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:17:04] Production.ERROR: done
[2025-03-10 16:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:17:05
[end_date_ymd] => 2025-03-10 16:17:05
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:17:05' and `end` < '2025-03-10 16: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-03-10 16:17:14] Production.ERROR: CronJobId end10
[2025-03-10 16:17:14] Production.INFO: ==25504== Releasing lock...
[2025-03-10 16:17:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:17:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:17:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:17:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:17:15] Production.INFO: call_cost start
[2025-03-10 16:17:15] Production.INFO: call_cost end
[2025-03-10 16:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:17:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:17:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:17:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:17:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:17:16] Production.INFO: ==25500== Releasing lock...
[2025-03-10 16:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:17:19] Production.INFO: count ==5594
[2025-03-10 16:17:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:17:05 - End Time 2025-03-10 16:17:05
[2025-03-10 16:17:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650685', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650685', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650685', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650685', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:17:21] Production.INFO: ProcessCDR(1,14650685,1,1,2)
[2025-03-10 16:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:17:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:17:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:17:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650685', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650685', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:17:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:17:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:17:26] Production.INFO: ==25508== Releasing lock...
[2025-03-10 16:17:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:17:26] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 20:18:01] Production.INFO: ==25576== Lock acquired, processing the job...
[2025-03-10 20:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:18:01] Production.INFO: neon service started
[2025-03-10 20:18:01] Production.INFO: neon service started
[2025-03-10 20:18:01] Production.INFO: ==25576== Releasing lock...
[2025-03-10 20:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:18:01] Production.INFO: ==25580== Lock acquired, processing the job...
[2025-03-10 20:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:18:01] Production.INFO: ==25580== Releasing lock...
[2025-03-10 20:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:18:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:18:02] Production.INFO: ==25578== Lock acquired, processing the job...
[2025-03-10 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:18:02] Production.INFO: ==25578== Releasing lock...
[2025-03-10 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:18:03] Production.INFO: ==25582== Lock acquired, processing the job...
[2025-03-10 16:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:18:03] Production.INFO: ==25589== Lock acquired, processing the job...
[2025-03-10 16:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:18:03] Production.INFO: Account Balance Start.
[2025-03-10 16:18:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:18:03] Production.INFO: 117
[2025-03-10 16:18:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:18:03] Production.INFO: ==25591== Lock acquired, processing the job...
[2025-03-10 16:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:18:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:18:03] Production.INFO: ==25584== Lock acquired, processing the job...
[2025-03-10 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:18:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:18:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:18:03] Production.INFO: ==25586== Lock acquired, processing the job...
[2025-03-10 16:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:18:03] Production.INFO: Total Charge 0
[2025-03-10 16:18:03] Production.INFO: CreateAllLog End
[2025-03-10 16:18:03] Production.INFO: ==25593== Lock acquired, processing the job...
[2025-03-10 16:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:18:03] Production.ERROR: done
[2025-03-10 16:18:03] Production.INFO: Account Balance End.
[2025-03-10 16:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 16:18:03] Production.INFO: count ==13
[2025-03-10 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-03-10 16:18:03] Production.INFO: count ==21
[2025-03-10 16:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650689') start
[2025-03-10 16:18:03] Production.ERROR: CronJobId end 12
[2025-03-10 16:18:03] Production.INFO: ==25589== Releasing lock...
[2025-03-10 16:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:18:03] Production.INFO: ==25584== Releasing lock...
[2025-03-10 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:18:04] Production.ERROR: done
[2025-03-10 16:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650689') end
[2025-03-10 16:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:18:04] Production.INFO: 1
[2025-03-10 16:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:18:04] Production.INFO: ==25593== Releasing lock...
[2025-03-10 16:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:18:04
[end_date_ymd] => 2025-03-10 16:18:04
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:18:04' and `end` < '2025-03-10 16:18: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-03-10 16:18:12] Production.ERROR: CronJobId end10
[2025-03-10 16:18:12] Production.INFO: ==25586== Releasing lock...
[2025-03-10 16:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:18:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:18:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:18:14] Production.INFO: call_cost start
[2025-03-10 16:18:14] Production.INFO: call_cost end
[2025-03-10 16:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:18:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:18:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:18:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:18:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:18:15] Production.INFO: ==25582== Releasing lock...
[2025-03-10 16:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:18:18] Production.INFO: count ==5589
[2025-03-10 16:18:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:18:04 - End Time 2025-03-10 16:18:04
[2025-03-10 16:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650690', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650690', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650690', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650690', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:18:21] Production.INFO: ProcessCDR(1,14650690,1,1,2)
[2025-03-10 16:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:18:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:18:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650690', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650690', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:18:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:18:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:18:25] Production.INFO: ==25591== Releasing lock...
[2025-03-10 16:18:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:18:25] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 20:19:01] Production.INFO: ==25658== Lock acquired, processing the job...
[2025-03-10 20:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:19:02] Production.INFO: neon service started
[2025-03-10 20:19:02] Production.INFO: neon service started
[2025-03-10 20:19:02] Production.INFO: ==25658== Releasing lock...
[2025-03-10 20:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:19:02] Production.INFO: ==25660== Lock acquired, processing the job...
[2025-03-10 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:19:02] Production.INFO: ==25660== Releasing lock...
[2025-03-10 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:19:02] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 20:19:02] Production.INFO: ==25662== Lock acquired, processing the job...
[2025-03-10 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:19:03] Production.INFO: ==25662== Releasing lock...
[2025-03-10 20:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:19:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:19:03] Production.INFO: ==25665== Lock acquired, processing the job...
[2025-03-10 16:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:19:03] Production.INFO: ==25667== Lock acquired, processing the job...
[2025-03-10 16:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:19:03] Production.INFO: ==25669== Lock acquired, processing the job...
[2025-03-10 16:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:19:03] Production.INFO: ==25671== Lock acquired, processing the job...
[2025-03-10 16:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:19:03] Production.INFO: ==25673== Lock acquired, processing the job...
[2025-03-10 16:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:19:03] Production.INFO: ==25675== Lock acquired, processing the job...
[2025-03-10 16:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:19:04] Production.INFO: Account Balance Start.
[2025-03-10 16:19:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:19:04] Production.INFO: 117
[2025-03-10 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-03-10 16:19:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:19:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:19:04] Production.INFO: count ==21
[2025-03-10 16:19:04] Production.INFO: ==25667== Releasing lock...
[2025-03-10 16:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:19:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650694') start
[2025-03-10 16:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:19:04] Production.ERROR: done
[2025-03-10 16:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:19:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:19:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:19:04] Production.INFO: Total Charge 0
[2025-03-10 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650694') end
[2025-03-10 16:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:19:04] Production.INFO: 1
[2025-03-10 16:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:19:04] Production.INFO: CreateAllLog End
[2025-03-10 16:19:04] Production.ERROR: done
[2025-03-10 16:19:04] Production.INFO: ==25675== Releasing lock...
[2025-03-10 16:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:19:04] Production.INFO: Account Balance End.
[2025-03-10 16:19:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:19:04] Production.INFO: ==25671== Releasing lock...
[2025-03-10 16:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:19:05
[end_date_ymd] => 2025-03-10 16:19:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:19:05' and `end` < '2025-03-10 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-03-10 16:19:13] Production.ERROR: CronJobId end10
[2025-03-10 16:19:13] Production.INFO: ==25669== Releasing lock...
[2025-03-10 16:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:19:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:19:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:19:15] Production.INFO: call_cost start
[2025-03-10 16:19:15] Production.INFO: call_cost end
[2025-03-10 16:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:19:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:19:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:19:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:19:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:19:16] Production.INFO: ==25665== Releasing lock...
[2025-03-10 16:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:19:19] Production.INFO: count ==5596
[2025-03-10 16:19:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:19:05 - End Time 2025-03-10 16:19:05
[2025-03-10 16:19:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650695', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650695', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650695', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650695', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:19:21] Production.INFO: ProcessCDR(1,14650695,1,1,2)
[2025-03-10 16:19:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:19:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:19:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:19:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650695', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650695', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:19:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:19:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:19:26] Production.INFO: ==25673== Releasing lock...
[2025-03-10 16:19:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:19:26] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:20:01] Production.INFO: ==25738== Lock acquired, processing the job...
[2025-03-10 20:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:20:01] Production.INFO: neon service started
[2025-03-10 20:20:01] Production.INFO: neon service started
[2025-03-10 20:20:01] Production.INFO: ==25738== Releasing lock...
[2025-03-10 20:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:20:01] Production.INFO: ==25742== Lock acquired, processing the job...
[2025-03-10 20:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:20:01] Production.INFO: ==25742== Releasing lock...
[2025-03-10 20:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:20:01] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:20:02] Production.INFO: ==25740== Lock acquired, processing the job...
[2025-03-10 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:20:02] Production.INFO: ==25740== Releasing lock...
[2025-03-10 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:20:03] Production.INFO: ==25745== Lock acquired, processing the job...
[2025-03-10 16:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 16:20:03] Production.INFO: ==25749== Lock acquired, processing the job...
[2025-03-10 16:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:20:03] Production.INFO: ==25751== Lock acquired, processing the job...
[2025-03-10 16:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:20:03] Production.INFO: ==25753== Lock acquired, processing the job...
[2025-03-10 16:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 16:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:20:03] Production.ERROR: CronJob PID - 25749
[2025-03-10 16:20:03] Production.ERROR: CronJob Title - Account Block
[2025-03-10 16:20:03] Production.ERROR: CronJob ID - 7
[2025-03-10 16:20:03] Production.ERROR: CronJob Last Run Time 2025-03-10 16:20:00
[2025-03-10 16:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:20:03] Production.ERROR: CronJob PID - 25751
[2025-03-10 16:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 16:20:03] Production.ERROR: CronJob ID - 10
[2025-03-10 16:20:03] Production.ERROR: CronJob Last Run Time 2025-03-10 16:20:00
[2025-03-10 16:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:20:03] Production.INFO: ==25747== Lock acquired, processing the job...
[2025-03-10 16:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 16:20:03] Production.INFO: ==25745== Releasing lock...
[2025-03-10 16:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 16:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 16:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:20:03] Production.INFO: Account Balance Start.
[2025-03-10 16:20:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:20:03] Production.INFO: 117
[2025-03-10 16:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:20:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:20:03] Production.INFO: ==25755== Lock acquired, processing the job...
[2025-03-10 16:20:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:20:04] Production.INFO: ==25757== Lock acquired, processing the job...
[2025-03-10 16:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 16:20:04] Production.INFO: ==25759== Lock acquired, processing the job...
[2025-03-10 16:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:20:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:20:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:20:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:20:04] Production.INFO: Total Charge 0
[2025-03-10 16:20:04] Production.INFO: CreateAllLog End
[2025-03-10 16:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:20:04] Production.INFO: ==25749== Releasing lock...
[2025-03-10 16:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 16:20:04] Production.INFO: count ==13
[2025-03-10 16:20:04] Production.ERROR: done
[2025-03-10 16:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 16:20:04] Production.INFO: count ==21
[2025-03-10 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650699') start
[2025-03-10 16:20:04] Production.ERROR: done
[2025-03-10 16:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 16:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650700', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650699') end
[2025-03-10 16:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:20:04] Production.INFO: 1
[2025-03-10 16:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:20:04] Production.ERROR: done
[2025-03-10 16:20:04] Production.INFO: ==25759== Releasing lock...
[2025-03-10 16:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:20:04] Production.INFO: Account Balance End.
[2025-03-10 16:20:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:20:04] Production.INFO: ==25753== Releasing lock...
[2025-03-10 16:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:20:05
[end_date_ymd] => 2025-03-10 16:20:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:20:05' and `end` < '2025-03-10 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-03-10 16:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650700', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 16:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 16:20:09] Production.INFO: ProcessCDR(1,14650700,1,1,2)
[2025-03-10 16:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650700,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650700,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:20:09] Production.INFO: ==25757== Releasing lock...
[2025-03-10 16:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 16:20:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 16:20:15] Production.ERROR: CronJobId end10
[2025-03-10 16:20:15] Production.INFO: ==25751== Releasing lock...
[2025-03-10 16:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:20:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:20:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:20:17] Production.INFO: call_cost start
[2025-03-10 16:20:17] Production.INFO: call_cost end
[2025-03-10 16:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:20:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:20:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:20:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:20:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:20:18] Production.INFO: ==25747== Releasing lock...
[2025-03-10 16:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:20:19] Production.INFO: count ==5582
[2025-03-10 16:20:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:20:05 - End Time 2025-03-10 16:20:05
[2025-03-10 16:20:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650701', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650701', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650701', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650701', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:20:21] Production.INFO: ProcessCDR(1,14650701,1,1,2)
[2025-03-10 16:20:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:20:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:20:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:20:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650701', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650701', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:20:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:20:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:20:26] Production.INFO: ==25755== Releasing lock...
[2025-03-10 16:20:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:20:26] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 20:21:01] Production.INFO: ==25823== Lock acquired, processing the job...
[2025-03-10 20:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:21:01] Production.INFO: neon service started
[2025-03-10 20:21:01] Production.INFO: neon service started
[2025-03-10 20:21:01] Production.INFO: ==25823== Releasing lock...
[2025-03-10 20:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:21:02] Production.INFO: ==25827== Lock acquired, processing the job...
[2025-03-10 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:21:02] Production.INFO: ==25827== Releasing lock...
[2025-03-10 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:21:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:21:02] Production.INFO: ==25825== Lock acquired, processing the job...
[2025-03-10 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:21:02] Production.INFO: ==25825== Releasing lock...
[2025-03-10 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:21:03] Production.INFO: ==25836== Lock acquired, processing the job...
[2025-03-10 16:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:21:03] Production.INFO: ==25838== Lock acquired, processing the job...
[2025-03-10 16:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:21:03] Production.INFO: Account Balance Start.
[2025-03-10 16:21:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:21:03] Production.INFO: 117
[2025-03-10 16:21:03] Production.INFO: ==25830== Lock acquired, processing the job...
[2025-03-10 16:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:21:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:21:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:21:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:21:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:21:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:21:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:21:03] Production.INFO: ==25832== Lock acquired, processing the job...
[2025-03-10 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:21:03] Production.INFO: ==25834== Lock acquired, processing the job...
[2025-03-10 16:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:21:03] Production.INFO: Total Charge 0
[2025-03-10 16:21:03] Production.INFO: CreateAllLog End
[2025-03-10 16:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:21:04] Production.INFO: ==25840== Lock acquired, processing the job...
[2025-03-10 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:21:04] Production.INFO: Account Balance End.
[2025-03-10 16:21:04] Production.ERROR: done
[2025-03-10 16:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 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-03-10 16:21:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:21:04] Production.INFO: ==25836== Releasing lock...
[2025-03-10 16:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:21:04] Production.INFO: count ==13
[2025-03-10 16:21:04] Production.ERROR: done
[2025-03-10 16:21:04] Production.INFO: ==25832== Releasing lock...
[2025-03-10 16:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 16:21:04] Production.INFO: count ==21
[2025-03-10 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650705') start
[2025-03-10 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650705') end
[2025-03-10 16:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:21:04] Production.INFO: 1
[2025-03-10 16:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:21:04] Production.INFO: ==25840== Releasing lock...
[2025-03-10 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:21:05
[end_date_ymd] => 2025-03-10 16:21:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:21:05' and `end` < '2025-03-10 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-03-10 16:21:12] Production.ERROR: CronJobId end10
[2025-03-10 16:21:12] Production.INFO: ==25834== Releasing lock...
[2025-03-10 16:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:21:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:21:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:21:15] Production.INFO: call_cost start
[2025-03-10 16:21:15] Production.INFO: call_cost end
[2025-03-10 16:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:21:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:21:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:21:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:21:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:21:16] Production.INFO: ==25830== Releasing lock...
[2025-03-10 16:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:21:19] Production.INFO: count ==5573
[2025-03-10 16:21:22] Production.ERROR: pbx CDR StartTime 2025-03-10 13:21:05 - End Time 2025-03-10 16:21:05
[2025-03-10 16:21:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650706', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650706', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650706', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650706', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:21:22] Production.INFO: ProcessCDR(1,14650706,1,1,2)
[2025-03-10 16:21:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:21:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:21:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:21:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650706', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650706', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:21:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:21:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:21:26] Production.INFO: ==25838== Releasing lock...
[2025-03-10 16:21:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:21:26] Production.INFO: 69.75 MB #Memory Used#
[2025-03-10 20:22:01] Production.INFO: ==25938== Lock acquired, processing the job...
[2025-03-10 20:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:22:01] Production.INFO: neon service started
[2025-03-10 20:22:01] Production.INFO: neon service started
[2025-03-10 20:22:01] Production.INFO: ==25938== Releasing lock...
[2025-03-10 20:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:22:01] Production.INFO: ==25940== Lock acquired, processing the job...
[2025-03-10 16:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:22:02] Production.INFO: ==25940== Releasing lock...
[2025-03-10 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:22:02] Production.INFO: ==25942== Lock acquired, processing the job...
[2025-03-10 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:22:02] Production.INFO: ==25942== Releasing lock...
[2025-03-10 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:22:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:22:02] Production.INFO: ==25947== Lock acquired, processing the job...
[2025-03-10 16:22:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:22:03] Production.INFO: ==25951== Lock acquired, processing the job...
[2025-03-10 16:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:22:03] Production.INFO: ==25945== Lock acquired, processing the job...
[2025-03-10 16:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:22:03] Production.INFO: Account Balance Start.
[2025-03-10 16:22:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:22:03] Production.INFO: 117
[2025-03-10 16:22:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:22:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:22:03] Production.INFO: ==25947== Releasing lock...
[2025-03-10 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:22:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:22:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:22:03] Production.INFO: ==25949== Lock acquired, processing the job...
[2025-03-10 16:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:22:03] Production.INFO: Total Charge 0
[2025-03-10 16:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:22:03] Production.INFO: CreateAllLog End
[2025-03-10 16:22:03] Production.INFO: ==25953== Lock acquired, processing the job...
[2025-03-10 16:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:22:03] Production.INFO: ==25955== Lock acquired, processing the job...
[2025-03-10 16:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:22:03] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 16:22:03] Production.INFO: count ==13
[2025-03-10 16:22:03] Production.ERROR: CronJobId end 12
[2025-03-10 16:22:03] Production.INFO: ==25951== Releasing lock...
[2025-03-10 16:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16: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-03-10 16:22:03] Production.INFO: count ==21
[2025-03-10 16:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650710') start
[2025-03-10 16:22:03] Production.ERROR: done
[2025-03-10 16:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650710') end
[2025-03-10 16:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:22:03] Production.INFO: 1
[2025-03-10 16:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:22:03] Production.INFO: ==25955== Releasing lock...
[2025-03-10 16:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:22:03] Production.ERROR: done
[2025-03-10 16:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:22:04
[end_date_ymd] => 2025-03-10 16:22:04
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:22:04' and `end` < '2025-03-10 16: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-03-10 16:22:12] Production.ERROR: CronJobId end10
[2025-03-10 16:22:12] Production.INFO: ==25949== Releasing lock...
[2025-03-10 16:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:22:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:22:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:22:14] Production.INFO: call_cost start
[2025-03-10 16:22:14] Production.INFO: call_cost end
[2025-03-10 16:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:22:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:22:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:22:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:22:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:22:15] Production.INFO: ==25945== Releasing lock...
[2025-03-10 16:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:22:18] Production.INFO: count ==5600
[2025-03-10 16:22:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:22:04 - End Time 2025-03-10 16:22:04
[2025-03-10 16:22:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650711', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650711', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650711', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650711', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:22:20] Production.INFO: ProcessCDR(1,14650711,1,1,2)
[2025-03-10 16:22:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:22:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650711', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650711', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:22:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:22:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:22:26] Production.INFO: ==25953== Releasing lock...
[2025-03-10 16:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:22:26] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:23:01] Production.INFO: ==26021== Lock acquired, processing the job...
[2025-03-10 20:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:23:01] Production.INFO: neon service started
[2025-03-10 20:23:01] Production.INFO: neon service started
[2025-03-10 20:23:01] Production.INFO: ==26021== Releasing lock...
[2025-03-10 20:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:23:02] Production.INFO: ==26024== Lock acquired, processing the job...
[2025-03-10 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:23:02] Production.INFO: ==26024== Releasing lock...
[2025-03-10 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:23:02] Production.INFO: ==26026== Lock acquired, processing the job...
[2025-03-10 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:23:02] Production.INFO: ==26026== Releasing lock...
[2025-03-10 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:23:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:23:03] Production.INFO: ==26034== Lock acquired, processing the job...
[2025-03-10 16:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:23:03] Production.INFO: ==26038== Lock acquired, processing the job...
[2025-03-10 16:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:23:03] Production.INFO: ==26028== Lock acquired, processing the job...
[2025-03-10 16:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:23:03] Production.INFO: Account Balance Start.
[2025-03-10 16:23:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:23:03] Production.INFO: 117
[2025-03-10 16:23:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 16:23:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:23:03] Production.INFO: count ==13
[2025-03-10 16:23:03] Production.INFO: ==26030== Lock acquired, processing the job...
[2025-03-10 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 16:23:03] Production.INFO: ==26032== Lock acquired, processing the job...
[2025-03-10 16:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:23:03] Production.INFO: count ==21
[2025-03-10 16:23:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:23:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650713') start
[2025-03-10 16:23:03] Production.INFO: ==26036== Lock acquired, processing the job...
[2025-03-10 16:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:23:03] Production.INFO: Total Charge 0
[2025-03-10 16:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:23:03] Production.INFO: CreateAllLog End
[2025-03-10 16:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650713') end
[2025-03-10 16:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:23:03] Production.INFO: 1
[2025-03-10 16:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:23:03] Production.INFO: ==26038== Releasing lock...
[2025-03-10 16:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:23:04] Production.INFO: Account Balance End.
[2025-03-10 16:23:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:23:04] Production.INFO: ==26034== Releasing lock...
[2025-03-10 16:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:23:04] Production.INFO: ==26030== Releasing lock...
[2025-03-10 16:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:23:04] Production.ERROR: done
[2025-03-10 16:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:23:04] Production.ERROR: done
[2025-03-10 16:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:23:05
[end_date_ymd] => 2025-03-10 16:23:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:23:05' and `end` < '2025-03-10 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-03-10 16:23:13] Production.ERROR: CronJobId end10
[2025-03-10 16:23:13] Production.INFO: ==26032== Releasing lock...
[2025-03-10 16:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:23:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:23:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:23:15] Production.INFO: call_cost start
[2025-03-10 16:23:15] Production.INFO: call_cost end
[2025-03-10 16:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:23:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:23:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:23:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:23:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:23:16] Production.INFO: ==26028== Releasing lock...
[2025-03-10 16:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:23:18] Production.INFO: count ==5620
[2025-03-10 16:23:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:23:05 - End Time 2025-03-10 16:23:05
[2025-03-10 16:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650716', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650716', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650716', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650716', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:23:21] Production.INFO: ProcessCDR(1,14650716,1,1,2)
[2025-03-10 16:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:23:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:23:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:23:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650716', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650716', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:23:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:23:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:23:25] Production.INFO: ==26036== Releasing lock...
[2025-03-10 16:23:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:23:25] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:24:02] Production.INFO: ==26105== Lock acquired, processing the job...
[2025-03-10 20:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:24:02] Production.INFO: neon service started
[2025-03-10 20:24:02] Production.INFO: neon service started
[2025-03-10 20:24:02] Production.INFO: ==26105== Releasing lock...
[2025-03-10 20:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:24:02] Production.INFO: ==26107== Lock acquired, processing the job...
[2025-03-10 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:24:02] Production.INFO: ==26107== Releasing lock...
[2025-03-10 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:24:03] Production.INFO: ==26109== Lock acquired, processing the job...
[2025-03-10 20:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:24:03] Production.INFO: ==26109== Releasing lock...
[2025-03-10 20:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:24:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:24:03] Production.INFO: ==26119== Lock acquired, processing the job...
[2025-03-10 16:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:24:04] Production.INFO: ==26121== Lock acquired, processing the job...
[2025-03-10 16:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:24:04] Production.INFO: ==26111== Lock acquired, processing the job...
[2025-03-10 16:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:24:04] Production.INFO: ==26113== Lock acquired, processing the job...
[2025-03-10 16:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:24:04] Production.INFO: ==26117== Lock acquired, processing the job...
[2025-03-10 16:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:24:04] Production.INFO: ==26115== Lock acquired, processing the job...
[2025-03-10 16:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:24:04] Production.INFO: Account Balance Start.
[2025-03-10 16:24:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:24:04] Production.INFO: 117
[2025-03-10 16:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:24:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 16: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-03-10 16:24:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:24:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:24:04] Production.INFO: count ==13
[2025-03-10 16:24:04] Production.INFO: Reseller ==> 0
[2025-03-10 16: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-03-10 16:24:04] Production.INFO: count ==21
[2025-03-10 16:24:04] Production.INFO: Total Charge 0
[2025-03-10 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650718') start
[2025-03-10 16:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:24:04] Production.INFO: CreateAllLog End
[2025-03-10 16:24:04] Production.ERROR: done
[2025-03-10 16:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650718') end
[2025-03-10 16:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:24:04] Production.INFO: 1
[2025-03-10 16:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:24:04] Production.INFO: ==26113== Releasing lock...
[2025-03-10 16:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:24:04] Production.INFO: ==26121== Releasing lock...
[2025-03-10 16:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:24:04] Production.ERROR: done
[2025-03-10 16:24:04] Production.INFO: Account Balance End.
[2025-03-10 16:24:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:24:04] Production.INFO: ==26117== Releasing lock...
[2025-03-10 16:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:24:05
[end_date_ymd] => 2025-03-10 16:24:05
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:24:05' and `end` < '2025-03-10 16: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-03-10 16:24:13] Production.ERROR: CronJobId end10
[2025-03-10 16:24:13] Production.INFO: ==26115== Releasing lock...
[2025-03-10 16:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:24:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:24:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:24:15] Production.INFO: call_cost start
[2025-03-10 16:24:15] Production.INFO: call_cost end
[2025-03-10 16:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:24:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:24:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:24:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:24:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:24:16] Production.INFO: ==26111== Releasing lock...
[2025-03-10 16:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:24:19] Production.INFO: count ==5625
[2025-03-10 16:24:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:24:05 - End Time 2025-03-10 16:24:05
[2025-03-10 16:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650721', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650721', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650721', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650721', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:24:21] Production.INFO: ProcessCDR(1,14650721,1,1,2)
[2025-03-10 16:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:24:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:24:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650721', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:24:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650721', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:24:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:24:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:24:27] Production.INFO: ==26119== Releasing lock...
[2025-03-10 16:24:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:24:27] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:25:01] Production.INFO: ==26193== Lock acquired, processing the job...
[2025-03-10 20:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:25:01] Production.INFO: neon service started
[2025-03-10 20:25:01] Production.INFO: neon service started
[2025-03-10 20:25:01] Production.INFO: ==26193== Releasing lock...
[2025-03-10 20:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:25:02] Production.INFO: ==26195== Lock acquired, processing the job...
[2025-03-10 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:25:02] Production.INFO: ==26195== Releasing lock...
[2025-03-10 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:25:02] Production.INFO: ==26197== Lock acquired, processing the job...
[2025-03-10 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:25:02] Production.INFO: ==26197== Releasing lock...
[2025-03-10 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:25:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:25:03] Production.INFO: ==26199== Lock acquired, processing the job...
[2025-03-10 16:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:25:03] Production.INFO: ==26203== Lock acquired, processing the job...
[2025-03-10 16:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:25:03] Production.INFO: ==26205== Lock acquired, processing the job...
[2025-03-10 16:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:25:03] Production.INFO: ==26201== Lock acquired, processing the job...
[2025-03-10 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:25:03] Production.INFO: Account Balance Start.
[2025-03-10 16:25:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:25:03] Production.INFO: 117
[2025-03-10 16:25:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:25:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:25:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:25:03] Production.INFO: ==26207== Lock acquired, processing the job...
[2025-03-10 16:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:25:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:25:03] Production.INFO: Total Charge 0
[2025-03-10 16:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:25:03] Production.INFO: CreateAllLog End
[2025-03-10 16:25:03] Production.INFO: ==26209== Lock acquired, processing the job...
[2025-03-10 16:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:25:03] Production.INFO: ==26201== Releasing lock...
[2025-03-10 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:25:03] Production.INFO: Account Balance End.
[2025-03-10 16: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-03-10 16:25:04] Production.ERROR: done
[2025-03-10 16:25:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:25:04] Production.INFO: ==26205== Releasing lock...
[2025-03-10 16:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:25:04] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:25:04] Production.INFO: count ==21
[2025-03-10 16:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650725') start
[2025-03-10 16:25:04] Production.ERROR: done
[2025-03-10 16:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650725') end
[2025-03-10 16:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:25:04] Production.INFO: 1
[2025-03-10 16:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:25:04] Production.INFO: ==26209== Releasing lock...
[2025-03-10 16:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:25:05
[end_date_ymd] => 2025-03-10 16:25:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:25:05' and `end` < '2025-03-10 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-03-10 16:25:12] Production.ERROR: CronJobId end10
[2025-03-10 16:25:12] Production.INFO: ==26203== Releasing lock...
[2025-03-10 16:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:25:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:25:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:25:14] Production.INFO: call_cost start
[2025-03-10 16:25:14] Production.INFO: call_cost end
[2025-03-10 16:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:25:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:25:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:25:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:25:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:25:15] Production.INFO: ==26199== Releasing lock...
[2025-03-10 16:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:25:18] Production.INFO: count ==5636
[2025-03-10 16:25:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:25:05 - End Time 2025-03-10 16:25:05
[2025-03-10 16:25:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650726', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650726', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650726', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650726', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:25:20] Production.INFO: ProcessCDR(1,14650726,1,1,2)
[2025-03-10 16:25:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:25:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:25:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:25:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:25:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650726', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:25:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650726', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:25:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:25:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:25:25] Production.INFO: ==26207== Releasing lock...
[2025-03-10 16:25:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:25:25] Production.INFO: 70.25 MB #Memory Used#
[2025-03-10 20:26:02] Production.INFO: ==26273== Lock acquired, processing the job...
[2025-03-10 20:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:26:02] Production.INFO: neon service started
[2025-03-10 20:26:02] Production.INFO: neon service started
[2025-03-10 20:26:02] Production.INFO: ==26273== Releasing lock...
[2025-03-10 20:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:26:02] Production.INFO: ==26277== Lock acquired, processing the job...
[2025-03-10 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:26:02] Production.INFO: ==26277== Releasing lock...
[2025-03-10 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:26:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:26:02] Production.INFO: ==26275== Lock acquired, processing the job...
[2025-03-10 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:26:02] Production.INFO: ==26275== Releasing lock...
[2025-03-10 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:26:03] Production.INFO: ==26287== Lock acquired, processing the job...
[2025-03-10 16:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:26:03] Production.INFO: ==26289== Lock acquired, processing the job...
[2025-03-10 16:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:26:04] Production.INFO: ==26285== Lock acquired, processing the job...
[2025-03-10 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:26:04] Production.ERROR: done
[2025-03-10 16:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:26:04] Production.INFO: ==26279== Lock acquired, processing the job...
[2025-03-10 16:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:26:04] Production.INFO: ==26281== Lock acquired, processing the job...
[2025-03-10 16:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 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-03-10 16:26:04] Production.INFO: ==26283== Lock acquired, processing the job...
[2025-03-10 16:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:26:04] Production.INFO: Account Balance Start.
[2025-03-10 16:26:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:26:04] Production.INFO: count ==13
[2025-03-10 16:26:04] Production.INFO: 117
[2025-03-10 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-03-10 16:26:04] Production.INFO: count ==21
[2025-03-10 16:26:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650727') start
[2025-03-10 16:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:26:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:26:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:26:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:26:04] Production.ERROR: done
[2025-03-10 16:26:04] Production.INFO: Total Charge 0
[2025-03-10 16:26:04] Production.INFO: CreateAllLog End
[2025-03-10 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650727') end
[2025-03-10 16:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:26:04] Production.INFO: 1
[2025-03-10 16:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:26:04] Production.INFO: ==26289== Releasing lock...
[2025-03-10 16:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:26:04] Production.INFO: Account Balance End.
[2025-03-10 16:26:04] Production.INFO: ==26281== Releasing lock...
[2025-03-10 16:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:26:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:26:04] Production.INFO: ==26285== Releasing lock...
[2025-03-10 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:26:05
[end_date_ymd] => 2025-03-10 16:26:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:26:05' and `end` < '2025-03-10 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-03-10 16:26:13] Production.ERROR: CronJobId end10
[2025-03-10 16:26:13] Production.INFO: ==26283== Releasing lock...
[2025-03-10 16:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:26:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:26:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:26:15] Production.INFO: call_cost start
[2025-03-10 16:26:15] Production.INFO: call_cost end
[2025-03-10 16:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:26:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:26:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:26:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:26:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:26:16] Production.INFO: ==26279== Releasing lock...
[2025-03-10 16:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:26:19] Production.INFO: count ==5629
[2025-03-10 16:26:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:26:05 - End Time 2025-03-10 16:26:05
[2025-03-10 16:26:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650731', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650731', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650731', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650731', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:26:21] Production.INFO: ProcessCDR(1,14650731,1,1,2)
[2025-03-10 16:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:26:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:26:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:26:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650731', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650731', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:26:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:26:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:26:26] Production.INFO: ==26287== Releasing lock...
[2025-03-10 16:26:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:26:26] Production.INFO: 70.25 MB #Memory Used#
[2025-03-10 20:27:01] Production.INFO: ==26355== Lock acquired, processing the job...
[2025-03-10 20:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:27:01] Production.INFO: neon service started
[2025-03-10 20:27:01] Production.INFO: neon service started
[2025-03-10 20:27:01] Production.INFO: ==26355== Releasing lock...
[2025-03-10 20:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:27:02] Production.INFO: ==26358== Lock acquired, processing the job...
[2025-03-10 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:27:02] Production.INFO: ==26360== Lock acquired, processing the job...
[2025-03-10 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:27:02] Production.INFO: ==26360== Releasing lock...
[2025-03-10 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:27:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:27:02] Production.INFO: ==26358== Releasing lock...
[2025-03-10 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:27:03] Production.INFO: ==26368== Lock acquired, processing the job...
[2025-03-10 16:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:27:03] Production.INFO: Account Balance Start.
[2025-03-10 16:27:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:27:03] Production.INFO: 117
[2025-03-10 16:27:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:27:03] Production.INFO: ==26372== Lock acquired, processing the job...
[2025-03-10 16:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:27:03] Production.INFO: ==26362== Lock acquired, processing the job...
[2025-03-10 16:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:27:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:27:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:27:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:27:03] Production.INFO: Total Charge 0
[2025-03-10 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-03-10 16:27:03] Production.INFO: ==26364== Lock acquired, processing the job...
[2025-03-10 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:27:03] Production.INFO: ==26366== Lock acquired, processing the job...
[2025-03-10 16:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:27:03] Production.INFO: CreateAllLog End
[2025-03-10 16:27:03] Production.INFO: count ==13
[2025-03-10 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-03-10 16:27:03] Production.INFO: count ==21
[2025-03-10 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650733') start
[2025-03-10 16:27:03] Production.INFO: ==26370== Lock acquired, processing the job...
[2025-03-10 16:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650733') end
[2025-03-10 16:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:27:03] Production.INFO: 1
[2025-03-10 16:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:27:03] Production.INFO: ==26372== Releasing lock...
[2025-03-10 16:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:27:04] Production.INFO: Account Balance End.
[2025-03-10 16:27:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:27:04] Production.INFO: ==26368== Releasing lock...
[2025-03-10 16:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:27:04] Production.INFO: ==26364== Releasing lock...
[2025-03-10 16:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:27:04] Production.ERROR: done
[2025-03-10 16:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:27:04] Production.ERROR: done
[2025-03-10 16:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:27:05
[end_date_ymd] => 2025-03-10 16:27:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:27:05' and `end` < '2025-03-10 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-03-10 16:27:13] Production.ERROR: CronJobId end10
[2025-03-10 16:27:13] Production.INFO: ==26366== Releasing lock...
[2025-03-10 16:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:27:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:27:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:27:15] Production.INFO: call_cost start
[2025-03-10 16:27:15] Production.INFO: call_cost end
[2025-03-10 16:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:27:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:27:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:27:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:27:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:27:16] Production.INFO: ==26362== Releasing lock...
[2025-03-10 16:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:27:18] Production.INFO: count ==5626
[2025-03-10 16:27:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:27:05 - End Time 2025-03-10 16:27:05
[2025-03-10 16:27:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650736', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650736', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650736', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650736', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:27:21] Production.INFO: ProcessCDR(1,14650736,1,1,2)
[2025-03-10 16:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:27:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:27:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:27:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650736', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650736', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:27:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:27:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:27:26] Production.INFO: ==26370== Releasing lock...
[2025-03-10 16:27:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:27:26] Production.INFO: 70 MB #Memory Used#
[2025-03-10 20:28:02] Production.INFO: ==26440== Lock acquired, processing the job...
[2025-03-10 20:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:28:02] Production.INFO: neon service started
[2025-03-10 20:28:02] Production.INFO: neon service started
[2025-03-10 20:28:02] Production.INFO: ==26440== Releasing lock...
[2025-03-10 20:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:28:02] Production.INFO: ==26444== Lock acquired, processing the job...
[2025-03-10 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:28:02] Production.INFO: ==26444== Releasing lock...
[2025-03-10 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:28:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:28:02] Production.INFO: ==26442== Lock acquired, processing the job...
[2025-03-10 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:28:03] Production.INFO: ==26442== Releasing lock...
[2025-03-10 16:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:28:03] Production.INFO: ==26449== Lock acquired, processing the job...
[2025-03-10 16:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:28:04] Production.INFO: ==26453== Lock acquired, processing the job...
[2025-03-10 16:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:28:04] Production.INFO: ==26455== Lock acquired, processing the job...
[2025-03-10 16:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:28:04] Production.INFO: Account Balance Start.
[2025-03-10 16:28:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:28:04] Production.INFO: 117
[2025-03-10 16:28:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:28:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:28:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:28:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:28:04] Production.INFO: Total Charge 0
[2025-03-10 16:28:04] Production.INFO: ==26457== Lock acquired, processing the job...
[2025-03-10 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:28:04] Production.INFO: ==26447== Lock acquired, processing the job...
[2025-03-10 16:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:28:04] Production.INFO: CreateAllLog End
[2025-03-10 16:28:04] Production.INFO: ==26451== Lock acquired, processing the job...
[2025-03-10 16:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 16:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:28:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:28:04] Production.INFO: ==26449== Releasing lock...
[2025-03-10 16:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:28:04] Production.INFO: count ==21
[2025-03-10 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650739') start
[2025-03-10 16:28:04] Production.ERROR: done
[2025-03-10 16:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:28:04] Production.INFO: Account Balance End.
[2025-03-10 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650739') end
[2025-03-10 16:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:28:04] Production.INFO: 1
[2025-03-10 16:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:28:04] Production.INFO: ==26457== Releasing lock...
[2025-03-10 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:28:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:28:04] Production.INFO: ==26453== Releasing lock...
[2025-03-10 16:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:28:04] Production.ERROR: done
[2025-03-10 16:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:28:05
[end_date_ymd] => 2025-03-10 16:28:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:28:05' and `end` < '2025-03-10 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-03-10 16:28:12] Production.ERROR: CronJobId end10
[2025-03-10 16:28:12] Production.INFO: ==26451== Releasing lock...
[2025-03-10 16:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:28:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:28:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:28:15] Production.INFO: call_cost start
[2025-03-10 16:28:15] Production.INFO: call_cost end
[2025-03-10 16:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:28:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:28:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:28:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:28:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:28:16] Production.INFO: ==26447== Releasing lock...
[2025-03-10 16:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:28:19] Production.INFO: count ==5632
[2025-03-10 16:28:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:28:05 - End Time 2025-03-10 16:28:05
[2025-03-10 16:28:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650741', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650741', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650741', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650741', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:28:21] Production.INFO: ProcessCDR(1,14650741,1,1,2)
[2025-03-10 16:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:28:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:28:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:28:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650741', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650741', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:28:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:28:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:28:26] Production.INFO: ==26455== Releasing lock...
[2025-03-10 16:28:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:28:26] Production.INFO: 70.25 MB #Memory Used#
[2025-03-10 20:29:01] Production.INFO: ==26520== Lock acquired, processing the job...
[2025-03-10 20:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:29:01] Production.INFO: neon service started
[2025-03-10 20:29:01] Production.INFO: neon service started
[2025-03-10 20:29:01] Production.INFO: ==26520== Releasing lock...
[2025-03-10 20:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:29:02] Production.INFO: ==26522== Lock acquired, processing the job...
[2025-03-10 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:29:02] Production.INFO: ==26522== Releasing lock...
[2025-03-10 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:29:02] Production.INFO: ==26524== Lock acquired, processing the job...
[2025-03-10 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:29:02] Production.INFO: ==26524== Releasing lock...
[2025-03-10 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:29:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:29:03] Production.INFO: ==26526== Lock acquired, processing the job...
[2025-03-10 16:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:29:03] Production.INFO: ==26530== Lock acquired, processing the job...
[2025-03-10 16:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:29:03] Production.INFO: ==26534== Lock acquired, processing the job...
[2025-03-10 16:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:29:03] Production.INFO: ==26528== Lock acquired, processing the job...
[2025-03-10 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:29:03] Production.INFO: ==26532== Lock acquired, processing the job...
[2025-03-10 16:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:29:03] Production.INFO: ==26537== Lock acquired, processing the job...
[2025-03-10 16:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:29:04] Production.INFO: Account Balance Start.
[2025-03-10 16:29:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:29:04] Production.INFO: 117
[2025-03-10 16:29:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:29:04] Production.ERROR: done
[2025-03-10 16:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16: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-03-10 16:29:04] Production.INFO: ==26528== Releasing lock...
[2025-03-10 16:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:29:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:29:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:29:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:29:04] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:29:04] Production.INFO: count ==21
[2025-03-10 16:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650745') start
[2025-03-10 16:29:04] Production.ERROR: done
[2025-03-10 16:29:04] Production.INFO: Total Charge 0
[2025-03-10 16:29:04] Production.INFO: CreateAllLog End
[2025-03-10 16:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650745') end
[2025-03-10 16:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:29:04] Production.INFO: 1
[2025-03-10 16:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:29:04] Production.INFO: Account Balance End.
[2025-03-10 16:29:04] Production.INFO: ==26537== Releasing lock...
[2025-03-10 16:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:29:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:29:04] Production.INFO: ==26532== Releasing lock...
[2025-03-10 16:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:29:05
[end_date_ymd] => 2025-03-10 16:29:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:29:05' and `end` < '2025-03-10 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-03-10 16:29:12] Production.ERROR: CronJobId end10
[2025-03-10 16:29:12] Production.INFO: ==26530== Releasing lock...
[2025-03-10 16:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:29:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:29:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:29:15] Production.INFO: call_cost start
[2025-03-10 16:29:15] Production.INFO: call_cost end
[2025-03-10 16:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:29:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:29:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:29:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:29:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:29:16] Production.INFO: ==26526== Releasing lock...
[2025-03-10 16:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:29:18] Production.INFO: count ==5628
[2025-03-10 16:29:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:29:05 - End Time 2025-03-10 16:29:05
[2025-03-10 16:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650746', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650746', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650746', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650746', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:29:21] Production.INFO: ProcessCDR(1,14650746,1,1,2)
[2025-03-10 16:29:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:29:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:29:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:29:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650746', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650746', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:29:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:29:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:29:25] Production.INFO: ==26534== Releasing lock...
[2025-03-10 16:29:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:29:25] Production.INFO: 70.25 MB #Memory Used#
[2025-03-10 20:30:02] Production.INFO: ==26606== Lock acquired, processing the job...
[2025-03-10 20:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:30:02] Production.INFO: neon service started
[2025-03-10 20:30:02] Production.INFO: neon service started
[2025-03-10 20:30:02] Production.INFO: ==26606== Releasing lock...
[2025-03-10 20:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:30:02] Production.INFO: ==26610== Lock acquired, processing the job...
[2025-03-10 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:30:02] Production.INFO: ==26610== Releasing lock...
[2025-03-10 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:30:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:30:02] Production.INFO: ==26608== Lock acquired, processing the job...
[2025-03-10 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:30:03] Production.INFO: ==26608== Releasing lock...
[2025-03-10 16:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:30:03] Production.INFO: ==26615== Lock acquired, processing the job...
[2025-03-10 16:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:30:04] Production.INFO: ==26619== Lock acquired, processing the job...
[2025-03-10 16:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:30:04] Production.INFO: ==26623== Lock acquired, processing the job...
[2025-03-10 16:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:30:04] Production.INFO: ==26613== Lock acquired, processing the job...
[2025-03-10 16:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 16:30:04] Production.INFO: ==26621== Lock acquired, processing the job...
[2025-03-10 16:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:30:04] Production.INFO: ==26617== Lock acquired, processing the job...
[2025-03-10 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:30:04] Production.INFO: Account Balance Start.
[2025-03-10 16:30:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:30:04] Production.INFO: 117
[2025-03-10 16:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 16:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:30:04] Production.ERROR: CronJob PID - 26615
[2025-03-10 16:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 16:30:04] Production.ERROR: CronJob ID - 5
[2025-03-10 16:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:30:00
[2025-03-10 16:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:30:04] Production.ERROR: CronJob PID - 26617
[2025-03-10 16:30:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 16:30:04] Production.ERROR: CronJob ID - 7
[2025-03-10 16:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:30:00
[2025-03-10 16:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:30:04] Production.ERROR: CronJob PID - 26619
[2025-03-10 16:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-03-10 16:30:04] Production.ERROR: CronJob ID - 10
[2025-03-10 16:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:30:00
[2025-03-10 16:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:30:04] Production.ERROR: CronJob PID - 26621
[2025-03-10 16:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-03-10 16:30:04] Production.ERROR: CronJob ID - 12
[2025-03-10 16:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:30:00
[2025-03-10 16:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:30:04] Production.ERROR: CronJob PID - 26623
[2025-03-10 16:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 16:30:04] Production.ERROR: CronJob ID - 16
[2025-03-10 16:30:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:30:00
[2025-03-10 16:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:30:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 16:30:04] Production.INFO: ==26613== Releasing lock...
[2025-03-10 16:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 16:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 16:30:04] Production.INFO: ==26627== Lock acquired, processing the job...
[2025-03-10 16:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:30:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:30:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:30:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:30:04] Production.INFO: ==26625== Lock acquired, processing the job...
[2025-03-10 16:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 16:30:04] Production.INFO: Total Charge 0
[2025-03-10 16:30:04] Production.INFO: CreateAllLog End
[2025-03-10 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:30:04] Production.INFO: ==26617== Releasing lock...
[2025-03-10 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 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-03-10 16:30:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:30:04] Production.INFO: count ==21
[2025-03-10 16:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650750') start
[2025-03-10 16:30:04] Production.ERROR: done
[2025-03-10 16:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:30:05] Production.INFO: Account Balance End.
[2025-03-10 16:30:05] Production.ERROR: CronJobId end 12
[2025-03-10 16:30:05] Production.INFO: ==26621== Releasing lock...
[2025-03-10 16:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:30:05] Production.ERROR: done
[2025-03-10 16:30:05] Production.ERROR: done
[2025-03-10 16:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 16:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650751', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 16:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650750') end
[2025-03-10 16:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:30:05] Production.INFO: 1
[2025-03-10 16:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:30:05] Production.INFO: ==26627== Releasing lock...
[2025-03-10 16:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:30:06
[end_date_ymd] => 2025-03-10 16:30:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:30:06' and `end` < '2025-03-10 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-03-10 16:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650751', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 16:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 16:30:09] Production.INFO: ProcessCDR(1,14650751,1,1,2)
[2025-03-10 16:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650751,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650751,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:30:09] Production.INFO: ==26625== Releasing lock...
[2025-03-10 16:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 16:30:09] Production.INFO: 26 MB #Memory Used#
[2025-03-10 16:30:14] Production.ERROR: CronJobId end10
[2025-03-10 16:30:14] Production.INFO: ==26619== Releasing lock...
[2025-03-10 16:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:30:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:30:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:30:16] Production.INFO: call_cost start
[2025-03-10 16:30:16] Production.INFO: call_cost end
[2025-03-10 16:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:30:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:30:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:30:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:30:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:30:17] Production.INFO: ==26615== Releasing lock...
[2025-03-10 16:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:30:19] Production.INFO: count ==5636
[2025-03-10 16:30:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:30:06 - End Time 2025-03-10 16:30:06
[2025-03-10 16:30:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650752', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650752', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650752', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650752', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:30:22] Production.INFO: ProcessCDR(1,14650752,1,1,2)
[2025-03-10 16:30:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:30:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:30:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:30:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650752', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650752', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:30:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:30:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:30:27] Production.INFO: ==26623== Releasing lock...
[2025-03-10 16:30:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:30:27] Production.INFO: 70.25 MB #Memory Used#
[2025-03-10 20:31:01] Production.INFO: ==26689== Lock acquired, processing the job...
[2025-03-10 20:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:31:01] Production.INFO: neon service started
[2025-03-10 20:31:01] Production.INFO: neon service started
[2025-03-10 20:31:01] Production.INFO: ==26689== Releasing lock...
[2025-03-10 20:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:31:01] Production.INFO: ==26691== Lock acquired, processing the job...
[2025-03-10 16:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:31:02] Production.INFO: ==26691== Releasing lock...
[2025-03-10 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:31:02] Production.INFO: ==26693== Lock acquired, processing the job...
[2025-03-10 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:31:02] Production.INFO: ==26693== Releasing lock...
[2025-03-10 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:31:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:31:03] Production.INFO: ==26704== Lock acquired, processing the job...
[2025-03-10 16:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:31:03] Production.INFO: ==26706== Lock acquired, processing the job...
[2025-03-10 16:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:31:03] Production.INFO: ==26696== Lock acquired, processing the job...
[2025-03-10 16:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 16:31:03] Production.INFO: count ==13
[2025-03-10 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-03-10 16:31:03] Production.INFO: count ==21
[2025-03-10 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650753') start
[2025-03-10 16:31:03] Production.INFO: ==26698== Lock acquired, processing the job...
[2025-03-10 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:31:03] Production.INFO: ==26700== Lock acquired, processing the job...
[2025-03-10 16:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:31:03] Production.INFO: ==26702== Lock acquired, processing the job...
[2025-03-10 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650753') end
[2025-03-10 16:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:31:03] Production.INFO: 1
[2025-03-10 16:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:31:03] Production.INFO: Account Balance Start.
[2025-03-10 16:31:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:31:03] Production.INFO: 117
[2025-03-10 16:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:31:03] Production.INFO: ==26706== Releasing lock...
[2025-03-10 16:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:31:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:31:03] Production.ERROR: done
[2025-03-10 16:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:31:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:31:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:31:03] Production.ERROR: done
[2025-03-10 16:31:04] Production.INFO: ==26698== Releasing lock...
[2025-03-10 16:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:31:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:31:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:31:04] Production.INFO: Total Charge 0
[2025-03-10 16:31:04] Production.INFO: CreateAllLog End
[2025-03-10 16:31:04] Production.INFO: Account Balance End.
[2025-03-10 16:31:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:31:04] Production.INFO: ==26702== Releasing lock...
[2025-03-10 16:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:31:05
[end_date_ymd] => 2025-03-10 16:31:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:31:05' and `end` < '2025-03-10 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-03-10 16:31:14] Production.ERROR: CronJobId end10
[2025-03-10 16:31:14] Production.INFO: ==26700== Releasing lock...
[2025-03-10 16:31:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:31:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:31:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:31:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:31:16] Production.INFO: call_cost start
[2025-03-10 16:31:16] Production.INFO: call_cost end
[2025-03-10 16:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:31:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:31:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:31:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:31:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:31:16] Production.INFO: ==26696== Releasing lock...
[2025-03-10 16:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:31:18] Production.INFO: count ==5662
[2025-03-10 16:31:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:31:05 - End Time 2025-03-10 16:31:05
[2025-03-10 16:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650757', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650757', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650757', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650757', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:31:20] Production.INFO: ProcessCDR(1,14650757,1,1,2)
[2025-03-10 16:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:31:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:31:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650757', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650757', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:31:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:31:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:31:26] Production.INFO: ==26704== Releasing lock...
[2025-03-10 16:31:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:31:26] Production.INFO: 70.5 MB #Memory Used#
[2025-03-10 20:32:02] Production.INFO: ==26774== Lock acquired, processing the job...
[2025-03-10 20:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:32:02] Production.INFO: neon service started
[2025-03-10 20:32:02] Production.INFO: neon service started
[2025-03-10 20:32:02] Production.INFO: ==26774== Releasing lock...
[2025-03-10 20:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:32:02] Production.INFO: ==26778== Lock acquired, processing the job...
[2025-03-10 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:32:02] Production.INFO: ==26778== Releasing lock...
[2025-03-10 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:32:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:32:02] Production.INFO: ==26776== Lock acquired, processing the job...
[2025-03-10 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:32:02] Production.INFO: ==26776== Releasing lock...
[2025-03-10 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:32:03] Production.INFO: ==26781== Lock acquired, processing the job...
[2025-03-10 16:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:32:03] Production.INFO: ==26783== Lock acquired, processing the job...
[2025-03-10 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:32:04] Production.INFO: ==26787== Lock acquired, processing the job...
[2025-03-10 16:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:32:04] Production.INFO: ==26785== Lock acquired, processing the job...
[2025-03-10 16:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:32:04] Production.INFO: ==26789== Lock acquired, processing the job...
[2025-03-10 16:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:32:04] Production.INFO: Account Balance Start.
[2025-03-10 16:32:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:32:04] Production.INFO: 117
[2025-03-10 16:32:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:32:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:32:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:32:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:32:04] Production.INFO: Total Charge 0
[2025-03-10 16:32:04] Production.INFO: ==26783== Releasing lock...
[2025-03-10 16:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:32:04] Production.INFO: CreateAllLog End
[2025-03-10 16:32:04] Production.INFO: ==26791== Lock acquired, processing the job...
[2025-03-10 16:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:32:04] Production.INFO: Account Balance End.
[2025-03-10 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-03-10 16:32:04] Production.INFO: count ==13
[2025-03-10 16:32:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:32:04] Production.INFO: ==26787== Releasing lock...
[2025-03-10 16:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 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-03-10 16:32:04] Production.INFO: count ==21
[2025-03-10 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650761') start
[2025-03-10 16:32:04] Production.ERROR: done
[2025-03-10 16:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:32:05] Production.ERROR: done
[2025-03-10 16:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650761') end
[2025-03-10 16:32:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:32:05] Production.INFO: 1
[2025-03-10 16:32:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:32:05] Production.INFO: ==26791== Releasing lock...
[2025-03-10 16:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:32:06
[end_date_ymd] => 2025-03-10 16:32:06
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:32:06' and `end` < '2025-03-10 16: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-03-10 16:32:13] Production.ERROR: CronJobId end10
[2025-03-10 16:32:13] Production.INFO: ==26785== Releasing lock...
[2025-03-10 16:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:32:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:32:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:32:14] Production.INFO: call_cost start
[2025-03-10 16:32:14] Production.INFO: call_cost end
[2025-03-10 16:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:32:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:32:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:32:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:32:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:32:15] Production.INFO: ==26781== Releasing lock...
[2025-03-10 16:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:32:19] Production.INFO: count ==5670
[2025-03-10 16:32:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:32:06 - End Time 2025-03-10 16:32:06
[2025-03-10 16:32:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650762', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650762', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650762', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650762', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:32:21] Production.INFO: ProcessCDR(1,14650762,1,1,2)
[2025-03-10 16:32:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:32:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:32:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:32:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650762', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650762', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:32:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:32:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:32:27] Production.INFO: ==26789== Releasing lock...
[2025-03-10 16:32:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:32:27] Production.INFO: 70.5 MB #Memory Used#
[2025-03-10 20:33:01] Production.INFO: ==26852== Lock acquired, processing the job...
[2025-03-10 20:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:33:01] Production.INFO: neon service started
[2025-03-10 20:33:01] Production.INFO: neon service started
[2025-03-10 20:33:01] Production.INFO: ==26852== Releasing lock...
[2025-03-10 20:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:33:02] Production.INFO: ==26854== Lock acquired, processing the job...
[2025-03-10 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:33:02] Production.INFO: ==26854== Releasing lock...
[2025-03-10 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:33:02] Production.INFO: ==26856== Lock acquired, processing the job...
[2025-03-10 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:33:02] Production.INFO: ==26856== Releasing lock...
[2025-03-10 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:33:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:33:03] Production.INFO: ==26859== Lock acquired, processing the job...
[2025-03-10 16:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:33:03] Production.INFO: ==26863== Lock acquired, processing the job...
[2025-03-10 16:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:33:03] Production.INFO: ==26867== Lock acquired, processing the job...
[2025-03-10 16:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:33:03] Production.INFO: ==26861== Lock acquired, processing the job...
[2025-03-10 16:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:33:03] Production.INFO: ==26865== Lock acquired, processing the job...
[2025-03-10 16:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:33:03] Production.INFO: ==26869== Lock acquired, processing the job...
[2025-03-10 16:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:33:03] Production.INFO: Account Balance Start.
[2025-03-10 16:33:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:33:03] Production.INFO: 117
[2025-03-10 16:33:03] Production.INFO: Date 2025-03-08
[2025-03-10 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-03-10 16:33:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:33:03] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:33:04] Production.INFO: count ==21
[2025-03-10 16:33:04] Production.ERROR: done
[2025-03-10 16:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650766') start
[2025-03-10 16:33:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:33:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:33:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:33:04] Production.INFO: Total Charge 0
[2025-03-10 16:33:04] Production.INFO: CreateAllLog End
[2025-03-10 16:33:04] Production.INFO: ==26861== Releasing lock...
[2025-03-10 16:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:33:04] Production.ERROR: done
[2025-03-10 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650766') end
[2025-03-10 16:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:33:04] Production.INFO: 1
[2025-03-10 16:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:33:04] Production.INFO: ==26869== Releasing lock...
[2025-03-10 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:33:04] Production.INFO: Account Balance End.
[2025-03-10 16:33:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:33:04] Production.INFO: ==26865== Releasing lock...
[2025-03-10 16:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:33:05
[end_date_ymd] => 2025-03-10 16:33:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:33:05' and `end` < '2025-03-10 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-03-10 16:33:13] Production.ERROR: CronJobId end10
[2025-03-10 16:33:13] Production.INFO: ==26863== Releasing lock...
[2025-03-10 16:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:33:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:33:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:33:16] Production.INFO: call_cost start
[2025-03-10 16:33:16] Production.INFO: call_cost end
[2025-03-10 16:33:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:33:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:33:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:33:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:33:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:33:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:33:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:33:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:33:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:33:17] Production.INFO: ==26859== Releasing lock...
[2025-03-10 16:33:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:33:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:33:19] Production.INFO: count ==5680
[2025-03-10 16:33:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:33:05 - End Time 2025-03-10 16:33:05
[2025-03-10 16:33:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650767', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650767', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650767', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650767', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:33:21] Production.INFO: ProcessCDR(1,14650767,1,1,2)
[2025-03-10 16:33:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:33:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:33:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:33:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650767', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650767', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:33:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:33:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:33:27] Production.INFO: ==26867== Releasing lock...
[2025-03-10 16:33:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:33:27] Production.INFO: 70.5 MB #Memory Used#
[2025-03-10 20:34:02] Production.INFO: ==26932== Lock acquired, processing the job...
[2025-03-10 20:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:34:02] Production.INFO: neon service started
[2025-03-10 20:34:02] Production.INFO: neon service started
[2025-03-10 20:34:02] Production.INFO: ==26932== Releasing lock...
[2025-03-10 20:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:34:02] Production.INFO: ==26936== Lock acquired, processing the job...
[2025-03-10 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:34:02] Production.INFO: ==26936== Releasing lock...
[2025-03-10 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:34:02] Production.INFO: ==26938== Lock acquired, processing the job...
[2025-03-10 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:34:03] Production.INFO: ==26938== Releasing lock...
[2025-03-10 20:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:34:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:34:03] Production.INFO: ==26948== Lock acquired, processing the job...
[2025-03-10 16:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:34:04] Production.INFO: ==26940== Lock acquired, processing the job...
[2025-03-10 16:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:34:04] Production.INFO: ==26950== Lock acquired, processing the job...
[2025-03-10 16:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:34:04] Production.INFO: ==26942== Lock acquired, processing the job...
[2025-03-10 16:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:34:04] Production.INFO: ==26944== Lock acquired, processing the job...
[2025-03-10 16:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:34:04] Production.INFO: ==26946== Lock acquired, processing the job...
[2025-03-10 16:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 16:34:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:34:04] Production.INFO: count ==21
[2025-03-10 16:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650769') start
[2025-03-10 16:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:34:04] Production.ERROR: done
[2025-03-10 16:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:34:04] Production.INFO: Account Balance Start.
[2025-03-10 16:34:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:34:04] Production.INFO: 117
[2025-03-10 16:34:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650769') end
[2025-03-10 16:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:34:04] Production.INFO: 1
[2025-03-10 16:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:34:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:34:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:34:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:34:04] Production.INFO: ==26942== Releasing lock...
[2025-03-10 16:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:34:04] Production.INFO: ==26950== Releasing lock...
[2025-03-10 16:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:34:04] Production.ERROR: done
[2025-03-10 16:34:04] Production.INFO: Total Charge 0
[2025-03-10 16:34:04] Production.INFO: CreateAllLog End
[2025-03-10 16:34:04] Production.INFO: Account Balance End.
[2025-03-10 16:34:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:34:04] Production.INFO: ==26946== Releasing lock...
[2025-03-10 16:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:34:05
[end_date_ymd] => 2025-03-10 16:34:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:34:05' and `end` < '2025-03-10 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-03-10 16:34:14] Production.ERROR: CronJobId end10
[2025-03-10 16:34:14] Production.INFO: ==26944== Releasing lock...
[2025-03-10 16:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:34:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:34:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:34:16] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:34:16] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:34:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:34:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:34:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:34:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:34:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:34:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:34:16] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:34:16] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:34:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:34:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:34:16] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:34:17] Production.INFO: call_cost start
[2025-03-10 16:34:17] Production.INFO: call_cost end
[2025-03-10 16:34:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:34:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:34:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:34:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:34:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:34:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:34:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:34:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:34:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:34:18] Production.INFO: ==26940== Releasing lock...
[2025-03-10 16:34:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:34:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:34:18] Production.INFO: count ==5679
[2025-03-10 16:34:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:34:05 - End Time 2025-03-10 16:34:05
[2025-03-10 16:34:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650772', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650772', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650772', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650772', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:34:21] Production.INFO: ProcessCDR(1,14650772,1,1,2)
[2025-03-10 16:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:34:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:34:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:34:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650772', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650772', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:34:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:34:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:34:26] Production.INFO: ==26948== Releasing lock...
[2025-03-10 16:34:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:34:26] Production.INFO: 70.5 MB #Memory Used#
[2025-03-10 20:35:01] Production.INFO: ==27012== Lock acquired, processing the job...
[2025-03-10 20:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:35:01] Production.INFO: neon service started
[2025-03-10 20:35:01] Production.INFO: neon service started
[2025-03-10 20:35:01] Production.INFO: ==27012== Releasing lock...
[2025-03-10 20:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:35:02] Production.INFO: ==27014== Lock acquired, processing the job...
[2025-03-10 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:35:02] Production.INFO: ==27016== Lock acquired, processing the job...
[2025-03-10 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:35:02] Production.INFO: ==27016== Releasing lock...
[2025-03-10 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:35:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:35:02] Production.INFO: ==27014== Releasing lock...
[2025-03-10 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:35:03] Production.INFO: ==27019== Lock acquired, processing the job...
[2025-03-10 16:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:35:03] Production.INFO: ==27021== Lock acquired, processing the job...
[2025-03-10 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:35:03] Production.INFO: ==27025== Lock acquired, processing the job...
[2025-03-10 16:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:35:03] Production.INFO: Account Balance Start.
[2025-03-10 16:35:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:35:03] Production.INFO: 117
[2025-03-10 16:35:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:35:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:35:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:35:04] Production.INFO: ==27021== Releasing lock...
[2025-03-10 16:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:35:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:35:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:35:04] Production.INFO: ==27023== Lock acquired, processing the job...
[2025-03-10 16:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:35:04] Production.INFO: ==27029== Lock acquired, processing the job...
[2025-03-10 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:35:04] Production.INFO: Total Charge 0
[2025-03-10 16:35:04] Production.INFO: CreateAllLog End
[2025-03-10 16:35:04] Production.INFO: ==27027== Lock acquired, processing the job...
[2025-03-10 16:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16: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-03-10 16:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:35:04] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:35:04] Production.INFO: count ==21
[2025-03-10 16:35:04] Production.INFO: Account Balance End.
[2025-03-10 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650776') start
[2025-03-10 16:35:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:35:04] Production.INFO: ==27025== Releasing lock...
[2025-03-10 16:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650776') end
[2025-03-10 16:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:35:04] Production.INFO: 1
[2025-03-10 16:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:35:04] Production.ERROR: done
[2025-03-10 16:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:35:04] Production.INFO: ==27029== Releasing lock...
[2025-03-10 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:35:04] Production.ERROR: done
[2025-03-10 16:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:35:05
[end_date_ymd] => 2025-03-10 16:35:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:35:05' and `end` < '2025-03-10 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-03-10 16:35:14] Production.ERROR: CronJobId end10
[2025-03-10 16:35:14] Production.INFO: ==27023== Releasing lock...
[2025-03-10 16:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:35:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:35:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:35:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:35:15] Production.INFO: call_cost start
[2025-03-10 16:35:15] Production.INFO: call_cost end
[2025-03-10 16:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:35:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:35:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:35:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:35:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:35:16] Production.INFO: ==27019== Releasing lock...
[2025-03-10 16:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:35:19] Production.INFO: count ==5680
[2025-03-10 16:35:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:35:05 - End Time 2025-03-10 16:35:05
[2025-03-10 16:35:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650777', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650777', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650777', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650777', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:35:21] Production.INFO: ProcessCDR(1,14650777,1,1,2)
[2025-03-10 16:35:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:35:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:35:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:35:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650777', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650777', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:35:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:35:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:35:26] Production.INFO: ==27027== Releasing lock...
[2025-03-10 16:35:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:35:26] Production.INFO: 70.5 MB #Memory Used#
[2025-03-10 20:36:02] Production.INFO: ==27098== Lock acquired, processing the job...
[2025-03-10 20:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:36:02] Production.INFO: neon service started
[2025-03-10 20:36:02] Production.INFO: neon service started
[2025-03-10 20:36:02] Production.INFO: ==27098== Releasing lock...
[2025-03-10 20:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:36:02] Production.INFO: ==27102== Lock acquired, processing the job...
[2025-03-10 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:36:02] Production.INFO: ==27102== Releasing lock...
[2025-03-10 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:36:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:36:02] Production.INFO: ==27100== Lock acquired, processing the job...
[2025-03-10 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:36:03] Production.INFO: ==27100== Releasing lock...
[2025-03-10 16:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:36:03] Production.INFO: ==27104== Lock acquired, processing the job...
[2025-03-10 16:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:36:03] Production.INFO: ==27108== Lock acquired, processing the job...
[2025-03-10 16:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:36:04] Production.INFO: ==27113== Lock acquired, processing the job...
[2025-03-10 16:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:36:04] Production.INFO: ==27106== Lock acquired, processing the job...
[2025-03-10 16:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:36:04] Production.INFO: ==27111== Lock acquired, processing the job...
[2025-03-10 16:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:36:04] Production.ERROR: done
[2025-03-10 16:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:36:04] Production.INFO: ==27115== Lock acquired, processing the job...
[2025-03-10 16:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:36:04] Production.INFO: Account Balance Start.
[2025-03-10 16:36:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:36:04] Production.INFO: 117
[2025-03-10 16:36:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:36:04] Production.ERROR: done
[2025-03-10 16:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:36:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 16:36:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:36:04] Production.INFO: count ==21
[2025-03-10 16:36:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:36:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650781') start
[2025-03-10 16:36:04] Production.INFO: ==27106== Releasing lock...
[2025-03-10 16:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:36:04] Production.INFO: Total Charge 0
[2025-03-10 16:36:04] Production.INFO: CreateAllLog End
[2025-03-10 16:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650781') end
[2025-03-10 16:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:36:04] Production.INFO: 1
[2025-03-10 16:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:36:04] Production.INFO: ==27115== Releasing lock...
[2025-03-10 16:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:36:04] Production.INFO: Account Balance End.
[2025-03-10 16:36:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:36:04] Production.INFO: ==27111== Releasing lock...
[2025-03-10 16:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:36:05
[end_date_ymd] => 2025-03-10 16:36:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:36:05' and `end` < '2025-03-10 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-03-10 16:36:14] Production.ERROR: CronJobId end10
[2025-03-10 16:36:14] Production.INFO: ==27108== Releasing lock...
[2025-03-10 16:36:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:36:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:36:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:36:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:36:15] Production.INFO: call_cost start
[2025-03-10 16:36:15] Production.INFO: call_cost end
[2025-03-10 16:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:36:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:36:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:36:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:36:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:36:16] Production.INFO: ==27104== Releasing lock...
[2025-03-10 16:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:36:18] Production.INFO: count ==5675
[2025-03-10 16:36:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:36:05 - End Time 2025-03-10 16:36:05
[2025-03-10 16:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650782', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650782', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650782', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650782', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:36:20] Production.INFO: ProcessCDR(1,14650782,1,1,2)
[2025-03-10 16:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:36:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:36:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:36:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:36:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650782', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:36:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650782', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:36:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:36:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:36:25] Production.INFO: ==27113== Releasing lock...
[2025-03-10 16:36:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:36:25] Production.INFO: 70.5 MB #Memory Used#
[2025-03-10 20:37:01] Production.INFO: ==27216== Lock acquired, processing the job...
[2025-03-10 20:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:37:01] Production.INFO: neon service started
[2025-03-10 20:37:01] Production.INFO: neon service started
[2025-03-10 20:37:01] Production.INFO: ==27216== Releasing lock...
[2025-03-10 20:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:37:02] Production.INFO: ==27218== Lock acquired, processing the job...
[2025-03-10 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:37:02] Production.INFO: ==27220== Lock acquired, processing the job...
[2025-03-10 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:37:02] Production.INFO: ==27220== Releasing lock...
[2025-03-10 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:37:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:37:02] Production.INFO: ==27218== Releasing lock...
[2025-03-10 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:37:03] Production.INFO: ==27231== Lock acquired, processing the job...
[2025-03-10 16:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:37:03] Production.INFO: ==27233== Lock acquired, processing the job...
[2025-03-10 16:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:37:03] Production.INFO: ==27223== Lock acquired, processing the job...
[2025-03-10 16:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:37:03] Production.INFO: ==27225== Lock acquired, processing the job...
[2025-03-10 16:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:37:03] Production.INFO: ==27227== Lock acquired, processing the job...
[2025-03-10 16:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:37:03] Production.INFO: ==27229== Lock acquired, processing the job...
[2025-03-10 16:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:37:03] Production.INFO: Account Balance Start.
[2025-03-10 16:37:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:37:03] Production.INFO: 117
[2025-03-10 16:37:03] Production.INFO: Date 2025-03-08
[2025-03-10 16: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-03-10 16:37:03] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:37:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:37:03] Production.INFO: count ==21
[2025-03-10 16:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650783') start
[2025-03-10 16:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:37:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:37:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:37:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:37:04] Production.ERROR: done
[2025-03-10 16:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650783') end
[2025-03-10 16:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:37:04] Production.INFO: 1
[2025-03-10 16:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:37:04] Production.INFO: Total Charge 0
[2025-03-10 16:37:04] Production.INFO: CreateAllLog End
[2025-03-10 16:37:04] Production.INFO: ==27225== Releasing lock...
[2025-03-10 16:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:37:04] Production.INFO: ==27233== Releasing lock...
[2025-03-10 16:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:37:04] Production.ERROR: done
[2025-03-10 16:37:04] Production.INFO: Account Balance End.
[2025-03-10 16:37:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:37:04] Production.INFO: ==27229== Releasing lock...
[2025-03-10 16:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:37:05
[end_date_ymd] => 2025-03-10 16:37:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:37:05' and `end` < '2025-03-10 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-03-10 16:37:13] Production.ERROR: CronJobId end10
[2025-03-10 16:37:13] Production.INFO: ==27227== Releasing lock...
[2025-03-10 16:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:37:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:37:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:37:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:37:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:37:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:37:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:37:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:37:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:37:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:37:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:37:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:37:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:37:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:37:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:37:15] Production.INFO: call_cost start
[2025-03-10 16:37:15] Production.INFO: call_cost end
[2025-03-10 16:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:37:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:37:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:37:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:37:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:37:16] Production.INFO: ==27223== Releasing lock...
[2025-03-10 16:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:37:18] Production.INFO: count ==5671
[2025-03-10 16:37:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:37:05 - End Time 2025-03-10 16:37:05
[2025-03-10 16:37:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650787', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650787', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650787', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650787', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:37:21] Production.INFO: ProcessCDR(1,14650787,1,1,2)
[2025-03-10 16:37:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:37:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:37:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:37:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650787', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650787', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:37:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:37:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:37:26] Production.INFO: ==27231== Releasing lock...
[2025-03-10 16:37:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:37:26] Production.INFO: 70.5 MB #Memory Used#
[2025-03-10 20:38:02] Production.INFO: ==27323== Lock acquired, processing the job...
[2025-03-10 20:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:38:02] Production.INFO: neon service started
[2025-03-10 20:38:02] Production.INFO: neon service started
[2025-03-10 20:38:02] Production.INFO: ==27323== Releasing lock...
[2025-03-10 20:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:38:02] Production.INFO: ==27327== Lock acquired, processing the job...
[2025-03-10 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 16:38:03] Production.INFO: ==27325== Lock acquired, processing the job...
[2025-03-10 16:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:38:03] Production.INFO: ==27327== Releasing lock...
[2025-03-10 20:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:38:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:38:03] Production.INFO: ==27325== Releasing lock...
[2025-03-10 16:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:38:04] Production.INFO: ==27339== Lock acquired, processing the job...
[2025-03-10 16:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:38:04] Production.INFO: ==27341== Lock acquired, processing the job...
[2025-03-10 16:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:38:04] Production.INFO: ==27331== Lock acquired, processing the job...
[2025-03-10 16:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 16:38:04] Production.INFO: ==27333== Lock acquired, processing the job...
[2025-03-10 16:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:38:04] Production.INFO: count ==13
[2025-03-10 16:38:04] Production.INFO: ==27335== Lock acquired, processing the job...
[2025-03-10 16:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 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-03-10 16:38:04] Production.INFO: count ==21
[2025-03-10 16:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650788') start
[2025-03-10 16:38:04] Production.INFO: ==27337== Lock acquired, processing the job...
[2025-03-10 16:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:38:04] Production.ERROR: done
[2025-03-10 16:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:38:04] Production.INFO: Account Balance Start.
[2025-03-10 16:38:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:38:04] Production.INFO: 117
[2025-03-10 16:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650788') end
[2025-03-10 16:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:38:04] Production.INFO: 1
[2025-03-10 16:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:38:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:38:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:38:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:38:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:38:04] Production.INFO: ==27341== Releasing lock...
[2025-03-10 16:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:38:05] Production.ERROR: done
[2025-03-10 16:38:05] Production.INFO: Total Charge 0
[2025-03-10 16:38:05] Production.INFO: CreateAllLog End
[2025-03-10 16:38:05] Production.INFO: ==27333== Releasing lock...
[2025-03-10 16:38:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:38:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:38:05] Production.INFO: Account Balance End.
[2025-03-10 16:38:05] Production.ERROR: CronJobId end 12
[2025-03-10 16:38:05] Production.INFO: ==27337== Releasing lock...
[2025-03-10 16:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:38:06
[end_date_ymd] => 2025-03-10 16:38:06
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:38:06' and `end` < '2025-03-10 16: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-03-10 16:38:13] Production.ERROR: CronJobId end10
[2025-03-10 16:38:13] Production.INFO: ==27335== Releasing lock...
[2025-03-10 16:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:38:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:38:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:38:16] Production.INFO: call_cost start
[2025-03-10 16:38:16] Production.INFO: call_cost end
[2025-03-10 16:38:17] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:38:17] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:38:17] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:38:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:38:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:38:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:38:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:38:17] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:38:17] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:38:17] Production.INFO: ==27331== Releasing lock...
[2025-03-10 16:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:38:17] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:38:19] Production.INFO: count ==5674
[2025-03-10 16:38:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:38:06 - End Time 2025-03-10 16:38:06
[2025-03-10 16:38:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650792', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650792', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650792', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650792', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:38:21] Production.INFO: ProcessCDR(1,14650792,1,1,2)
[2025-03-10 16:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650792', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650792', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:38:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:38:26] Production.INFO: ==27339== Releasing lock...
[2025-03-10 16:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:38:26] Production.INFO: 70.5 MB #Memory Used#
[2025-03-10 20:39:01] Production.INFO: ==27408== Lock acquired, processing the job...
[2025-03-10 20:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:39:01] Production.INFO: neon service started
[2025-03-10 20:39:01] Production.INFO: neon service started
[2025-03-10 20:39:01] Production.INFO: ==27408== Releasing lock...
[2025-03-10 20:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:39:02] Production.INFO: ==27410== Lock acquired, processing the job...
[2025-03-10 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:39:02] Production.INFO: ==27410== Releasing lock...
[2025-03-10 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:39:02] Production.INFO: ==27412== Lock acquired, processing the job...
[2025-03-10 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:39:02] Production.INFO: ==27412== Releasing lock...
[2025-03-10 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:39:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:39:03] Production.INFO: ==27424== Lock acquired, processing the job...
[2025-03-10 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:39:03] Production.INFO: ==27422== Lock acquired, processing the job...
[2025-03-10 16:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16: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-03-10 16:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:39:03] Production.INFO: count ==13
[2025-03-10 16:39:03] Production.INFO: ==27414== Lock acquired, processing the job...
[2025-03-10 16:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16: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-03-10 16:39:03] Production.INFO: count ==21
[2025-03-10 16:39:03] Production.INFO: ==27416== Lock acquired, processing the job...
[2025-03-10 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:39:03] Production.INFO: ==27418== Lock acquired, processing the job...
[2025-03-10 16:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650793') start
[2025-03-10 16:39:03] Production.INFO: ==27420== Lock acquired, processing the job...
[2025-03-10 16:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650793') end
[2025-03-10 16:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:39:03] Production.INFO: 1
[2025-03-10 16:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:39:03] Production.INFO: Account Balance Start.
[2025-03-10 16:39:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:39:03] Production.INFO: 117
[2025-03-10 16:39:03] Production.INFO: ==27424== Releasing lock...
[2025-03-10 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:39:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:39:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:39:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:39:04] Production.ERROR: done
[2025-03-10 16:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:39:04] Production.INFO: ==27416== Releasing lock...
[2025-03-10 16:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:39:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:39:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:39:04] Production.INFO: Total Charge 0
[2025-03-10 16:39:04] Production.INFO: CreateAllLog End
[2025-03-10 16:39:04] Production.ERROR: done
[2025-03-10 16:39:04] Production.INFO: Account Balance End.
[2025-03-10 16:39:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:39:04] Production.INFO: ==27420== Releasing lock...
[2025-03-10 16:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:39:05
[end_date_ymd] => 2025-03-10 16:39:05
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:39:05' and `end` < '2025-03-10 16: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-03-10 16:39:13] Production.ERROR: CronJobId end10
[2025-03-10 16:39:13] Production.INFO: ==27418== Releasing lock...
[2025-03-10 16:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:39:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:39:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:39:14] Production.INFO: call_cost start
[2025-03-10 16:39:14] Production.INFO: call_cost end
[2025-03-10 16:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:39:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:39:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:39:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:39:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:39:15] Production.INFO: ==27414== Releasing lock...
[2025-03-10 16:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:39:18] Production.INFO: count ==5672
[2025-03-10 16:39:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:39:05 - End Time 2025-03-10 16:39:05
[2025-03-10 16:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650797', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650797', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650797', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650797', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:39:21] Production.INFO: ProcessCDR(1,14650797,1,1,2)
[2025-03-10 16:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:39:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650797', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650797', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:39:26] Production.INFO: ==27422== Releasing lock...
[2025-03-10 16:39:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:39:26] Production.INFO: 70.5 MB #Memory Used#
[2025-03-10 20:40:02] Production.INFO: ==27488== Lock acquired, processing the job...
[2025-03-10 20:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:40:02] Production.INFO: neon service started
[2025-03-10 20:40:02] Production.INFO: neon service started
[2025-03-10 20:40:02] Production.INFO: ==27488== Releasing lock...
[2025-03-10 20:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:40:03] Production.INFO: ==27490== Lock acquired, processing the job...
[2025-03-10 16:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:40:03] Production.INFO: ==27492== Lock acquired, processing the job...
[2025-03-10 20:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:40:03] Production.INFO: ==27492== Releasing lock...
[2025-03-10 20:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:40:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:40:03] Production.INFO: ==27490== Releasing lock...
[2025-03-10 16:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:40:04] Production.INFO: ==27499== Lock acquired, processing the job...
[2025-03-10 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:40:04] Production.INFO: ==27495== Lock acquired, processing the job...
[2025-03-10 16:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 16:40:04] Production.INFO: ==27505== Lock acquired, processing the job...
[2025-03-10 16:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:40:04] Production.INFO: ==27497== Lock acquired, processing the job...
[2025-03-10 16:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:40:04] Production.INFO: ==27509== Lock acquired, processing the job...
[2025-03-10 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:40:04] Production.ERROR: CronJob PID - 27497
[2025-03-10 16:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 16:40:04] Production.ERROR: CronJob ID - 5
[2025-03-10 16:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:40:00
[2025-03-10 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:40:04] Production.ERROR: CronJob PID - 27499
[2025-03-10 16:40:04] Production.ERROR: CronJob Title - Account Block
[2025-03-10 16:40:04] Production.ERROR: CronJob ID - 7
[2025-03-10 16:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:40:00
[2025-03-10 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:40:04] Production.ERROR: CronJob PID - 27505
[2025-03-10 16:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-03-10 16:40:04] Production.ERROR: CronJob ID - 16
[2025-03-10 16:40:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:40:00
[2025-03-10 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:40:04] Production.INFO: ==27501== Lock acquired, processing the job...
[2025-03-10 16:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:40:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:40:05] Production.INFO: ==27503== Lock acquired, processing the job...
[2025-03-10 16:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:40:05] Production.INFO: ==27507== Lock acquired, processing the job...
[2025-03-10 16:40:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 16:40:05] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 16:40:05] Production.INFO: ==27495== Releasing lock...
[2025-03-10 16:40:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 16:40:05] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 16:40:05] Production.INFO: ==27499== Releasing lock...
[2025-03-10 16:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:40:05] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:40:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:40:05] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16: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-03-10 16:40:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:40:05] Production.INFO: Account Balance Start.
[2025-03-10 16:40:05] Production.INFO: CreateAllLog Start
[2025-03-10 16:40:05] Production.INFO: count ==13
[2025-03-10 16:40:05] Production.INFO: 117
[2025-03-10 16: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-03-10 16:40:05] Production.INFO: count ==21
[2025-03-10 16:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650800') start
[2025-03-10 16:40:05] Production.INFO: Date 2025-03-08
[2025-03-10 16:40:05] Production.ERROR: done
[2025-03-10 16:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 16:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650800') end
[2025-03-10 16:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:40:05] Production.INFO: 1
[2025-03-10 16:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:40:05] Production.INFO: ==27509== Releasing lock...
[2025-03-10 16:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:40:05] Production.ERROR: done
[2025-03-10 16:40:05] Production.INFO: Date 2025-03-09
[2025-03-10 16:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 16:40:05] Production.INFO: Date 2025-03-10
[2025-03-10 16:40:05] Production.INFO: Reseller ==> 0
[2025-03-10 16:40:05] Production.INFO: Total Charge 0
[2025-03-10 16:40:05] Production.INFO: CreateAllLog End
[2025-03-10 16:40:05] Production.ERROR: done
[2025-03-10 16:40:05] Production.INFO: Account Balance End.
[2025-03-10 16:40:05] Production.ERROR: CronJobId end 12
[2025-03-10 16:40:05] Production.INFO: ==27503== Releasing lock...
[2025-03-10 16:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 16:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650803', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 16:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:40:06
[end_date_ymd] => 2025-03-10 16:40:06
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:40:06' and `end` < '2025-03-10 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-03-10 16:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650803', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 16:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 16:40:10] Production.INFO: ProcessCDR(1,14650803,1,1,2)
[2025-03-10 16:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650803,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:40:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650803,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:40:11] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:40:11] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:40:11] Production.INFO: ==27507== Releasing lock...
[2025-03-10 16:40:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 16:40:11] Production.INFO: 26 MB #Memory Used#
[2025-03-10 16:40:17] Production.ERROR: CronJobId end10
[2025-03-10 16:40:17] Production.INFO: ==27501== Releasing lock...
[2025-03-10 16:40:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:40:17] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:40:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:40:18] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:40:18] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:40:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:40:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:40:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:40:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:40:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:40:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:40:18] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:40:18] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:40:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:40:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:40:18] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:40:19] Production.INFO: call_cost start
[2025-03-10 16:40:19] Production.INFO: call_cost end
[2025-03-10 16:40:20] Production.INFO: count ==5700
[2025-03-10 16:40:20] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:40:20] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:40:20] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:40:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:40:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:40:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:40:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:40:20] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:40:20] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:40:20] Production.INFO: ==27497== Releasing lock...
[2025-03-10 16:40:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:40:20] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:40:22] Production.ERROR: pbx CDR StartTime 2025-03-10 13:40:06 - End Time 2025-03-10 16:40:06
[2025-03-10 16:40:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650802', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650802', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650802', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650802', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:40:22] Production.INFO: ProcessCDR(1,14650802,1,1,2)
[2025-03-10 16:40:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:40:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:40:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:40:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650802', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650802', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:40:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:40:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:40:27] Production.INFO: ==27505== Releasing lock...
[2025-03-10 16:40:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:40:27] Production.INFO: 70.75 MB #Memory Used#
[2025-03-10 20:41:01] Production.INFO: ==27570== Lock acquired, processing the job...
[2025-03-10 20:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:41:01] Production.INFO: neon service started
[2025-03-10 20:41:01] Production.INFO: neon service started
[2025-03-10 20:41:01] Production.INFO: ==27570== Releasing lock...
[2025-03-10 20:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:41:02] Production.INFO: ==27574== Lock acquired, processing the job...
[2025-03-10 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:41:02] Production.INFO: ==27574== Releasing lock...
[2025-03-10 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:41:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:41:02] Production.INFO: ==27572== Lock acquired, processing the job...
[2025-03-10 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:41:02] Production.INFO: ==27572== Releasing lock...
[2025-03-10 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:41:03] Production.INFO: ==27577== Lock acquired, processing the job...
[2025-03-10 16:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:41:03] Production.INFO: ==27579== Lock acquired, processing the job...
[2025-03-10 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:41:03] Production.INFO: ==27581== Lock acquired, processing the job...
[2025-03-10 16:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:41:03] Production.INFO: ==27583== Lock acquired, processing the job...
[2025-03-10 16:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:41:03] Production.INFO: ==27579== Releasing lock...
[2025-03-10 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:41:03] Production.INFO: ==27585== Lock acquired, processing the job...
[2025-03-10 16:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:41:03] Production.INFO: Account Balance Start.
[2025-03-10 16:41:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:41:03] Production.INFO: 117
[2025-03-10 16:41:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:41:03] Production.INFO: ==27587== Lock acquired, processing the job...
[2025-03-10 16:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:41:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:41:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:41:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:41:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:41:04] Production.INFO: Total Charge 0
[2025-03-10 16:41:04] Production.INFO: CreateAllLog End
[2025-03-10 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-03-10 16:41:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:41:04] Production.INFO: count ==21
[2025-03-10 16:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650807') start
[2025-03-10 16:41:04] Production.INFO: Account Balance End.
[2025-03-10 16:41:04] Production.ERROR: done
[2025-03-10 16:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:41:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:41:04] Production.INFO: ==27583== Releasing lock...
[2025-03-10 16:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650807') end
[2025-03-10 16:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:41:04] Production.INFO: 1
[2025-03-10 16:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:41:04] Production.INFO: ==27587== Releasing lock...
[2025-03-10 16:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:41:04] Production.ERROR: done
[2025-03-10 16:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:41:05
[end_date_ymd] => 2025-03-10 16:41:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:41:05' and `end` < '2025-03-10 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-03-10 16:41:13] Production.ERROR: CronJobId end10
[2025-03-10 16:41:13] Production.INFO: ==27581== Releasing lock...
[2025-03-10 16:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:41:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:41:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:41:15] Production.INFO: call_cost start
[2025-03-10 16:41:15] Production.INFO: call_cost end
[2025-03-10 16:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:41:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:41:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:41:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:41:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:41:16] Production.INFO: ==27577== Releasing lock...
[2025-03-10 16:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:41:18] Production.INFO: count ==5716
[2025-03-10 16:41:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:41:05 - End Time 2025-03-10 16:41:05
[2025-03-10 16:41:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650808', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650808', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650808', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650808', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:41:21] Production.INFO: ProcessCDR(1,14650808,1,1,2)
[2025-03-10 16:41:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:41:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:41:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:41:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650808', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650808', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:41:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:41:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:41:26] Production.INFO: ==27585== Releasing lock...
[2025-03-10 16:41:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:41:26] Production.INFO: 70.75 MB #Memory Used#
[2025-03-10 20:42:02] Production.INFO: ==27650== Lock acquired, processing the job...
[2025-03-10 20:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:42:02] Production.INFO: neon service started
[2025-03-10 20:42:02] Production.INFO: neon service started
[2025-03-10 20:42:02] Production.INFO: ==27650== Releasing lock...
[2025-03-10 20:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:42:02] Production.INFO: ==27652== Lock acquired, processing the job...
[2025-03-10 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:42:02] Production.INFO: ==27652== Releasing lock...
[2025-03-10 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:42:03] Production.INFO: ==27654== Lock acquired, processing the job...
[2025-03-10 20:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:42:03] Production.INFO: ==27654== Releasing lock...
[2025-03-10 20:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:42:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:42:03] Production.INFO: ==27657== Lock acquired, processing the job...
[2025-03-10 16:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:42:04] Production.INFO: ==27667== Lock acquired, processing the job...
[2025-03-10 16:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16: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-03-10 16:42:04] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:42:04] Production.INFO: count ==21
[2025-03-10 16:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650810') start
[2025-03-10 16:42:04] Production.INFO: ==27659== Lock acquired, processing the job...
[2025-03-10 16:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:42:04] Production.INFO: ==27661== Lock acquired, processing the job...
[2025-03-10 16:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650810') end
[2025-03-10 16:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:42:04] Production.INFO: 1
[2025-03-10 16:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:42:04] Production.INFO: ==27667== Releasing lock...
[2025-03-10 16:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:42:04] Production.INFO: ==27663== Lock acquired, processing the job...
[2025-03-10 16:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:42:04] Production.INFO: ==27665== Lock acquired, processing the job...
[2025-03-10 16:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:42:04] Production.INFO: Account Balance Start.
[2025-03-10 16:42:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:42:04] Production.INFO: 117
[2025-03-10 16:42:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:42:04] Production.INFO: ==27659== Releasing lock...
[2025-03-10 16:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:42:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:42:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:42:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:42:04] Production.INFO: Total Charge 0
[2025-03-10 16:42:04] Production.INFO: CreateAllLog End
[2025-03-10 16:42:04] Production.INFO: Account Balance End.
[2025-03-10 16:42:04] Production.ERROR: done
[2025-03-10 16:42:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:42:04] Production.INFO: ==27663== Releasing lock...
[2025-03-10 16:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:42:05] Production.ERROR: done
[2025-03-10 16:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:42:06
[end_date_ymd] => 2025-03-10 16:42:06
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:42:06' and `end` < '2025-03-10 16: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-03-10 16:42:13] Production.ERROR: CronJobId end10
[2025-03-10 16:42:13] Production.INFO: ==27661== Releasing lock...
[2025-03-10 16:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:42:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:42:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:42:15] Production.INFO: call_cost start
[2025-03-10 16:42:15] Production.INFO: call_cost end
[2025-03-10 16:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:42:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:42:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:42:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:42:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:42:16] Production.INFO: ==27657== Releasing lock...
[2025-03-10 16:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:42:19] Production.INFO: count ==5744
[2025-03-10 16:42:22] Production.ERROR: pbx CDR StartTime 2025-03-10 13:42:06 - End Time 2025-03-10 16:42:06
[2025-03-10 16:42:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650813', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650813', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650813', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650813', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:42:22] Production.INFO: ProcessCDR(1,14650813,1,1,2)
[2025-03-10 16:42:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:42:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:42:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:42:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650813', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650813', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:42:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:42:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:42:27] Production.INFO: ==27665== Releasing lock...
[2025-03-10 16:42:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:42:27] Production.INFO: 71 MB #Memory Used#
[2025-03-10 20:43:01] Production.INFO: ==27725== Lock acquired, processing the job...
[2025-03-10 20:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:43:01] Production.INFO: neon service started
[2025-03-10 20:43:01] Production.INFO: neon service started
[2025-03-10 20:43:01] Production.INFO: ==27725== Releasing lock...
[2025-03-10 20:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:43:02] Production.INFO: ==27727== Lock acquired, processing the job...
[2025-03-10 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:43:02] Production.INFO: ==27727== Releasing lock...
[2025-03-10 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:43:02] Production.INFO: ==27729== Lock acquired, processing the job...
[2025-03-10 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:43:02] Production.INFO: ==27729== Releasing lock...
[2025-03-10 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:43:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:43:03] Production.INFO: ==27736== Lock acquired, processing the job...
[2025-03-10 16:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:43:03] Production.INFO: ==27742== Lock acquired, processing the job...
[2025-03-10 16:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 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-03-10 16:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:43:03] Production.INFO: ==27732== Lock acquired, processing the job...
[2025-03-10 16:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:43:03] Production.INFO: count ==13
[2025-03-10 16:43:03] Production.INFO: ==27734== Lock acquired, processing the job...
[2025-03-10 16:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:43:03] Production.INFO: ==27740== Lock acquired, processing the job...
[2025-03-10 16:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16: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-03-10 16:43:03] Production.INFO: count ==21
[2025-03-10 16:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650814') start
[2025-03-10 16:43:03] Production.INFO: ==27738== Lock acquired, processing the job...
[2025-03-10 16:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650814') end
[2025-03-10 16:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:43:03] Production.INFO: 1
[2025-03-10 16:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:43:03] Production.INFO: ==27742== Releasing lock...
[2025-03-10 16:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:43:04] Production.INFO: Account Balance Start.
[2025-03-10 16:43:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:43:04] Production.INFO: 117
[2025-03-10 16:43:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:43:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:43:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:43:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:43:04] Production.INFO: Total Charge 0
[2025-03-10 16:43:04] Production.INFO: CreateAllLog End
[2025-03-10 16:43:04] Production.INFO: ==27734== Releasing lock...
[2025-03-10 16:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:43:04] Production.ERROR: done
[2025-03-10 16:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:43:04] Production.ERROR: done
[2025-03-10 16:43:04] Production.INFO: Account Balance End.
[2025-03-10 16:43:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:43:04] Production.INFO: ==27738== Releasing lock...
[2025-03-10 16:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:43:05
[end_date_ymd] => 2025-03-10 16:43:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:43:05' and `end` < '2025-03-10 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-03-10 16:43:14] Production.ERROR: CronJobId end10
[2025-03-10 16:43:14] Production.INFO: ==27736== Releasing lock...
[2025-03-10 16:43:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:43:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:43:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:43:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:43:15] Production.INFO: call_cost start
[2025-03-10 16:43:15] Production.INFO: call_cost end
[2025-03-10 16:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:43:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:43:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:43:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:43:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:43:16] Production.INFO: ==27732== Releasing lock...
[2025-03-10 16:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:43:18] Production.INFO: count ==5752
[2025-03-10 16:43:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:43:05 - End Time 2025-03-10 16:43:05
[2025-03-10 16:43:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650818', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650818', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650818', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650818', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:43:21] Production.INFO: ProcessCDR(1,14650818,1,1,2)
[2025-03-10 16:43:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:43:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:43:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:43:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650818', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650818', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:43:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:43:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:43:26] Production.INFO: ==27740== Releasing lock...
[2025-03-10 16:43:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:43:26] Production.INFO: 71 MB #Memory Used#
[2025-03-10 20:44:02] Production.INFO: ==27810== Lock acquired, processing the job...
[2025-03-10 20:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:44:02] Production.INFO: neon service started
[2025-03-10 20:44:02] Production.INFO: neon service started
[2025-03-10 20:44:02] Production.INFO: ==27810== Releasing lock...
[2025-03-10 20:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:44:02] Production.INFO: ==27812== Lock acquired, processing the job...
[2025-03-10 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:44:02] Production.INFO: ==27812== Releasing lock...
[2025-03-10 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:44:03] Production.INFO: ==27814== Lock acquired, processing the job...
[2025-03-10 20:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:44:03] Production.INFO: ==27814== Releasing lock...
[2025-03-10 20:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:44:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:44:03] Production.INFO: ==27817== Lock acquired, processing the job...
[2025-03-10 16:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:44:03] Production.INFO: ==27827== Lock acquired, processing the job...
[2025-03-10 16:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:44:04] Production.INFO: ==27819== Lock acquired, processing the job...
[2025-03-10 16:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:44:04] Production.INFO: ==27821== Lock acquired, processing the job...
[2025-03-10 16:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:44:04] Production.INFO: ==27823== Lock acquired, processing the job...
[2025-03-10 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16: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-03-10 16:44:04] Production.INFO: ==27825== Lock acquired, processing the job...
[2025-03-10 16:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:44:04] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:44:04] Production.INFO: count ==21
[2025-03-10 16:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650820') start
[2025-03-10 16:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:44:04] Production.INFO: Account Balance Start.
[2025-03-10 16:44:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:44:04] Production.INFO: 117
[2025-03-10 16:44:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650820') end
[2025-03-10 16:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:44:04] Production.INFO: 1
[2025-03-10 16:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:44:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:44:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:44:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:44:04] Production.INFO: Total Charge 0
[2025-03-10 16:44:04] Production.INFO: CreateAllLog End
[2025-03-10 16:44:04] Production.INFO: ==27827== Releasing lock...
[2025-03-10 16:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:44:04] Production.INFO: ==27819== Releasing lock...
[2025-03-10 16:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:44:04] Production.ERROR: done
[2025-03-10 16:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:44:04] Production.INFO: Account Balance End.
[2025-03-10 16:44:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:44:04] Production.INFO: ==27823== Releasing lock...
[2025-03-10 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:44:04] Production.ERROR: done
[2025-03-10 16:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:44:05
[end_date_ymd] => 2025-03-10 16:44:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:44:05' and `end` < '2025-03-10 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-03-10 16:44:13] Production.ERROR: CronJobId end10
[2025-03-10 16:44:13] Production.INFO: ==27821== Releasing lock...
[2025-03-10 16:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:44:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:44:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:44:15] Production.INFO: call_cost start
[2025-03-10 16:44:15] Production.INFO: call_cost end
[2025-03-10 16:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:44:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:44:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:44:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:44:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:44:15] Production.INFO: ==27817== Releasing lock...
[2025-03-10 16:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:44:19] Production.INFO: count ==5761
[2025-03-10 16:44:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:44:05 - End Time 2025-03-10 16:44:05
[2025-03-10 16:44:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650823', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650823', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650823', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650823', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:44:21] Production.INFO: ProcessCDR(1,14650823,1,1,2)
[2025-03-10 16:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650823', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650823', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:44:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:44:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:44:26] Production.INFO: ==27825== Releasing lock...
[2025-03-10 16:44:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:44:26] Production.INFO: 71.25 MB #Memory Used#
[2025-03-10 20:45:01] Production.INFO: ==27892== Lock acquired, processing the job...
[2025-03-10 20:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:45:01] Production.INFO: neon service started
[2025-03-10 20:45:01] Production.INFO: neon service started
[2025-03-10 20:45:01] Production.INFO: ==27892== Releasing lock...
[2025-03-10 20:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:45:02] Production.INFO: ==27894== Lock acquired, processing the job...
[2025-03-10 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:45:02] Production.INFO: ==27894== Releasing lock...
[2025-03-10 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:45:02] Production.INFO: ==27896== Lock acquired, processing the job...
[2025-03-10 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:45:02] Production.INFO: ==27896== Releasing lock...
[2025-03-10 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:45:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:45:03] Production.INFO: ==27902== Lock acquired, processing the job...
[2025-03-10 16:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:45:03] Production.INFO: ==27908== Lock acquired, processing the job...
[2025-03-10 16:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:45:03] Production.INFO: ==27900== Lock acquired, processing the job...
[2025-03-10 16:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:45:03] Production.INFO: ==27898== Lock acquired, processing the job...
[2025-03-10 16:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 16:45:03] Production.INFO: ==27904== Lock acquired, processing the job...
[2025-03-10 16:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:45:03] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:45:03] Production.INFO: count ==21
[2025-03-10 16:45:03] Production.INFO: ==27906== Lock acquired, processing the job...
[2025-03-10 16:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650825') start
[2025-03-10 16:45:03] Production.INFO: Account Balance Start.
[2025-03-10 16:45:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:45:03] Production.INFO: 117
[2025-03-10 16:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:45:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650825') end
[2025-03-10 16:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:45:03] Production.INFO: 1
[2025-03-10 16:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:45:03] Production.INFO: ==27908== Releasing lock...
[2025-03-10 16:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:45:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:45:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:45:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:45:03] Production.INFO: Total Charge 0
[2025-03-10 16:45:03] Production.INFO: CreateAllLog End
[2025-03-10 16:45:03] Production.INFO: ==27900== Releasing lock...
[2025-03-10 16:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:45:04] Production.ERROR: done
[2025-03-10 16:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:45:04] Production.INFO: Account Balance End.
[2025-03-10 16:45:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:45:04] Production.INFO: ==27904== Releasing lock...
[2025-03-10 16:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:45:04] Production.ERROR: done
[2025-03-10 16:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:45:05
[end_date_ymd] => 2025-03-10 16:45:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:45:05' and `end` < '2025-03-10 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-03-10 16:45:12] Production.ERROR: CronJobId end10
[2025-03-10 16:45:12] Production.INFO: ==27902== Releasing lock...
[2025-03-10 16:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:45:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:45:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:45:14] Production.INFO: call_cost start
[2025-03-10 16:45:14] Production.INFO: call_cost end
[2025-03-10 16:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:45:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:45:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:45:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:45:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:45:15] Production.INFO: ==27898== Releasing lock...
[2025-03-10 16:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:45:18] Production.INFO: count ==5753
[2025-03-10 16:45:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:45:05 - End Time 2025-03-10 16:45:05
[2025-03-10 16:45:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650828', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650828', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650828', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650828', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:45:21] Production.INFO: ProcessCDR(1,14650828,1,1,2)
[2025-03-10 16:45:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:45:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650828', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650828', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:45:24] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:45:24] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:45:24] Production.INFO: ==27906== Releasing lock...
[2025-03-10 16:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:45:24] Production.INFO: 71 MB #Memory Used#
[2025-03-10 20:46:02] Production.INFO: ==27973== Lock acquired, processing the job...
[2025-03-10 20:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:46:02] Production.INFO: neon service started
[2025-03-10 20:46:02] Production.INFO: neon service started
[2025-03-10 20:46:02] Production.INFO: ==27973== Releasing lock...
[2025-03-10 20:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:46:02] Production.INFO: ==27975== Lock acquired, processing the job...
[2025-03-10 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:46:02] Production.INFO: ==27977== Lock acquired, processing the job...
[2025-03-10 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:46:02] Production.INFO: ==27977== Releasing lock...
[2025-03-10 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:46:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:46:03] Production.INFO: ==27975== Releasing lock...
[2025-03-10 16:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:46:04] Production.INFO: ==27980== Lock acquired, processing the job...
[2025-03-10 16:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:46:04] Production.INFO: ==27986== Lock acquired, processing the job...
[2025-03-10 16:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:46:04] Production.INFO: Account Balance Start.
[2025-03-10 16:46:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:46:04] Production.INFO: 117
[2025-03-10 16:46:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:46:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:46:04] Production.INFO: ==27982== Lock acquired, processing the job...
[2025-03-10 16:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:46:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:46:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:46:04] Production.INFO: Total Charge 0
[2025-03-10 16:46:04] Production.INFO: ==27984== Lock acquired, processing the job...
[2025-03-10 16:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:46:04] Production.INFO: CreateAllLog End
[2025-03-10 16:46:04] Production.INFO: ==27988== Lock acquired, processing the job...
[2025-03-10 16:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:46:04] Production.INFO: ==27990== Lock acquired, processing the job...
[2025-03-10 16:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:46:04] Production.INFO: Account Balance End.
[2025-03-10 16: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-03-10 16:46:04] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:46:04] Production.INFO: count ==21
[2025-03-10 16:46:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:46:04] Production.INFO: ==27986== Releasing lock...
[2025-03-10 16:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650832') start
[2025-03-10 16:46:04] Production.INFO: ==27982== Releasing lock...
[2025-03-10 16:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:46:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650832') end
[2025-03-10 16:46:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:46:05] Production.INFO: 1
[2025-03-10 16:46:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:46:05] Production.INFO: ==27990== Releasing lock...
[2025-03-10 16:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:46:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:46:05] Production.ERROR: done
[2025-03-10 16:46:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:46:05] Production.ERROR: done
[2025-03-10 16:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:46:06
[end_date_ymd] => 2025-03-10 16:46:06
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:46:06' and `end` < '2025-03-10 16: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-03-10 16:46:14] Production.ERROR: CronJobId end10
[2025-03-10 16:46:14] Production.INFO: ==27984== Releasing lock...
[2025-03-10 16:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:46:14] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:46:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:46:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:46:14] Production.INFO: call_cost start
[2025-03-10 16:46:14] Production.INFO: call_cost end
[2025-03-10 16:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:46:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:46:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:46:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:46:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:46:15] Production.INFO: ==27980== Releasing lock...
[2025-03-10 16:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:46:19] Production.INFO: count ==5752
[2025-03-10 16:46:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:46:06 - End Time 2025-03-10 16:46:06
[2025-03-10 16:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650833', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650833', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650833', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650833', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:46:22] Production.INFO: ProcessCDR(1,14650833,1,1,2)
[2025-03-10 16:46:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:46:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:46:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:46:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650833', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650833', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:46:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:46:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:46:27] Production.INFO: ==27988== Releasing lock...
[2025-03-10 16:46:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:46:27] Production.INFO: 71 MB #Memory Used#
[2025-03-10 20:47:01] Production.INFO: ==28052== Lock acquired, processing the job...
[2025-03-10 20:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:47:01] Production.INFO: neon service started
[2025-03-10 20:47:01] Production.INFO: neon service started
[2025-03-10 20:47:01] Production.INFO: ==28052== Releasing lock...
[2025-03-10 20:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:47:02] Production.INFO: ==28054== Lock acquired, processing the job...
[2025-03-10 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:47:02] Production.INFO: ==28056== Lock acquired, processing the job...
[2025-03-10 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:47:02] Production.INFO: ==28056== Releasing lock...
[2025-03-10 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:47:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:47:02] Production.INFO: ==28054== Releasing lock...
[2025-03-10 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:47:03] Production.INFO: ==28059== Lock acquired, processing the job...
[2025-03-10 16:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:47:03] Production.INFO: ==28063== Lock acquired, processing the job...
[2025-03-10 16:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:47:04] Production.INFO: ==28061== Lock acquired, processing the job...
[2025-03-10 16:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:47:04] Production.INFO: ==28065== Lock acquired, processing the job...
[2025-03-10 16:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:47:04] Production.INFO: ==28067== Lock acquired, processing the job...
[2025-03-10 16:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:47:04] Production.INFO: ==28069== Lock acquired, processing the job...
[2025-03-10 16:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 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-03-10 16:47:04] Production.INFO: Account Balance Start.
[2025-03-10 16:47:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:47:04] Production.INFO: 117
[2025-03-10 16:47:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:47:04] Production.INFO: count ==13
[2025-03-10 16:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 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-03-10 16:47:04] Production.INFO: count ==21
[2025-03-10 16:47:04] Production.INFO: ==28061== Releasing lock...
[2025-03-10 16:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650836') start
[2025-03-10 16:47:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:47:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:47:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650836') end
[2025-03-10 16:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:47:04] Production.INFO: 1
[2025-03-10 16:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:47:04] Production.INFO: Total Charge 0
[2025-03-10 16:47:04] Production.INFO: ==28069== Releasing lock...
[2025-03-10 16:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:47:04] Production.INFO: CreateAllLog End
[2025-03-10 16:47:04] Production.ERROR: done
[2025-03-10 16:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:47:04] Production.ERROR: done
[2025-03-10 16:47:04] Production.INFO: Account Balance End.
[2025-03-10 16:47:05] Production.ERROR: CronJobId end 12
[2025-03-10 16:47:05] Production.INFO: ==28065== Releasing lock...
[2025-03-10 16:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:47:05
[end_date_ymd] => 2025-03-10 16:47:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:47:05' and `end` < '2025-03-10 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-03-10 16:47:13] Production.ERROR: CronJobId end10
[2025-03-10 16:47:13] Production.INFO: ==28063== Releasing lock...
[2025-03-10 16:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:47:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:47:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:47:14] Production.INFO: call_cost start
[2025-03-10 16:47:14] Production.INFO: call_cost end
[2025-03-10 16:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:47:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:47:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:47:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:47:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:47:15] Production.INFO: ==28059== Releasing lock...
[2025-03-10 16:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:47:19] Production.INFO: count ==5756
[2025-03-10 16:47:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:47:05 - End Time 2025-03-10 16:47:05
[2025-03-10 16:47:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650838', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650838', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650838', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650838', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:47:21] Production.INFO: ProcessCDR(1,14650838,1,1,2)
[2025-03-10 16:47:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:47:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650838', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650838', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:47:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:47:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:47:26] Production.INFO: ==28067== Releasing lock...
[2025-03-10 16:47:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:47:26] Production.INFO: 71 MB #Memory Used#
[2025-03-10 20:48:02] Production.INFO: ==28128== Lock acquired, processing the job...
[2025-03-10 20:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:48:02] Production.INFO: neon service started
[2025-03-10 20:48:02] Production.INFO: neon service started
[2025-03-10 20:48:02] Production.INFO: ==28128== Releasing lock...
[2025-03-10 20:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:48:03] Production.INFO: ==28130== Lock acquired, processing the job...
[2025-03-10 16:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:48:03] Production.INFO: ==28132== Lock acquired, processing the job...
[2025-03-10 20:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:48:03] Production.INFO: ==28132== Releasing lock...
[2025-03-10 20:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:48:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:48:03] Production.INFO: ==28130== Releasing lock...
[2025-03-10 16:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:48:04] Production.INFO: ==28143== Lock acquired, processing the job...
[2025-03-10 16:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:48:04] Production.INFO: ==28145== Lock acquired, processing the job...
[2025-03-10 16:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:48:04] Production.INFO: ==28135== Lock acquired, processing the job...
[2025-03-10 16:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:48:04] Production.INFO: ==28137== Lock acquired, processing the job...
[2025-03-10 16:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:48:04] Production.INFO: ==28139== Lock acquired, processing the job...
[2025-03-10 16:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:48:04] Production.INFO: ==28141== Lock acquired, processing the job...
[2025-03-10 16:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 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-03-10 16:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:48:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:48:04] Production.INFO: count ==21
[2025-03-10 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650839') start
[2025-03-10 16:48:04] Production.ERROR: done
[2025-03-10 16:48:04] Production.INFO: Account Balance Start.
[2025-03-10 16:48:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:48:04] Production.INFO: 117
[2025-03-10 16:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:48:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:48:04] Production.INFO: ==28137== Releasing lock...
[2025-03-10 16:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650839') end
[2025-03-10 16:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:48:04] Production.INFO: 1
[2025-03-10 16:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:48:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:48:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:48:05] Production.INFO: Date 2025-03-10
[2025-03-10 16:48:05] Production.INFO: Reseller ==> 0
[2025-03-10 16:48:05] Production.INFO: Total Charge 0
[2025-03-10 16:48:05] Production.INFO: CreateAllLog End
[2025-03-10 16:48:05] Production.INFO: ==28145== Releasing lock...
[2025-03-10 16:48:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:48:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:48:05] Production.ERROR: done
[2025-03-10 16:48:05] Production.INFO: Account Balance End.
[2025-03-10 16:48:05] Production.ERROR: CronJobId end 12
[2025-03-10 16:48:05] Production.INFO: ==28141== Releasing lock...
[2025-03-10 16:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:48:06
[end_date_ymd] => 2025-03-10 16:48:06
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:48:06' and `end` < '2025-03-10 16: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-03-10 16:48:13] Production.ERROR: CronJobId end10
[2025-03-10 16:48:13] Production.INFO: ==28139== Releasing lock...
[2025-03-10 16:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:48:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:48:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:48:15] Production.INFO: call_cost start
[2025-03-10 16:48:15] Production.INFO: call_cost end
[2025-03-10 16:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:48:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:48:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:48:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:48:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:48:16] Production.INFO: ==28135== Releasing lock...
[2025-03-10 16:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:48:19] Production.INFO: count ==5743
[2025-03-10 16:48:22] Production.ERROR: pbx CDR StartTime 2025-03-10 13:48:06 - End Time 2025-03-10 16:48:06
[2025-03-10 16:48:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650843', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650843', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650843', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650843', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:48:22] Production.INFO: ProcessCDR(1,14650843,1,1,2)
[2025-03-10 16:48:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:48:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:48:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:48:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650843', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650843', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:48:27] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:48:27] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:48:27] Production.INFO: ==28143== Releasing lock...
[2025-03-10 16:48:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:48:27] Production.INFO: 71 MB #Memory Used#
[2025-03-10 20:49:01] Production.INFO: ==28204== Lock acquired, processing the job...
[2025-03-10 20:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:49:01] Production.INFO: neon service started
[2025-03-10 20:49:01] Production.INFO: neon service started
[2025-03-10 20:49:01] Production.INFO: ==28204== Releasing lock...
[2025-03-10 20:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:49:02] Production.INFO: ==28206== Lock acquired, processing the job...
[2025-03-10 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:49:02] Production.INFO: ==28206== Releasing lock...
[2025-03-10 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:49:02] Production.INFO: ==28208== Lock acquired, processing the job...
[2025-03-10 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:49:02] Production.INFO: ==28208== Releasing lock...
[2025-03-10 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:49:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:49:03] Production.INFO: ==28218== Lock acquired, processing the job...
[2025-03-10 16:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:49:03] Production.INFO: ==28214== Lock acquired, processing the job...
[2025-03-10 16:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:49:03] Production.INFO: ==28210== Lock acquired, processing the job...
[2025-03-10 16:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:49:03] Production.INFO: ==28212== Lock acquired, processing the job...
[2025-03-10 16:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:49:03] Production.INFO: ==28216== Lock acquired, processing the job...
[2025-03-10 16:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:49:03] Production.INFO: ==28220== Lock acquired, processing the job...
[2025-03-10 16:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:49:03] Production.INFO: Account Balance Start.
[2025-03-10 16:49:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:49:03] Production.INFO: 117
[2025-03-10 16:49:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:49:03] Production.ERROR: done
[2025-03-10 16:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:49:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:49:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 16: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-03-10 16:49:04] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:49:04] Production.INFO: count ==21
[2025-03-10 16:49:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:49:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650847') start
[2025-03-10 16:49:04] Production.INFO: Total Charge 0
[2025-03-10 16:49:04] Production.INFO: CreateAllLog End
[2025-03-10 16:49:04] Production.ERROR: done
[2025-03-10 16:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650847') end
[2025-03-10 16:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:49:04] Production.INFO: ==28212== Releasing lock...
[2025-03-10 16:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:49:04] Production.INFO: 1
[2025-03-10 16:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:49:04] Production.INFO: ==28220== Releasing lock...
[2025-03-10 16:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:49:04] Production.INFO: Account Balance End.
[2025-03-10 16:49:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:49:04] Production.INFO: ==28216== Releasing lock...
[2025-03-10 16:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:49:05
[end_date_ymd] => 2025-03-10 16:49:05
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:49:05' and `end` < '2025-03-10 16: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-03-10 16:49:13] Production.ERROR: CronJobId end10
[2025-03-10 16:49:13] Production.INFO: ==28214== Releasing lock...
[2025-03-10 16:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:49:14] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:49:14] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:49:14] Production.INFO: call_cost start
[2025-03-10 16:49:14] Production.INFO: call_cost end
[2025-03-10 16:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:49:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:49:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:49:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:49:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:49:15] Production.INFO: ==28210== Releasing lock...
[2025-03-10 16:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:49:18] Production.INFO: count ==5751
[2025-03-10 16:49:21] Production.ERROR: pbx CDR StartTime 2025-03-10 13:49:05 - End Time 2025-03-10 16:49:05
[2025-03-10 16:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650848', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650848', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650848', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650848', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:49:21] Production.INFO: ProcessCDR(1,14650848,1,1,2)
[2025-03-10 16:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:49:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:49:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650848', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650848', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:49:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:49:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:49:26] Production.INFO: ==28218== Releasing lock...
[2025-03-10 16:49:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:49:26] Production.INFO: 71 MB #Memory Used#
[2025-03-10 20:50:02] Production.INFO: ==28280== Lock acquired, processing the job...
[2025-03-10 20:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:50:02] Production.INFO: neon service started
[2025-03-10 20:50:02] Production.INFO: neon service started
[2025-03-10 20:50:02] Production.INFO: ==28280== Releasing lock...
[2025-03-10 20:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:50:03] Production.INFO: ==28282== Lock acquired, processing the job...
[2025-03-10 16:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 20:50:03] Production.INFO: ==28284== Lock acquired, processing the job...
[2025-03-10 20:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:50:03] Production.INFO: ==28284== Releasing lock...
[2025-03-10 20:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:50:03] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:50:03] Production.INFO: ==28282== Releasing lock...
[2025-03-10 16:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:50:04] Production.INFO: ==28289== Lock acquired, processing the job...
[2025-03-10 16:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:50:04] Production.INFO: ==28287== Lock acquired, processing the job...
[2025-03-10 16:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-03-10 16:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-03-10 16:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-03-10 16:50:04] Production.ERROR: CronJob PID - 28289
[2025-03-10 16:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-03-10 16:50:04] Production.ERROR: CronJob ID - 5
[2025-03-10 16:50:04] Production.ERROR: CronJob Last Run Time 2025-03-10 16:50:00
[2025-03-10 16:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-03-10 16:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-03-10 16:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-03-10 16:50:04] Production.INFO: ==28287== Releasing lock...
[2025-03-10 16:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-03-10 16:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-03-10 16:50:04] Production.INFO: ==28291== Lock acquired, processing the job...
[2025-03-10 16:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:50:04] Production.INFO: ==28293== Lock acquired, processing the job...
[2025-03-10 16:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:50:04] Production.INFO: ==28297== Lock acquired, processing the job...
[2025-03-10 16:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:50:04] Production.INFO: ==28301== Lock acquired, processing the job...
[2025-03-10 16:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:50:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:50:05] Production.INFO: ==28299== Lock acquired, processing the job...
[2025-03-10 16:50:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-03-10 16:50:05] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:50:05] Production.INFO: ==28295== Lock acquired, processing the job...
[2025-03-10 16:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:50:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:50:05] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:50:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:50:05] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:50:05] Production.INFO: ==28291== Releasing lock...
[2025-03-10 16:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16: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-03-10 16:50:05] Production.INFO: count ==13
[2025-03-10 16: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-03-10 16:50:05] Production.INFO: count ==21
[2025-03-10 16:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650851') start
[2025-03-10 16:50:05] Production.INFO: Account Balance Start.
[2025-03-10 16:50:05] Production.INFO: CreateAllLog Start
[2025-03-10 16:50:05] Production.INFO: 117
[2025-03-10 16:50:05] Production.ERROR: done
[2025-03-10 16:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:50:05] Production.INFO: Date 2025-03-08
[2025-03-10 16:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 16:50:05] Production.INFO: Date 2025-03-09
[2025-03-10 16:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 16:50:05] Production.INFO: Date 2025-03-10
[2025-03-10 16:50:05] Production.INFO: Reseller ==> 0
[2025-03-10 16:50:05] Production.ERROR: done
[2025-03-10 16:50:05] Production.INFO: Total Charge 0
[2025-03-10 16:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14650851') end
[2025-03-10 16:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:50:05] Production.INFO: 1
[2025-03-10 16:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:50:05] Production.INFO: CreateAllLog End
[2025-03-10 16:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-03-10 16:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650853', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) start
[2025-03-10 16:50:05] Production.ERROR: done
[2025-03-10 16:50:05] Production.INFO: ==28301== Releasing lock...
[2025-03-10 16:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:50:05] Production.INFO: Account Balance End.
[2025-03-10 16:50:05] Production.ERROR: CronJobId end 12
[2025-03-10 16:50:05] Production.INFO: ==28295== Releasing lock...
[2025-03-10 16:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:50:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:50:07
[end_date_ymd] => 2025-03-10 16:50:07
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:50:07' and `end` < '2025-03-10 16: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-03-10 16:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14650853', 'tblTempUsageDetail_20reseller','2025-03-10','2025-03-10','1' ) end
[2025-03-10 16:50:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-03-10 16:50:10] Production.INFO: ProcessCDR(1,14650853,1,1,2)
[2025-03-10 16:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14650853,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14650853,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:50:10] Production.INFO: ==28299== Releasing lock...
[2025-03-10 16:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-03-10 16:50:10] Production.INFO: 26 MB #Memory Used#
[2025-03-10 16:50:16] Production.ERROR: CronJobId end10
[2025-03-10 16:50:16] Production.INFO: ==28293== Releasing lock...
[2025-03-10 16:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:50:16] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:50:17] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:50:17] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:50:17] Production.INFO: call_cost start
[2025-03-10 16:50:17] Production.INFO: call_cost end
[2025-03-10 16:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:50:18] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:50:18] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:50:18] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:50:18] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:50:18] Production.INFO: ==28289== Releasing lock...
[2025-03-10 16:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:50:20] Production.INFO: count ==5765
[2025-03-10 16:50:22] Production.ERROR: pbx CDR StartTime 2025-03-10 13:50:07 - End Time 2025-03-10 16:50:07
[2025-03-10 16:50:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650854', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650854', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650854', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650854', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:50:22] Production.INFO: ProcessCDR(1,14650854,1,1,2)
[2025-03-10 16:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:50:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:50:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:50:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650854', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650854', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:50:28] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:50:28] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:50:28] Production.INFO: ==28297== Releasing lock...
[2025-03-10 16:50:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:50:28] Production.INFO: 71.25 MB #Memory Used#
[2025-03-10 20:51:01] Production.INFO: ==28362== Lock acquired, processing the job...
[2025-03-10 20:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:51:01] Production.INFO: neon service started
[2025-03-10 20:51:01] Production.INFO: neon service started
[2025-03-10 20:51:01] Production.INFO: ==28362== Releasing lock...
[2025-03-10 20:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:51:02] Production.INFO: ==28364== Lock acquired, processing the job...
[2025-03-10 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:51:02] Production.INFO: ==28364== Releasing lock...
[2025-03-10 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:51:02] Production.INFO: ==28366== Lock acquired, processing the job...
[2025-03-10 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:51:02] Production.INFO: ==28366== Releasing lock...
[2025-03-10 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:51:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:51:03] Production.INFO: ==28373== Lock acquired, processing the job...
[2025-03-10 16:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:51:03] Production.INFO: ==28371== Lock acquired, processing the job...
[2025-03-10 16:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:51:03] Production.INFO: ==28379== Lock acquired, processing the job...
[2025-03-10 16:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:51:03] Production.INFO: ==28369== Lock acquired, processing the job...
[2025-03-10 16:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:51:03] Production.INFO: ==28375== Lock acquired, processing the job...
[2025-03-10 16:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 16:51:03] Production.INFO: ==28377== Lock acquired, processing the job...
[2025-03-10 16:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:51:03] Production.INFO: Account Balance Start.
[2025-03-10 16:51:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:51:03] Production.INFO: count ==13
[2025-03-10 16:51:03] Production.INFO: 117
[2025-03-10 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-03-10 16:51:03] Production.INFO: count ==21
[2025-03-10 16:51:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650856') start
[2025-03-10 16:51:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650856') end
[2025-03-10 16:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:51:04] Production.INFO: 1
[2025-03-10 16:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:51:04] Production.INFO: ==28371== Releasing lock...
[2025-03-10 16:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:51:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:51:04] Production.INFO: ==28379== Releasing lock...
[2025-03-10 16:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:51:04] Production.ERROR: done
[2025-03-10 16:51:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:51:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:51:04] Production.INFO: Total Charge 0
[2025-03-10 16:51:04] Production.INFO: CreateAllLog End
[2025-03-10 16:51:04] Production.ERROR: done
[2025-03-10 16:51:04] Production.INFO: Account Balance End.
[2025-03-10 16:51:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:51:04] Production.INFO: ==28375== Releasing lock...
[2025-03-10 16:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:51:05
[end_date_ymd] => 2025-03-10 16:51:05
[RateCDR] => 1
)
[2025-03-10 16: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-03-10 13:51:05' and `end` < '2025-03-10 16: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-03-10 16:51:13] Production.ERROR: CronJobId end10
[2025-03-10 16:51:13] Production.INFO: ==28373== Releasing lock...
[2025-03-10 16:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:51:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:51:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:51:15] Production.INFO: call_cost start
[2025-03-10 16:51:15] Production.INFO: call_cost end
[2025-03-10 16:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:51:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:51:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:51:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:51:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:51:16] Production.INFO: ==28369== Releasing lock...
[2025-03-10 16:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:51:18] Production.INFO: count ==5778
[2025-03-10 16:51:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:51:05 - End Time 2025-03-10 16:51:05
[2025-03-10 16:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650859', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650859', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650859', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650859', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:51:20] Production.INFO: ProcessCDR(1,14650859,1,1,2)
[2025-03-10 16:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:51:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:51:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650859', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650859', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:51:26] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:51:26] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:51:26] Production.INFO: ==28377== Releasing lock...
[2025-03-10 16:51:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:51:26] Production.INFO: 71.25 MB #Memory Used#
[2025-03-10 20:52:02] Production.INFO: ==28440== Lock acquired, processing the job...
[2025-03-10 20:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:52:02] Production.INFO: neon service started
[2025-03-10 20:52:02] Production.INFO: neon service started
[2025-03-10 20:52:02] Production.INFO: ==28440== Releasing lock...
[2025-03-10 20:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 20:52:02] Production.INFO: ==28444== Lock acquired, processing the job...
[2025-03-10 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:52:02] Production.INFO: ==28444== Releasing lock...
[2025-03-10 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:52:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:52:02] Production.INFO: ==28442== Lock acquired, processing the job...
[2025-03-10 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:52:02] Production.INFO: ==28442== Releasing lock...
[2025-03-10 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 16:52:03] Production.INFO: ==28447== Lock acquired, processing the job...
[2025-03-10 16:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:52:03] Production.INFO: ==28451== Lock acquired, processing the job...
[2025-03-10 16:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:52:03] Production.INFO: ==28455== Lock acquired, processing the job...
[2025-03-10 16:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:52:04] Production.INFO: ==28449== Lock acquired, processing the job...
[2025-03-10 16:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:52:04] Production.INFO: ==28453== Lock acquired, processing the job...
[2025-03-10 16:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:52:04] Production.INFO: ==28457== Lock acquired, processing the job...
[2025-03-10 16:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:52:04] Production.INFO: Account Balance Start.
[2025-03-10 16:52:04] Production.INFO: CreateAllLog Start
[2025-03-10 16:52:04] Production.INFO: 117
[2025-03-10 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-03-10 16:52:04] Production.ERROR: done
[2025-03-10 16:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:52:04] Production.INFO: Date 2025-03-08
[2025-03-10 16:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:52:04] Production.INFO: count ==13
[2025-03-10 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-03-10 16:52:04] Production.INFO: count ==21
[2025-03-10 16:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650863') start
[2025-03-10 16:52:04] Production.INFO: Date 2025-03-09
[2025-03-10 16:52:04] Production.ERROR: done
[2025-03-10 16:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:52:04] Production.INFO: Date 2025-03-10
[2025-03-10 16:52:04] Production.INFO: Reseller ==> 0
[2025-03-10 16:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14650863') end
[2025-03-10 16:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:52:04] Production.INFO: 1
[2025-03-10 16:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:52:04] Production.INFO: Total Charge 0
[2025-03-10 16:52:04] Production.INFO: ==28449== Releasing lock...
[2025-03-10 16:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:52:04] Production.INFO: CreateAllLog End
[2025-03-10 16:52:04] Production.INFO: ==28457== Releasing lock...
[2025-03-10 16:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:52:04] Production.INFO: Account Balance End.
[2025-03-10 16:52:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:52:04] Production.INFO: ==28453== Releasing lock...
[2025-03-10 16:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:52:05
[end_date_ymd] => 2025-03-10 16:52:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:52:05' and `end` < '2025-03-10 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-03-10 16:52:13] Production.ERROR: CronJobId end10
[2025-03-10 16:52:13] Production.INFO: ==28451== Releasing lock...
[2025-03-10 16:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:52:15] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:52:15] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:52:15] Production.INFO: call_cost start
[2025-03-10 16:52:15] Production.INFO: call_cost end
[2025-03-10 16:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:52:16] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:52:16] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:52:16] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:52:16] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:52:16] Production.INFO: ==28447== Releasing lock...
[2025-03-10 16:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:52:18] Production.INFO: count ==5788
[2025-03-10 16:52:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:52:05 - End Time 2025-03-10 16:52:05
[2025-03-10 16:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650864', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650864', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650864', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650864', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:52:20] Production.INFO: ProcessCDR(1,14650864,1,1,2)
[2025-03-10 16:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:52:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650864', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650864', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:52:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:52:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:52:25] Production.INFO: ==28455== Releasing lock...
[2025-03-10 16:52:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:52:25] Production.INFO: 71.25 MB #Memory Used#
[2025-03-10 20:53:01] Production.INFO: ==28554== Lock acquired, processing the job...
[2025-03-10 20:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:53:01] Production.INFO: neon service started
[2025-03-10 20:53:01] Production.INFO: neon service started
[2025-03-10 20:53:01] Production.INFO: ==28554== Releasing lock...
[2025-03-10 20:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:53:02] Production.INFO: ==28556== Lock acquired, processing the job...
[2025-03-10 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:53:02] Production.INFO: ==28556== Releasing lock...
[2025-03-10 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:53:02] Production.INFO: ==28558== Lock acquired, processing the job...
[2025-03-10 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:53:02] Production.INFO: ==28558== Releasing lock...
[2025-03-10 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:53:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:53:03] Production.INFO: ==28563== Lock acquired, processing the job...
[2025-03-10 16:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:53:03] Production.INFO: ==28571== Lock acquired, processing the job...
[2025-03-10 16:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:53:03] Production.INFO: ==28561== Lock acquired, processing the job...
[2025-03-10 16:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 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-03-10 16:53:03] Production.INFO: count ==13
[2025-03-10 16:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 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-03-10 16:53:03] Production.INFO: count ==21
[2025-03-10 16:53:03] Production.INFO: ==28565== Lock acquired, processing the job...
[2025-03-10 16:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650866') start
[2025-03-10 16:53:03] Production.INFO: ==28563== Releasing lock...
[2025-03-10 16:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:53:03] Production.INFO: ==28567== Lock acquired, processing the job...
[2025-03-10 16:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:53:03] Production.INFO: ==28569== Lock acquired, processing the job...
[2025-03-10 16:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14650866') end
[2025-03-10 16:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-03-10 16:53:03] Production.INFO: 1
[2025-03-10 16:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-03-10 16:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 16:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:53:03] Production.INFO: Account Balance Start.
[2025-03-10 16:53:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:53:03] Production.INFO: 117
[2025-03-10 16:53:03] Production.INFO: ==28571== Releasing lock...
[2025-03-10 16:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-03-10 16:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-03-10 16:53:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:53:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:53:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:53:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:53:03] Production.INFO: Total Charge 0
[2025-03-10 16:53:03] Production.INFO: CreateAllLog End
[2025-03-10 16:53:03] Production.INFO: Account Balance End.
[2025-03-10 16:53:03] Production.ERROR: done
[2025-03-10 16:53:03] Production.ERROR: CronJobId end 12
[2025-03-10 16:53:03] Production.INFO: ==28567== Releasing lock...
[2025-03-10 16:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:53:04] Production.ERROR: done
[2025-03-10 16:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-03-10 13:53:05
[end_date_ymd] => 2025-03-10 16:53:05
[RateCDR] => 1
)
[2025-03-10 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-03-10 13:53:05' and `end` < '2025-03-10 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-03-10 16:53:13] Production.ERROR: CronJobId end10
[2025-03-10 16:53:13] Production.INFO: ==28565== Releasing lock...
[2025-03-10 16:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-03-10 16:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-03-10 16:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-03-10 16:53:13] Production.INFO: ============== Balance Warning START===========
[2025-03-10 16:53:13] Production.INFO: ============== Balance Warning END===========
[2025-03-10 16:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-03-10 16:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-03-10 16:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-03-10 16:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-03-10 16:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-03-10 16:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-03-10 16:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-03-10 16:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-03-10 16:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-03-10 16:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-03-10 16:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-03-10 16:53:14] Production.INFO: call_cost start
[2025-03-10 16:53:14] Production.INFO: call_cost end
[2025-03-10 16:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-03-10 16:53:15] Production.INFO: ============== Report Schedule START===========
[2025-03-10 16:53:15] Production.INFO: ============== Report Schedule END===========
[2025-03-10 16:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-03-10 16:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-03-10 16:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-03-10 16:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-03-10 16:53:15] Production.INFO: ============== Deal alert START===========
[2025-03-10 16:53:15] Production.INFO: ============== Deal alert END===========
[2025-03-10 16:53:15] Production.INFO: ==28561== Releasing lock...
[2025-03-10 16:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-03-10 16:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-03-10 16:53:18] Production.INFO: count ==5784
[2025-03-10 16:53:20] Production.ERROR: pbx CDR StartTime 2025-03-10 13:53:05 - End Time 2025-03-10 16:53:05
[2025-03-10 16:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-03-10 16:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650869', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14650869', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650869', 'tblTempVendorCDR_20' ) start
[2025-03-10 16:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14650869', 'tblTempVendorCDR_20' ) end
[2025-03-10 16:53:20] Production.INFO: ProcessCDR(1,14650869,1,1,2)
[2025-03-10 16:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14650869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:53:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14650869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-03-10 16:53:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14650869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:53:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14650869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-03-10 16:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650869', 'tblTempUsageDetail_20' ) start
[2025-03-10 16:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14650869', 'tblTempUsageDetail_20' ) end
[2025-03-10 16:53:25] Production.ERROR: pbx prc_insertCDR start
[2025-03-10 16:53:25] Production.ERROR: pbx prc_insertCDR end
[2025-03-10 16:53:25] Production.INFO: ==28569== Releasing lock...
[2025-03-10 16:53:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-03-10 16:53:25] Production.INFO: 71.25 MB #Memory Used#
[2025-03-10 20:54:02] Production.INFO: ==28633== Lock acquired, processing the job...
[2025-03-10 20:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-03-10 20:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-03-10 20:54:02] Production.INFO: neon service started
[2025-03-10 20:54:02] Production.INFO: neon service started
[2025-03-10 20:54:02] Production.INFO: ==28633== Releasing lock...
[2025-03-10 20:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-03-10 20:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-03-10 16:54:02] Production.INFO: ==28636== Lock acquired, processing the job...
[2025-03-10 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-03-10 16:54:02] Production.INFO: ==28636== Releasing lock...
[2025-03-10 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-03-10 16:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-03-10 20:54:02] Production.INFO: ==28638== Lock acquired, processing the job...
[2025-03-10 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-03-10 20:54:02] Production.INFO: ==28638== Releasing lock...
[2025-03-10 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-03-10 20:54:02] Production.INFO: 25 MB #Memory Used#
[2025-03-10 16:54:03] Production.INFO: ==28646== Lock acquired, processing the job...
[2025-03-10 16:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-03-10 16:54:03] Production.INFO: Account Balance Start.
[2025-03-10 16:54:03] Production.INFO: CreateAllLog Start
[2025-03-10 16:54:03] Production.INFO: 117
[2025-03-10 16:54:03] Production.INFO: Date 2025-03-08
[2025-03-10 16:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:54:03] Production.INFO: Date 2025-03-09
[2025-03-10 16:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:54:03] Production.INFO: Date 2025-03-10
[2025-03-10 16:54:03] Production.INFO: Reseller ==> 0
[2025-03-10 16:54:03] Production.INFO: Total Charge 0
[2025-03-10 16:54:03] Production.INFO: CreateAllLog End
[2025-03-10 16:54:04] Production.INFO: ==28640== Lock acquired, processing the job...
[2025-03-10 16:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-03-10 16:54:04] Production.INFO: Account Balance End.
[2025-03-10 16:54:04] Production.ERROR: CronJobId end 12
[2025-03-10 16:54:04] Production.INFO: ==28646== Releasing lock...
[2025-03-10 16:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-03-10 16:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-03-10 16:54:04] Production.INFO: ==28642== Lock acquired, processing the job...
[2025-03-10 16:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-03-10 16:54:04] Production.INFO: ==28648== Lock acquired, processing the job...
[2025-03-10 16:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-03-10 16:54:04] Production.INFO: ==28644== Lock acquired, processing the job...
[2025-03-10 16:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-03-10 16:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-03-10 16:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-03-10 16:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250310Live done
[2025-03-10 16:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250310Live done
[2025-03-10 16:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250310Live)
[2025-03-10 16:54:04] Production.INFO: ==28650== Lock acquired, processing the job...
[2025-03-10 16:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-03-10 16:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-10','2025-03-10','120250310Live')
[2025-03-10 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-03-10 16:54:04] Production.INFO: ==28642== Releasing lock...
[2025-03-10 16:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-03-10 16:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-03-10 16:54:04] Production.ERROR: done
[2025-03-10 16:54:04] Production.INFO: count ==13
[2025-03-10 16:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-03-10 16:54:04] Production.INFO: sel